@dynamic-labs/sdk-api 0.0.864 → 0.0.869
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AllowlistsApi.cjs +26 -6
- package/src/apis/AllowlistsApi.d.ts +26 -6
- package/src/apis/AllowlistsApi.js +26 -6
- package/src/apis/AnalyticsApi.cjs +12 -0
- package/src/apis/AnalyticsApi.d.ts +12 -0
- package/src/apis/AnalyticsApi.js +12 -0
- package/src/apis/ChainalysisApi.cjs +6 -0
- package/src/apis/ChainalysisApi.d.ts +6 -0
- package/src/apis/ChainalysisApi.js +6 -0
- package/src/apis/ChainsApi.cjs +4 -2
- package/src/apis/ChainsApi.d.ts +4 -2
- package/src/apis/ChainsApi.js +4 -2
- package/src/apis/CustomFieldsApi.cjs +14 -4
- package/src/apis/CustomFieldsApi.d.ts +14 -4
- package/src/apis/CustomFieldsApi.js +14 -4
- package/src/apis/CustomHostnamesApi.cjs +10 -4
- package/src/apis/CustomHostnamesApi.d.ts +10 -4
- package/src/apis/CustomHostnamesApi.js +10 -4
- package/src/apis/CustomNetworksApi.cjs +10 -0
- package/src/apis/CustomNetworksApi.d.ts +10 -0
- package/src/apis/CustomNetworksApi.js +10 -0
- package/src/apis/DeeplinkUrlsApi.cjs +12 -6
- package/src/apis/DeeplinkUrlsApi.d.ts +12 -6
- package/src/apis/DeeplinkUrlsApi.js +12 -6
- package/src/apis/EnvironmentsApi.cjs +108 -10
- package/src/apis/EnvironmentsApi.d.ts +49 -11
- package/src/apis/EnvironmentsApi.js +108 -10
- package/src/apis/EventsApi.cjs +8 -2
- package/src/apis/EventsApi.d.ts +8 -2
- package/src/apis/EventsApi.js +8 -2
- package/src/apis/ExportsApi.cjs +8 -0
- package/src/apis/ExportsApi.d.ts +8 -0
- package/src/apis/ExportsApi.js +8 -0
- package/src/apis/ExternalJwtApi.cjs +4 -2
- package/src/apis/ExternalJwtApi.d.ts +4 -2
- package/src/apis/ExternalJwtApi.js +4 -2
- package/src/apis/GatesApi.cjs +16 -2
- package/src/apis/GatesApi.d.ts +16 -2
- package/src/apis/GatesApi.js +16 -2
- package/src/apis/GlobalWalletAccessControlApi.cjs +22 -8
- package/src/apis/GlobalWalletAccessControlApi.d.ts +22 -8
- package/src/apis/GlobalWalletAccessControlApi.js +22 -8
- package/src/apis/GlobalWalletConnectionsApi.cjs +4 -2
- package/src/apis/GlobalWalletConnectionsApi.d.ts +4 -2
- package/src/apis/GlobalWalletConnectionsApi.js +4 -2
- package/src/apis/GlobalWalletsApi.cjs +18 -8
- package/src/apis/GlobalWalletsApi.d.ts +18 -8
- package/src/apis/GlobalWalletsApi.js +18 -8
- package/src/apis/InvitesApi.cjs +16 -6
- package/src/apis/InvitesApi.d.ts +16 -6
- package/src/apis/InvitesApi.js +16 -6
- package/src/apis/MembersApi.cjs +16 -8
- package/src/apis/MembersApi.d.ts +16 -8
- package/src/apis/MembersApi.js +16 -8
- package/src/apis/MfaApi.cjs +8 -4
- package/src/apis/MfaApi.d.ts +8 -4
- package/src/apis/MfaApi.js +8 -4
- package/src/apis/MfaSettingsApi.cjs +6 -0
- package/src/apis/MfaSettingsApi.d.ts +6 -0
- package/src/apis/MfaSettingsApi.js +6 -0
- package/src/apis/NameServicesApi.cjs +22 -10
- package/src/apis/NameServicesApi.d.ts +22 -10
- package/src/apis/NameServicesApi.js +22 -10
- package/src/apis/OrganizationsApi.cjs +34 -10
- package/src/apis/OrganizationsApi.d.ts +34 -10
- package/src/apis/OrganizationsApi.js +34 -10
- package/src/apis/OriginsApi.cjs +12 -6
- package/src/apis/OriginsApi.d.ts +12 -6
- package/src/apis/OriginsApi.js +12 -6
- package/src/apis/ProjectsApi.cjs +18 -8
- package/src/apis/ProjectsApi.d.ts +18 -8
- package/src/apis/ProjectsApi.js +18 -8
- package/src/apis/SDKApi.cjs +554 -162
- package/src/apis/SDKApi.d.ts +423 -163
- package/src/apis/SDKApi.js +554 -162
- package/src/apis/SDKViewsApi.cjs +12 -6
- package/src/apis/SDKViewsApi.d.ts +12 -6
- package/src/apis/SDKViewsApi.js +12 -6
- package/src/apis/SessionsApi.cjs +4 -0
- package/src/apis/SessionsApi.d.ts +4 -0
- package/src/apis/SessionsApi.js +4 -0
- package/src/apis/SettingsApi.cjs +32 -4
- package/src/apis/SettingsApi.d.ts +32 -4
- package/src/apis/SettingsApi.js +32 -4
- package/src/apis/TestAccountApi.cjs +10 -4
- package/src/apis/TestAccountApi.d.ts +10 -4
- package/src/apis/TestAccountApi.js +10 -4
- package/src/apis/TokensApi.cjs +12 -6
- package/src/apis/TokensApi.d.ts +12 -6
- package/src/apis/TokensApi.js +12 -6
- package/src/apis/UserApiTokensApi.cjs +12 -6
- package/src/apis/UserApiTokensApi.d.ts +12 -6
- package/src/apis/UserApiTokensApi.js +12 -6
- package/src/apis/UsersApi.cjs +28 -4
- package/src/apis/UsersApi.d.ts +28 -4
- package/src/apis/UsersApi.js +28 -4
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.d.ts +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +36 -8
- package/src/apis/WaasApi.d.ts +35 -7
- package/src/apis/WaasApi.js +36 -8
- package/src/apis/WalletConnectApi.cjs +2 -0
- package/src/apis/WalletConnectApi.d.ts +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.cjs +20 -6
- package/src/apis/WalletsApi.d.ts +20 -6
- package/src/apis/WalletsApi.js +20 -6
- package/src/apis/WebhooksApi.cjs +32 -16
- package/src/apis/WebhooksApi.d.ts +32 -16
- package/src/apis/WebhooksApi.js +32 -16
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/SignMessageBtcTransaction.cjs +5 -13
- package/src/models/SignMessageBtcTransaction.d.ts +8 -2
- package/src/models/SignMessageBtcTransaction.js +5 -13
- package/src/models/SmsVerificationVerifyRequest.cjs +3 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +7 -0
- package/src/models/SmsVerificationVerifyRequest.js +3 -0
- package/src/models/UserFilterableFieldsEnum.cjs +1 -0
- package/src/models/UserFilterableFieldsEnum.d.ts +2 -1
- package/src/models/UserFilterableFieldsEnum.js +1 -0
- package/src/models/WalletSanctionsResponse.cjs +37 -0
- package/src/models/WalletSanctionsResponse.d.ts +40 -0
- package/src/models/WalletSanctionsResponse.js +31 -0
- package/src/models/index.d.ts +1 -0
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -226,6 +226,7 @@ require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
|
|
|
226
226
|
require('../models/WaasDelegationCredentialsResponse.cjs');
|
|
227
227
|
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
228
228
|
require('../models/WaasPolicyRuleType.cjs');
|
|
229
|
+
var WalletSanctionsResponse = require('../models/WalletSanctionsResponse.cjs');
|
|
229
230
|
require('../models/WalletTransactionType.cjs');
|
|
230
231
|
var WalletTransactionsResponse = require('../models/WalletTransactionsResponse.cjs');
|
|
231
232
|
|
|
@@ -289,6 +290,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
289
290
|
});
|
|
290
291
|
}
|
|
291
292
|
/**
|
|
293
|
+
* Authenticates via recovery code and upgrades the JWT scope with a valid MFA session.
|
|
292
294
|
* Upgrade JWT scope with valid MFA session
|
|
293
295
|
*/
|
|
294
296
|
authMfaRecoveryRaw(requestParameters, initOverrides) {
|
|
@@ -320,6 +322,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
320
322
|
});
|
|
321
323
|
}
|
|
322
324
|
/**
|
|
325
|
+
* Authenticates via recovery code and upgrades the JWT scope with a valid MFA session.
|
|
323
326
|
* Upgrade JWT scope with valid MFA session
|
|
324
327
|
*/
|
|
325
328
|
authMfaRecovery(requestParameters, initOverrides) {
|
|
@@ -356,6 +359,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
356
359
|
});
|
|
357
360
|
}
|
|
358
361
|
/**
|
|
362
|
+
* Authenticates via TOTP code and upgrades the JWT scope with a valid MFA session.
|
|
359
363
|
* Upgrade JWT scope with valid MFA session
|
|
360
364
|
*/
|
|
361
365
|
authMfaTotpDeviceRaw(requestParameters, initOverrides) {
|
|
@@ -387,6 +391,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
387
391
|
});
|
|
388
392
|
}
|
|
389
393
|
/**
|
|
394
|
+
* Authenticates via TOTP code and upgrades the JWT scope with a valid MFA session.
|
|
390
395
|
* Upgrade JWT scope with valid MFA session
|
|
391
396
|
*/
|
|
392
397
|
authMfaTotpDevice(requestParameters, initOverrides) {
|
|
@@ -423,6 +428,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
423
428
|
});
|
|
424
429
|
}
|
|
425
430
|
/**
|
|
431
|
+
* Authenticates via email verification and upgrades the JWT scope with a valid MFA session.
|
|
426
432
|
* Upgrade JWT scope with valid MFA session
|
|
427
433
|
*/
|
|
428
434
|
authenticateMfaEmailRaw(requestParameters, initOverrides) {
|
|
@@ -454,6 +460,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
454
460
|
});
|
|
455
461
|
}
|
|
456
462
|
/**
|
|
463
|
+
* Authenticates via email verification and upgrades the JWT scope with a valid MFA session.
|
|
457
464
|
* Upgrade JWT scope with valid MFA session
|
|
458
465
|
*/
|
|
459
466
|
authenticateMfaEmail(requestParameters, initOverrides) {
|
|
@@ -463,6 +470,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
463
470
|
});
|
|
464
471
|
}
|
|
465
472
|
/**
|
|
473
|
+
* Authenticates via passkey and upgrades the JWT scope with a valid MFA session.
|
|
466
474
|
* Upgrade JWT scope with valid MFA session
|
|
467
475
|
*/
|
|
468
476
|
authenticateMfaPasskeyDeviceRaw(requestParameters, initOverrides) {
|
|
@@ -494,6 +502,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
494
502
|
});
|
|
495
503
|
}
|
|
496
504
|
/**
|
|
505
|
+
* Authenticates via passkey and upgrades the JWT scope with a valid MFA session.
|
|
497
506
|
* Upgrade JWT scope with valid MFA session
|
|
498
507
|
*/
|
|
499
508
|
authenticateMfaPasskeyDevice(requestParameters, initOverrides) {
|
|
@@ -533,7 +542,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
533
542
|
});
|
|
534
543
|
}
|
|
535
544
|
/**
|
|
536
|
-
*
|
|
545
|
+
* Backs up the client key shares for the specified WAAS wallet.
|
|
546
|
+
* Back up keyshares for a WAAS wallet
|
|
537
547
|
*/
|
|
538
548
|
backupKeySharesRaw(requestParameters, initOverrides) {
|
|
539
549
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -567,7 +577,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
567
577
|
});
|
|
568
578
|
}
|
|
569
579
|
/**
|
|
570
|
-
*
|
|
580
|
+
* Backs up the client key shares for the specified WAAS wallet.
|
|
581
|
+
* Back up keyshares for a WAAS wallet
|
|
571
582
|
*/
|
|
572
583
|
backupKeyShares(requestParameters, initOverrides) {
|
|
573
584
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -606,7 +617,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
606
617
|
});
|
|
607
618
|
}
|
|
608
619
|
/**
|
|
609
|
-
*
|
|
620
|
+
* Backs up the client key shares for the specified WAAS wallet to Google Drive.
|
|
621
|
+
* Back up keyshares to Google Drive
|
|
610
622
|
*/
|
|
611
623
|
backupKeySharesToGoogleDriveRaw(requestParameters, initOverrides) {
|
|
612
624
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -635,7 +647,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
635
647
|
});
|
|
636
648
|
}
|
|
637
649
|
/**
|
|
638
|
-
*
|
|
650
|
+
* Backs up the client key shares for the specified WAAS wallet to Google Drive.
|
|
651
|
+
* Back up keyshares to Google Drive
|
|
639
652
|
*/
|
|
640
653
|
backupKeySharesToGoogleDrive(requestParameters, initOverrides) {
|
|
641
654
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -674,6 +687,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
674
687
|
});
|
|
675
688
|
}
|
|
676
689
|
/**
|
|
690
|
+
* Records a backup action and event for the specified location without performing the actual backup.
|
|
677
691
|
* Create backup action and event for a specified location without performing actual backup
|
|
678
692
|
*/
|
|
679
693
|
backupKeySharesToLocationRaw(requestParameters, initOverrides) {
|
|
@@ -708,6 +722,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
708
722
|
});
|
|
709
723
|
}
|
|
710
724
|
/**
|
|
725
|
+
* Records a backup action and event for the specified location without performing the actual backup.
|
|
711
726
|
* Create backup action and event for a specified location without performing actual backup
|
|
712
727
|
*/
|
|
713
728
|
backupKeySharesToLocation(requestParameters, initOverrides) {
|
|
@@ -747,6 +762,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
747
762
|
});
|
|
748
763
|
}
|
|
749
764
|
/**
|
|
765
|
+
* Records backup actions and events for multiple locations without performing the actual backups.
|
|
750
766
|
* Create backup action and event for multiple locations without performing actual backup
|
|
751
767
|
*/
|
|
752
768
|
backupKeySharesToLocationsRaw(requestParameters, initOverrides) {
|
|
@@ -781,6 +797,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
781
797
|
});
|
|
782
798
|
}
|
|
783
799
|
/**
|
|
800
|
+
* Records backup actions and events for multiple locations without performing the actual backups.
|
|
784
801
|
* Create backup action and event for multiple locations without performing actual backup
|
|
785
802
|
*/
|
|
786
803
|
backupKeySharesToLocations(requestParameters, initOverrides) {
|
|
@@ -821,7 +838,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
821
838
|
}
|
|
822
839
|
/**
|
|
823
840
|
* This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path
|
|
824
|
-
*
|
|
841
|
+
* Handle Coinbase OAuth redirect
|
|
825
842
|
*/
|
|
826
843
|
cbOauthRedirectRaw(requestParameters, initOverrides) {
|
|
827
844
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -859,7 +876,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
859
876
|
}
|
|
860
877
|
/**
|
|
861
878
|
* This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path
|
|
862
|
-
*
|
|
879
|
+
* Handle Coinbase OAuth redirect
|
|
863
880
|
*/
|
|
864
881
|
cbOauthRedirect(requestParameters, initOverrides) {
|
|
865
882
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -930,6 +947,83 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
930
947
|
});
|
|
931
948
|
}
|
|
932
949
|
/**
|
|
950
|
+
* Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
|
|
951
|
+
* Check if a wallet address is sanctioned
|
|
952
|
+
*/
|
|
953
|
+
checkWalletSanctionsRaw(requestParameters, initOverrides) {
|
|
954
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
955
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
956
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling checkWalletSanctions.');
|
|
957
|
+
}
|
|
958
|
+
if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
|
|
959
|
+
throw new runtime.RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling checkWalletSanctions.');
|
|
960
|
+
}
|
|
961
|
+
if (requestParameters.chain === null || requestParameters.chain === undefined) {
|
|
962
|
+
throw new runtime.RequiredError('chain', 'Required parameter requestParameters.chain was null or undefined when calling checkWalletSanctions.');
|
|
963
|
+
}
|
|
964
|
+
const queryParameters = {};
|
|
965
|
+
if (requestParameters.walletAddress !== undefined) {
|
|
966
|
+
queryParameters['walletAddress'] = requestParameters.walletAddress;
|
|
967
|
+
}
|
|
968
|
+
if (requestParameters.chain !== undefined) {
|
|
969
|
+
queryParameters['chain'] = requestParameters.chain;
|
|
970
|
+
}
|
|
971
|
+
const headerParameters = {};
|
|
972
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
973
|
+
const token = this.configuration.accessToken;
|
|
974
|
+
const tokenString = yield token("bearerAuth", []);
|
|
975
|
+
if (tokenString) {
|
|
976
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
const response = yield this.request({
|
|
980
|
+
path: `/sdk/{environmentId}/wallet/sanctions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
981
|
+
method: 'GET',
|
|
982
|
+
headers: headerParameters,
|
|
983
|
+
query: queryParameters,
|
|
984
|
+
}, initOverrides);
|
|
985
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WalletSanctionsResponse.WalletSanctionsResponseFromJSON(jsonValue));
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
|
|
990
|
+
* Check if a wallet address is sanctioned
|
|
991
|
+
*/
|
|
992
|
+
checkWalletSanctions(requestParameters, initOverrides) {
|
|
993
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
994
|
+
const response = yield this.checkWalletSanctionsRaw(requestParameters, initOverrides);
|
|
995
|
+
return yield response.value();
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Options call for this endpoint
|
|
1000
|
+
*/
|
|
1001
|
+
checkWalletSanctionsOptionsRaw(requestParameters, initOverrides) {
|
|
1002
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1003
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
1004
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling checkWalletSanctionsOptions.');
|
|
1005
|
+
}
|
|
1006
|
+
const queryParameters = {};
|
|
1007
|
+
const headerParameters = {};
|
|
1008
|
+
const response = yield this.request({
|
|
1009
|
+
path: `/sdk/{environmentId}/wallet/sanctions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
1010
|
+
method: 'OPTIONS',
|
|
1011
|
+
headers: headerParameters,
|
|
1012
|
+
query: queryParameters,
|
|
1013
|
+
}, initOverrides);
|
|
1014
|
+
return new runtime.VoidApiResponse(response);
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Options call for this endpoint
|
|
1019
|
+
*/
|
|
1020
|
+
checkWalletSanctionsOptions(requestParameters, initOverrides) {
|
|
1021
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1022
|
+
yield this.checkWalletSanctionsOptionsRaw(requestParameters, initOverrides);
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Claims a pregenerated embedded wallet and associates it with the authenticated user.
|
|
933
1027
|
* Claim a pregenerated embedded wallet
|
|
934
1028
|
*/
|
|
935
1029
|
claimEmbeddedWalletRaw(requestParameters, initOverrides) {
|
|
@@ -961,6 +1055,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
961
1055
|
});
|
|
962
1056
|
}
|
|
963
1057
|
/**
|
|
1058
|
+
* Claims a pregenerated embedded wallet and associates it with the authenticated user.
|
|
964
1059
|
* Claim a pregenerated embedded wallet
|
|
965
1060
|
*/
|
|
966
1061
|
claimEmbeddedWallet(requestParameters, initOverrides) {
|
|
@@ -1079,7 +1174,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1079
1174
|
}
|
|
1080
1175
|
/**
|
|
1081
1176
|
* Completes the passkey recovery process for a user\'s passkey embedded wallet
|
|
1082
|
-
*
|
|
1177
|
+
* Complete passkey recovery for an embedded wallet
|
|
1083
1178
|
*/
|
|
1084
1179
|
completePasskeyRecoveryRaw(requestParameters, initOverrides) {
|
|
1085
1180
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1111,7 +1206,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1111
1206
|
}
|
|
1112
1207
|
/**
|
|
1113
1208
|
* Completes the passkey recovery process for a user\'s passkey embedded wallet
|
|
1114
|
-
*
|
|
1209
|
+
* Complete passkey recovery for an embedded wallet
|
|
1115
1210
|
*/
|
|
1116
1211
|
completePasskeyRecovery(requestParameters, initOverrides) {
|
|
1117
1212
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1120,6 +1215,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1120
1215
|
});
|
|
1121
1216
|
}
|
|
1122
1217
|
/**
|
|
1218
|
+
* Creates a new Coinbase onramp order for the authenticated user.
|
|
1123
1219
|
* Create a Coinbase onramp order
|
|
1124
1220
|
*/
|
|
1125
1221
|
createCoinbaseOnrampOrderRaw(requestParameters, initOverrides) {
|
|
@@ -1151,6 +1247,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1151
1247
|
});
|
|
1152
1248
|
}
|
|
1153
1249
|
/**
|
|
1250
|
+
* Creates a new Coinbase onramp order for the authenticated user.
|
|
1154
1251
|
* Create a Coinbase onramp order
|
|
1155
1252
|
*/
|
|
1156
1253
|
createCoinbaseOnrampOrder(requestParameters, initOverrides) {
|
|
@@ -1202,6 +1299,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1202
1299
|
});
|
|
1203
1300
|
}
|
|
1204
1301
|
/**
|
|
1302
|
+
* Initiates the email verification process and sends a verification code.
|
|
1205
1303
|
* Initialize email verification process
|
|
1206
1304
|
*/
|
|
1207
1305
|
createEmailVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -1226,6 +1324,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1226
1324
|
});
|
|
1227
1325
|
}
|
|
1228
1326
|
/**
|
|
1327
|
+
* Initiates the email verification process and sends a verification code.
|
|
1229
1328
|
* Initialize email verification process
|
|
1230
1329
|
*/
|
|
1231
1330
|
createEmailVerification(requestParameters, initOverrides) {
|
|
@@ -1331,7 +1430,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1331
1430
|
});
|
|
1332
1431
|
}
|
|
1333
1432
|
/**
|
|
1334
|
-
*
|
|
1433
|
+
* Creates a new global wallet connection for the authenticated user.
|
|
1434
|
+
* Create a global wallet connection
|
|
1335
1435
|
*/
|
|
1336
1436
|
createGlobalWalletConnectionRaw(requestParameters, initOverrides) {
|
|
1337
1437
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1362,7 +1462,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1362
1462
|
});
|
|
1363
1463
|
}
|
|
1364
1464
|
/**
|
|
1365
|
-
*
|
|
1465
|
+
* Creates a new global wallet connection for the authenticated user.
|
|
1466
|
+
* Create a global wallet connection
|
|
1366
1467
|
*/
|
|
1367
1468
|
createGlobalWalletConnection(requestParameters, initOverrides) {
|
|
1368
1469
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1371,7 +1472,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1371
1472
|
});
|
|
1372
1473
|
}
|
|
1373
1474
|
/**
|
|
1374
|
-
*
|
|
1475
|
+
* Generates a new set of MFA recovery codes, replacing any existing ones.
|
|
1476
|
+
* Generate new recovery codes
|
|
1375
1477
|
*/
|
|
1376
1478
|
createNewRecoveryCodesRaw(requestParameters, initOverrides) {
|
|
1377
1479
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1397,7 +1499,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1397
1499
|
});
|
|
1398
1500
|
}
|
|
1399
1501
|
/**
|
|
1400
|
-
*
|
|
1502
|
+
* Generates a new set of MFA recovery codes, replacing any existing ones.
|
|
1503
|
+
* Generate new recovery codes
|
|
1401
1504
|
*/
|
|
1402
1505
|
createNewRecoveryCodes(requestParameters, initOverrides) {
|
|
1403
1506
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1406,6 +1509,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1406
1509
|
});
|
|
1407
1510
|
}
|
|
1408
1511
|
/**
|
|
1512
|
+
* Creates MPC ceremony rooms for the specified WAAS wallet.
|
|
1409
1513
|
* Create rooms for a waas mpc ceremony
|
|
1410
1514
|
*/
|
|
1411
1515
|
createRoomsRaw(requestParameters, initOverrides) {
|
|
@@ -1440,6 +1544,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1440
1544
|
});
|
|
1441
1545
|
}
|
|
1442
1546
|
/**
|
|
1547
|
+
* Creates MPC ceremony rooms for the specified WAAS wallet.
|
|
1443
1548
|
* Create rooms for a waas mpc ceremony
|
|
1444
1549
|
*/
|
|
1445
1550
|
createRooms(requestParameters, initOverrides) {
|
|
@@ -1479,6 +1584,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1479
1584
|
});
|
|
1480
1585
|
}
|
|
1481
1586
|
/**
|
|
1587
|
+
* Creates MPC ceremony rooms without requiring an existing wallet ID.
|
|
1482
1588
|
* Create rooms for a waas mpc ceremony without a walletId
|
|
1483
1589
|
*/
|
|
1484
1590
|
createRoomsWithoutWalletIdRaw(requestParameters, initOverrides) {
|
|
@@ -1510,6 +1616,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1510
1616
|
});
|
|
1511
1617
|
}
|
|
1512
1618
|
/**
|
|
1619
|
+
* Creates MPC ceremony rooms without requiring an existing wallet ID.
|
|
1513
1620
|
* Create rooms for a waas mpc ceremony without a walletId
|
|
1514
1621
|
*/
|
|
1515
1622
|
createRoomsWithoutWalletId(requestParameters, initOverrides) {
|
|
@@ -1546,7 +1653,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1546
1653
|
});
|
|
1547
1654
|
}
|
|
1548
1655
|
/**
|
|
1549
|
-
*
|
|
1656
|
+
* Initiates the SMS verification process and sends a verification code.
|
|
1657
|
+
* Initialize SMS verification process
|
|
1550
1658
|
*/
|
|
1551
1659
|
createSmsVerificationRaw(requestParameters, initOverrides) {
|
|
1552
1660
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1570,7 +1678,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1570
1678
|
});
|
|
1571
1679
|
}
|
|
1572
1680
|
/**
|
|
1573
|
-
*
|
|
1681
|
+
* Initiates the SMS verification process and sends a verification code.
|
|
1682
|
+
* Initialize SMS verification process
|
|
1574
1683
|
*/
|
|
1575
1684
|
createSmsVerification(requestParameters, initOverrides) {
|
|
1576
1685
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1641,7 +1750,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1641
1750
|
}
|
|
1642
1751
|
/**
|
|
1643
1752
|
* Create a new waas account
|
|
1644
|
-
* Create a
|
|
1753
|
+
* Create a WAAS wallet
|
|
1645
1754
|
*/
|
|
1646
1755
|
createWaasAccountRaw(requestParameters, initOverrides) {
|
|
1647
1756
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1673,7 +1782,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1673
1782
|
}
|
|
1674
1783
|
/**
|
|
1675
1784
|
* Create a new waas account
|
|
1676
|
-
* Create a
|
|
1785
|
+
* Create a WAAS wallet
|
|
1677
1786
|
*/
|
|
1678
1787
|
createWaasAccount(requestParameters, initOverrides) {
|
|
1679
1788
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1779,7 +1888,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1779
1888
|
}
|
|
1780
1889
|
/**
|
|
1781
1890
|
* Deletes the embedded wallets for a user
|
|
1782
|
-
*
|
|
1891
|
+
* Delete embedded wallets for a user
|
|
1783
1892
|
*/
|
|
1784
1893
|
deleteEmbeddedWalletsRaw(requestParameters, initOverrides) {
|
|
1785
1894
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1808,7 +1917,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1808
1917
|
}
|
|
1809
1918
|
/**
|
|
1810
1919
|
* Deletes the embedded wallets for a user
|
|
1811
|
-
*
|
|
1920
|
+
* Delete embedded wallets for a user
|
|
1812
1921
|
*/
|
|
1813
1922
|
deleteEmbeddedWallets(requestParameters, initOverrides) {
|
|
1814
1923
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1816,7 +1925,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1816
1925
|
});
|
|
1817
1926
|
}
|
|
1818
1927
|
/**
|
|
1819
|
-
*
|
|
1928
|
+
* Permanently removes an MFA device from the authenticated user account.
|
|
1929
|
+
* Delete an MFA device
|
|
1820
1930
|
*/
|
|
1821
1931
|
deleteMfaDeviceRaw(requestParameters, initOverrides) {
|
|
1822
1932
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1851,7 +1961,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1851
1961
|
});
|
|
1852
1962
|
}
|
|
1853
1963
|
/**
|
|
1854
|
-
*
|
|
1964
|
+
* Permanently removes an MFA device from the authenticated user account.
|
|
1965
|
+
* Delete an MFA device
|
|
1855
1966
|
*/
|
|
1856
1967
|
deleteMfaDevice(requestParameters, initOverrides) {
|
|
1857
1968
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1859,6 +1970,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1859
1970
|
});
|
|
1860
1971
|
}
|
|
1861
1972
|
/**
|
|
1973
|
+
* Permanently removes a passkey from the authenticated user account.
|
|
1862
1974
|
* Delete a passkey
|
|
1863
1975
|
*/
|
|
1864
1976
|
deletePasskeyRaw(requestParameters, initOverrides) {
|
|
@@ -1890,6 +2002,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1890
2002
|
});
|
|
1891
2003
|
}
|
|
1892
2004
|
/**
|
|
2005
|
+
* Permanently removes a passkey from the authenticated user account.
|
|
1893
2006
|
* Delete a passkey
|
|
1894
2007
|
*/
|
|
1895
2008
|
deletePasskey(requestParameters, initOverrides) {
|
|
@@ -1973,7 +2086,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
1973
2086
|
});
|
|
1974
2087
|
}
|
|
1975
2088
|
/**
|
|
1976
|
-
*
|
|
2089
|
+
* Disconnects the specified global wallet connection.
|
|
2090
|
+
* Disconnect a global wallet connection
|
|
1977
2091
|
*/
|
|
1978
2092
|
disconnectGlobalWalletConnectionRaw(requestParameters, initOverrides) {
|
|
1979
2093
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2002,7 +2116,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2002
2116
|
});
|
|
2003
2117
|
}
|
|
2004
2118
|
/**
|
|
2005
|
-
*
|
|
2119
|
+
* Disconnects the specified global wallet connection.
|
|
2120
|
+
* Disconnect a global wallet connection
|
|
2006
2121
|
*/
|
|
2007
2122
|
disconnectGlobalWalletConnection(requestParameters, initOverrides) {
|
|
2008
2123
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2226,7 +2341,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2226
2341
|
});
|
|
2227
2342
|
}
|
|
2228
2343
|
/**
|
|
2229
|
-
*
|
|
2344
|
+
* Exports the private key of a WAAS wallet through an MPC ceremony.
|
|
2345
|
+
* Export a WAAS wallet private key
|
|
2230
2346
|
*/
|
|
2231
2347
|
exportPrivateKeyRaw(requestParameters, initOverrides) {
|
|
2232
2348
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2260,7 +2376,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2260
2376
|
});
|
|
2261
2377
|
}
|
|
2262
2378
|
/**
|
|
2263
|
-
*
|
|
2379
|
+
* Exports the private key of a WAAS wallet through an MPC ceremony.
|
|
2380
|
+
* Export a WAAS wallet private key
|
|
2264
2381
|
*/
|
|
2265
2382
|
exportPrivateKey(requestParameters, initOverrides) {
|
|
2266
2383
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2299,7 +2416,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2299
2416
|
});
|
|
2300
2417
|
}
|
|
2301
2418
|
/**
|
|
2302
|
-
*
|
|
2419
|
+
* Authenticates a user using a token from an external auth provider.
|
|
2420
|
+
* Sign in with an external auth provider token
|
|
2303
2421
|
*/
|
|
2304
2422
|
externalAuthSigninRaw(requestParameters, initOverrides) {
|
|
2305
2423
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2330,7 +2448,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2330
2448
|
});
|
|
2331
2449
|
}
|
|
2332
2450
|
/**
|
|
2333
|
-
*
|
|
2451
|
+
* Authenticates a user using a token from an external auth provider.
|
|
2452
|
+
* Sign in with an external auth provider token
|
|
2334
2453
|
*/
|
|
2335
2454
|
externalAuthSignin(requestParameters, initOverrides) {
|
|
2336
2455
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2366,6 +2485,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2366
2485
|
});
|
|
2367
2486
|
}
|
|
2368
2487
|
/**
|
|
2488
|
+
* [DEPRECATED] Please use /externalAuth/signin instead.
|
|
2369
2489
|
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
2370
2490
|
*/
|
|
2371
2491
|
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
@@ -2397,6 +2517,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2397
2517
|
});
|
|
2398
2518
|
}
|
|
2399
2519
|
/**
|
|
2520
|
+
* [DEPRECATED] Please use /externalAuth/signin instead.
|
|
2400
2521
|
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
2401
2522
|
*/
|
|
2402
2523
|
externalAuthVerify(requestParameters, initOverrides) {
|
|
@@ -2433,7 +2554,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2433
2554
|
}
|
|
2434
2555
|
/**
|
|
2435
2556
|
* Farcaster SignIn endpoint to exchange SIWF data
|
|
2436
|
-
*
|
|
2557
|
+
* Sign in with Farcaster
|
|
2437
2558
|
*/
|
|
2438
2559
|
farcasterSignInRaw(requestParameters, initOverrides) {
|
|
2439
2560
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2455,7 +2576,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2455
2576
|
}
|
|
2456
2577
|
/**
|
|
2457
2578
|
* Farcaster SignIn endpoint to exchange SIWF data
|
|
2458
|
-
*
|
|
2579
|
+
* Sign in with Farcaster
|
|
2459
2580
|
*/
|
|
2460
2581
|
farcasterSignIn(requestParameters, initOverrides) {
|
|
2461
2582
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2492,7 +2613,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2492
2613
|
}
|
|
2493
2614
|
/**
|
|
2494
2615
|
* Farcaster Verify endpoint to exchange SIWF data
|
|
2495
|
-
* Farcaster
|
|
2616
|
+
* Verify Farcaster account linking
|
|
2496
2617
|
*/
|
|
2497
2618
|
farcasterVerifyRaw(requestParameters, initOverrides) {
|
|
2498
2619
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2521,7 +2642,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2521
2642
|
}
|
|
2522
2643
|
/**
|
|
2523
2644
|
* Farcaster Verify endpoint to exchange SIWF data
|
|
2524
|
-
* Farcaster
|
|
2645
|
+
* Verify Farcaster account linking
|
|
2525
2646
|
*/
|
|
2526
2647
|
farcasterVerify(requestParameters, initOverrides) {
|
|
2527
2648
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2557,6 +2678,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2557
2678
|
});
|
|
2558
2679
|
}
|
|
2559
2680
|
/**
|
|
2681
|
+
* Generates a Coinbase onramp buy URL for purchasing crypto.
|
|
2560
2682
|
* Generate a Coinbase onramp buy URL
|
|
2561
2683
|
*/
|
|
2562
2684
|
generateCoinbaseOnrampBuyUrlRaw(requestParameters, initOverrides) {
|
|
@@ -2581,6 +2703,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2581
2703
|
});
|
|
2582
2704
|
}
|
|
2583
2705
|
/**
|
|
2706
|
+
* Generates a Coinbase onramp buy URL for purchasing crypto.
|
|
2584
2707
|
* Generate a Coinbase onramp buy URL
|
|
2585
2708
|
*/
|
|
2586
2709
|
generateCoinbaseOnrampBuyUrl(requestParameters, initOverrides) {
|
|
@@ -2590,7 +2713,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2590
2713
|
});
|
|
2591
2714
|
}
|
|
2592
2715
|
/**
|
|
2593
|
-
*
|
|
2716
|
+
* Returns the token balances for a specific account address on a given chain.
|
|
2717
|
+
* Get token balances for an account
|
|
2594
2718
|
*/
|
|
2595
2719
|
getAccountBalancesRaw(requestParameters, initOverrides) {
|
|
2596
2720
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2636,7 +2760,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2636
2760
|
});
|
|
2637
2761
|
}
|
|
2638
2762
|
/**
|
|
2639
|
-
*
|
|
2763
|
+
* Returns the token balances for a specific account address on a given chain.
|
|
2764
|
+
* Get token balances for an account
|
|
2640
2765
|
*/
|
|
2641
2766
|
getAccountBalances(requestParameters, initOverrides) {
|
|
2642
2767
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2690,7 +2815,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2690
2815
|
});
|
|
2691
2816
|
}
|
|
2692
2817
|
/**
|
|
2693
|
-
*
|
|
2818
|
+
* Returns an auth token for the specified embedded wallet type.
|
|
2819
|
+
* Get an auth token for an embedded wallet type
|
|
2694
2820
|
*/
|
|
2695
2821
|
getAuthTokenRaw(requestParameters, initOverrides) {
|
|
2696
2822
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2719,7 +2845,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2719
2845
|
});
|
|
2720
2846
|
}
|
|
2721
2847
|
/**
|
|
2722
|
-
*
|
|
2848
|
+
* Returns an auth token for the specified embedded wallet type.
|
|
2849
|
+
* Get an auth token for an embedded wallet type
|
|
2723
2850
|
*/
|
|
2724
2851
|
getAuthToken(requestParameters, initOverrides) {
|
|
2725
2852
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2755,7 +2882,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2755
2882
|
});
|
|
2756
2883
|
}
|
|
2757
2884
|
/**
|
|
2758
|
-
*
|
|
2885
|
+
* Returns the full profile of the currently authenticated user.
|
|
2886
|
+
* Get the current user\'s profile
|
|
2759
2887
|
*/
|
|
2760
2888
|
getAuthenticatedUserRaw(requestParameters, initOverrides) {
|
|
2761
2889
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2781,7 +2909,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2781
2909
|
});
|
|
2782
2910
|
}
|
|
2783
2911
|
/**
|
|
2784
|
-
*
|
|
2912
|
+
* Returns the full profile of the currently authenticated user.
|
|
2913
|
+
* Get the current user\'s profile
|
|
2785
2914
|
*/
|
|
2786
2915
|
getAuthenticatedUser(requestParameters, initOverrides) {
|
|
2787
2916
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2878,7 +3007,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2878
3007
|
}
|
|
2879
3008
|
/**
|
|
2880
3009
|
* Generates the request body for a user\'s create V2 wallet account request
|
|
2881
|
-
*
|
|
3010
|
+
* Generate the create wallet account request body
|
|
2882
3011
|
*/
|
|
2883
3012
|
getCreateWalletAccountRequestRaw(requestParameters, initOverrides) {
|
|
2884
3013
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2911,7 +3040,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2911
3040
|
}
|
|
2912
3041
|
/**
|
|
2913
3042
|
* Generates the request body for a user\'s create V2 wallet account request
|
|
2914
|
-
*
|
|
3043
|
+
* Generate the create wallet account request body
|
|
2915
3044
|
*/
|
|
2916
3045
|
getCreateWalletAccountRequest(requestParameters, initOverrides) {
|
|
2917
3046
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2921,6 +3050,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2921
3050
|
}
|
|
2922
3051
|
/**
|
|
2923
3052
|
* Exchange rates for the given currency
|
|
3053
|
+
* Get currency exchange rates
|
|
2924
3054
|
*/
|
|
2925
3055
|
getCurrencyExchangeRatesRaw(requestParameters, initOverrides) {
|
|
2926
3056
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2940,6 +3070,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2940
3070
|
}
|
|
2941
3071
|
/**
|
|
2942
3072
|
* Exchange rates for the given currency
|
|
3073
|
+
* Get currency exchange rates
|
|
2943
3074
|
*/
|
|
2944
3075
|
getCurrencyExchangeRates(requestParameters, initOverrides) {
|
|
2945
3076
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -2976,7 +3107,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
2976
3107
|
}
|
|
2977
3108
|
/**
|
|
2978
3109
|
* Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
|
|
2979
|
-
* Get
|
|
3110
|
+
* Get the sign-in email provider
|
|
2980
3111
|
*/
|
|
2981
3112
|
getEmailProviderRaw(requestParameters, initOverrides) {
|
|
2982
3113
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3002,7 +3133,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3002
3133
|
}
|
|
3003
3134
|
/**
|
|
3004
3135
|
* Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
|
|
3005
|
-
* Get
|
|
3136
|
+
* Get the sign-in email provider
|
|
3006
3137
|
*/
|
|
3007
3138
|
getEmailProvider(requestParameters, initOverrides) {
|
|
3008
3139
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3038,7 +3169,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3038
3169
|
});
|
|
3039
3170
|
}
|
|
3040
3171
|
/**
|
|
3041
|
-
*
|
|
3172
|
+
* Returns the backup key for an embedded wallet.
|
|
3173
|
+
* Get the backup key for an embedded wallet
|
|
3042
3174
|
*/
|
|
3043
3175
|
getEmbeddedWalletBackupsRaw(requestParameters, initOverrides) {
|
|
3044
3176
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3064,7 +3196,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3064
3196
|
});
|
|
3065
3197
|
}
|
|
3066
3198
|
/**
|
|
3067
|
-
*
|
|
3199
|
+
* Returns the backup key for an embedded wallet.
|
|
3200
|
+
* Get the backup key for an embedded wallet
|
|
3068
3201
|
*/
|
|
3069
3202
|
getEmbeddedWalletBackups(requestParameters, initOverrides) {
|
|
3070
3203
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3073,7 +3206,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3073
3206
|
});
|
|
3074
3207
|
}
|
|
3075
3208
|
/**
|
|
3076
|
-
*
|
|
3209
|
+
* Returns the passcode for a pregenerated embedded wallet.
|
|
3210
|
+
* Get the passcode for a pregenerated embedded wallet
|
|
3077
3211
|
*/
|
|
3078
3212
|
getEmbeddedWalletPasscodeRaw(requestParameters, initOverrides) {
|
|
3079
3213
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3099,7 +3233,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3099
3233
|
});
|
|
3100
3234
|
}
|
|
3101
3235
|
/**
|
|
3102
|
-
*
|
|
3236
|
+
* Returns the passcode for a pregenerated embedded wallet.
|
|
3237
|
+
* Get the passcode for a pregenerated embedded wallet
|
|
3103
3238
|
*/
|
|
3104
3239
|
getEmbeddedWalletPasscode(requestParameters, initOverrides) {
|
|
3105
3240
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3136,7 +3271,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3136
3271
|
}
|
|
3137
3272
|
/**
|
|
3138
3273
|
* Generates the request body for a user\'s delete V2 wallets request
|
|
3139
|
-
*
|
|
3274
|
+
* Generate the delete wallets request body
|
|
3140
3275
|
*/
|
|
3141
3276
|
getEmbeddedWalletsDeleteRequestRaw(requestParameters, initOverrides) {
|
|
3142
3277
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3166,7 +3301,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3166
3301
|
}
|
|
3167
3302
|
/**
|
|
3168
3303
|
* Generates the request body for a user\'s delete V2 wallets request
|
|
3169
|
-
*
|
|
3304
|
+
* Generate the delete wallets request body
|
|
3170
3305
|
*/
|
|
3171
3306
|
getEmbeddedWalletsDeleteRequest(requestParameters, initOverrides) {
|
|
3172
3307
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3175,6 +3310,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3175
3310
|
});
|
|
3176
3311
|
}
|
|
3177
3312
|
/**
|
|
3313
|
+
* Returns the OAuth access token for the specified user OAuth account.
|
|
3178
3314
|
* Get the access token for a user OAuth account
|
|
3179
3315
|
*/
|
|
3180
3316
|
getEndUserOauthAccessTokenRaw(requestParameters, initOverrides) {
|
|
@@ -3197,6 +3333,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3197
3333
|
});
|
|
3198
3334
|
}
|
|
3199
3335
|
/**
|
|
3336
|
+
* Returns the OAuth access token for the specified user OAuth account.
|
|
3200
3337
|
* Get the access token for a user OAuth account
|
|
3201
3338
|
*/
|
|
3202
3339
|
getEndUserOauthAccessToken(requestParameters, initOverrides) {
|
|
@@ -3236,7 +3373,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3236
3373
|
});
|
|
3237
3374
|
}
|
|
3238
3375
|
/**
|
|
3239
|
-
*
|
|
3376
|
+
* Returns the project settings and configuration for the specified environment.
|
|
3377
|
+
* Get environment settings
|
|
3240
3378
|
*/
|
|
3241
3379
|
getEnvironmentSettingsRaw(requestParameters, initOverrides) {
|
|
3242
3380
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3258,7 +3396,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3258
3396
|
});
|
|
3259
3397
|
}
|
|
3260
3398
|
/**
|
|
3261
|
-
*
|
|
3399
|
+
* Returns the project settings and configuration for the specified environment.
|
|
3400
|
+
* Get environment settings
|
|
3262
3401
|
*/
|
|
3263
3402
|
getEnvironmentSettings(requestParameters, initOverrides) {
|
|
3264
3403
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3268,6 +3407,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3268
3407
|
}
|
|
3269
3408
|
/**
|
|
3270
3409
|
* Exchange rates for the given currency
|
|
3410
|
+
* Get exchange rates
|
|
3271
3411
|
*/
|
|
3272
3412
|
getExchangeRatesRaw(initOverrides) {
|
|
3273
3413
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3284,6 +3424,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3284
3424
|
}
|
|
3285
3425
|
/**
|
|
3286
3426
|
* Exchange rates for the given currency
|
|
3427
|
+
* Get exchange rates
|
|
3287
3428
|
*/
|
|
3288
3429
|
getExchangeRates(initOverrides) {
|
|
3289
3430
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3316,6 +3457,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3316
3457
|
});
|
|
3317
3458
|
}
|
|
3318
3459
|
/**
|
|
3460
|
+
* Returns the exchange account transactions for the authenticated user.
|
|
3319
3461
|
* Get the exchange account transactions for a given dynamic user
|
|
3320
3462
|
*/
|
|
3321
3463
|
getExchangeTransactionsRaw(requestParameters, initOverrides) {
|
|
@@ -3348,6 +3490,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3348
3490
|
});
|
|
3349
3491
|
}
|
|
3350
3492
|
/**
|
|
3493
|
+
* Returns the exchange account transactions for the authenticated user.
|
|
3351
3494
|
* Get the exchange account transactions for a given dynamic user
|
|
3352
3495
|
*/
|
|
3353
3496
|
getExchangeTransactions(requestParameters, initOverrides) {
|
|
@@ -3387,6 +3530,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3387
3530
|
});
|
|
3388
3531
|
}
|
|
3389
3532
|
/**
|
|
3533
|
+
* Returns the available transfer destinations for exchange account transactions.
|
|
3390
3534
|
* Get the available exchange transfer destinations for account transactions for a given dynamic user
|
|
3391
3535
|
*/
|
|
3392
3536
|
getExchangeTransferDestinationsRaw(requestParameters, initOverrides) {
|
|
@@ -3416,6 +3560,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3416
3560
|
});
|
|
3417
3561
|
}
|
|
3418
3562
|
/**
|
|
3563
|
+
* Returns the available transfer destinations for exchange account transactions.
|
|
3419
3564
|
* Get the available exchange transfer destinations for account transactions for a given dynamic user
|
|
3420
3565
|
*/
|
|
3421
3566
|
getExchangeTransferDestinations(requestParameters, initOverrides) {
|
|
@@ -3455,6 +3600,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3455
3600
|
});
|
|
3456
3601
|
}
|
|
3457
3602
|
/**
|
|
3603
|
+
* Returns the global wallet settings configured for the specified environment.
|
|
3458
3604
|
* Get the global wallet settings for the environment
|
|
3459
3605
|
*/
|
|
3460
3606
|
getGlobalWalletsSettingsRaw(requestParameters, initOverrides) {
|
|
@@ -3474,6 +3620,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3474
3620
|
});
|
|
3475
3621
|
}
|
|
3476
3622
|
/**
|
|
3623
|
+
* Returns the global wallet settings configured for the specified environment.
|
|
3477
3624
|
* Get the global wallet settings for the environment
|
|
3478
3625
|
*/
|
|
3479
3626
|
getGlobalWalletsSettings(requestParameters, initOverrides) {
|
|
@@ -3484,6 +3631,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3484
3631
|
}
|
|
3485
3632
|
/**
|
|
3486
3633
|
* Health check endpoint to check for uptime of API.
|
|
3634
|
+
* Check API health
|
|
3487
3635
|
*/
|
|
3488
3636
|
getHealthcheckRaw(requestParameters, initOverrides) {
|
|
3489
3637
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3503,6 +3651,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3503
3651
|
}
|
|
3504
3652
|
/**
|
|
3505
3653
|
* Health check endpoint to check for uptime of API.
|
|
3654
|
+
* Check API health
|
|
3506
3655
|
*/
|
|
3507
3656
|
getHealthcheck(requestParameters, initOverrides) {
|
|
3508
3657
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3538,7 +3687,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3538
3687
|
});
|
|
3539
3688
|
}
|
|
3540
3689
|
/**
|
|
3541
|
-
*
|
|
3690
|
+
* Returns the JSON Web Key Set (JWKS) for the specified environment.
|
|
3691
|
+
* Get JWKS for the environment
|
|
3542
3692
|
*/
|
|
3543
3693
|
getJwksByEnvironmentIdRaw(requestParameters, initOverrides) {
|
|
3544
3694
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3557,7 +3707,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3557
3707
|
});
|
|
3558
3708
|
}
|
|
3559
3709
|
/**
|
|
3560
|
-
*
|
|
3710
|
+
* Returns the JSON Web Key Set (JWKS) for the specified environment.
|
|
3711
|
+
* Get JWKS for the environment
|
|
3561
3712
|
*/
|
|
3562
3713
|
getJwksByEnvironmentId(requestParameters, initOverrides) {
|
|
3563
3714
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3566,7 +3717,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3566
3717
|
});
|
|
3567
3718
|
}
|
|
3568
3719
|
/**
|
|
3569
|
-
*
|
|
3720
|
+
* Returns the JSON Web Key Set (JWKS) in JSON format for the specified environment.
|
|
3721
|
+
* Get JWKS for the environment (JSON format)
|
|
3570
3722
|
*/
|
|
3571
3723
|
getJwksJsonByEnvironmentIdRaw(requestParameters, initOverrides) {
|
|
3572
3724
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3585,7 +3737,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3585
3737
|
});
|
|
3586
3738
|
}
|
|
3587
3739
|
/**
|
|
3588
|
-
*
|
|
3740
|
+
* Returns the JSON Web Key Set (JWKS) in JSON format for the specified environment.
|
|
3741
|
+
* Get JWKS for the environment (JSON format)
|
|
3589
3742
|
*/
|
|
3590
3743
|
getJwksJsonByEnvironmentId(requestParameters, initOverrides) {
|
|
3591
3744
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3594,7 +3747,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3594
3747
|
});
|
|
3595
3748
|
}
|
|
3596
3749
|
/**
|
|
3597
|
-
*
|
|
3750
|
+
* Returns details of a specific MFA device by its ID.
|
|
3751
|
+
* Get an MFA device by ID
|
|
3598
3752
|
*/
|
|
3599
3753
|
getMfaDeviceRaw(requestParameters, initOverrides) {
|
|
3600
3754
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3623,7 +3777,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3623
3777
|
});
|
|
3624
3778
|
}
|
|
3625
3779
|
/**
|
|
3626
|
-
*
|
|
3780
|
+
* Returns details of a specific MFA device by its ID.
|
|
3781
|
+
* Get an MFA device by ID
|
|
3627
3782
|
*/
|
|
3628
3783
|
getMfaDevice(requestParameters, initOverrides) {
|
|
3629
3784
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3662,7 +3817,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3662
3817
|
});
|
|
3663
3818
|
}
|
|
3664
3819
|
/**
|
|
3665
|
-
*
|
|
3820
|
+
* Returns the network configurations enabled for the specified environment.
|
|
3821
|
+
* Get network configurations for the environment
|
|
3666
3822
|
*/
|
|
3667
3823
|
getNetworksConfigurationByEnvIdRaw(requestParameters, initOverrides) {
|
|
3668
3824
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3681,7 +3837,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3681
3837
|
});
|
|
3682
3838
|
}
|
|
3683
3839
|
/**
|
|
3684
|
-
*
|
|
3840
|
+
* Returns the network configurations enabled for the specified environment.
|
|
3841
|
+
* Get network configurations for the environment
|
|
3685
3842
|
*/
|
|
3686
3843
|
getNetworksConfigurationByEnvId(requestParameters, initOverrides) {
|
|
3687
3844
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3690,6 +3847,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3690
3847
|
});
|
|
3691
3848
|
}
|
|
3692
3849
|
/**
|
|
3850
|
+
* Creates and returns a nonce for use in the wallet authentication flow.
|
|
3693
3851
|
* Create nonce for authentication flow
|
|
3694
3852
|
*/
|
|
3695
3853
|
getNonceRaw(requestParameters, initOverrides) {
|
|
@@ -3709,6 +3867,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3709
3867
|
});
|
|
3710
3868
|
}
|
|
3711
3869
|
/**
|
|
3870
|
+
* Creates and returns a nonce for use in the wallet authentication flow.
|
|
3712
3871
|
* Create nonce for authentication flow
|
|
3713
3872
|
*/
|
|
3714
3873
|
getNonce(requestParameters, initOverrides) {
|
|
@@ -3718,7 +3877,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3718
3877
|
});
|
|
3719
3878
|
}
|
|
3720
3879
|
/**
|
|
3721
|
-
*
|
|
3880
|
+
* Returns the WebAuthn authentication options for passkey verification.
|
|
3881
|
+
* Get passkey authentication options
|
|
3722
3882
|
*/
|
|
3723
3883
|
getPasskeyAuthenticationOptionsRaw(requestParameters, initOverrides) {
|
|
3724
3884
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3747,7 +3907,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3747
3907
|
});
|
|
3748
3908
|
}
|
|
3749
3909
|
/**
|
|
3750
|
-
*
|
|
3910
|
+
* Returns the WebAuthn authentication options for passkey verification.
|
|
3911
|
+
* Get passkey authentication options
|
|
3751
3912
|
*/
|
|
3752
3913
|
getPasskeyAuthenticationOptions(requestParameters, initOverrides) {
|
|
3753
3914
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3786,7 +3947,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3786
3947
|
});
|
|
3787
3948
|
}
|
|
3788
3949
|
/**
|
|
3789
|
-
*
|
|
3950
|
+
* Returns the WebAuthn authentication options for passkey sign-in.
|
|
3951
|
+
* Get passkey sign-in options
|
|
3790
3952
|
*/
|
|
3791
3953
|
getPasskeyAuthenticationSigninOptionsRaw(requestParameters, initOverrides) {
|
|
3792
3954
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3808,7 +3970,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3808
3970
|
});
|
|
3809
3971
|
}
|
|
3810
3972
|
/**
|
|
3811
|
-
*
|
|
3973
|
+
* Returns the WebAuthn authentication options for passkey sign-in.
|
|
3974
|
+
* Get passkey sign-in options
|
|
3812
3975
|
*/
|
|
3813
3976
|
getPasskeyAuthenticationSigninOptions(requestParameters, initOverrides) {
|
|
3814
3977
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3817,7 +3980,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3817
3980
|
});
|
|
3818
3981
|
}
|
|
3819
3982
|
/**
|
|
3820
|
-
*
|
|
3983
|
+
* Returns the WebAuthn registration options needed to register a new passkey.
|
|
3984
|
+
* Get user passkeys
|
|
3821
3985
|
*/
|
|
3822
3986
|
getPasskeyRegistrationOptionsRaw(requestParameters, initOverrides) {
|
|
3823
3987
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3836,7 +4000,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3836
4000
|
});
|
|
3837
4001
|
}
|
|
3838
4002
|
/**
|
|
3839
|
-
*
|
|
4003
|
+
* Returns the WebAuthn registration options needed to register a new passkey.
|
|
4004
|
+
* Get user passkeys
|
|
3840
4005
|
*/
|
|
3841
4006
|
getPasskeyRegistrationOptions(requestParameters, initOverrides) {
|
|
3842
4007
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3872,6 +4037,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3872
4037
|
});
|
|
3873
4038
|
}
|
|
3874
4039
|
/**
|
|
4040
|
+
* Returns the MFA recovery codes for the authenticated user.
|
|
3875
4041
|
* Get recovery codes
|
|
3876
4042
|
*/
|
|
3877
4043
|
getRecoveryCodesRaw(requestParameters, initOverrides) {
|
|
@@ -3898,6 +4064,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3898
4064
|
});
|
|
3899
4065
|
}
|
|
3900
4066
|
/**
|
|
4067
|
+
* Returns the MFA recovery codes for the authenticated user.
|
|
3901
4068
|
* Get recovery codes
|
|
3902
4069
|
*/
|
|
3903
4070
|
getRecoveryCodes(requestParameters, initOverrides) {
|
|
@@ -3908,7 +4075,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3908
4075
|
}
|
|
3909
4076
|
/**
|
|
3910
4077
|
* Find the configuration for the enabled offramps associated to an environment
|
|
3911
|
-
*
|
|
4078
|
+
* Get enabled offramps for the environment
|
|
3912
4079
|
*/
|
|
3913
4080
|
getSupportedOfframpsRaw(requestParameters, initOverrides) {
|
|
3914
4081
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3946,7 +4113,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3946
4113
|
}
|
|
3947
4114
|
/**
|
|
3948
4115
|
* Find the configuration for the enabled offramps associated to an environment
|
|
3949
|
-
*
|
|
4116
|
+
* Get enabled offramps for the environment
|
|
3950
4117
|
*/
|
|
3951
4118
|
getSupportedOfframps(requestParameters, initOverrides) {
|
|
3952
4119
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -3956,7 +4123,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3956
4123
|
}
|
|
3957
4124
|
/**
|
|
3958
4125
|
* Find the configuration for the enabled onramps associated to an environment
|
|
3959
|
-
*
|
|
4126
|
+
* Get enabled onramps for the environment
|
|
3960
4127
|
*/
|
|
3961
4128
|
getSupportedOnrampsRaw(requestParameters, initOverrides) {
|
|
3962
4129
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4006,7 +4173,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4006
4173
|
}
|
|
4007
4174
|
/**
|
|
4008
4175
|
* Find the configuration for the enabled onramps associated to an environment
|
|
4009
|
-
*
|
|
4176
|
+
* Get enabled onramps for the environment
|
|
4010
4177
|
*/
|
|
4011
4178
|
getSupportedOnramps(requestParameters, initOverrides) {
|
|
4012
4179
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4015,7 +4182,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4015
4182
|
});
|
|
4016
4183
|
}
|
|
4017
4184
|
/**
|
|
4018
|
-
*
|
|
4185
|
+
* Returns the HTML content for the Telegram login widget.
|
|
4186
|
+
* Get Telegram login widget HTML
|
|
4019
4187
|
*/
|
|
4020
4188
|
getTelegramAuthRaw(requestParameters, initOverrides) {
|
|
4021
4189
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4040,7 +4208,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4040
4208
|
});
|
|
4041
4209
|
}
|
|
4042
4210
|
/**
|
|
4043
|
-
*
|
|
4211
|
+
* Returns the HTML content for the Telegram login widget.
|
|
4212
|
+
* Get Telegram login widget HTML
|
|
4044
4213
|
*/
|
|
4045
4214
|
getTelegramAuth(requestParameters, initOverrides) {
|
|
4046
4215
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4049,6 +4218,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4049
4218
|
});
|
|
4050
4219
|
}
|
|
4051
4220
|
/**
|
|
4221
|
+
* Returns account balances for the specified user addresses.
|
|
4052
4222
|
* Get account balances for multiple addresses
|
|
4053
4223
|
*/
|
|
4054
4224
|
getUserAccountBalancesRaw(requestParameters, initOverrides) {
|
|
@@ -4076,6 +4246,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4076
4246
|
});
|
|
4077
4247
|
}
|
|
4078
4248
|
/**
|
|
4249
|
+
* Returns account balances for the specified user addresses.
|
|
4079
4250
|
* Get account balances for multiple addresses
|
|
4080
4251
|
*/
|
|
4081
4252
|
getUserAccountBalances(requestParameters, initOverrides) {
|
|
@@ -4085,6 +4256,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4085
4256
|
});
|
|
4086
4257
|
}
|
|
4087
4258
|
/**
|
|
4259
|
+
* Returns the exchange accounts for the authenticated user on the specified exchange.
|
|
4088
4260
|
* Get the exchange accounts for a given dynamic user
|
|
4089
4261
|
*/
|
|
4090
4262
|
getUserAccountsRaw(requestParameters, initOverrides) {
|
|
@@ -4120,6 +4292,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4120
4292
|
});
|
|
4121
4293
|
}
|
|
4122
4294
|
/**
|
|
4295
|
+
* Returns the exchange accounts for the authenticated user on the specified exchange.
|
|
4123
4296
|
* Get the exchange accounts for a given dynamic user
|
|
4124
4297
|
*/
|
|
4125
4298
|
getUserAccounts(requestParameters, initOverrides) {
|
|
@@ -4226,7 +4399,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4226
4399
|
});
|
|
4227
4400
|
}
|
|
4228
4401
|
/**
|
|
4229
|
-
*
|
|
4402
|
+
* Returns the list of MFA devices registered for the authenticated user.
|
|
4403
|
+
* Get the current user\'s MFA devices
|
|
4230
4404
|
*/
|
|
4231
4405
|
getUserMfaDevicesRaw(requestParameters, initOverrides) {
|
|
4232
4406
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4252,7 +4426,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4252
4426
|
});
|
|
4253
4427
|
}
|
|
4254
4428
|
/**
|
|
4255
|
-
*
|
|
4429
|
+
* Returns the list of MFA devices registered for the authenticated user.
|
|
4430
|
+
* Get the current user\'s MFA devices
|
|
4256
4431
|
*/
|
|
4257
4432
|
getUserMfaDevices(requestParameters, initOverrides) {
|
|
4258
4433
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4261,7 +4436,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4261
4436
|
});
|
|
4262
4437
|
}
|
|
4263
4438
|
/**
|
|
4264
|
-
*
|
|
4439
|
+
* Returns the available MFA methods for the authenticated user.
|
|
4440
|
+
* Get the current user\'s MFA methods
|
|
4265
4441
|
*/
|
|
4266
4442
|
getUserMfaMethodsRaw(requestParameters, initOverrides) {
|
|
4267
4443
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4290,7 +4466,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4290
4466
|
});
|
|
4291
4467
|
}
|
|
4292
4468
|
/**
|
|
4293
|
-
*
|
|
4469
|
+
* Returns the available MFA methods for the authenticated user.
|
|
4470
|
+
* Get the current user\'s MFA methods
|
|
4294
4471
|
*/
|
|
4295
4472
|
getUserMfaMethods(requestParameters, initOverrides) {
|
|
4296
4473
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4299,7 +4476,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4299
4476
|
});
|
|
4300
4477
|
}
|
|
4301
4478
|
/**
|
|
4302
|
-
*
|
|
4479
|
+
* Returns the list of passkeys registered for the authenticated user.
|
|
4480
|
+
* Get user passkeys
|
|
4303
4481
|
*/
|
|
4304
4482
|
getUserPasskeysRaw(requestParameters, initOverrides) {
|
|
4305
4483
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4325,7 +4503,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4325
4503
|
});
|
|
4326
4504
|
}
|
|
4327
4505
|
/**
|
|
4328
|
-
*
|
|
4506
|
+
* Returns the list of passkeys registered for the authenticated user.
|
|
4507
|
+
* Get user passkeys
|
|
4329
4508
|
*/
|
|
4330
4509
|
getUserPasskeys(requestParameters, initOverrides) {
|
|
4331
4510
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4335,7 +4514,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4335
4514
|
}
|
|
4336
4515
|
/**
|
|
4337
4516
|
* Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
|
|
4338
|
-
*
|
|
4517
|
+
* Get a WAAS wallet by address
|
|
4339
4518
|
*/
|
|
4340
4519
|
getWaasWalletWithVerifiedCredentialsRaw(requestParameters, initOverrides) {
|
|
4341
4520
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4365,7 +4544,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4365
4544
|
}
|
|
4366
4545
|
/**
|
|
4367
4546
|
* Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
|
|
4368
|
-
*
|
|
4547
|
+
* Get a WAAS wallet by address
|
|
4369
4548
|
*/
|
|
4370
4549
|
getWaasWalletWithVerifiedCredentials(requestParameters, initOverrides) {
|
|
4371
4550
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4559,7 +4738,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4559
4738
|
}
|
|
4560
4739
|
/**
|
|
4561
4740
|
* Hard delete the authenticated user
|
|
4562
|
-
*
|
|
4741
|
+
* Delete the current user
|
|
4563
4742
|
*/
|
|
4564
4743
|
hardDeleteUserRaw(requestParameters, initOverrides) {
|
|
4565
4744
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4586,7 +4765,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4586
4765
|
}
|
|
4587
4766
|
/**
|
|
4588
4767
|
* Hard delete the authenticated user
|
|
4589
|
-
*
|
|
4768
|
+
* Delete the current user
|
|
4590
4769
|
*/
|
|
4591
4770
|
hardDeleteUser(requestParameters, initOverrides) {
|
|
4592
4771
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4595,7 +4774,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4595
4774
|
}
|
|
4596
4775
|
/**
|
|
4597
4776
|
* Import a private key to create a waas account
|
|
4598
|
-
* Import
|
|
4777
|
+
* Import a private key to create a WAAS wallet
|
|
4599
4778
|
*/
|
|
4600
4779
|
importPrivateKeyRaw(requestParameters, initOverrides) {
|
|
4601
4780
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4627,7 +4806,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4627
4806
|
}
|
|
4628
4807
|
/**
|
|
4629
4808
|
* Import a private key to create a waas account
|
|
4630
|
-
* Import
|
|
4809
|
+
* Import a private key to create a WAAS wallet
|
|
4631
4810
|
*/
|
|
4632
4811
|
importPrivateKey(requestParameters, initOverrides) {
|
|
4633
4812
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4664,7 +4843,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4664
4843
|
}
|
|
4665
4844
|
/**
|
|
4666
4845
|
* This endpoint initializes a secure oauth authentication sequence by providing the state and current url path to the API.
|
|
4667
|
-
* Initialize
|
|
4846
|
+
* Initialize an OAuth authentication sequence
|
|
4668
4847
|
*/
|
|
4669
4848
|
initAuthRaw(requestParameters, initOverrides) {
|
|
4670
4849
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4692,7 +4871,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4692
4871
|
}
|
|
4693
4872
|
/**
|
|
4694
4873
|
* This endpoint initializes a secure oauth authentication sequence by providing the state and current url path to the API.
|
|
4695
|
-
* Initialize
|
|
4874
|
+
* Initialize an OAuth authentication sequence
|
|
4696
4875
|
*/
|
|
4697
4876
|
initAuth(requestParameters, initOverrides) {
|
|
4698
4877
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4869,7 +5048,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4869
5048
|
}
|
|
4870
5049
|
/**
|
|
4871
5050
|
* Generates the turnkey request body for a user\'s delete wallets request
|
|
4872
|
-
*
|
|
5051
|
+
* Generate the delete wallets request body
|
|
4873
5052
|
*/
|
|
4874
5053
|
legacyGetEmbeddedWalletsDeleteRequestRaw(requestParameters, initOverrides) {
|
|
4875
5054
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4896,7 +5075,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4896
5075
|
}
|
|
4897
5076
|
/**
|
|
4898
5077
|
* Generates the turnkey request body for a user\'s delete wallets request
|
|
4899
|
-
*
|
|
5078
|
+
* Generate the delete wallets request body
|
|
4900
5079
|
*/
|
|
4901
5080
|
legacyGetEmbeddedWalletsDeleteRequest(requestParameters, initOverrides) {
|
|
4902
5081
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4962,7 +5141,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4962
5141
|
});
|
|
4963
5142
|
}
|
|
4964
5143
|
/**
|
|
4965
|
-
*
|
|
5144
|
+
* Logs the SDK settings being used by the client for the environment.
|
|
5145
|
+
* Update SDK settings for the environment
|
|
4966
5146
|
*/
|
|
4967
5147
|
logDynamicSdkSettingsRaw(requestParameters, initOverrides) {
|
|
4968
5148
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4986,7 +5166,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4986
5166
|
});
|
|
4987
5167
|
}
|
|
4988
5168
|
/**
|
|
4989
|
-
*
|
|
5169
|
+
* Logs the SDK settings being used by the client for the environment.
|
|
5170
|
+
* Update SDK settings for the environment
|
|
4990
5171
|
*/
|
|
4991
5172
|
logDynamicSdkSettings(requestParameters, initOverrides) {
|
|
4992
5173
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -4995,7 +5176,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4995
5176
|
}
|
|
4996
5177
|
/**
|
|
4997
5178
|
* Used to merge two owned accounts connected by email address
|
|
4998
|
-
*
|
|
5179
|
+
* Merge two owned accounts
|
|
4999
5180
|
*/
|
|
5000
5181
|
mergeUsersRaw(requestParameters, initOverrides) {
|
|
5001
5182
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5022,7 +5203,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5022
5203
|
}
|
|
5023
5204
|
/**
|
|
5024
5205
|
* Used to merge two owned accounts connected by email address
|
|
5025
|
-
*
|
|
5206
|
+
* Merge two owned accounts
|
|
5026
5207
|
*/
|
|
5027
5208
|
mergeUsers(requestParameters, initOverrides) {
|
|
5028
5209
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5113,7 +5294,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5113
5294
|
}
|
|
5114
5295
|
/**
|
|
5115
5296
|
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
5116
|
-
*
|
|
5297
|
+
* Get OAuth provider authorization HTML
|
|
5117
5298
|
*/
|
|
5118
5299
|
oauthAuthorizeHtmlRaw(requestParameters, initOverrides) {
|
|
5119
5300
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5145,7 +5326,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5145
5326
|
}
|
|
5146
5327
|
/**
|
|
5147
5328
|
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
5148
|
-
*
|
|
5329
|
+
* Get OAuth provider authorization HTML
|
|
5149
5330
|
*/
|
|
5150
5331
|
oauthAuthorizeHtml(requestParameters, initOverrides) {
|
|
5151
5332
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5184,7 +5365,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5184
5365
|
});
|
|
5185
5366
|
}
|
|
5186
5367
|
/**
|
|
5187
|
-
*
|
|
5368
|
+
* Redirects the user to the specified OAuth provider login page.
|
|
5369
|
+
* Redirect to OAuth provider login
|
|
5188
5370
|
*/
|
|
5189
5371
|
oauthLoginRaw(requestParameters, initOverrides) {
|
|
5190
5372
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5206,7 +5388,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5206
5388
|
});
|
|
5207
5389
|
}
|
|
5208
5390
|
/**
|
|
5209
|
-
*
|
|
5391
|
+
* Redirects the user to the specified OAuth provider login page.
|
|
5392
|
+
* Redirect to OAuth provider login
|
|
5210
5393
|
*/
|
|
5211
5394
|
oauthLogin(requestParameters, initOverrides) {
|
|
5212
5395
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5244,7 +5427,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5244
5427
|
});
|
|
5245
5428
|
}
|
|
5246
5429
|
/**
|
|
5247
|
-
*
|
|
5430
|
+
* Returns the login URL for the specified OAuth provider.
|
|
5431
|
+
* Get the OAuth provider login URL
|
|
5248
5432
|
*/
|
|
5249
5433
|
oauthLoginUrlRaw(requestParameters, initOverrides) {
|
|
5250
5434
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5266,7 +5450,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5266
5450
|
});
|
|
5267
5451
|
}
|
|
5268
5452
|
/**
|
|
5269
|
-
*
|
|
5453
|
+
* Returns the login URL for the specified OAuth provider.
|
|
5454
|
+
* Get the OAuth provider login URL
|
|
5270
5455
|
*/
|
|
5271
5456
|
oauthLoginUrl(requestParameters, initOverrides) {
|
|
5272
5457
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5306,7 +5491,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5306
5491
|
}
|
|
5307
5492
|
/**
|
|
5308
5493
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5309
|
-
*
|
|
5494
|
+
* Handle Apple ID OAuth redirect
|
|
5310
5495
|
*/
|
|
5311
5496
|
oauthRedirectAppleRaw(requestParameters, initOverrides) {
|
|
5312
5497
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5348,7 +5533,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5348
5533
|
}
|
|
5349
5534
|
/**
|
|
5350
5535
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5351
|
-
*
|
|
5536
|
+
* Handle Apple ID OAuth redirect
|
|
5352
5537
|
*/
|
|
5353
5538
|
oauthRedirectApple(requestParameters, initOverrides) {
|
|
5354
5539
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5385,7 +5570,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5385
5570
|
}
|
|
5386
5571
|
/**
|
|
5387
5572
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5388
|
-
*
|
|
5573
|
+
* Handle OAuth provider redirect
|
|
5389
5574
|
*/
|
|
5390
5575
|
oauthRedirectCodeRaw(requestParameters, initOverrides) {
|
|
5391
5576
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5426,7 +5611,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5426
5611
|
}
|
|
5427
5612
|
/**
|
|
5428
5613
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5429
|
-
*
|
|
5614
|
+
* Handle OAuth provider redirect
|
|
5430
5615
|
*/
|
|
5431
5616
|
oauthRedirectCode(requestParameters, initOverrides) {
|
|
5432
5617
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5465,7 +5650,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5465
5650
|
});
|
|
5466
5651
|
}
|
|
5467
5652
|
/**
|
|
5468
|
-
* Returns the authorization
|
|
5653
|
+
* Returns the OAuth authorization result for the given state.
|
|
5654
|
+
* Get the OAuth provider authorization result
|
|
5469
5655
|
*/
|
|
5470
5656
|
oauthResultRaw(requestParameters, initOverrides) {
|
|
5471
5657
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5492,7 +5678,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5492
5678
|
});
|
|
5493
5679
|
}
|
|
5494
5680
|
/**
|
|
5495
|
-
* Returns the authorization
|
|
5681
|
+
* Returns the OAuth authorization result for the given state.
|
|
5682
|
+
* Get the OAuth provider authorization result
|
|
5496
5683
|
*/
|
|
5497
5684
|
oauthResult(requestParameters, initOverrides) {
|
|
5498
5685
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5531,8 +5718,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5531
5718
|
});
|
|
5532
5719
|
}
|
|
5533
5720
|
/**
|
|
5534
|
-
* Standard OAuth SignIn callback to exchange
|
|
5535
|
-
*
|
|
5721
|
+
* Standard OAuth SignIn callback to exchange temporary code for oauth access and return a valid Dynamic JWT and user
|
|
5722
|
+
* Sign in with OAuth provider
|
|
5536
5723
|
*/
|
|
5537
5724
|
oauthSignInRaw(requestParameters, initOverrides) {
|
|
5538
5725
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5559,8 +5746,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5559
5746
|
});
|
|
5560
5747
|
}
|
|
5561
5748
|
/**
|
|
5562
|
-
* Standard OAuth SignIn callback to exchange
|
|
5563
|
-
*
|
|
5749
|
+
* Standard OAuth SignIn callback to exchange temporary code for oauth access and return a valid Dynamic JWT and user
|
|
5750
|
+
* Sign in with OAuth provider
|
|
5564
5751
|
*/
|
|
5565
5752
|
oauthSignIn(requestParameters, initOverrides) {
|
|
5566
5753
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5599,8 +5786,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5599
5786
|
});
|
|
5600
5787
|
}
|
|
5601
5788
|
/**
|
|
5602
|
-
* Standard OAuth verify callback to exchange
|
|
5603
|
-
*
|
|
5789
|
+
* Standard OAuth verify callback to exchange temporary code for oauth access
|
|
5790
|
+
* Verify OAuth provider authorization
|
|
5604
5791
|
*/
|
|
5605
5792
|
oauthVerifyRaw(requestParameters, initOverrides) {
|
|
5606
5793
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5627,8 +5814,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5627
5814
|
});
|
|
5628
5815
|
}
|
|
5629
5816
|
/**
|
|
5630
|
-
* Standard OAuth verify callback to exchange
|
|
5631
|
-
*
|
|
5817
|
+
* Standard OAuth verify callback to exchange temporary code for oauth access
|
|
5818
|
+
* Verify OAuth provider authorization
|
|
5632
5819
|
*/
|
|
5633
5820
|
oauthVerify(requestParameters, initOverrides) {
|
|
5634
5821
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -5721,6 +5908,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5721
5908
|
});
|
|
5722
5909
|
}
|
|
5723
5910
|
/**
|
|
5911
|
+
* Adds priority fees and compute unit limits to a Solana transaction for optimization.
|
|
5724
5912
|
* Add fees to a Solana transaction
|
|
5725
5913
|
*/
|
|
5726
5914
|
optimizeTransactionRaw(requestParameters, initOverrides) {
|
|
@@ -5745,6 +5933,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5745
5933
|
});
|
|
5746
5934
|
}
|
|
5747
5935
|
/**
|
|
5936
|
+
* Adds priority fees and compute unit limits to a Solana transaction for optimization.
|
|
5748
5937
|
* Add fees to a Solana transaction
|
|
5749
5938
|
*/
|
|
5750
5939
|
optimizeTransaction(requestParameters, initOverrides) {
|
|
@@ -5835,6 +6024,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5835
6024
|
});
|
|
5836
6025
|
}
|
|
5837
6026
|
/**
|
|
6027
|
+
* Transfers funds from an exchange account to an external address or another account.
|
|
5838
6028
|
* Transfer funds from an exchange account to an external address or another Coinbase account
|
|
5839
6029
|
*/
|
|
5840
6030
|
postExchangeAccountTransferRaw(requestParameters, initOverrides) {
|
|
@@ -5872,6 +6062,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5872
6062
|
});
|
|
5873
6063
|
}
|
|
5874
6064
|
/**
|
|
6065
|
+
* Transfers funds from an exchange account to an external address or another account.
|
|
5875
6066
|
* Transfer funds from an exchange account to an external address or another Coinbase account
|
|
5876
6067
|
*/
|
|
5877
6068
|
postExchangeAccountTransfer(requestParameters, initOverrides) {
|
|
@@ -5914,6 +6105,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5914
6105
|
});
|
|
5915
6106
|
}
|
|
5916
6107
|
/**
|
|
6108
|
+
* Returns token balances for multiple account addresses across different chains.
|
|
5917
6109
|
* Get account balances for multiple addresses
|
|
5918
6110
|
*/
|
|
5919
6111
|
postMultichainAccountBalancesRaw(requestParameters, initOverrides) {
|
|
@@ -5938,6 +6130,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5938
6130
|
});
|
|
5939
6131
|
}
|
|
5940
6132
|
/**
|
|
6133
|
+
* Returns token balances for multiple account addresses across different chains.
|
|
5941
6134
|
* Get account balances for multiple addresses
|
|
5942
6135
|
*/
|
|
5943
6136
|
postMultichainAccountBalances(requestParameters, initOverrides) {
|
|
@@ -5979,6 +6172,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5979
6172
|
});
|
|
5980
6173
|
}
|
|
5981
6174
|
/**
|
|
6175
|
+
* Handles the Telegram authentication callback after user authorization.
|
|
5982
6176
|
* Handle Telegram authentication
|
|
5983
6177
|
*/
|
|
5984
6178
|
postTelegramAuthRaw(requestParameters, initOverrides) {
|
|
@@ -6003,6 +6197,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6003
6197
|
});
|
|
6004
6198
|
}
|
|
6005
6199
|
/**
|
|
6200
|
+
* Handles the Telegram authentication callback after user authorization.
|
|
6006
6201
|
* Handle Telegram authentication
|
|
6007
6202
|
*/
|
|
6008
6203
|
postTelegramAuth(requestParameters, initOverrides) {
|
|
@@ -6012,7 +6207,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6012
6207
|
}
|
|
6013
6208
|
/**
|
|
6014
6209
|
* Endpoint to send minimal wallet information to the API to prefetch name service information for an address.
|
|
6015
|
-
*
|
|
6210
|
+
* Prefetch information for a wallet address
|
|
6016
6211
|
*/
|
|
6017
6212
|
prefetchRaw(requestParameters, initOverrides) {
|
|
6018
6213
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6037,7 +6232,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6037
6232
|
}
|
|
6038
6233
|
/**
|
|
6039
6234
|
* Endpoint to send minimal wallet information to the API to prefetch name service information for an address.
|
|
6040
|
-
*
|
|
6235
|
+
* Prefetch information for a wallet address
|
|
6041
6236
|
*/
|
|
6042
6237
|
prefetch(requestParameters, initOverrides) {
|
|
6043
6238
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6045,7 +6240,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6045
6240
|
});
|
|
6046
6241
|
}
|
|
6047
6242
|
/**
|
|
6048
|
-
*
|
|
6243
|
+
* Publishes SDK analytics events for the given environment.
|
|
6244
|
+
* Publish SDK events
|
|
6049
6245
|
*/
|
|
6050
6246
|
publishEventRaw(requestParameters, initOverrides) {
|
|
6051
6247
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6069,7 +6265,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6069
6265
|
});
|
|
6070
6266
|
}
|
|
6071
6267
|
/**
|
|
6072
|
-
*
|
|
6268
|
+
* Publishes SDK analytics events for the given environment.
|
|
6269
|
+
* Publish SDK events
|
|
6073
6270
|
*/
|
|
6074
6271
|
publishEvent(requestParameters, initOverrides) {
|
|
6075
6272
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6077,7 +6274,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6077
6274
|
});
|
|
6078
6275
|
}
|
|
6079
6276
|
/**
|
|
6080
|
-
*
|
|
6277
|
+
* Recovers the client key shares for the specified WAAS wallet from backup.
|
|
6278
|
+
* Recover WAAS keyshares
|
|
6081
6279
|
*/
|
|
6082
6280
|
recoverKeySharesRaw(requestParameters, initOverrides) {
|
|
6083
6281
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6108,7 +6306,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6108
6306
|
});
|
|
6109
6307
|
}
|
|
6110
6308
|
/**
|
|
6111
|
-
*
|
|
6309
|
+
* Recovers the client key shares for the specified WAAS wallet from backup.
|
|
6310
|
+
* Recover WAAS keyshares
|
|
6112
6311
|
*/
|
|
6113
6312
|
recoverKeyShares(requestParameters, initOverrides) {
|
|
6114
6313
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6201,7 +6400,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6201
6400
|
});
|
|
6202
6401
|
}
|
|
6203
6402
|
/**
|
|
6204
|
-
*
|
|
6403
|
+
* Refreshes the JWT auth token and returns a new token with updated claims.
|
|
6404
|
+
* Refresh the JWT auth token
|
|
6205
6405
|
*/
|
|
6206
6406
|
refreshAuthRaw(requestParameters, initOverrides) {
|
|
6207
6407
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6227,7 +6427,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6227
6427
|
});
|
|
6228
6428
|
}
|
|
6229
6429
|
/**
|
|
6230
|
-
*
|
|
6430
|
+
* Refreshes the JWT auth token and returns a new token with updated claims.
|
|
6431
|
+
* Refresh the JWT auth token
|
|
6231
6432
|
*/
|
|
6232
6433
|
refreshAuth(requestParameters, initOverrides) {
|
|
6233
6434
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6236,7 +6437,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6236
6437
|
});
|
|
6237
6438
|
}
|
|
6238
6439
|
/**
|
|
6239
|
-
*
|
|
6440
|
+
* Refreshes the MPC key shares for the specified WAAS wallet.
|
|
6441
|
+
* Refresh WAAS keyshares
|
|
6240
6442
|
*/
|
|
6241
6443
|
refreshKeySharesRaw(requestParameters, initOverrides) {
|
|
6242
6444
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6265,7 +6467,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6265
6467
|
});
|
|
6266
6468
|
}
|
|
6267
6469
|
/**
|
|
6268
|
-
*
|
|
6470
|
+
* Refreshes the MPC key shares for the specified WAAS wallet.
|
|
6471
|
+
* Refresh WAAS keyshares
|
|
6269
6472
|
*/
|
|
6270
6473
|
refreshKeyShares(requestParameters, initOverrides) {
|
|
6271
6474
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6331,6 +6534,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6331
6534
|
});
|
|
6332
6535
|
}
|
|
6333
6536
|
/**
|
|
6537
|
+
* Registers a new passkey for the authenticated user using WebAuthn credentials.
|
|
6334
6538
|
* Register a new passkey
|
|
6335
6539
|
*/
|
|
6336
6540
|
registerPasskeyRaw(requestParameters, initOverrides) {
|
|
@@ -6362,6 +6566,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6362
6566
|
});
|
|
6363
6567
|
}
|
|
6364
6568
|
/**
|
|
6569
|
+
* Registers a new passkey for the authenticated user using WebAuthn credentials.
|
|
6365
6570
|
* Register a new passkey
|
|
6366
6571
|
*/
|
|
6367
6572
|
registerPasskey(requestParameters, initOverrides) {
|
|
@@ -6371,7 +6576,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6371
6576
|
});
|
|
6372
6577
|
}
|
|
6373
6578
|
/**
|
|
6374
|
-
*
|
|
6579
|
+
* Initiates passkey MFA device registration and returns the setup details.
|
|
6580
|
+
* Register a passkey MFA device
|
|
6375
6581
|
*/
|
|
6376
6582
|
registerPasskeyMfaDeviceRaw(requestParameters, initOverrides) {
|
|
6377
6583
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6397,7 +6603,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6397
6603
|
});
|
|
6398
6604
|
}
|
|
6399
6605
|
/**
|
|
6400
|
-
*
|
|
6606
|
+
* Initiates passkey MFA device registration and returns the setup details.
|
|
6607
|
+
* Register a passkey MFA device
|
|
6401
6608
|
*/
|
|
6402
6609
|
registerPasskeyMfaDevice(requestParameters, initOverrides) {
|
|
6403
6610
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6433,6 +6640,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6433
6640
|
});
|
|
6434
6641
|
}
|
|
6435
6642
|
/**
|
|
6643
|
+
* Verifies the passkey credential to complete MFA device registration.
|
|
6436
6644
|
* Verify Passkey MFA device
|
|
6437
6645
|
*/
|
|
6438
6646
|
registerPasskeyMfaDeviceVerifyRaw(requestParameters, initOverrides) {
|
|
@@ -6464,6 +6672,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6464
6672
|
});
|
|
6465
6673
|
}
|
|
6466
6674
|
/**
|
|
6675
|
+
* Verifies the passkey credential to complete MFA device registration.
|
|
6467
6676
|
* Verify Passkey MFA device
|
|
6468
6677
|
*/
|
|
6469
6678
|
registerPasskeyMfaDeviceVerify(requestParameters, initOverrides) {
|
|
@@ -6515,7 +6724,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6515
6724
|
});
|
|
6516
6725
|
}
|
|
6517
6726
|
/**
|
|
6518
|
-
*
|
|
6727
|
+
* Initiates TOTP MFA device registration and returns the setup details.
|
|
6728
|
+
* Register a TOTP MFA device
|
|
6519
6729
|
*/
|
|
6520
6730
|
registerTotpMfaDeviceRaw(requestParameters, initOverrides) {
|
|
6521
6731
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6541,7 +6751,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6541
6751
|
});
|
|
6542
6752
|
}
|
|
6543
6753
|
/**
|
|
6544
|
-
*
|
|
6754
|
+
* Initiates TOTP MFA device registration and returns the setup details.
|
|
6755
|
+
* Register a TOTP MFA device
|
|
6545
6756
|
*/
|
|
6546
6757
|
registerTotpMfaDevice(requestParameters, initOverrides) {
|
|
6547
6758
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6577,6 +6788,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6577
6788
|
});
|
|
6578
6789
|
}
|
|
6579
6790
|
/**
|
|
6791
|
+
* Verifies the TOTP code to complete MFA device registration.
|
|
6580
6792
|
* Verify TOTP MFA device
|
|
6581
6793
|
*/
|
|
6582
6794
|
registerTotpMfaDeviceVerifyRaw(requestParameters, initOverrides) {
|
|
@@ -6608,6 +6820,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6608
6820
|
});
|
|
6609
6821
|
}
|
|
6610
6822
|
/**
|
|
6823
|
+
* Verifies the TOTP code to complete MFA device registration.
|
|
6611
6824
|
* Verify TOTP MFA device
|
|
6612
6825
|
*/
|
|
6613
6826
|
registerTotpMfaDeviceVerify(requestParameters, initOverrides) {
|
|
@@ -6617,7 +6830,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6617
6830
|
});
|
|
6618
6831
|
}
|
|
6619
6832
|
/**
|
|
6620
|
-
*
|
|
6833
|
+
* Reshares the MPC secret shares for the specified WAAS wallet.
|
|
6834
|
+
* Reshare WAAS secret shares
|
|
6621
6835
|
*/
|
|
6622
6836
|
reshareRaw(requestParameters, initOverrides) {
|
|
6623
6837
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6651,7 +6865,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6651
6865
|
});
|
|
6652
6866
|
}
|
|
6653
6867
|
/**
|
|
6654
|
-
*
|
|
6868
|
+
* Reshares the MPC secret shares for the specified WAAS wallet.
|
|
6869
|
+
* Reshare WAAS secret shares
|
|
6655
6870
|
*/
|
|
6656
6871
|
reshare(requestParameters, initOverrides) {
|
|
6657
6872
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6759,7 +6974,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6759
6974
|
});
|
|
6760
6975
|
}
|
|
6761
6976
|
/**
|
|
6762
|
-
*
|
|
6977
|
+
* Resends the email verification code to the email address on file.
|
|
6978
|
+
* Resend email verification code
|
|
6763
6979
|
*/
|
|
6764
6980
|
retryEmailVerificationRaw(requestParameters, initOverrides) {
|
|
6765
6981
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6783,7 +6999,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6783
6999
|
});
|
|
6784
7000
|
}
|
|
6785
7001
|
/**
|
|
6786
|
-
*
|
|
7002
|
+
* Resends the email verification code to the email address on file.
|
|
7003
|
+
* Resend email verification code
|
|
6787
7004
|
*/
|
|
6788
7005
|
retryEmailVerification(requestParameters, initOverrides) {
|
|
6789
7006
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6819,7 +7036,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6819
7036
|
});
|
|
6820
7037
|
}
|
|
6821
7038
|
/**
|
|
6822
|
-
*
|
|
7039
|
+
* Resends the SMS verification code to the phone number on file.
|
|
7040
|
+
* Resend SMS verification code
|
|
6823
7041
|
*/
|
|
6824
7042
|
retrySmsVerificationRaw(requestParameters, initOverrides) {
|
|
6825
7043
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6843,7 +7061,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6843
7061
|
});
|
|
6844
7062
|
}
|
|
6845
7063
|
/**
|
|
6846
|
-
*
|
|
7064
|
+
* Resends the SMS verification code to the phone number on file.
|
|
7065
|
+
* Resend SMS verification code
|
|
6847
7066
|
*/
|
|
6848
7067
|
retrySmsVerification(requestParameters, initOverrides) {
|
|
6849
7068
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -6879,6 +7098,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6879
7098
|
});
|
|
6880
7099
|
}
|
|
6881
7100
|
/**
|
|
7101
|
+
* Revokes the current user session and invalidates the JWT.
|
|
6882
7102
|
* Revoke a session
|
|
6883
7103
|
*/
|
|
6884
7104
|
revokeSessionRaw(requestParameters, initOverrides) {
|
|
@@ -6905,6 +7125,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6905
7125
|
});
|
|
6906
7126
|
}
|
|
6907
7127
|
/**
|
|
7128
|
+
* Revokes the current user session and invalidates the JWT.
|
|
6908
7129
|
* Revoke a session
|
|
6909
7130
|
*/
|
|
6910
7131
|
revokeSession(requestParameters, initOverrides) {
|
|
@@ -6940,6 +7161,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6940
7161
|
});
|
|
6941
7162
|
}
|
|
6942
7163
|
/**
|
|
7164
|
+
* Scans a URL for potential phishing or malicious activity and returns the result.
|
|
6943
7165
|
* Scan a URL for potential malicious activity
|
|
6944
7166
|
*/
|
|
6945
7167
|
scanUrlRaw(requestParameters, initOverrides) {
|
|
@@ -6964,6 +7186,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6964
7186
|
});
|
|
6965
7187
|
}
|
|
6966
7188
|
/**
|
|
7189
|
+
* Scans a URL for potential phishing or malicious activity and returns the result.
|
|
6967
7190
|
* Scan a URL for potential malicious activity
|
|
6968
7191
|
*/
|
|
6969
7192
|
scanUrl(requestParameters, initOverrides) {
|
|
@@ -7026,7 +7249,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7026
7249
|
}
|
|
7027
7250
|
/**
|
|
7028
7251
|
* When a user selects a wallet to be the primary wallet in a multi-wallet enabled environment, this endpoint is called to record this on the backend.
|
|
7029
|
-
* Update
|
|
7252
|
+
* Update primary wallet selection
|
|
7030
7253
|
*/
|
|
7031
7254
|
selectUserWalletRaw(requestParameters, initOverrides) {
|
|
7032
7255
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7058,7 +7281,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7058
7281
|
}
|
|
7059
7282
|
/**
|
|
7060
7283
|
* When a user selects a wallet to be the primary wallet in a multi-wallet enabled environment, this endpoint is called to record this on the backend.
|
|
7061
|
-
* Update
|
|
7284
|
+
* Update primary wallet selection
|
|
7062
7285
|
*/
|
|
7063
7286
|
selectUserWallet(requestParameters, initOverrides) {
|
|
7064
7287
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7094,7 +7317,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7094
7317
|
});
|
|
7095
7318
|
}
|
|
7096
7319
|
/**
|
|
7097
|
-
*
|
|
7320
|
+
* Checks whether the current user session is still valid.
|
|
7321
|
+
* Check session validity
|
|
7098
7322
|
*/
|
|
7099
7323
|
sessionCheckRaw(requestParameters, initOverrides) {
|
|
7100
7324
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7120,7 +7344,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7120
7344
|
});
|
|
7121
7345
|
}
|
|
7122
7346
|
/**
|
|
7123
|
-
*
|
|
7347
|
+
* Checks whether the current user session is still valid.
|
|
7348
|
+
* Check session validity
|
|
7124
7349
|
*/
|
|
7125
7350
|
sessionCheck(requestParameters, initOverrides) {
|
|
7126
7351
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7209,7 +7434,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7209
7434
|
});
|
|
7210
7435
|
}
|
|
7211
7436
|
/**
|
|
7212
|
-
*
|
|
7437
|
+
* Verifies the email code and authenticates the user, returning a JWT.
|
|
7438
|
+
* Verify email and sign in
|
|
7213
7439
|
*/
|
|
7214
7440
|
signInWithEmailVerificationRaw(requestParameters, initOverrides) {
|
|
7215
7441
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7233,7 +7459,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7233
7459
|
});
|
|
7234
7460
|
}
|
|
7235
7461
|
/**
|
|
7236
|
-
*
|
|
7462
|
+
* Verifies the email code and authenticates the user, returning a JWT.
|
|
7463
|
+
* Verify email and sign in
|
|
7237
7464
|
*/
|
|
7238
7465
|
signInWithEmailVerification(requestParameters, initOverrides) {
|
|
7239
7466
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7269,7 +7496,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7269
7496
|
});
|
|
7270
7497
|
}
|
|
7271
7498
|
/**
|
|
7272
|
-
*
|
|
7499
|
+
* Verifies the SMS code and authenticates the user, returning a JWT.
|
|
7500
|
+
* Verify SMS and sign in
|
|
7273
7501
|
*/
|
|
7274
7502
|
signInWithSmsVerificationRaw(requestParameters, initOverrides) {
|
|
7275
7503
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7293,7 +7521,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7293
7521
|
});
|
|
7294
7522
|
}
|
|
7295
7523
|
/**
|
|
7296
|
-
*
|
|
7524
|
+
* Verifies the SMS code and authenticates the user, returning a JWT.
|
|
7525
|
+
* Verify SMS and sign in
|
|
7297
7526
|
*/
|
|
7298
7527
|
signInWithSmsVerification(requestParameters, initOverrides) {
|
|
7299
7528
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7329,7 +7558,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7329
7558
|
});
|
|
7330
7559
|
}
|
|
7331
7560
|
/**
|
|
7332
|
-
*
|
|
7561
|
+
* Signs a message using the specified WAAS wallet through an MPC ceremony.
|
|
7562
|
+
* Sign a message with a WAAS wallet
|
|
7333
7563
|
*/
|
|
7334
7564
|
signMessageRaw(requestParameters, initOverrides) {
|
|
7335
7565
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7363,7 +7593,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7363
7593
|
});
|
|
7364
7594
|
}
|
|
7365
7595
|
/**
|
|
7366
|
-
*
|
|
7596
|
+
* Signs a message using the specified WAAS wallet through an MPC ceremony.
|
|
7597
|
+
* Sign a message with a WAAS wallet
|
|
7367
7598
|
*/
|
|
7368
7599
|
signMessage(requestParameters, initOverrides) {
|
|
7369
7600
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7402,6 +7633,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7402
7633
|
});
|
|
7403
7634
|
}
|
|
7404
7635
|
/**
|
|
7636
|
+
* Authenticates a user using a passkey and returns a JWT.
|
|
7405
7637
|
* Authenticate a passkey
|
|
7406
7638
|
*/
|
|
7407
7639
|
signinWithPasskeyRaw(requestParameters, initOverrides) {
|
|
@@ -7426,6 +7658,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7426
7658
|
});
|
|
7427
7659
|
}
|
|
7428
7660
|
/**
|
|
7661
|
+
* Authenticates a user using a passkey and returns a JWT.
|
|
7429
7662
|
* Authenticate a passkey
|
|
7430
7663
|
*/
|
|
7431
7664
|
signinWithPasskey(requestParameters, initOverrides) {
|
|
@@ -7435,6 +7668,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7435
7668
|
});
|
|
7436
7669
|
}
|
|
7437
7670
|
/**
|
|
7671
|
+
* Simulates an EVM transaction and returns the expected outcome.
|
|
7438
7672
|
* Simulate an EVM transaction
|
|
7439
7673
|
*/
|
|
7440
7674
|
simulateEVMTransactionRaw(requestParameters, initOverrides) {
|
|
@@ -7459,6 +7693,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7459
7693
|
});
|
|
7460
7694
|
}
|
|
7461
7695
|
/**
|
|
7696
|
+
* Simulates an EVM transaction and returns the expected outcome.
|
|
7462
7697
|
* Simulate an EVM transaction
|
|
7463
7698
|
*/
|
|
7464
7699
|
simulateEVMTransaction(requestParameters, initOverrides) {
|
|
@@ -7495,6 +7730,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7495
7730
|
});
|
|
7496
7731
|
}
|
|
7497
7732
|
/**
|
|
7733
|
+
* Simulates a Solana transaction and returns the expected outcome.
|
|
7498
7734
|
* Simulate a Solana transaction
|
|
7499
7735
|
*/
|
|
7500
7736
|
simulateSVMTransactionRaw(requestParameters, initOverrides) {
|
|
@@ -7519,6 +7755,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7519
7755
|
});
|
|
7520
7756
|
}
|
|
7521
7757
|
/**
|
|
7758
|
+
* Simulates a Solana transaction and returns the expected outcome.
|
|
7522
7759
|
* Simulate a Solana transaction
|
|
7523
7760
|
*/
|
|
7524
7761
|
simulateSVMTransaction(requestParameters, initOverrides) {
|
|
@@ -7555,6 +7792,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7555
7792
|
});
|
|
7556
7793
|
}
|
|
7557
7794
|
/**
|
|
7795
|
+
* Simulates an EVM Account Abstraction UserOp and returns the expected outcome.
|
|
7558
7796
|
* Simulate an EVM AA UserOp
|
|
7559
7797
|
*/
|
|
7560
7798
|
simulateUserOpRaw(requestParameters, initOverrides) {
|
|
@@ -7579,6 +7817,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7579
7817
|
});
|
|
7580
7818
|
}
|
|
7581
7819
|
/**
|
|
7820
|
+
* Simulates an EVM Account Abstraction UserOp and returns the expected outcome.
|
|
7582
7821
|
* Simulate an EVM AA UserOp
|
|
7583
7822
|
*/
|
|
7584
7823
|
simulateUserOp(requestParameters, initOverrides) {
|
|
@@ -7773,7 +8012,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7773
8012
|
});
|
|
7774
8013
|
}
|
|
7775
8014
|
/**
|
|
7776
|
-
* Telegram
|
|
8015
|
+
* Checks if a Telegram authentication attempt has been completed.
|
|
8016
|
+
* Check Telegram authentication status
|
|
7777
8017
|
*/
|
|
7778
8018
|
telegramCheckAuthRaw(requestParameters, initOverrides) {
|
|
7779
8019
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7794,7 +8034,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7794
8034
|
});
|
|
7795
8035
|
}
|
|
7796
8036
|
/**
|
|
7797
|
-
* Telegram
|
|
8037
|
+
* Checks if a Telegram authentication attempt has been completed.
|
|
8038
|
+
* Check Telegram authentication status
|
|
7798
8039
|
*/
|
|
7799
8040
|
telegramCheckAuth(requestParameters, initOverrides) {
|
|
7800
8041
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7829,7 +8070,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7829
8070
|
});
|
|
7830
8071
|
}
|
|
7831
8072
|
/**
|
|
7832
|
-
* Telegram
|
|
8073
|
+
* Authenticates a user using their Telegram account credentials.
|
|
8074
|
+
* Sign in with Telegram
|
|
7833
8075
|
*/
|
|
7834
8076
|
telegramSignInRaw(requestParameters, initOverrides) {
|
|
7835
8077
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7850,7 +8092,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7850
8092
|
});
|
|
7851
8093
|
}
|
|
7852
8094
|
/**
|
|
7853
|
-
* Telegram
|
|
8095
|
+
* Authenticates a user using their Telegram account credentials.
|
|
8096
|
+
* Sign in with Telegram
|
|
7854
8097
|
*/
|
|
7855
8098
|
telegramSignIn(requestParameters, initOverrides) {
|
|
7856
8099
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7886,7 +8129,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7886
8129
|
});
|
|
7887
8130
|
}
|
|
7888
8131
|
/**
|
|
7889
|
-
* Telegram
|
|
8132
|
+
* Verifies and links a Telegram account to the authenticated user.
|
|
8133
|
+
* Verify Telegram account linking
|
|
7890
8134
|
*/
|
|
7891
8135
|
telegramVerifyRaw(requestParameters, initOverrides) {
|
|
7892
8136
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7914,7 +8158,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7914
8158
|
});
|
|
7915
8159
|
}
|
|
7916
8160
|
/**
|
|
7917
|
-
* Telegram
|
|
8161
|
+
* Verifies and links a Telegram account to the authenticated user.
|
|
8162
|
+
* Verify Telegram account linking
|
|
7918
8163
|
*/
|
|
7919
8164
|
telegramVerify(requestParameters, initOverrides) {
|
|
7920
8165
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -7950,6 +8195,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7950
8195
|
});
|
|
7951
8196
|
}
|
|
7952
8197
|
/**
|
|
8198
|
+
* Updates the V2 recovery email address for the authenticated user.
|
|
7953
8199
|
* Update a user\'s V2 recovery email
|
|
7954
8200
|
*/
|
|
7955
8201
|
updateEmbeddedWalletRecoveryEmailRaw(requestParameters, initOverrides) {
|
|
@@ -7981,6 +8227,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7981
8227
|
});
|
|
7982
8228
|
}
|
|
7983
8229
|
/**
|
|
8230
|
+
* Updates the V2 recovery email address for the authenticated user.
|
|
7984
8231
|
* Update a user\'s V2 recovery email
|
|
7985
8232
|
*/
|
|
7986
8233
|
updateEmbeddedWalletRecoveryEmail(requestParameters, initOverrides) {
|
|
@@ -7989,7 +8236,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
7989
8236
|
});
|
|
7990
8237
|
}
|
|
7991
8238
|
/**
|
|
7992
|
-
*
|
|
8239
|
+
* Updates the specified passkey for the authenticated user.
|
|
8240
|
+
* Update a passkey
|
|
7993
8241
|
*/
|
|
7994
8242
|
updatePasskeyRaw(requestParameters, initOverrides) {
|
|
7995
8243
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8020,7 +8268,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8020
8268
|
});
|
|
8021
8269
|
}
|
|
8022
8270
|
/**
|
|
8023
|
-
*
|
|
8271
|
+
* Updates the specified passkey for the authenticated user.
|
|
8272
|
+
* Update a passkey
|
|
8024
8273
|
*/
|
|
8025
8274
|
updatePasskey(requestParameters, initOverrides) {
|
|
8026
8275
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8029,7 +8278,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8029
8278
|
});
|
|
8030
8279
|
}
|
|
8031
8280
|
/**
|
|
8032
|
-
*
|
|
8281
|
+
* Updates the authenticated user profile fields.
|
|
8282
|
+
* Update user fields
|
|
8033
8283
|
*/
|
|
8034
8284
|
updateSelfRaw(requestParameters, initOverrides) {
|
|
8035
8285
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8060,7 +8310,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8060
8310
|
});
|
|
8061
8311
|
}
|
|
8062
8312
|
/**
|
|
8063
|
-
*
|
|
8313
|
+
* Updates the authenticated user profile fields.
|
|
8314
|
+
* Update user fields
|
|
8064
8315
|
*/
|
|
8065
8316
|
updateSelf(requestParameters, initOverrides) {
|
|
8066
8317
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8069,7 +8320,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8069
8320
|
});
|
|
8070
8321
|
}
|
|
8071
8322
|
/**
|
|
8072
|
-
*
|
|
8323
|
+
* Updates the specified MFA device for the authenticated user.
|
|
8324
|
+
* Update an MFA device
|
|
8073
8325
|
*/
|
|
8074
8326
|
updateUserMfaDeviceRaw(requestParameters, initOverrides) {
|
|
8075
8327
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8100,7 +8352,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8100
8352
|
});
|
|
8101
8353
|
}
|
|
8102
8354
|
/**
|
|
8103
|
-
*
|
|
8355
|
+
* Updates the specified MFA device for the authenticated user.
|
|
8356
|
+
* Update an MFA device
|
|
8104
8357
|
*/
|
|
8105
8358
|
updateUserMfaDevice(requestParameters, initOverrides) {
|
|
8106
8359
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8109,7 +8362,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8109
8362
|
}
|
|
8110
8363
|
/**
|
|
8111
8364
|
* Updates the settings for a WAAS wallet
|
|
8112
|
-
* Update
|
|
8365
|
+
* Update WAAS wallet settings
|
|
8113
8366
|
*/
|
|
8114
8367
|
updateWaasWalletSettingsRaw(requestParameters, initOverrides) {
|
|
8115
8368
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8144,7 +8397,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8144
8397
|
}
|
|
8145
8398
|
/**
|
|
8146
8399
|
* Updates the settings for a WAAS wallet
|
|
8147
|
-
* Update
|
|
8400
|
+
* Update WAAS wallet settings
|
|
8148
8401
|
*/
|
|
8149
8402
|
updateWaasWalletSettings(requestParameters, initOverrides) {
|
|
8150
8403
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8153,6 +8406,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8153
8406
|
});
|
|
8154
8407
|
}
|
|
8155
8408
|
/**
|
|
8409
|
+
* Upgrades a V1 embedded wallet to V2 and returns a refreshed JWT.
|
|
8156
8410
|
* Update V1 embedded wallet to V2
|
|
8157
8411
|
*/
|
|
8158
8412
|
upgradeEmbeddedWalletToV2Raw(requestParameters, initOverrides) {
|
|
@@ -8177,6 +8431,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8177
8431
|
});
|
|
8178
8432
|
}
|
|
8179
8433
|
/**
|
|
8434
|
+
* Upgrades a V1 embedded wallet to V2 and returns a refreshed JWT.
|
|
8180
8435
|
* Update V1 embedded wallet to V2
|
|
8181
8436
|
*/
|
|
8182
8437
|
upgradeEmbeddedWalletToV2(requestParameters, initOverrides) {
|
|
@@ -8267,6 +8522,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8267
8522
|
});
|
|
8268
8523
|
}
|
|
8269
8524
|
/**
|
|
8525
|
+
* Verifies the signed payload and returns a JWT authentication token.
|
|
8270
8526
|
* Verify payload and return JWT
|
|
8271
8527
|
*/
|
|
8272
8528
|
verifyRaw(requestParameters, initOverrides) {
|
|
@@ -8291,6 +8547,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8291
8547
|
});
|
|
8292
8548
|
}
|
|
8293
8549
|
/**
|
|
8550
|
+
* Verifies the signed payload and returns a JWT authentication token.
|
|
8294
8551
|
* Verify payload and return JWT
|
|
8295
8552
|
*/
|
|
8296
8553
|
verify(requestParameters, initOverrides) {
|
|
@@ -8300,7 +8557,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8300
8557
|
});
|
|
8301
8558
|
}
|
|
8302
8559
|
/**
|
|
8303
|
-
*
|
|
8560
|
+
* Verifies the email code and completes the email verification process.
|
|
8561
|
+
* Verify email verification code
|
|
8304
8562
|
*/
|
|
8305
8563
|
verifyEmailVerificationRaw(requestParameters, initOverrides) {
|
|
8306
8564
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8331,7 +8589,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8331
8589
|
});
|
|
8332
8590
|
}
|
|
8333
8591
|
/**
|
|
8334
|
-
*
|
|
8592
|
+
* Verifies the email code and completes the email verification process.
|
|
8593
|
+
* Verify email verification code
|
|
8335
8594
|
*/
|
|
8336
8595
|
verifyEmailVerification(requestParameters, initOverrides) {
|
|
8337
8596
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8368,7 +8627,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8368
8627
|
}
|
|
8369
8628
|
/**
|
|
8370
8629
|
* Link a wallet to a valid environment user, and return an updated JWT
|
|
8371
|
-
* Link wallet to user
|
|
8630
|
+
* Link a wallet to a user
|
|
8372
8631
|
*/
|
|
8373
8632
|
verifyLinkRaw(requestParameters, initOverrides) {
|
|
8374
8633
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8400,7 +8659,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8400
8659
|
}
|
|
8401
8660
|
/**
|
|
8402
8661
|
* Link a wallet to a valid environment user, and return an updated JWT
|
|
8403
|
-
* Link wallet to user
|
|
8662
|
+
* Link a wallet to a user
|
|
8404
8663
|
*/
|
|
8405
8664
|
verifyLink(requestParameters, initOverrides) {
|
|
8406
8665
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8559,7 +8818,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8559
8818
|
});
|
|
8560
8819
|
}
|
|
8561
8820
|
/**
|
|
8562
|
-
*
|
|
8821
|
+
* Verifies the SMS code and completes the phone number verification process.
|
|
8822
|
+
* Verify SMS verification code
|
|
8563
8823
|
*/
|
|
8564
8824
|
verifySmsVerificationRaw(requestParameters, initOverrides) {
|
|
8565
8825
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8590,7 +8850,8 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8590
8850
|
});
|
|
8591
8851
|
}
|
|
8592
8852
|
/**
|
|
8593
|
-
*
|
|
8853
|
+
* Verifies the SMS code and completes the phone number verification process.
|
|
8854
|
+
* Verify SMS verification code
|
|
8594
8855
|
*/
|
|
8595
8856
|
verifySmsVerification(requestParameters, initOverrides) {
|
|
8596
8857
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8627,7 +8888,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8627
8888
|
}
|
|
8628
8889
|
/**
|
|
8629
8890
|
* Used to link a wallet after user has confirmed transfer to the new account
|
|
8630
|
-
* Verify wallet transfer
|
|
8891
|
+
* Verify a wallet transfer
|
|
8631
8892
|
*/
|
|
8632
8893
|
verifyTransferRaw(requestParameters, initOverrides) {
|
|
8633
8894
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8659,7 +8920,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8659
8920
|
}
|
|
8660
8921
|
/**
|
|
8661
8922
|
* Used to link a wallet after user has confirmed transfer to the new account
|
|
8662
|
-
* Verify wallet transfer
|
|
8923
|
+
* Verify a wallet transfer
|
|
8663
8924
|
*/
|
|
8664
8925
|
verifyTransfer(requestParameters, initOverrides) {
|
|
8665
8926
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8696,7 +8957,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8696
8957
|
}
|
|
8697
8958
|
/**
|
|
8698
8959
|
* Remove a link from to a valid environment user, and return an updated JWT
|
|
8699
|
-
*
|
|
8960
|
+
* Unlink a wallet from a user
|
|
8700
8961
|
*/
|
|
8701
8962
|
verifyUnlinkRaw(requestParameters, initOverrides) {
|
|
8702
8963
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8728,7 +8989,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8728
8989
|
}
|
|
8729
8990
|
/**
|
|
8730
8991
|
* Remove a link from to a valid environment user, and return an updated JWT
|
|
8731
|
-
*
|
|
8992
|
+
* Unlink a wallet from a user
|
|
8732
8993
|
*/
|
|
8733
8994
|
verifyUnlink(requestParameters, initOverrides) {
|
|
8734
8995
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -8847,6 +9108,137 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
8847
9108
|
yield this.walletAccountRequestOptionsRaw(requestParameters, initOverrides);
|
|
8848
9109
|
});
|
|
8849
9110
|
}
|
|
9111
|
+
/**
|
|
9112
|
+
* Authenticates a user by verifying their wallet signature.
|
|
9113
|
+
* Sign in with wallet
|
|
9114
|
+
*/
|
|
9115
|
+
walletsSigninRaw(requestParameters, initOverrides) {
|
|
9116
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9117
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9118
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsSignin.');
|
|
9119
|
+
}
|
|
9120
|
+
if (requestParameters.verifyRequest === null || requestParameters.verifyRequest === undefined) {
|
|
9121
|
+
throw new runtime.RequiredError('verifyRequest', 'Required parameter requestParameters.verifyRequest was null or undefined when calling walletsSignin.');
|
|
9122
|
+
}
|
|
9123
|
+
const queryParameters = {};
|
|
9124
|
+
const headerParameters = {};
|
|
9125
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
9126
|
+
const response = yield this.request({
|
|
9127
|
+
path: `/sdk/{environmentId}/wallets/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9128
|
+
method: 'POST',
|
|
9129
|
+
headers: headerParameters,
|
|
9130
|
+
query: queryParameters,
|
|
9131
|
+
body: VerifyRequest.VerifyRequestToJSON(requestParameters.verifyRequest),
|
|
9132
|
+
}, initOverrides);
|
|
9133
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
|
|
9134
|
+
});
|
|
9135
|
+
}
|
|
9136
|
+
/**
|
|
9137
|
+
* Authenticates a user by verifying their wallet signature.
|
|
9138
|
+
* Sign in with wallet
|
|
9139
|
+
*/
|
|
9140
|
+
walletsSignin(requestParameters, initOverrides) {
|
|
9141
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9142
|
+
const response = yield this.walletsSigninRaw(requestParameters, initOverrides);
|
|
9143
|
+
return yield response.value();
|
|
9144
|
+
});
|
|
9145
|
+
}
|
|
9146
|
+
/**
|
|
9147
|
+
* Options call for this endpoint
|
|
9148
|
+
*/
|
|
9149
|
+
walletsSigninOptionsRaw(requestParameters, initOverrides) {
|
|
9150
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9151
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9152
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsSigninOptions.');
|
|
9153
|
+
}
|
|
9154
|
+
const queryParameters = {};
|
|
9155
|
+
const headerParameters = {};
|
|
9156
|
+
const response = yield this.request({
|
|
9157
|
+
path: `/sdk/{environmentId}/wallets/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9158
|
+
method: 'OPTIONS',
|
|
9159
|
+
headers: headerParameters,
|
|
9160
|
+
query: queryParameters,
|
|
9161
|
+
}, initOverrides);
|
|
9162
|
+
return new runtime.VoidApiResponse(response);
|
|
9163
|
+
});
|
|
9164
|
+
}
|
|
9165
|
+
/**
|
|
9166
|
+
* Options call for this endpoint
|
|
9167
|
+
*/
|
|
9168
|
+
walletsSigninOptions(requestParameters, initOverrides) {
|
|
9169
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9170
|
+
yield this.walletsSigninOptionsRaw(requestParameters, initOverrides);
|
|
9171
|
+
});
|
|
9172
|
+
}
|
|
9173
|
+
/**
|
|
9174
|
+
* Verify a wallet, and return an updated JWT
|
|
9175
|
+
* Verify a wallet
|
|
9176
|
+
*/
|
|
9177
|
+
walletsVerifyRaw(requestParameters, initOverrides) {
|
|
9178
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9179
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9180
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsVerify.');
|
|
9181
|
+
}
|
|
9182
|
+
if (requestParameters.verifyRequest === null || requestParameters.verifyRequest === undefined) {
|
|
9183
|
+
throw new runtime.RequiredError('verifyRequest', 'Required parameter requestParameters.verifyRequest was null or undefined when calling walletsVerify.');
|
|
9184
|
+
}
|
|
9185
|
+
const queryParameters = {};
|
|
9186
|
+
const headerParameters = {};
|
|
9187
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
9188
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
9189
|
+
const token = this.configuration.accessToken;
|
|
9190
|
+
const tokenString = yield token("bearerAuth", []);
|
|
9191
|
+
if (tokenString) {
|
|
9192
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
9193
|
+
}
|
|
9194
|
+
}
|
|
9195
|
+
const response = yield this.request({
|
|
9196
|
+
path: `/sdk/{environmentId}/wallets/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9197
|
+
method: 'POST',
|
|
9198
|
+
headers: headerParameters,
|
|
9199
|
+
query: queryParameters,
|
|
9200
|
+
body: VerifyRequest.VerifyRequestToJSON(requestParameters.verifyRequest),
|
|
9201
|
+
}, initOverrides);
|
|
9202
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
|
|
9203
|
+
});
|
|
9204
|
+
}
|
|
9205
|
+
/**
|
|
9206
|
+
* Verify a wallet, and return an updated JWT
|
|
9207
|
+
* Verify a wallet
|
|
9208
|
+
*/
|
|
9209
|
+
walletsVerify(requestParameters, initOverrides) {
|
|
9210
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9211
|
+
const response = yield this.walletsVerifyRaw(requestParameters, initOverrides);
|
|
9212
|
+
return yield response.value();
|
|
9213
|
+
});
|
|
9214
|
+
}
|
|
9215
|
+
/**
|
|
9216
|
+
* Options call for this endpoint
|
|
9217
|
+
*/
|
|
9218
|
+
walletsVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
9219
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9220
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9221
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsVerifyOptions.');
|
|
9222
|
+
}
|
|
9223
|
+
const queryParameters = {};
|
|
9224
|
+
const headerParameters = {};
|
|
9225
|
+
const response = yield this.request({
|
|
9226
|
+
path: `/sdk/{environmentId}/wallets/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9227
|
+
method: 'OPTIONS',
|
|
9228
|
+
headers: headerParameters,
|
|
9229
|
+
query: queryParameters,
|
|
9230
|
+
}, initOverrides);
|
|
9231
|
+
return new runtime.VoidApiResponse(response);
|
|
9232
|
+
});
|
|
9233
|
+
}
|
|
9234
|
+
/**
|
|
9235
|
+
* Options call for this endpoint
|
|
9236
|
+
*/
|
|
9237
|
+
walletsVerifyOptions(requestParameters, initOverrides) {
|
|
9238
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9239
|
+
yield this.walletsVerifyOptionsRaw(requestParameters, initOverrides);
|
|
9240
|
+
});
|
|
9241
|
+
}
|
|
8850
9242
|
}
|
|
8851
9243
|
|
|
8852
9244
|
exports.SDKApi = SDKApi;
|