PageSourceSearch

https://portal.gizmolab.io/_next/static/chunks/604e8bb3-6330492e6d4dc2af.js

js gizmolab.io collected 2026-09-29 16:04:53 UTC 222,194 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1191],{22089:(e,n,t)=>{t.d(n,{l:()=>nR});var i=t(62552),r=t(58987),o=t(55843);t(31692),t(49488),t(48894),t(23658),t(51578),t(41735),t(56616);var a=t(11576),d=t(3764),s=t(58329);t(39512),t(85393);var l=t(99339),u=t(48049),c=t(1299);t(75778),t(33932),t(79631),t(55328),t(65876),t(23316),t(21373),t(8508),t(88949),t(69589),t(90003),t(75301),t(93871),t(45084),t(82332),t(81643);var v=t(71735),m=t(5121);t(95794),t(99909);var h=t(20100);t(14199);var p=t(3648),w=t(97087),I=t(20511);t(30953),t(57815);var f=t(74005),y=t(13923),R=t(75153),g=t(98387),q=t(88133),k=t(45855);t(38441),t(84448);var O=t(70168),T=t(99529),S=t(86618),P=t(80646),C=t(1647);t(99495),t(33138);var A=t(77105),b=t(88243),U=t(35230),Q=t(55857);t(89174);var W=t(58274),E=t(45788),K=t(5408),V=t(4832),D=t(78280),M=t(55551),x=t(82566);t(74617);var N=t(43474),B=t(65591),z=t(31371);t(43040),t(460),t(69613);var j=t(8435),G=t(36945),$=t(35554),L=t(37690),F=t(34644);t(50937),t(67378);var H=t(91816);t(50973);var J=t(87457),Y=t(74045),_=t(53476),Z=t(80641);t(91936);var X=t(32598),ee=t(65399);t(44369);var en=t(29744),et=t(68641);t(97024);var ei=t(84076),er=t(48077),eo=t(52983),ea=t(5394),ed=t(24158),es=t(81954);t(83112),t(87841),t(96864);var el=t(22511),eu=t(96948),ec=t(38330),ev=t(13808),em=t(9258),eh=t(42170),ep=t(55191),ew=t(15981),eI=t(7794),ef=t(9326),ey=t(43235),eR=t(20807),eg=t(10826),eq=t(42720),ek=t(95412),eO=t(87003),eT=t(3737);t(39050);var eS=t(5371);t(26573);var eP=t(75636),eC=t(94956),eA=t(21748),eb=t(30740),eU=t(10719),eQ=t(61721);t(60792);var eW=t(21792),eE=t(2457),eK=t(22710);t(11617),t(86332),t(25657);var eV=t(66710),eD=t(53544),eM=t(56636);t(55862),t(5689),t(9232),t(62189),t(156),t(613),t(26172);var ex=t(43066);t(73087);var eN=t(78479),eB=t(92809),ez=t(89274),ej=t(36411),eG=t(69773);t(25406);var e$=t(912),eL=t(21820),eF=t(14730),eH=t(45117),eJ=t(20157),eY=t(27823),e_=t(80449),eZ=t(83683),eX=t(82823),e0=t(34993),e8=t(96053),e3=t(23972),e5=t(94238),e9=t(30610),e1=t(68171),e2=t(98861);t(8535);var e7=t(32955),e4=t(4157),e6=t(63359),ne=t(47515),nn=t(25706);t(60211);var nt=t(26618),ni=t(10994),nr=t(77528);t(56126);var no=t(78919),na=t(26940),nd=t(87),ns=t(45846),nl=t(90970),nu=t(21131),nc=t(40990);t(72807);var nv=t(93285),nm=t(88386),nh=t(7585),np=t(99201),nw=t(33558),nI=t(32346),nf=t(72883);t(60550),t(77403);var ny=t(79211);class nR extends r.yi{authMfaEmailDeviceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authMfaEmailDeviceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/email".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}authMfaEmailDeviceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.authMfaEmailDeviceOptionsRaw(e,n)})}authMfaPasskeyDeviceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authMfaPasskeyDeviceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/passkey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}authMfaPasskeyDeviceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.authMfaPasskeyDeviceOptionsRaw(e,n)})}authMfaRecoveryRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authMfaRecovery.");if(null===e.mFAAuthRecoveryDevicePostRequest||void 0===e.mFAAuthRecoveryDevicePostRequest)throw new r.Q0("mFAAuthRecoveryDevicePostRequest","Required parameter requestParameters.mFAAuthRecoveryDevicePostRequest was null or undefined when calling authMfaRecovery.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/recovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eu.CP)(e.mFAAuthRecoveryDevicePostRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}authMfaRecovery(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.authMfaRecoveryRaw(e,n);return yield t.value()})}authMfaRecoveryOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authMfaRecoveryOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/recovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}authMfaRecoveryOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.authMfaRecoveryOptionsRaw(e,n)})}authMfaTotpDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authMfaTotpDevice.");if(null===e.mFAAuthTotpDevicePostRequest||void 0===e.mFAAuthTotpDevicePostRequest)throw new r.Q0("mFAAuthTotpDevicePostRequest","Required parameter requestParameters.mFAAuthTotpDevicePostRequest was null or undefined when calling authMfaTotpDevice.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/totp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ec.wl)(e.mFAAuthTotpDevicePostRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}authMfaTotpDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.authMfaTotpDeviceRaw(e,n);return yield t.value()})}authMfaTotpDeviceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authMfaTotpDeviceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/totp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}authMfaTotpDeviceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.authMfaTotpDeviceOptionsRaw(e,n)})}authenticateMfaEmailRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authenticateMfaEmail.");if(null===e.emailVerificationMfaRequest||void 0===e.emailVerificationMfaRequest)throw new r.Q0("emailVerificationMfaRequest","Required parameter requestParameters.emailVerificationMfaRequest was null or undefined when calling authenticateMfaEmail.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/email".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,V.KA)(e.emailVerificationMfaRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}authenticateMfaEmail(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.authenticateMfaEmailRaw(e,n);return yield t.value()})}authenticateMfaPasskeyDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authenticateMfaPasskeyDevice.");if(null===e.passkeyAuthRequest||void 0===e.passkeyAuthRequest)throw new r.Q0("passkeyAuthRequest","Required parameter requestParameters.passkeyAuthRequest was null or undefined when calling authenticateMfaPasskeyDevice.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/auth/passkey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,el.JS)(e.passkeyAuthRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}authenticateMfaPasskeyDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.authenticateMfaPasskeyDeviceRaw(e,n);return yield t.value()})}authenticatePasskeyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling authenticatePasskeyOptions.");let t={};void 0!==e.relatedOriginRpId&&(t.relatedOriginRpId=e.relatedOriginRpId);let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:t},n);return new r.cK(i)})}authenticatePasskeyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.authenticatePasskeyOptionsRaw(e,n)})}backupKeySharesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeyShares.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeyShares.");if(null===e.backupMultipleClientKeySharesRequest||void 0===e.backupMultipleClientKeySharesRequest)throw new r.Q0("backupMultipleClientKeySharesRequest","Required parameter requestParameters.backupMultipleClientKeySharesRequest was null or undefined when calling backupKeyShares.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,u.tP)(e.backupMultipleClientKeySharesRequest)},n);return new r.ko(i,e=>(0,c.QA)(e))})}backupKeyShares(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.backupKeySharesRaw(e,n);return yield t.value()})}backupKeySharesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}backupKeySharesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.backupKeySharesOptionsRaw(e,n)})}backupKeySharesToGoogleDriveRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToGoogleDrive.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToGoogleDrive.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup/googleDrive".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{}},n);return new r.ko(i,e=>(0,c.QA)(e))})}backupKeySharesToGoogleDrive(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.backupKeySharesToGoogleDriveRaw(e,n);return yield t.value()})}backupKeySharesToGoogleDriveOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToGoogleDriveOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToGoogleDriveOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup/googleDrive".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}backupKeySharesToGoogleDriveOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.backupKeySharesToGoogleDriveOptionsRaw(e,n)})}backupKeySharesToLocationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToLocation.");
1if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToLocation.");if(null===e.backupKeySharesToLocationRequest||void 0===e.backupKeySharesToLocationRequest)throw new r.Q0("backupKeySharesToLocationRequest","Required parameter requestParameters.backupKeySharesToLocationRequest was null or undefined when calling backupKeySharesToLocation.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup/location".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,a.YY)(e.backupKeySharesToLocationRequest)},n);return new r.ko(i,e=>(0,d.Je)(e))})}backupKeySharesToLocation(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.backupKeySharesToLocationRaw(e,n);return yield t.value()})}backupKeySharesToLocationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToLocationOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToLocationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup/location".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}backupKeySharesToLocationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.backupKeySharesToLocationOptionsRaw(e,n)})}backupKeySharesToLocationsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToLocations.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToLocations.");if(null===e.backupKeySharesToLocationsRequest||void 0===e.backupKeySharesToLocationsRequest)throw new r.Q0("backupKeySharesToLocationsRequest","Required parameter requestParameters.backupKeySharesToLocationsRequest was null or undefined when calling backupKeySharesToLocations.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup/locations".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,s.vr)(e.backupKeySharesToLocationsRequest)},n);return new r.ko(i,e=>(0,l.eg)(e))})}backupKeySharesToLocations(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.backupKeySharesToLocationsRaw(e,n);return yield t.value()})}backupKeySharesToLocationsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling backupKeySharesToLocationsOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling backupKeySharesToLocationsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/backup/locations".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}backupKeySharesToLocationsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.backupKeySharesToLocationsOptionsRaw(e,n)})}cbOauthRedirectRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling cbOauthRedirect.");let t={};void 0!==e.code&&(t.code=e.code),void 0!==e.scope&&(t.scope=e.scope),void 0!==e.state&&(t.state=e.state),void 0!==e.authuser&&(t.authuser=e.authuser),void 0!==e.prompt&&(t.prompt=e.prompt),void 0!==e.error&&(t.error=e.error);let i=yield this.request({path:"/sdk/{environmentId}/providers/cbOauthRedirectUrl".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.Pf(i)})}cbOauthRedirect(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.cbOauthRedirectRaw(e,n);return yield t.value()})}cbOauthRedirectOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling cbOauthRedirectOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/cbOauthRedirectUrl".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}cbOauthRedirectOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.cbOauthRedirectOptionsRaw(e,n)})}
1checkSsoProviderRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling checkSsoProvider.");if(null===e.ssoProviderCheckRequest||void 0===e.ssoProviderCheckRequest)throw new r.Q0("ssoProviderCheckRequest","Required parameter requestParameters.ssoProviderCheckRequest was null or undefined when calling checkSsoProvider.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/ssoProvider".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e7.p3)(e.ssoProviderCheckRequest)},n);return new r.ko(i,e=>(0,e4.Eu)(e))})}checkSsoProvider(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.checkSsoProviderRaw(e,n);return yield t.value()})}claimEmbeddedWalletRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling claimEmbeddedWallet.");if(null===e.embeddedWalletPasscodeClaimRequest||void 0===e.embeddedWalletPasscodeClaimRequest)throw new r.Q0("embeddedWalletPasscodeClaimRequest","Required parameter requestParameters.embeddedWalletPasscodeClaimRequest was null or undefined when calling claimEmbeddedWallet.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passcode/claim".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"PUT",headers:t,query:{},body:(0,N.KU)(e.embeddedWalletPasscodeClaimRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}claimEmbeddedWallet(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.claimEmbeddedWalletRaw(e,n);return yield t.value()})}claimEmbeddedWalletOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling claimEmbeddedWalletOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passcode/claim".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}claimEmbeddedWalletOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.claimEmbeddedWalletOptionsRaw(e,n)})}coinbaseBuyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling coinbaseBuyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/onramps/coinbase/buy".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}coinbaseBuyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.coinbaseBuyOptionsRaw(e,n)})}coinbaseNetworksOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling coinbaseNetworksOptions.");let t=yield this.request({path:"/sdk/{environmentId}/onramps/coinbase/networks".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}coinbaseNetworksOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.coinbaseNetworksOptionsRaw(e,n)})}coinbaseOrdersOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling coinbaseOrdersOptions.");let t=yield this.request({path:"/sdk/{environmentId}/onramps/coinbase/orders".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}coinbaseOrdersOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.coinbaseOrdersOptionsRaw(e,n)})}completePasskeyRecoveryRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling completePasskeyRecovery.");if(null===e.completePasskeyRecoveryRequest||void 0===e.completePasskeyRecoveryRequest)throw new r.Q0("c
1ompletePasskeyRecoveryRequest","Required parameter requestParameters.completePasskeyRecoveryRequest was null or undefined when calling completePasskeyRecovery.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passkeyRecovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"PUT",headers:t,query:{},body:(0,w.jr)(e.completePasskeyRecoveryRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}completePasskeyRecovery(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.completePasskeyRecoveryRaw(e,n);return yield t.value()})}createCoinbaseOnrampOrderRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createCoinbaseOnrampOrder.");if(null===e.coinbaseOnrampOrderCreateRequest||void 0===e.coinbaseOnrampOrderCreateRequest)throw new r.Q0("coinbaseOnrampOrderCreateRequest","Required parameter requestParameters.coinbaseOnrampOrderCreateRequest was null or undefined when calling createCoinbaseOnrampOrder.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/onramps/coinbase/orders".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,h.oG)(e.coinbaseOnrampOrderCreateRequest)},n);return new r.ko(i,e=>(0,p.V)(e))})}createCoinbaseOnrampOrder(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createCoinbaseOnrampOrderRaw(e,n);return yield t.value()})}createCryptoDotComPaymentRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createCryptoDotComPayment.");if(null===e.cryptoDotComPaymentCreateRequest||void 0===e.cryptoDotComPaymentCreateRequest)throw new r.Q0("cryptoDotComPaymentCreateRequest","Required parameter requestParameters.cryptoDotComPaymentCreateRequest was null or undefined when calling createCryptoDotComPayment.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/onramps/cryptoDotCom/payment".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,S.W4)(e.cryptoDotComPaymentCreateRequest)},n);return new r.ko(i,e=>(0,P.vU)(e))})}createCryptoDotComPayment(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createCryptoDotComPaymentRaw(e,n);return yield t.value()})}createEmailVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createEmailVerification.");if(null===e.emailVerificationCreateRequest||void 0===e.emailVerificationCreateRequest)throw new r.Q0("emailVerificationCreateRequest","Required parameter requestParameters.emailVerificationCreateRequest was null or undefined when calling createEmailVerification.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/emailVerifications/create".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,E.k)(e.emailVerificationCreateRequest)},n);return new r.ko(i,e=>(0,K.VK)(e))})}createEmailVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createEmailVerificationRaw(e,n);return yield t.value()})}createEmailVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createEmailVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/emailVerifications/create".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}createEmailVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createEmailVerificationOptionsRaw(e,n)})}createEmbeddedWalletsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createEmbeddedWallets.");if(null===e.createEmbeddedWalletsRequest||void 0===e.createEmbeddedWalletsRequest)throw new r.Q0("createEmbeddedWalletsRequest","Required parameter requestParameters.createEmbeddedWalletsRequest was null or undefined when calling createEmbeddedWallets.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,f.jW)(e.createEmbeddedWalletsRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}createEmbeddedWallets(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createEmbeddedWalletsRaw(e,n);return yield t.value()})}createEmbeddedWalletsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createEmbeddedWalletsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}createEmbeddedWalletsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createEmbeddedWalletsOptionsRaw(e,n)})}createGlobalWalletConnectionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createGlobalWalletConnection.");
1if(null===e.globalWalletConnectionCreateRequest||void 0===e.globalWalletConnectionCreateRequest)throw new r.Q0("globalWalletConnectionCreateRequest","Required parameter requestParameters.globalWalletConnectionCreateRequest was null or undefined when calling createGlobalWalletConnection.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/globalWallets/connections".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ee.bE)(e.globalWalletConnectionCreateRequest)},n);return new r.ko(i,e=>(0,X.fP)(e))})}createGlobalWalletConnection(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createGlobalWalletConnectionRaw(e,n);return yield t.value()})}createNewRecoveryCodesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createNewRecoveryCodes.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/recovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{}},n);return new r.ko(i,e=>(0,ew.g3)(e))})}createNewRecoveryCodes(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createNewRecoveryCodesRaw(e,n);return yield t.value()})}createRoomsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createRooms.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling createRooms.");if(null===e.createRoomsRequest||void 0===e.createRoomsRequest)throw new r.Q0("createRoomsRequest","Required parameter requestParameters.createRoomsRequest was null or undefined when calling createRooms.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/createRooms".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,R.pp)(e.createRoomsRequest)},n);return new r.ko(i,e=>(0,g.s_)(e))})}createRooms(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createRoomsRaw(e,n);return yield t.value()})}createRoomsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createRoomsOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling createRoomsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/createRooms".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}createRoomsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createRoomsOptionsRaw(e,n)})}createRoomsWithoutWalletIdRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createRoomsWithoutWalletId.");if(null===e.createRoomsWithoutWalletIdRequest||void 0===e.createRoomsWithoutWalletIdRequest)throw new r.Q0("createRoomsWithoutWalletIdRequest","Required parameter requestParameters.createRoomsWithoutWalletIdRequest was null or undefined when calling createRoomsWithoutWalletId.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/createRooms".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,q.bZ)(e.createRoomsWithoutWalletIdRequest)},n);return new r.ko(i,e=>(0,k.us)(e))})}createRoomsWithoutWalletId(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createRoomsWithoutWalletIdRaw(e,n);return yield t.value()})}createRoomsWithoutWalletIdOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createRoomsWithoutWalletIdOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/createRooms".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}createRoomsWithoutWalletIdOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createRoomsWithoutWalletIdOptionsRaw(e,n)})}createSmsVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createSmsVerification.");
1if(null===e.smsVerificationCreateRequest||void 0===e.smsVerificationCreateRequest)throw new r.Q0("smsVerificationCreateRequest","Required parameter requestParameters.smsVerificationCreateRequest was null or undefined when calling createSmsVerification.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/smsVerifications/create".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eX.xe)(e.smsVerificationCreateRequest)},n);return new r.ko(i,e=>(0,e0.Yx)(e))})}createSmsVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createSmsVerificationRaw(e,n);return yield t.value()})}createSmsVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createSmsVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/smsVerifications/create".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}createSmsVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createSmsVerificationOptionsRaw(e,n)})}createVisitRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createVisit.");if(null===e.connectRequest||void 0===e.connectRequest)throw new r.Q0("connectRequest","Required parameter requestParameters.connectRequest was null or undefined when calling createVisit.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/connect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,I.XJ)(e.connectRequest)},n);return new r.cK(i)})}createVisit(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createVisitRaw(e,n)})}createWaasAccountRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createWaasAccount.");if(null===e.createWaasAccountRequest||void 0===e.createWaasAccountRequest)throw new r.Q0("createWaasAccountRequest","Required parameter requestParameters.createWaasAccountRequest was null or undefined when calling createWaasAccount.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/create".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,O.Gt)(e.createWaasAccountRequest)},n);return new r.ko(i,e=>(0,eK.Jz)(e))})}createWaasAccount(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createWaasAccountRaw(e,n);return yield t.value()})}createWaasAccountOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createWaasAccountOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/create".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}createWaasAccountOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.createWaasAccountOptionsRaw(e,n)})}createWalletAccountRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling createWalletAccount.");if(null===e.createWalletAccountRequest||void 0===e.createWalletAccountRequest)throw new r.Q0("createWalletAccountRequest","Required parameter requestParameters.createWalletAccountRequest was null or undefined when calling createWalletAccount.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/walletAccounts".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,T.XO)(e.createWalletAccountRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}createWalletAccount(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.createWalletAccountRaw(e,n);return yield t.value()})}cryptoDotComPaymentOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling cryptoDotComPaymentOptions.");let t=yield this.request({path:"/sdk/{environmentId}/onramps/cryptoDotCom/payment".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}cryptoDotComPaymentOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.cryptoDotComPaymentOptionsRaw(e,n)})}deleteEmbeddedWalletsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling deleteEmbeddedWallets.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"DELETE",headers:t,query:{},body:(0,U.Uv)(e.deleteEmbeddedWalletsRequest)},n);return new r.cK(i)})}deleteEmbeddedWallets(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.deleteEmbeddedWalletsRaw(e,n)})}deleteMfaDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling deleteMfaDevice.");if(null===e.mfaDeviceId||void 0===e.mfaDeviceId)throw new r.Q0("mfaDeviceId","Required parameter requestParameters.mfaDeviceId was null or undefined when calling deleteMfaDevice.");if(null===e.xMfaAuthToken||void 0===e.xMfaAuthToken)throw new r.Q0("xMfaAuthToken","Required parameter requestParameters.xMfaAuthToken was null or undefined when calling deleteMfaDevice.");let t={};if(void 0!==e.xMfaAuthToken&&null!==e.xMfaAuthToken&&(t["x-mfa-auth-token"]=String(e.xMfaAuthToken)),this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/{mfaDeviceId}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{mfaDeviceId}",encodeURIComponent(String(e.mfaDeviceId))),method:"DELETE",headers:t,query:{}},n);return new r.cK(i)})}deleteMfaDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.deleteMfaDeviceRaw(e,n)})}deletePasskeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling deletePasskey.");if(null===e.deleteUserPasskeyRequest||void 0===e.deleteUserPasskeyRequest)throw new r.Q0("deleteUserPasskeyRequest","Required parameter requestParameters.deleteUserPasskeyRequest was null or undefined when calling deletePasskey.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"DELETE",headers:t,query:{},body:(0,Q.xf)(e.deleteUserPasskeyRequest)},n);return new r.cK(i)})}deletePasskey(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.deletePasskeyRaw(e,n)})}deliverDelegatedShareRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling deliverDelegatedShare.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling deliverDelegatedShare.");if(null===e.delegatedShareDeliveryRequest||void 0===e.delegatedShareDeliveryRequest)throw new r.Q0("delegatedShareDeliveryRequest","Required parameter requestParameters.delegatedShareDeliveryRequest was null or undefined when calling deliverDelegatedShare.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/delegatedAccess/delivery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,A.pU)(e.delegatedShareDeliveryRequest)},n);return new r.ko(i,e=>(0,b.K6)(e))})}deliverDelegatedShare(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.deliverDelegatedShareRaw(e,n);return yield t.value()})}deliverDelegatedShareOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling deliverDelegatedShareOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling deliverDelegatedShareOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/delegatedAccess/delivery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}deliverDelegatedShareOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.deliverDelegatedShareOptionsRaw(e,n)})}disconnectGlobalWalletConnectionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling disconnectGlobalWalletConnection.");
1if(null===e.globalWalletConnectionId||void 0===e.globalWalletConnectionId)throw new r.Q0("globalWalletConnectionId","Required parameter requestParameters.globalWalletConnectionId was null or undefined when calling disconnectGlobalWalletConnection.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/globalWallets/connections/{globalWalletConnectionId}/disconnect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{globalWalletConnectionId}",encodeURIComponent(String(e.globalWalletConnectionId))),method:"PUT",headers:t,query:{}},n);return new r.ko(i,e=>(0,X.fP)(e))})}disconnectGlobalWalletConnection(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.disconnectGlobalWalletConnectionRaw(e,n);return yield t.value()})}disconnectGlobalWalletConnectionOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling disconnectGlobalWalletConnectionOptions.");if(null===e.globalWalletConnectionId||void 0===e.globalWalletConnectionId)throw new r.Q0("globalWalletConnectionId","Required parameter requestParameters.globalWalletConnectionId was null or undefined when calling disconnectGlobalWalletConnectionOptions.");let t=yield this.request({path:"/sdk/{environmentId}/globalWallets/connections/{globalWalletConnectionId}/disconnect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{globalWalletConnectionId}",encodeURIComponent(String(e.globalWalletConnectionId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}disconnectGlobalWalletConnectionOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.disconnectGlobalWalletConnectionOptionsRaw(e,n)})}emailAuthOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling emailAuthOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/emailAuth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}emailAuthOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.emailAuthOptionsRaw(e,n)})}emailProviderOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling emailProviderOptions.");let t=yield this.request({path:"/sdk/{environmentId}/emailProvider".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}emailProviderOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.emailProviderOptionsRaw(e,n)})}embeddedWalletDeleteRequestOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling embeddedWalletDeleteRequestOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling embeddedWalletDeleteRequestOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/deleteRequest".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}embeddedWalletDeleteRequestOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.embeddedWalletDeleteRequestOptionsRaw(e,n)})}embeddedWalletExportRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling embeddedWalletExport.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling embeddedWalletExport.");if(null===e.activityId||void 0===e.activityId)throw new r.Q0("activityId","Required parameter requestParameters.activityId was null or undefined when calling embeddedWalletExport.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/activities/{activityId}/export".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))).replace("{activityId}",encodeURIComponent(String(e.activityId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,$.rJ)(e))})}embeddedWalletExport(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.embeddedWalletExportRaw(e,n);return yield t.value()})}embeddedWalletExportOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling embeddedWalletExportOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling embeddedWalletExportOptions.");if(null===e.activityId||void 0===e.activityId)throw new r.Q0("activityId","Required parameter requestParameters.activityId was null or undefined when calling embeddedWalletExportOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/activities/{activityId}/export".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))).replace("{activityId}",encodeURIComponent(String(e.activityId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}embeddedWalletExportOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.embeddedWalletExportOptionsRaw(e,n)})}eventsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling eventsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/events".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}eventsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.eventsOptionsRaw(e,n)})}exportPrivateKeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling exportPrivateKey.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling exportPrivateKey.");if(null===e.exportWaasWalletPrivateKeyRequest||void 0===e.exportWaasWalletPrivateKeyRequest)throw new r.Q0("exportWaasWalletPrivateKeyRequest","Required parameter requestParameters.exportWaasWalletPrivateKeyRequest was null or undefined when calling exportPrivateKey.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/privateKey/export".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,L.Ms)(e.exportWaasWalletPrivateKeyRequest)},n);return new r.ko(i,e=>(0,eK.Jz)(e))})}
1exportPrivateKey(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.exportPrivateKeyRaw(e,n);return yield t.value()})}exportPrivateKeyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling exportPrivateKeyOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling exportPrivateKeyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/privateKey/export".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}exportPrivateKeyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.exportPrivateKeyOptionsRaw(e,n)})}externalAuthSigninRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling externalAuthSignin.");if(null===e.externalAuthSigninRequest||void 0===e.externalAuthSigninRequest)throw new r.Q0("externalAuthSigninRequest","Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthSignin.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/externalAuth/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,F.WY)(e.externalAuthSigninRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}externalAuthSignin(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.externalAuthSigninRaw(e,n);return yield t.value()})}externalAuthSigninOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling externalAuthSigninOptions.");let t=yield this.request({path:"/sdk/{environmentId}/externalAuth/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}externalAuthSigninOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.externalAuthSigninOptionsRaw(e,n)})}externalAuthVerifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerify.");if(null===e.externalAuthSigninRequest||void 0===e.externalAuthSigninRequest)throw new r.Q0("externalAuthSigninRequest","Required parameter requestParameters.externalAuthSigninRequest was null or undefined when calling externalAuthVerify.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/externalAuth/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,F.WY)(e.externalAuthSigninRequest)},n);return new r.cK(i)})}externalAuthVerify(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.externalAuthVerifyRaw(e,n)})}externalAuthVerifyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling externalAuthVerifyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/externalAuth/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}externalAuthVerifyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.externalAuthVerifyOptionsRaw(e,n)})}farcasterSignInRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling farcasterSignIn.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/farcaster/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,H.mN)(e.farcasterSignInRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}farcasterSignIn(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.farcasterSignInRaw(e,n);return yield t.value()})}farcasterSignInOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling farcasterSignInOptions.");let t=yield this.request({path:"/sdk/{environmentId}/farcaster/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}farcasterSignInOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.farcasterSignInOptionsRaw(e,n)})}farcasterVerifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling farcasterVerify.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/farcaster/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,H.mN)(e.farcasterSignInRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}
1farcasterVerify(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.farcasterVerifyRaw(e,n);return yield t.value()})}farcasterVerifyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling farcasterVerifyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/farcaster/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}farcasterVerifyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.farcasterVerifyOptionsRaw(e,n)})}generateCoinbaseOnrampBuyUrlRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling generateCoinbaseOnrampBuyUrl.");if(null===e.coinbaseOnrampGetBuyUrlRequest||void 0===e.coinbaseOnrampGetBuyUrlRequest)throw new r.Q0("coinbaseOnrampGetBuyUrlRequest","Required parameter requestParameters.coinbaseOnrampGetBuyUrlRequest was null or undefined when calling generateCoinbaseOnrampBuyUrl.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/onramps/coinbase/buy".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,v.$P)(e.coinbaseOnrampGetBuyUrlRequest)},n);return new r.ko(i,e=>(0,m.Ge)(e))})}generateCoinbaseOnrampBuyUrl(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.generateCoinbaseOnrampBuyUrlRaw(e,n);return yield t.value()})}getAccountBalancesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalances.");if(null===e.chainName||void 0===e.chainName)throw new r.Q0("chainName","Required parameter requestParameters.chainName was null or undefined when calling getAccountBalances.");if(null===e.accountAddress||void 0===e.accountAddress)throw new r.Q0("accountAddress","Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalances.");let t={};void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.accountAddress&&(t.accountAddress=e.accountAddress),void 0!==e.includePrices&&(t.includePrices=e.includePrices),void 0!==e.includeNative&&(t.includeNative=e.includeNative),void 0!==e.filterSpamTokens&&(t.filterSpamTokens=e.filterSpamTokens),e.whitelistedContracts&&(t.whitelistedContracts=e.whitelistedContracts),void 0!==e.forceRefresh&&(t.forceRefresh=e.forceRefresh);let i=yield this.request({path:"/sdk/{environmentId}/chains/{chainName}/balances".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{chainName}",encodeURIComponent(String(e.chainName))),method:"GET",headers:{},query:t},n);return new r.ko(i,e=>e.map(eO.cB))})}getAccountBalances(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getAccountBalancesRaw(e,n);return yield t.value()})}getAccountBalancesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getAccountBalancesOptions.");if(null===e.chainName||void 0===e.chainName)throw new r.Q0("chainName","Required parameter requestParameters.chainName was null or undefined when calling getAccountBalancesOptions.");if(null===e.networkId||void 0===e.networkId)throw new r.Q0("networkId","Required parameter requestParameters.networkId was null or undefined when calling getAccountBalancesOptions.");if(null===e.accountAddress||void 0===e.accountAddress)throw new r.Q0("accountAddress","Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalancesOptions.");let t={};void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.accountAddress&&(t.accountAddress=e.accountAddress),void 0!==e.transactionHash&&(t.transactionHash=e.transactionHash);let i=yield this.request({path:"/sdk/{environmentId}/chains/{chainName}/balances".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{chainName}",encodeURIComponent(String(e.chainName))),method:"OPTIONS",headers:{},query:t},n);return new r.cK(i)})}getAccountBalancesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getAccountBalancesOptionsRaw(e,n)})}getAuthTokenRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getAuthToken.");let t={};void 0!==e.type&&(t.type=e.type);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/authToken".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>(0,x.ru)(e))})}getAuthToken(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getAuthTokenRaw(e,n);return yield t.value()})}getAuthTokenOptsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getAuthTokenOpts.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/authToken".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}
1getAuthTokenOpts(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getAuthTokenOptsRaw(e,n)})}getAuthenticatedUserRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getAuthenticatedUser.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,z.kg)(e))})}getAuthenticatedUser(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getAuthenticatedUserRaw(e,n);return yield t.value()})}getBackupTokenRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getBackupToken.");let t=yield this.request({path:"/sdk/{environmentId}/waas/keyShares/backup/token".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,J.IK)(e))})}getBackupToken(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getBackupTokenRaw(e,n);return yield t.value()})}getBackupTokenOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getBackupTokenOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/keyShares/backup/token".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getBackupTokenOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getBackupTokenOptionsRaw(e,n)})}getCoinbaseSupportedNetworksRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getCoinbaseSupportedNetworks.");let t=yield this.request({path:"/sdk/{environmentId}/onramps/coinbase/networks".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t)})}getCoinbaseSupportedNetworks(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getCoinbaseSupportedNetworksRaw(e,n);return yield t.value()})}getCreateWalletAccountRequestRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getCreateWalletAccountRequest.");if(null===e.chain||void 0===e.chain)throw new r.Q0("chain","Required parameter requestParameters.chain was null or undefined when calling getCreateWalletAccountRequest.");let t={};void 0!==e.chain&&(t.chain=e.chain);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/walletAccounts/createRequest".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>(0,ni.To)(e))})}getCreateWalletAccountRequest(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getCreateWalletAccountRequestRaw(e,n);return yield t.value()})}getCurrencyExchangeRatesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getCurrencyExchangeRates.");let t=yield this.request({path:"/sdk/{environmentId}/exchangeRates".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>e.map(C.o5))})}
1getCurrencyExchangeRates(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getCurrencyExchangeRatesRaw(e,n);return yield t.value()})}getCurrencyExchangeRatesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getCurrencyExchangeRatesOptions.");let t=yield this.request({path:"/sdk/{environmentId}/exchangeRates".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getCurrencyExchangeRatesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getCurrencyExchangeRatesOptionsRaw(e,n)})}getEmailProviderRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEmailProvider.");if(null===e.email||void 0===e.email)throw new r.Q0("email","Required parameter requestParameters.email was null or undefined when calling getEmailProvider.");let t={};void 0!==e.email&&(t.email=e.email);let i=yield this.request({path:"/sdk/{environmentId}/emailProvider".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.ko(i,e=>(0,W.Rt)(e))})}getEmailProvider(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getEmailProviderRaw(e,n);return yield t.value()})}getEmbeddedWalletBackupOptionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletBackupOption.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/backup".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getEmbeddedWalletBackupOption(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getEmbeddedWalletBackupOptionRaw(e,n)})}getEmbeddedWalletBackupsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletBackups.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/backup".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,B.Kw)(e))})}getEmbeddedWalletBackups(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getEmbeddedWalletBackupsRaw(e,n);return yield t.value()})}getEmbeddedWalletPasscodeRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletPasscode.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passcode".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,B.Kw)(e))})}getEmbeddedWalletPasscode(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getEmbeddedWalletPasscodeRaw(e,n);return yield t.value()})}getEmbeddedWalletPasscodeOptionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletPasscodeOption.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passcode".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getEmbeddedWalletPasscodeOption(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getEmbeddedWalletPasscodeOptionRaw(e,n)})}getEmbeddedWalletsDeleteRequestRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEmbeddedWalletsDeleteRequest.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling getEmbeddedWalletsDeleteRequest.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/deleteRequest".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,nr.DN)(e))})}getEmbeddedWalletsDeleteRequest(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getEmbeddedWalletsDeleteRequestRaw(e,n);return yield t.value()})}getEndUserOauthAccessTokenRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEndUserOauthAccessToken.");if(null===e.oauthAccountId||void 0===e.oauthAccountId)throw new r.Q0("oauthAccountId","Required parameter requestParameters.oauthAccountId was null or undefined when calling getEndUserOauthAccessToken.");let t=yield this.request({path:"/sdk/{environmentId}/oauthAccounts/{oauthAccountId}/accessToken".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{oauthAccountId}",encodeURIComponent(String(e.oauthAccountId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,nm.$l)(e))})}getEndUserOauthAccessToken(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getEndUserOauthAccessTokenRaw(e,n);return yield t.value()})}getEndUserOauthAccessTokenOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEndUserOauthAccessTokenOptions.");if(null===e.oauthAccountId||void 0===e.oauthAccountId)throw new r.Q0("oauthAccountId","Required parameter requestParameters.oauthAccountId was null or undefined when calling getEndUserOauthAccessTokenOptions.");let t=yield this.request({path:"/sdk/{environmentId}/oauthAccounts/{oauthAccountId}/accessToken".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{oauthAccountId}",encodeURIComponent(String(e.oauthAccountId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getEndUserOauthAccessTokenOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getEndUserOauthAccessTokenOptionsRaw(e,n)})}getEnvironmentSettingsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getEnvironmentSettings.");let t={};void 0!==e.sdkVersion&&(t.sdkVersion=e.sdkVersion);let i=yield this.request({path:"/sdk/{environmentId}/settings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.ko(i,e=>(0,eM.Dt)(e))})}
1getEnvironmentSettings(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getEnvironmentSettingsRaw(e,n);return yield t.value()})}getExchangeTransactionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getExchangeTransactions.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling getExchangeTransactions.");let t={};void 0!==e.accountId&&(t.accountId=e.accountId);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts/transactions".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>e.map(j.YQ))})}getExchangeTransactions(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getExchangeTransactionsRaw(e,n);return yield t.value()})}getExchangeTransactionsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getExchangeTransactionsOptions.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling getExchangeTransactionsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts/transactions".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getExchangeTransactionsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getExchangeTransactionsOptionsRaw(e,n)})}getExchangeTransferDestinationsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getExchangeTransferDestinations.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling getExchangeTransferDestinations.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts/transfer/destinations".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,nt.FR)(e))})}getExchangeTransferDestinations(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getExchangeTransferDestinationsRaw(e,n);return yield t.value()})}getExchangeTransferDestinationsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getExchangeTransferDestinationsOptions.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling getExchangeTransferDestinationsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts/transfer/destinations".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getExchangeTransferDestinationsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getExchangeTransferDestinationsOptionsRaw(e,n)})}getGlobalWalletsSettingsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getGlobalWalletsSettings.");let t=yield this.request({path:"/sdk/{environmentId}/globalWallets/settings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,en.S2)(e))})}
1getGlobalWalletsSettings(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getGlobalWalletsSettingsRaw(e,n);return yield t.value()})}getHealthcheckRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getHealthcheck.");let t=yield this.request({path:"/sdk/{environmentId}/healthcheck".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,et.GK)(e))})}getHealthcheck(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getHealthcheckRaw(e,n);return yield t.value()})}getHealthcheckOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getHealthcheckOptions.");let t=yield this.request({path:"/sdk/{environmentId}/healthcheck".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getHealthcheckOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getHealthcheckOptionsRaw(e,n)})}getJwksByEnvironmentIdRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getJwksByEnvironmentId.");let t=yield this.request({path:"/sdk/{environmentId}/.well-known/jwks".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,es.RQ)(e))})}getJwksByEnvironmentId(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getJwksByEnvironmentIdRaw(e,n);return yield t.value()})}getJwksJsonByEnvironmentIdRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getJwksJsonByEnvironmentId.");let t=yield this.request({path:"/sdk/{environmentId}/.well-known/jwks.json".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,es.RQ)(e))})}getJwksJsonByEnvironmentId(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getJwksJsonByEnvironmentIdRaw(e,n);return yield t.value()})}getMfaDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getMfaDevice.");if(null===e.mfaDeviceId||void 0===e.mfaDeviceId)throw new r.Q0("mfaDeviceId","Required parameter requestParameters.mfaDeviceId was null or undefined when calling getMfaDevice.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/{mfaDeviceId}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{mfaDeviceId}",encodeURIComponent(String(e.mfaDeviceId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,ev.P$)(e))})}getMfaDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getMfaDeviceRaw(e,n);return yield t.value()})}getMfaDeviceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getMfaDeviceOptions.");if(null===e.mfaDeviceId||void 0===e.mfaDeviceId)throw new r.Q0("mfaDeviceId","Required parameter requestParameters.mfaDeviceId was null or undefined when calling getMfaDeviceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/{mfaDeviceId}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{mfaDeviceId}",encodeURIComponent(String(e.mfaDeviceId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getMfaDeviceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getMfaDeviceOptionsRaw(e,n)})}getNetworksConfigurationByEnvIdRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getNetworksConfigurationByEnvId.");let t=yield this.request({path:"/sdk/{environmentId}/networks".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>e.map(eS.iS))})}
1getNetworksConfigurationByEnvId(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getNetworksConfigurationByEnvIdRaw(e,n);return yield t.value()})}getNonceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getNonce.");let t=yield this.request({path:"/sdk/{environmentId}/nonce".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,eP.zJ)(e))})}getNonce(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getNonceRaw(e,n);return yield t.value()})}getPasskeyAuthenticationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getPasskeyAuthenticationOptions.");let t={};void 0!==e.relatedOriginRpId&&(t.relatedOriginRpId=e.relatedOriginRpId);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/users/passkeys/authenticate".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>(0,Y.ic)(e))})}getPasskeyAuthenticationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getPasskeyAuthenticationOptionsRaw(e,n);return yield t.value()})}getPasskeyAuthenticationOptionsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getPasskeyAuthenticationOptionsOptions.");let t={};void 0!==e.relatedOriginRpId&&(t.relatedOriginRpId=e.relatedOriginRpId);let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys/authenticate".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:t},n);return new r.cK(i)})}getPasskeyAuthenticationOptionsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getPasskeyAuthenticationOptionsOptionsRaw(e,n)})}getPasskeyAuthenticationSigninOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getPasskeyAuthenticationSigninOptions.");let t={};void 0!==e.relatedOriginRpId&&(t.relatedOriginRpId=e.relatedOriginRpId);let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.ko(i,e=>(0,Y.ic)(e))})}getPasskeyAuthenticationSigninOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getPasskeyAuthenticationSigninOptionsRaw(e,n);return yield t.value()})}getPasskeyRegistrationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getPasskeyRegistrationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/passkeys/register".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,_.DU)(e))})}getPasskeyRegistrationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getPasskeyRegistrationOptionsRaw(e,n);return yield t.value()})}getPasskeyRegistrationOptionsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getPasskeyRegistrationOptionsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/passkeys/register".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getPasskeyRegistrationOptionsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getPasskeyRegistrationOptionsOptionsRaw(e,n)})}getRecoveryCodesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getRecoveryCodes.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/recovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,em.dv)(e))})}getRecoveryCodes(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getRecoveryCodesRaw(e,n);return yield t.value()})}getSupportedOfframpsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getSupportedOfframps.");if(null===e.walletAddress||void 0===e.walletAddress)throw new r.Q0("walletAddress","Required parameter requestParameters.walletAddress was null or undefined when calling getSupportedOfframps.");if(null===e.chain||void 0===e.chain)throw new r.Q0("chain","Required parameter requestParameters.chain was null or undefined when calling getSupportedOfframps.");let t={};void 0!==e.walletAddress&&(t.walletAddress=e.walletAddress),void 0!==e.chain&&(t.chain=e.chain),void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.token&&(t.token=e.token);let i=yield this.request({path:"/sdk/{environmentId}/offramps".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.ko(i,e=>(0,e6.ed)(e))})}getSupportedOfframps(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.get
1SupportedOfframpsRaw(e,n);return yield t.value()})}getSupportedOnrampsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getSupportedOnramps.");if(null===e.walletAddress||void 0===e.walletAddress)throw new r.Q0("walletAddress","Required parameter requestParameters.walletAddress was null or undefined when calling getSupportedOnramps.");if(null===e.chain||void 0===e.chain)throw new r.Q0("chain","Required parameter requestParameters.chain was null or undefined when calling getSupportedOnramps.");let t={};void 0!==e.walletAddress&&(t.walletAddress=e.walletAddress),void 0!==e.chain&&(t.chain=e.chain),void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.token&&(t.token=e.token),void 0!==e.tokenAmount&&(t.tokenAmount=e.tokenAmount),void 0!==e.includeDisabled&&(t.includeDisabled=e.includeDisabled),void 0!==e.currency&&(t.currency=e.currency),void 0!==e.merchantName&&(t.merchantName=e.merchantName);let i=yield this.request({path:"/sdk/{environmentId}/onramps".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.ko(i,e=>(0,ne.Mr)(e))})}getSupportedOnramps(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getSupportedOnrampsRaw(e,n);return yield t.value()})}getTelegramAuthRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getTelegramAuth.");if(null===e.state||void 0===e.state)throw new r.Q0("state","Required parameter requestParameters.state was null or undefined when calling getTelegramAuth.");let t={};void 0!==e.state&&(t.state=e.state);let i=yield this.request({path:"/sdk/{environmentId}/telegram/auth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:{},query:t},n);return new r.Pf(i)})}getTelegramAuth(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getTelegramAuthRaw(e,n);return yield t.value()})}getUserAccountsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserAccounts.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling getUserAccounts.");let t={};void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.chainName&&(t.chainName=e.chainName);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let a=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))),method:"GET",headers:i,query:t},n);return new r.ko(a,e=>e.map(o.Ug))})}getUserAccounts(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getUserAccountsRaw(e,n);return yield t.value()})}getUserAccountsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserAccountsOptions.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling getUserAccountsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getUserAccountsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getUserAccountsOptionsRaw(e,n)})}getUserFieldsCheckRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserFieldsCheck.");let t={};void 0!==e.filter&&(t.filter=e.filter);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/users/check".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>(0,nv.Oq)(e))})}getUserFieldsCheck(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getUserFieldsCheckRaw(e,n);return yield t.value()})}getUserFieldsCheckOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserFieldsCheckOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/check".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getUserFieldsCheckOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getUserFieldsCheckOptionsRaw(e,n)})}getUserMfaDevicesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserMfaDevices.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,eh.fP)(e))})}getUserMfaDevices(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getUserMfaDevicesRaw(e,n);return yield t.value()})}getUserMfaMethodsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserMfaMethods.");let t={};void 0!==e.verifiedOnly&&(t.verifiedOnly=e.verifiedOnly);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/users/mfa/methods".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>(0,ep.AB)(e))})}getUserMfaMethods(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getUserMfaMethodsRaw(e,n);return yield t.value()})}getUserPasskeysRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getUserPasskeys.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,Z.Oo)(e))})}getUserPasskeys(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getUserPasskeysRaw(e,n);return yield t.value()})}getWaasWalletWithVerifiedCredentialsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletWithVerifiedCredentials.");if(null===e.walletAddress||void 0===e.walletAddress)throw new r.Q0("walletAddress","Required parameter requestParameters.walletAddress was null or undefined when calling getWaasWalletWithVerifiedCredentials.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/byWalletAddress/{walletAddress}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletAddress}",encodeURIComponent(String(e.walletAddress))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,z.kg)(e))})}getWaasWalletWithVerifiedCredentials(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getWaasWalletWithVerifiedCredentialsRaw(e,n);return yield t.value()})}getWaasWalletWithVerifiedCredentialsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletWithVerifiedCredentialsOptions.");if(null===e.walletAddress||void 0===e.walletAddress)throw new r.Q0("walletAddress","Required parameter requestParameters.walletAddress was null or undefined when calling getWaasWalletWithVerifiedCredentialsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/byWalletAddress/{walletAddress}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletAddress}",encodeURIComponent(String(e.walletAddress))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}getWaasWalletWithVerifiedCredentialsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getWaasWalletWithVerifiedCredentialsOptionsRaw(e,n)})}getWalletTransactionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getWalletTransactions.");if(null===e.chainName||void 0===e.chainName)throw new r.Q0("chainName","Required parameter requestParameters.chainName was null or undefined when calling getWalletTransactions.");if(null===e.address||void 0===e.address)throw new r.Q0("address","Required parameter requestParameters.address was null or undefined when calling getWalletTransactions.");if(null===e.networkId||void 0===e.networkId)throw new r.Q0("networkId","Required parameter requestParameters.networkId was null or undefined when calling getWalletTransactions.");let t={};void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.limit&&(t.limit=e.limit),void 0!==e.offset&&(t.offset=e.offset);let i={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(i.Authorization=`Bearer ${n}`)}let o=yield this.request({path:"/sdk/{environmentId}/chains/{chainName}/transactions/{address}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{chainName}",encodeURIComponent(String(e.chainName))).replace("{address}",encodeURIComponent(String(e.address))),method:"GET",headers:i,query:t},n);return new r.ko(o,e=>(0,ny.as)(e))})}getWalletTransactions(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.getWalletTransactionsRaw(e,n);return yield t.value()})}getWalletTransactionsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling getWalletTransactionsOptions.");if(null===e.chainName||void 0===e.chainName)throw new r.Q0("chainName","Required parameter requestParameters.chainName was null or undefined when calling getWalletTransactionsOptions.");if(null===e.address||void 0===e.address)throw new r.Q0("address","Required parameter requestParameters.address was null or undefined when calling getWalletTransactionsOptions.");if(null===e.networkId||void 0===e.networkId)throw new r.Q0("networkId","Required parameter requestParameters.networkId was null or undefined when calling getWalletTransactionsOptions.");let t={};void 0!==e.networkId&&(t.networkId=e.networkId),void 0!==e.limit&&(t.limit=e.limit),void 0!==e.offset&&(t.offset=e.offset);let i=yield this.request({path:"/sdk/{environmentId}/chains/{chainName}/transactions/{address}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{chainName}",encodeURIComponent(String(e.chainName))).replace("{address}",encodeURIComponent(String(e.address))),method:"OPTIONS",headers:{},query:t},n);return new r.cK(i)})}getWalletTransactionsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.getWalletTransactionsOptionsRaw(e,n)})}globalWalletConnectionsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling globalWalletConnectionsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/globalWallets/connections".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}globalWalletConnectionsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.globalWalletConnectionsOptionsRaw(e,n)})}globalWalletsSettingsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling globalWalletsSettingsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/globalWallets/settings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}globalWalletsSettingsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.globalWalletsSettingsOptionsRaw(e,n)})}hardDeleteUserRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling hardDeleteUser.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"DELETE",headers:t,query:{}},n);return new r.cK(i)})}hardDeleteUser(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.hardDeleteUserRaw(e,n)})}importPrivateKeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling importPrivateKey.");if(null===e.importWaasPrivateKeyRequest||void 0===e.importWaasPrivateKeyRequest)throw new r.Q0("importWaasPrivateKeyRequest","Required parameter requestParameters.importWaasPrivateKeyRequest was null or undefined when calling importPrivateKey.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/privateKey/import".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ei.sZ)(e.importWaasPrivateKeyRequest)},n);return new r.ko(i,e=>(0,eK.Jz)(e))})}importPrivateKey(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.importPrivateKeyRaw(e,n);return yield t.value()})}importPrivateKeyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.e
1nvironmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling importPrivateKeyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/privateKey/import".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}importPrivateKeyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.importPrivateKeyOptionsRaw(e,n)})}initAuthRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling initAuth.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling initAuth.");if(null===e.oauthInitAuthRequest||void 0===e.oauthInitAuthRequest)throw new r.Q0("oauthInitAuthRequest","Required parameter requestParameters.oauthInitAuthRequest was null or undefined when calling initAuth.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/initAuth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"POST",headers:t,query:{},body:(0,eC.kS)(e.oauthInitAuthRequest)},n);return new r.cK(i)})}initAuth(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.initAuthRaw(e,n)})}initAuthOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling initAuthOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling initAuthOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/initAuth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}initAuthOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.initAuthOptionsRaw(e,n)})}initEmailAuthRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling initEmailAuth.");if(null===e.initEmailAuthRequest||void 0===e.initEmailAuthRequest)throw new r.Q0("initEmailAuthRequest","Required parameter requestParameters.initEmailAuthRequest was null or undefined when calling initEmailAuth.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/emailAuth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,er.xh)(e.initEmailAuthRequest)},n);return new r.ko(i,e=>(0,eo.oi)(e))})}initEmailAuth(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.initEmailAuthRaw(e,n);return yield t.value()})}initPasskeyRecoveryRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling initPasskeyRecovery.");if(null===e.initPasskeyRecoveryRequest||void 0===e.initPasskeyRecoveryRequest)throw new r.Q0("initPasskeyRecoveryRequest","Required parameter requestParameters.initPasskeyRecoveryRequest was null or undefined when calling initPasskeyRecovery.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passkeyRecovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ea.Ex)(e.initPasskeyRecoveryRequest)},n);return new r.ko(i,e=>(0,ed.Vb)(e))})}initPasskeyRecovery(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.initPasskeyRecoveryRaw(e,n);return yield t.value()})}jwksOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling jwksOptions.");let t=yield this.request({path:"/sdk/{environmentId}/.well-known/jwks".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}jwksOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.jwksOptionsRaw(e,n)})}legacyEmbeddedWalletDeleteRequestOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling legacyEmbeddedWalletDeleteRequestOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/deleteRequest".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}legacyEmbeddedWalletDeleteRequestOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.legacyEmbeddedWalletDeleteRequestOptionsRaw(e,n)})}legacyGetEmbeddedWalletsDeleteRequestRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling legacyGetEmbeddedWalletsDeleteRequest.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/deleteRequest".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,nr.DN)(e))})}legacyGetEmbeddedWalletsDeleteRequest(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.legacyGetEmbeddedWalletsDeleteRequestRaw(e,n);return yield t.value()})}listMfaDevicesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling listMfaDevicesOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}listMfaDevicesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.listMfaDevicesOptionsRaw(e,n)})}listMfaMethodsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling listMfaMethodsOptions.");let t={};void 0!==e.verifiedOnly&&(t.verifiedOnly=e.verifiedOnly);let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/methods".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:t},n);return new r.cK(i)})}listMfaMethodsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.listMfaMethodsOptionsRaw(e,n)})}logDynamicSdkSettingsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling logDynamicSdkSettings.");if(null===e.sdkSettingsRequest||void 0===e.sdkSettingsRequest)throw new r.Q0("sdkSettingsRequest","Required parameter requestParameters.sdkSettingsRequest was null or undefined when calling logDynamicSdkSettings.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/sdkSettings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eF.ay)(e.sdkSettingsRequest)},n);return new r.cK(i)})}
1logDynamicSdkSettings(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.logDynamicSdkSettingsRaw(e,n)})}mergeUsersRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling mergeUsers.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/merge".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{}},n);return new r.ko(i,e=>(0,nI.p8)(e))})}mergeUsers(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.mergeUsersRaw(e,n);return yield t.value()})}mergeUsersOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling mergeUsersOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/merge".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}mergeUsersOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.mergeUsersOptionsRaw(e,n)})}networksOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling networksOptions.");let t=yield this.request({path:"/sdk/{environmentId}/networks".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}networksOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.networksOptionsRaw(e,n)})}nonceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling nonceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/nonce".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}nonceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.nonceOptionsRaw(e,n)})}oauthAuthorizeHtmlRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtml.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtml.");let t={};void 0!==e.scope&&(t.scope=e.scope),void 0!==e.state&&(t.state=e.state),void 0!==e.redirectUri&&(t.redirect_uri=e.redirectUri);let i=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/authorizeHtml".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"GET",headers:{},query:t},n);return new r.Pf(i)})}oauthAuthorizeHtml(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthAuthorizeHtmlRaw(e,n);return yield t.value()})}oauthAuthorizeHtmlOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtmlOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtmlOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/authorizeHtml".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthAuthorizeHtmlOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthAuthorizeHtmlOptionsRaw(e,n)})}oauthLoginRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthLogin.");
1if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthLogin.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/login".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"GET",headers:{},query:{}},n);return new r.cK(t)})}oauthLogin(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthLoginRaw(e,n)})}oauthLoginOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthLoginOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthLoginOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/login".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthLoginOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthLoginOptionsRaw(e,n)})}oauthLoginUrlRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthLoginUrl.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthLoginUrl.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/loginUrl".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"GET",headers:{},query:{}},n);return new r.ko(t,e=>(0,eA.zR)(e))})}oauthLoginUrl(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthLoginUrlRaw(e,n);return yield t.value()})}oauthLoginUrlOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthLoginUrlOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthLoginUrlOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/loginUrl".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthLoginUrlOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthLoginUrlOptionsRaw(e,n)})}oauthRedirectAppleRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t;if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectApple.");(0,r.Rb)([{contentType:"application/x-www-form-urlencoded"}]),t=new URLSearchParams,void 0!==e.code&&t.append("code",e.code),void 0!==e.state&&t.append("state",e.state),void 0!==e.idToken&&t.append("id_token",e.idToken),void 0!==e.error&&t.append("error",e.error);let i=yield this.request({path:"/sdk/{environmentId}/providers/apple/redirect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:{},query:{},body:t},n);return new r.Pf(i)})}oauthRedirectApple(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthRedirectAppleRaw(e,n);return yield t.value()})}oauthRedirectAppleOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectAppleOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/apple/redirect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthRedirectAppleOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthRedirectAppleOptionsRaw(e,n)})}oauthRedirectCodeRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectCode.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthRedirectCode.");let t={};void 0!==e.code&&(t.code=e.code),void 0!==e.scope&&(t.scope=e.scope),void 0!==e.state&&(t.state=e.state),void 0!==e.authuser&&(t.authuser=e.authuser),void 0!==e.prompt&&(t.prompt=e.prompt),void 0!==e.error&&(t.error=e.error);let i=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/redirect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"GET",headers:{},query:t},n);return new r.Pf(i)})}oauthRedirectCode(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthRedirectCodeRaw(e,n);return yield t.value()})}oauthRedirectOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthRedirectOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthRedirectOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/redirect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthRedirectOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthRedirectOptionsRaw(e,n)})}oauthResultRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthResult.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthResult.");if(null===e.oauthResultRequest||void 0===e.oauthResultRequest)throw new r.Q0("oauthResultRequest","Required parameter requestParameters.oauthResultRequest was null or undefined when calling oauthResult.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/oauthResult".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"POST",headers:t,query:{},body:(0,eU.PD)(e.oauthResultRequest)},n);return new r.ko(i,e=>(0,eQ.EP)(e))})}oauthResult(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthResultRaw(e,n);return yield t.value()})}oauthResultOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthResultOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthResultOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/oauthResult".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthResultOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthResultOptionsRaw(e,n)})}oauthSignInRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthSignIn.");
1if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthSignIn.");if(null===e.oauthRequest||void 0===e.oauthRequest)throw new r.Q0("oauthRequest","Required parameter requestParameters.oauthRequest was null or undefined when calling oauthSignIn.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/signIn".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"POST",headers:t,query:{},body:(0,eb.aV)(e.oauthRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}oauthSignIn(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthSignInRaw(e,n);return yield t.value()})}oauthSignInOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthSignInOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthSignInOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/signIn".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthSignInOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthSignInOptionsRaw(e,n)})}oauthVerifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthVerify.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthVerify.");if(null===e.oauthRequest||void 0===e.oauthRequest)throw new r.Q0("oauthRequest","Required parameter requestParameters.oauthRequest was null or undefined when calling oauthVerify.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"POST",headers:t,query:{},body:(0,eb.aV)(e.oauthRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}oauthVerify(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.oauthVerifyRaw(e,n);return yield t.value()})}oauthVerifyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling oauthVerifyOptions.");if(null===e.providerType||void 0===e.providerType)throw new r.Q0("providerType","Required parameter requestParameters.providerType was null or undefined when calling oauthVerifyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/providers/{providerType}/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{providerType}",encodeURIComponent(String(e.providerType))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}oauthVerifyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.oauthVerifyOptionsRaw(e,n)})}offrampsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling offrampsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/offramps".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}offrampsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.offrampsOptionsRaw(e,n)})}onrampsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling onrampsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/onramps".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}onrampsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.onrampsOptionsRaw(e,n)})}optimizeTransactionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling optimizeTransaction.");
1if(null===e.solanaTransactionOptimizationRequest||void 0===e.solanaTransactionOptimizationRequest)throw new r.Q0("solanaTransactionOptimizationRequest","Required parameter requestParameters.solanaTransactionOptimizationRequest was null or undefined when calling optimizeTransaction.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/solana/optimizeTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e5.kD)(e.solanaTransactionOptimizationRequest)},n);return new r.ko(i,e=>(0,e9.Vj)(e))})}optimizeTransaction(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.optimizeTransactionRaw(e,n);return yield t.value()})}optimizeTransactionOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling optimizeTransactionOptions.");let t=yield this.request({path:"/sdk/{environmentId}/solana/optimizeTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}optimizeTransactionOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.optimizeTransactionOptionsRaw(e,n)})}optionsConnectRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling optionsConnect.");let t=yield this.request({path:"/sdk/{environmentId}/connect".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}optionsConnect(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.optionsConnectRaw(e,n)})}passkeyRecoveryOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling passkeyRecoveryOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/passkeyRecovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}passkeyRecoveryOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.passkeyRecoveryOptionsRaw(e,n)})}postExchangeAccountTransferRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling postExchangeAccountTransfer.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exchangeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling postExchangeAccountTransfer.");if(null===e.accountId||void 0===e.accountId)throw new r.Q0("accountId","Required parameter requestParameters.accountId was null or undefined when calling postExchangeAccountTransfer.");if(null===e.createExchangeTransferRequest||void 0===e.createExchangeTransferRequest)throw new r.Q0("createExchangeTransferRequest","Required parameter requestParameters.createExchangeTransferRequest was null or undefined when calling postExchangeAccountTransfer.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts/{accountId}/transfer".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))).replace("{accountId}",encodeURIComponent(String(e.accountId))),method:"POST",headers:t,query:{},body:(0,y.x3)(e.createExchangeTransferRequest)},n);return new r.ko(i,e=>(0,G.Sx)(e))})}postExchangeAccountTransfer(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.postExchangeAccountTransferRaw(e,n);return yield t.value()})}postExchangeAccountTransferOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling postExchangeAccountTransferOptions.");if(null===e.exchangeKey||void 0===e.exchangeKey)throw new r.Q0("exch
1angeKey","Required parameter requestParameters.exchangeKey was null or undefined when calling postExchangeAccountTransferOptions.");if(null===e.accountId||void 0===e.accountId)throw new r.Q0("accountId","Required parameter requestParameters.accountId was null or undefined when calling postExchangeAccountTransferOptions.");let t=yield this.request({path:"/sdk/{environmentId}/exchange/{exchangeKey}/accounts/{accountId}/transfer".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{exchangeKey}",encodeURIComponent(String(e.exchangeKey))).replace("{accountId}",encodeURIComponent(String(e.accountId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}postExchangeAccountTransferOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.postExchangeAccountTransferOptionsRaw(e,n)})}postMultichainAccountBalancesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling postMultichainAccountBalances.");
1if(null===e.multichainAccountBalancesRequest||void 0===e.multichainAccountBalancesRequest)throw new r.Q0("multichainAccountBalancesRequest","Required parameter requestParameters.multichainAccountBalancesRequest was null or undefined when calling postMultichainAccountBalances.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/balances".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eT.LC)(e.multichainAccountBalancesRequest)},n);return new r.ko(i,e=>(0,ek.BV)(e))})}postMultichainAccountBalances(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.postMultichainAccountBalancesRaw(e,n);return yield t.value()})}postMultichainAccountBalancesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling postMultichainAccountBalancesOptions.");
1if(null===e.multichainAccountBalancesRequest||void 0===e.multichainAccountBalancesRequest)throw new r.Q0("multichainAccountBalancesRequest","Required parameter requestParameters.multichainAccountBalancesRequest was null or undefined when calling postMultichainAccountBalancesOptions.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/balances".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:t,query:{},body:(0,eT.LC)(e.multichainAccountBalancesRequest)},n);return new r.cK(i)})}postMultichainAccountBalancesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.postMultichainAccountBalancesOptionsRaw(e,n)})}postTelegramAuthRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling postTelegramAuth.");if(null===e.telegramPostRequest||void 0===e.telegramPostRequest)throw new r.Q0("telegramPostRequest","Required parameter requestParameters.telegramPostRequest was null or undefined when calling postTelegramAuth.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/telegram/auth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,nn.QU)(e.telegramPostRequest)},n);return new r.cK(i)})}postTelegramAuth(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.postTelegramAuthRaw(e,n)})}prefetchRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling prefetch.");if(null===e.prefetchRequest||void 0===e.prefetchRequest)throw new r.Q0("prefetchRequest","Required parameter requestParameters.prefetchRequest was null or undefined when calling prefetch.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/prefetch".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eD.KG)(e.prefetchRequest)},n);return new r.cK(i)})}
1prefetch(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.prefetchRaw(e,n)})}publishEventRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling publishEvent.");if(null===e.publishEvents||void 0===e.publishEvents)throw new r.Q0("publishEvents","Required parameter requestParameters.publishEvents was null or undefined when calling publishEvent.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/events".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ex.Sd)(e.publishEvents)},n);return new r.cK(i)})}publishEvent(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.publishEventRaw(e,n)})}recoverKeySharesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling recoverKeyShares.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling recoverKeyShares.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/recover".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,eN.f8)(e.recoverMultipleClientKeySharesRequest)},n);return new r.ko(i,e=>(0,eB.Ec)(e))})}recoverKeyShares(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.recoverKeySharesRaw(e,n);return yield t.value()})}recoverKeySharesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling recoverKeySharesOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling recoverKeySharesOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/keyShares/recover".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}recoverKeySharesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.recoverKeySharesOptionsRaw(e,n)})}recoveryCodesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling recoveryCodesOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/recovery".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}recoveryCodesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.recoveryCodesOptionsRaw(e,n)})}recoveryEmailOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling recoveryEmailOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/recoveryEmail".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}recoveryEmailOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.recoveryEmailOptionsRaw(e,n)})}refreshAuthRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling refreshAuth.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/refresh".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{}},n);return new r.ko(i,e=>(0,nI.p8)(e))})}refreshAuth(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.refreshAuthRaw(e,n);return yield t.value()})}refreshKeySharesRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling refreshKeyShares.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling refreshKeyShares.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/refresh".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{}},n);return new r.ko(i,e=>(0,eK.Jz)(e))})}refreshKeyShares(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.refreshKeySharesRaw(e,n);return yield t.value()})}refreshKeySharesOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling refreshKeySharesOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling refreshKeySharesOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/refresh".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}refreshKeySharesOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.refreshKeySharesOptionsRaw(e,n)})}refreshOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling refreshOptions.");let t=yield this.request({path:"/sdk/{environmentId}/refresh".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}refreshOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.refreshOptionsRaw(e,n)})}registerPasskeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerPasskey.");if(null===e.passkeyRegisterRequest||void 0===e.passkeyRegisterRequest)throw new r.Q0("passkeyRegisterRequest","Required parameter requestParameters.passkeyRegisterRequest was null or undefined when calling registerPasskey.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys/register".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eV.oz)(e.passkeyRegisterRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}registerPasskey(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.registerPasskeyRaw(e,n);return yield t.value()})}registerPasskeyMfaDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerPasskeyMfaDevice.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/register/passkey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,eI.lD)(e))})}registerPasskeyMfaDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.registerPasskeyMfaDeviceRaw(e,n);return yield t.value()})}registerPasskeyMfaDeviceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerPasskeyMfaDeviceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/register/passkey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}registerPasskeyMfaDeviceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.registerPasskeyMfaDeviceOptionsRaw(e,n)})}registerPasskeyMfaDeviceVerifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerPasskeyMfaDeviceVerify.");if(null===e.mFARegisterPasskeyDevicePostRequest||void 0===e.mFARegisterPasskeyDevicePostRequest)throw new r.Q0("mFARegisterPasskeyDevicePostRequest","Required parameter requestParameters.mFARegisterPasskeyDevicePostRequest was null or undefined when calling registerPasskeyMfaDeviceVerify.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/register/passkey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ef.gC)(e.mFARegisterPasskeyDevicePostRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}
1registerPasskeyMfaDeviceVerify(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.registerPasskeyMfaDeviceVerifyRaw(e,n);return yield t.value()})}registerSessionKeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerSessionKey.");if(null===e.registerSessionKeyRequest||void 0===e.registerSessionKeyRequest)throw new r.Q0("registerSessionKeyRequest","Required parameter requestParameters.registerSessionKeyRequest was null or undefined when calling registerSessionKey.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/sessionKey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,ej.hV)(e.registerSessionKeyRequest)},n);return new r.ko(i,e=>(0,ez.Zg)(e))})}registerSessionKey(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.registerSessionKeyRaw(e,n);return yield t.value()})}registerTotpMfaDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerTotpMfaDevice.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/register/totp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.ko(i,e=>(0,ey.GS)(e))})}registerTotpMfaDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.registerTotpMfaDeviceRaw(e,n);return yield t.value()})}registerTotpMfaDeviceOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerTotpMfaDeviceOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/mfa/register/totp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}registerTotpMfaDeviceOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.registerTotpMfaDeviceOptionsRaw(e,n)})}registerTotpMfaDeviceVerifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling registerTotpMfaDeviceVerify.");if(null===e.mFARegisterTotpDevicePostRequest||void 0===e.mFARegisterTotpDevicePostRequest)throw new r.Q0("mFARegisterTotpDevicePostRequest","Required parameter requestParameters.mFARegisterTotpDevicePostRequest was null or undefined when calling registerTotpMfaDeviceVerify.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/register/totp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eR.BS)(e.mFARegisterTotpDevicePostRequest)},n);return new r.ko(i,e=>(0,ev.P$)(e))})}registerTotpMfaDeviceVerify(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.registerTotpMfaDeviceVerifyRaw(e,n);return yield t.value()})}reshareRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling reshare.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling reshare.");if(null===e.reshareRequest||void 0===e.reshareRequest)throw new r.Q0("reshareRequest","Required parameter requestParameters.reshareRequest was null or undefined when calling reshare.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/reshare".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,eG.VZ)(e.reshareRequest)},n);return new r.ko(i,e=>(0,eE.oK)(e))})}reshare(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.reshareRaw(e,n);return yield t.value()})}reshareOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling reshareOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling reshareOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/reshare".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}reshareOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.reshareOptionsRaw(e,n)})}restoreEmbeddedWalletRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling restoreEmbeddedWallet.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling restoreEmbeddedWallet.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/restore".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"PUT",headers:t,query:{}},n);return new r.cK(i)})}restoreEmbeddedWallet(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.restoreEmbeddedWalletRaw(e,n)})}restoreEmbeddedWalletOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling restoreEmbeddedWalletOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling restoreEmbeddedWalletOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/restore".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}restoreEmbeddedWalletOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.restoreEmbeddedWalletOptionsRaw(e,n)})}
1retryEmailVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling retryEmailVerification.");if(null===e.emailVerificationRetryRequest||void 0===e.emailVerificationRetryRequest)throw new r.Q0("emailVerificationRetryRequest","Required parameter requestParameters.emailVerificationRetryRequest was null or undefined when calling retryEmailVerification.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/emailVerifications/retry".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,D.Wc)(e.emailVerificationRetryRequest)},n);return new r.ko(i,e=>(0,K.VK)(e))})}retryEmailVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.retryEmailVerificationRaw(e,n);return yield t.value()})}retryEmailVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling retryEmailVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/emailVerifications/retry".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}retryEmailVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.retryEmailVerificationOptionsRaw(e,n)})}retrySmsVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling retrySmsVerification.");if(null===e.smsVerificationRetryRequest||void 0===e.smsVerificationRetryRequest)throw new r.Q0("smsVerificationRetryRequest","Required parameter requestParameters.smsVerificationRetryRequest was null or undefined when calling retrySmsVerification.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/smsVerifications/retry".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e8.xU)(e.smsVerificationRetryRequest)},n);return new r.ko(i,e=>(0,e0.Yx)(e))})}retrySmsVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.retrySmsVerificationRaw(e,n);return yield t.value()})}retrySmsVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling retrySmsVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/smsVerifications/retry".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}retrySmsVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.retrySmsVerificationOptionsRaw(e,n)})}revokeSessionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling revokeSession.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/revoke".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{}},n);return new r.cK(i)})}revokeSession(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.revokeSessionRaw(e,n)})}revokeSessionOptionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling revokeSessionOption.");let t=yield this.request({path:"/sdk/{environmentId}/revoke".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}revokeSessionOption(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.revokeSessionOptionRaw(e,n)})}scanUrlRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling scanUrl.");if(null===e.scanWebsiteUrlRequest||void 0===e.scanWebsiteUrlRequest)throw new r.Q0("scanWebsiteUrlRequest","Required parameter requestParameters.scanWebsiteUrlRequest was null or undefined when calling scanUrl.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/scan/websiteUrl".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e$.g$)(e.scanWebsiteUrlRequest)},n);return new r.ko(i,e=>(0,eL.Xs)(e))})}scanUrl(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.scanUrlRaw(e,n);return yield t.value()})}scanUrlOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling scanUrlOptions.");let t=yield this.request({path:"/sdk/{environmentId}/scan/websiteUrl".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}scanUrlOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.scanUrlOptionsRaw(e,n)})}sdkSettingsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sdkSettingsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/sdkSettings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}sdkSettingsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.sdkSettingsOptionsRaw(e,n)})}selectUserWalletRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling selectUserWallet.");if(null===e.userWalletSelectionRequest||void 0===e.userWalletSelectionRequest)throw new r.Q0("userWalletSelectionRequest","Required parameter requestParameters.userWalletSelectionRequest was null or undefined when calling selectUserWallet.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/wallets/selection".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"PUT",headers:t,query:{},body:(0,np.Dm)(e.userWalletSelectionRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}selectUserWallet(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.selectUserWalletRaw(e,n);return yield t.value()})}selectUserWalletOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling selectUserWalletOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/wallets/selection".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}selectUserWalletOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.selectUserWalletOptionsRaw(e,n)})}sessionCheckRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sessionCheck.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/session".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"GET",headers:t,query:{}},n);return new r.cK(i)})}sessionCheck(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.sessionCheckRaw(e,n)})}sessionCheckOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sessionCheckOptions.");let t=yield this.request({path:"/sdk/{environmentId}/session".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}sessionCheckOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.sessionCheckOptionsRaw(e,n)})}sessionKeyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sessionKeyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/sessionKey".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}sessionKeyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.sessionKeyOptionsRaw(e,n)})}settingsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling settingsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/settings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}settingsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.settingsOptionsRaw(e,n)})}signInWithEmailVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sign
1InWithEmailVerification.");if(null===e.emailVerificationVerifyRequest||void 0===e.emailVerificationVerifyRequest)throw new r.Q0("emailVerificationVerifyRequest","Required parameter requestParameters.emailVerificationVerifyRequest was null or undefined when calling signInWithEmailVerification.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/emailVerifications/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,M.RA)(e.emailVerificationVerifyRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}signInWithEmailVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.signInWithEmailVerificationRaw(e,n);return yield t.value()})}signInWithEmailVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling signInWithEmailVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/emailVerifications/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}signInWithEmailVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.signInWithEmailVerificationOptionsRaw(e,n)})}signInWithSmsVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling signInWithSmsVerification.");if(null===e.smsVerificationVerifyRequest||void 0===e.smsVerificationVerifyRequest)throw new r.Q0("smsVerificationVerifyRequest","Required parameter requestParameters.smsVerificationVerifyRequest was null or undefined when calling signInWithSmsVerification.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/smsVerifications/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e3.cy)(e.smsVerificationVerifyRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}signInWithSmsVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.signInWithSmsVerificationRaw(e,n);return yield t.value()})}signInWithSmsVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling signInWithSmsVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/smsVerifications/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}signInWithSmsVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.signInWithSmsVerificationOptionsRaw(e,n)})}signMessageRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling signMessage.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling signMessage.");if(null===e.signMessageWithWaasRequest||void 0===e.signMessageWithWaasRequest)throw new r.Q0("signMessageWithWaasRequest","Required parameter requestParameters.signMessageWithWaasRequest was null or undefined when calling signMessage.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/signMessage".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"POST",headers:t,query:{},body:(0,eH.fI)(e.signMessageWithWaasRequest)},n);return new r.ko(i,e=>(0,eW.D4)(e))})}signMessage(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.signMessageRaw(e,n);return yield t.value()})}signMessageOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling signMessageOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling signMessageOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/signMessage".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}signMessageOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.signMessageOptionsRaw(e,n)})}signinWithPasskeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling signinWithPasskey.");if(null===e.passkeyAuthRequest||void 0===e.passkeyAuthRequest)throw new r.Q0("passkeyAuthRequest","Required parameter requestParameters.passkeyAuthRequest was null or undefined when calling signinWithPasskey.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,el.JS)(e.passkeyAuthRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}signinWithPasskey(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.signinWithPasskeyRaw(e,n);return yield t.value()})}simulateEVMTransactionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling simulateEVMTransaction.");
1if(null===e.simulateEVMTransactionRequest||void 0===e.simulateEVMTransactionRequest)throw new r.Q0("simulateEVMTransactionRequest","Required parameter requestParameters.simulateEVMTransactionRequest was null or undefined when calling simulateEVMTransaction.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/evm/simulateTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eJ.vb)(e.simulateEVMTransactionRequest)},n);return new r.ko(i,e=>(0,e_.cz)(e))})}simulateEVMTransaction(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.simulateEVMTransactionRaw(e,n);return yield t.value()})}simulateEVMTransactionOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling simulateEVMTransactionOptions.");let t=yield this.request({path:"/sdk/{environmentId}/evm/simulateTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}simulateEVMTransactionOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.simulateEVMTransactionOptionsRaw(e,n)})}simulateSVMTransactionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling simulateSVMTransaction.");if(null===e.simulateSVMTransactionRequest||void 0===e.simulateSVMTransactionRequest)throw new r.Q0("simulateSVMTransactionRequest","Required parameter requestParameters.simulateSVMTransactionRequest was null or undefined when calling simulateSVMTransaction.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/solana/simulateTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eY.RV)(e.simulateSVMTransactionRequest)},n);return new r.ko(i,e=>(0,e_.cz)(e))})}simulateSVMTransaction(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.simulateSVMTransactionRaw(e,n);return yield t.value()})}simulateSVMTransactionOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling simulateSVMTransactionOptions.");let t=yield this.request({path:"/sdk/{environmentId}/solana/simulateTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}simulateSVMTransactionOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.simulateSVMTransactionOptionsRaw(e,n)})}simulateUserOpRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling simulateUserOp.");if(null===e.simulateUserOpRequest||void 0===e.simulateUserOpRequest)throw new r.Q0("simulateUserOpRequest","Required parameter requestParameters.simulateUserOpRequest was null or undefined when calling simulateUserOp.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/evm/simulateUserOp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eZ.lP)(e.simulateUserOpRequest)},n);return new r.ko(i,e=>(0,e_.cz)(e))})}simulateUserOp(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.simulateUserOpRaw(e,n);return yield t.value()})}simulateUserOpOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling simulateUserOpOptions.");let t=yield this.request({path:"/sdk/{environmentId}/evm/simulateUserOp".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}simulateUserOpOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.simulateUserOpOptionsRaw(e,n)})}softDeleteEmbeddedWalletRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling softDeleteEmbeddedWallet.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling softDeleteEmbeddedWallet.");let t={};if(this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/softDelete".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"DELETE",headers:t,query:{}},n);return new r.cK(i)})}softDeleteEmbeddedWallet(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.softDeleteEmbeddedWalletRaw(e,n)})}softDeleteEmbeddedWalletOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling softDeleteEmbeddedWalletOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling softDeleteEmbeddedWalletOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/{walletId}/softDelete".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}softDeleteEmbeddedWalletOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.softDeleteEmbeddedWalletOptionsRaw(e,n)})}sponsorSVMTransactionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sponsorSVMTransaction.");
1if(null===e.sponsorSVMTransactionRequest||void 0===e.sponsorSVMTransactionRequest)throw new r.Q0("sponsorSVMTransactionRequest","Required parameter requestParameters.sponsorSVMTransactionRequest was null or undefined when calling sponsorSVMTransaction.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/solana/sponsorTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e1.j7)(e.sponsorSVMTransactionRequest)},n);return new r.ko(i,e=>(0,e2.gR)(e))})}sponsorSVMTransaction(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.sponsorSVMTransactionRaw(e,n);return yield t.value()})}sponsorSVMTransactionOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling sponsorSVMTransactionOptions.");let t=yield this.request({path:"/sdk/{environmentId}/solana/sponsorTransaction".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}sponsorSVMTransactionOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.sponsorSVMTransactionOptionsRaw(e,n)})}telegramAuthOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramAuthOptions.");let t=yield this.request({path:"/sdk/{environmentId}/telegram/auth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}telegramAuthOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.telegramAuthOptionsRaw(e,n)})}telegramCheckAuthRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramCheckAuth.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/checkTelegramAuth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eU.PD)(e.oauthResultRequest)},n);return new r.cK(i)})}telegramCheckAuth(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.telegramCheckAuthRaw(e,n)})}telegramCheckAuthOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramCheckAuthOptions.");let t=yield this.request({path:"/sdk/{environmentId}/checkTelegramAuth".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}telegramCheckAuthOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.telegramCheckAuthOptionsRaw(e,n)})}telegramSignInRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramSignIn.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/telegram/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eU.PD)(e.oauthResultRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}telegramSignIn(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.telegramSignInRaw(e,n);return yield t.value()})}telegramSignInOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramSignInOptions.");let t=yield this.request({path:"/sdk/{environmentId}/telegram/signin".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}telegramSignInOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.telegramSignInOptionsRaw(e,n)})}telegramVerifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramVerify.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}
1/telegram/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eU.PD)(e.oauthResultRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}telegramVerify(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.telegramVerifyRaw(e,n);return yield t.value()})}telegramVerifyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling telegramVerifyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/telegram/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}telegramVerifyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.telegramVerifyOptionsRaw(e,n)})}updateEmbeddedWalletRecoveryEmailRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling updateEmbeddedWalletRecoveryEmail.");if(null===e.updateRecoveryEmailRequest||void 0===e.updateRecoveryEmailRequest)throw new r.Q0("updateRecoveryEmailRequest","Required parameter requestParameters.updateRecoveryEmailRequest was null or undefined when calling updateEmbeddedWalletRecoveryEmail.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/recoveryEmail".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"PUT",headers:t,query:{},body:(0,no.$1)(e.updateRecoveryEmailRequest)},n);return new r.cK(i)})}updateEmbeddedWalletRecoveryEmail(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.updateEmbeddedWalletRecoveryEmailRaw(e,n)})}updatePasskeyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling updatePasskey.");if(null===e.updateUserPasskeyRequest||void 0===e.updateUserPasskeyRequest)throw new r.Q0("updateUserPasskeyRequest","Required parameter requestParameters.updateUserPasskeyRequest was null or undefined when calling updatePasskey.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/passkeys".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"PUT",headers:t,query:{},body:(0,nd.Fc)(e.updateUserPasskeyRequest)},n);return new r.ko(i,e=>(0,nh.Ep)(e))})}updatePasskey(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.updatePasskeyRaw(e,n);return yield t.value()})}updateSelfRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling updateSelf.");if(null===e.userFields||void 0===e.userFields)throw new r.Q0("userFields","Required parameter requestParameters.userFields was null or undefined when calling updateSelf.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"PUT",headers:t,query:{},body:(0,nc.eu)(e.userFields)},n);return new r.ko(i,e=>(0,na.l7)(e))})}updateSelf(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.updateSelfRaw(e,n);return yield t.value()})}updateUserMfaDeviceRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling updateUserMfaDevice.");if(null===e.mfaDeviceId||void 0===e.mfaDeviceId)throw new r.Q0("mfaDeviceId","Required parameter requestParameters.mfaDeviceId was null or undefined when calling updateUserMfaDevice.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/users/mfa/{mfaDeviceId}".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{mfaDeviceId}",encodeURIComponent(String(e.mfaDeviceId))),method:"PUT",headers:t,query:{},body:(0,eg.GU)(e.mFAUpdateDeviceRequest)},n);return new r.cK(i)})}updateUserMfaDevice(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.updateUserMfaDeviceRaw(e,n)})}updateWaasWalletSettingsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling updateWaasWalletSettings.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling updateWaasWalletSettings.");if(null===e.updateWaasWalletSettingsRequest||void 0===e.updateWaasWalletSettingsRequest)throw new r.Q0("updateWaasWalletSettingsRequest","Required parameter requestParameters.updateWaasWalletSettingsRequest was null or undefined when calling updateWaasWalletSettings.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/settings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"PUT",headers:t,query:{},body:(0,ns.in)(e.updateWaasWalletSettingsRequest)},n);return new r.ko(i,e=>(0,nl.xY)(e))})}
1updateWaasWalletSettings(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.updateWaasWalletSettingsRaw(e,n);return yield t.value()})}upgradeEmbeddedWalletToV2Raw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling upgradeEmbeddedWalletToV2.");if(null===e.upgradeEmbeddedWalletToV2Request||void 0===e.upgradeEmbeddedWalletToV2Request)throw new r.Q0("upgradeEmbeddedWalletToV2Request","Required parameter requestParameters.upgradeEmbeddedWalletToV2Request was null or undefined when calling upgradeEmbeddedWalletToV2.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/upgradeToV2".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,nu.$n)(e.upgradeEmbeddedWalletToV2Request)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}upgradeEmbeddedWalletToV2(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.upgradeEmbeddedWalletToV2Raw(e,n);return yield t.value()})}upgradeEmbeddedWalletToV2OptionRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling upgradeEmbeddedWalletToV2Option.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/upgradeToV2".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}upgradeEmbeddedWalletToV2Option(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.upgradeEmbeddedWalletToV2OptionRaw(e,n)})}userPasskeysOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling userPasskeysOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/passkeys".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}userPasskeysOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.userPasskeysOptionsRaw(e,n)})}usersOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling usersOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}usersOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.usersOptionsRaw(e,n)})}verifyRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verify.");if(null===e.verifyRequest||void 0===e.verifyRequest)throw new r.Q0("verifyRequest","Required parameter requestParameters.verifyRequest was null or undefined when calling verify.");let t={};t["Content-Type"]="application/json";let i=yield this.request({path:"/sdk/{environmentId}/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,nw.cu)(e.verifyRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}verify(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifyRaw(e,n);return yield t.value()})}verifyEmailVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyEmailVerification.");if(null===e.emailVerificationVerifyRequest||void 0===e.emailVerificationVerifyRequest)throw new r.Q0("emailVerificationVerifyRequest","Required parameter requestParameters.emailVerificationVerifyRequest was null or undefined when calling verifyEmailVerification.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/emailVerifications/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,M.RA)(e.emailVerificationVerifyRequest)},n);return new r.ko(i,e=>(0,na.l7)(e))})}verifyEmailVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifyEmailVerificationRaw(e,n);return yield t.value()})}verifyEmailVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyEmailVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/emailVerifications/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyEmailVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyEmailVerificationOptionsRaw(e,n)})}verifyLinkRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyLink.");
1if(null===e.verifyRequest||void 0===e.verifyRequest)throw new r.Q0("verifyRequest","Required parameter requestParameters.verifyRequest was null or undefined when calling verifyLink.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/verify/link".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,nw.cu)(e.verifyRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}verifyLink(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifyLinkRaw(e,n);return yield t.value()})}verifyLinkOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyLinkOptions.");let t=yield this.request({path:"/sdk/{environmentId}/verify/link".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyLinkOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyLinkOptionsRaw(e,n)})}verifyMergeUsersRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyMergeUsers.");if(null===e.mergeUserConflictResolutions||void 0===e.mergeUserConflictResolutions)throw new r.Q0("mergeUserConflictResolutions","Required parameter requestParameters.mergeUserConflictResolutions was null or undefined when calling verifyMergeUsers.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/verify/merge".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,eq.UY)(e.mergeUserConflictResolutions)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}verifyMergeUsers(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifyMergeUsersRaw(e,n);return yield t.value()})}verifyMergeUsersOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyMergeUsersOptions.");let t=yield this.request({path:"/sdk/{environmentId}/verify/merge".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyMergeUsersOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyMergeUsersOptionsRaw(e,n)})}verifyOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyOptions.");let t=yield this.request({path:"/sdk/{environmentId}/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyOptionsRaw(e,n)})}verifyPrefetchRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyPrefetch.");let t=yield this.request({path:"/sdk/{environmentId}/prefetch".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyPrefetch(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyPrefetchRaw(e,n)})}verifySmsVerificationRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifySmsVerification.");
1if(null===e.smsVerificationVerifyRequest||void 0===e.smsVerificationVerifyRequest)throw new r.Q0("smsVerificationVerifyRequest","Required parameter requestParameters.smsVerificationVerifyRequest was null or undefined when calling verifySmsVerification.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/smsVerifications/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,e3.cy)(e.smsVerificationVerifyRequest)},n);return new r.ko(i,e=>(0,na.l7)(e))})}verifySmsVerification(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifySmsVerificationRaw(e,n);return yield t.value()})}verifySmsVerificationOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifySmsVerificationOptions.");let t=yield this.request({path:"/sdk/{environmentId}/smsVerifications/verify".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifySmsVerificationOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifySmsVerificationOptionsRaw(e,n)})}verifyTransferRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyTransfer.");if(null===e.verifyRequest||void 0===e.verifyRequest)throw new r.Q0("verifyRequest","Required parameter requestParameters.verifyRequest was null or undefined when calling verifyTransfer.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/verify/transfer".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,nw.cu)(e.verifyRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}verifyTransfer(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifyTransferRaw(e,n);return yield t.value()})}verifyTransferOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyTransferOptions.");let t=yield this.request({path:"/sdk/{environmentId}/verify/transfer".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyTransferOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyTransferOptionsRaw(e,n)})}verifyUnlinkRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyUnlink.");if(null===e.verifyUnlinkRequest||void 0===e.verifyUnlinkRequest)throw new r.Q0("verifyUnlinkRequest","Required parameter requestParameters.verifyUnlinkRequest was null or undefined when calling verifyUnlink.");let t={};if(t["Content-Type"]="application/json",this.configuration&&this.configuration.accessToken){let e=this.configuration.accessToken,n=yield e("bearerAuth",[]);n&&(t.Authorization=`Bearer ${n}`)}let i=yield this.request({path:"/sdk/{environmentId}/verify/unlink".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"POST",headers:t,query:{},body:(0,nf.ju)(e.verifyUnlinkRequest)},n);return new r.ko(i,e=>(0,nI.p8)(e))})}verifyUnlink(e,n){return(0,i.s)(this,void 0,void 0,function*(){let t=yield this.verifyUnlinkRaw(e,n);return yield t.value()})}verifyUnlinkOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling verifyUnlinkOptions.");let t=yield this.request({path:"/sdk/{environmentId}/verify/unlink".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}verifyUnlinkOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.verifyUnlinkOptionsRaw(e,n)})}waasWalletSettingsOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling waasWalletSettingsOptions.");if(null===e.walletId||void 0===e.walletId)throw new r.Q0("walletId","Required parameter requestParameters.walletId was null or undefined when calling waasWalletSettingsOptions.");let t=yield this.request({path:"/sdk/{environmentId}/waas/{walletId}/settings".replace("{environmentId}",encodeURIComponent(String(e.environmentId))).replace("{walletId}",encodeURIComponent(String(e.walletId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}waasWalletSettingsOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.waasWalletSettingsOptionsRaw(e,n)})}walletAccountOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling walletAccountOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/walletAccounts".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}walletAccountOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.walletAccountOptionsRaw(e,n)})}walletAccountRequestOptionsRaw(e,n){return(0,i.s)(this,void 0,void 0,function*(){if(null===e.environmentId||void 0===e.environmentId)throw new r.Q0("environmentId","Required parameter requestParameters.environmentId was null or undefined when calling walletAccountRequestOptions.");let t=yield this.request({path:"/sdk/{environmentId}/users/embeddedWallets/walletAccounts/createRequest".replace("{environmentId}",encodeURIComponent(String(e.environmentId))),method:"OPTIONS",headers:{},query:{}},n);return new r.cK(t)})}walletAccountRequestOptions(e,n){return(0,i.s)(this,void 0,void 0,function*(){yield this.walletAccountRequestOptionsRaw(e,n)})}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.