@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.js
CHANGED
|
@@ -222,6 +222,7 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
|
|
|
222
222
|
import '../models/WaasDelegationCredentialsResponse.js';
|
|
223
223
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
224
224
|
import '../models/WaasPolicyRuleType.js';
|
|
225
|
+
import { WalletSanctionsResponseFromJSON } from '../models/WalletSanctionsResponse.js';
|
|
225
226
|
import '../models/WalletTransactionType.js';
|
|
226
227
|
import { WalletTransactionsResponseFromJSON } from '../models/WalletTransactionsResponse.js';
|
|
227
228
|
|
|
@@ -285,6 +286,7 @@ class SDKApi extends BaseAPI {
|
|
|
285
286
|
});
|
|
286
287
|
}
|
|
287
288
|
/**
|
|
289
|
+
* Authenticates via recovery code and upgrades the JWT scope with a valid MFA session.
|
|
288
290
|
* Upgrade JWT scope with valid MFA session
|
|
289
291
|
*/
|
|
290
292
|
authMfaRecoveryRaw(requestParameters, initOverrides) {
|
|
@@ -316,6 +318,7 @@ class SDKApi extends BaseAPI {
|
|
|
316
318
|
});
|
|
317
319
|
}
|
|
318
320
|
/**
|
|
321
|
+
* Authenticates via recovery code and upgrades the JWT scope with a valid MFA session.
|
|
319
322
|
* Upgrade JWT scope with valid MFA session
|
|
320
323
|
*/
|
|
321
324
|
authMfaRecovery(requestParameters, initOverrides) {
|
|
@@ -352,6 +355,7 @@ class SDKApi extends BaseAPI {
|
|
|
352
355
|
});
|
|
353
356
|
}
|
|
354
357
|
/**
|
|
358
|
+
* Authenticates via TOTP code and upgrades the JWT scope with a valid MFA session.
|
|
355
359
|
* Upgrade JWT scope with valid MFA session
|
|
356
360
|
*/
|
|
357
361
|
authMfaTotpDeviceRaw(requestParameters, initOverrides) {
|
|
@@ -383,6 +387,7 @@ class SDKApi extends BaseAPI {
|
|
|
383
387
|
});
|
|
384
388
|
}
|
|
385
389
|
/**
|
|
390
|
+
* Authenticates via TOTP code and upgrades the JWT scope with a valid MFA session.
|
|
386
391
|
* Upgrade JWT scope with valid MFA session
|
|
387
392
|
*/
|
|
388
393
|
authMfaTotpDevice(requestParameters, initOverrides) {
|
|
@@ -419,6 +424,7 @@ class SDKApi extends BaseAPI {
|
|
|
419
424
|
});
|
|
420
425
|
}
|
|
421
426
|
/**
|
|
427
|
+
* Authenticates via email verification and upgrades the JWT scope with a valid MFA session.
|
|
422
428
|
* Upgrade JWT scope with valid MFA session
|
|
423
429
|
*/
|
|
424
430
|
authenticateMfaEmailRaw(requestParameters, initOverrides) {
|
|
@@ -450,6 +456,7 @@ class SDKApi extends BaseAPI {
|
|
|
450
456
|
});
|
|
451
457
|
}
|
|
452
458
|
/**
|
|
459
|
+
* Authenticates via email verification and upgrades the JWT scope with a valid MFA session.
|
|
453
460
|
* Upgrade JWT scope with valid MFA session
|
|
454
461
|
*/
|
|
455
462
|
authenticateMfaEmail(requestParameters, initOverrides) {
|
|
@@ -459,6 +466,7 @@ class SDKApi extends BaseAPI {
|
|
|
459
466
|
});
|
|
460
467
|
}
|
|
461
468
|
/**
|
|
469
|
+
* Authenticates via passkey and upgrades the JWT scope with a valid MFA session.
|
|
462
470
|
* Upgrade JWT scope with valid MFA session
|
|
463
471
|
*/
|
|
464
472
|
authenticateMfaPasskeyDeviceRaw(requestParameters, initOverrides) {
|
|
@@ -490,6 +498,7 @@ class SDKApi extends BaseAPI {
|
|
|
490
498
|
});
|
|
491
499
|
}
|
|
492
500
|
/**
|
|
501
|
+
* Authenticates via passkey and upgrades the JWT scope with a valid MFA session.
|
|
493
502
|
* Upgrade JWT scope with valid MFA session
|
|
494
503
|
*/
|
|
495
504
|
authenticateMfaPasskeyDevice(requestParameters, initOverrides) {
|
|
@@ -529,7 +538,8 @@ class SDKApi extends BaseAPI {
|
|
|
529
538
|
});
|
|
530
539
|
}
|
|
531
540
|
/**
|
|
532
|
-
*
|
|
541
|
+
* Backs up the client key shares for the specified WAAS wallet.
|
|
542
|
+
* Back up keyshares for a WAAS wallet
|
|
533
543
|
*/
|
|
534
544
|
backupKeySharesRaw(requestParameters, initOverrides) {
|
|
535
545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -563,7 +573,8 @@ class SDKApi extends BaseAPI {
|
|
|
563
573
|
});
|
|
564
574
|
}
|
|
565
575
|
/**
|
|
566
|
-
*
|
|
576
|
+
* Backs up the client key shares for the specified WAAS wallet.
|
|
577
|
+
* Back up keyshares for a WAAS wallet
|
|
567
578
|
*/
|
|
568
579
|
backupKeyShares(requestParameters, initOverrides) {
|
|
569
580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -602,7 +613,8 @@ class SDKApi extends BaseAPI {
|
|
|
602
613
|
});
|
|
603
614
|
}
|
|
604
615
|
/**
|
|
605
|
-
*
|
|
616
|
+
* Backs up the client key shares for the specified WAAS wallet to Google Drive.
|
|
617
|
+
* Back up keyshares to Google Drive
|
|
606
618
|
*/
|
|
607
619
|
backupKeySharesToGoogleDriveRaw(requestParameters, initOverrides) {
|
|
608
620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -631,7 +643,8 @@ class SDKApi extends BaseAPI {
|
|
|
631
643
|
});
|
|
632
644
|
}
|
|
633
645
|
/**
|
|
634
|
-
*
|
|
646
|
+
* Backs up the client key shares for the specified WAAS wallet to Google Drive.
|
|
647
|
+
* Back up keyshares to Google Drive
|
|
635
648
|
*/
|
|
636
649
|
backupKeySharesToGoogleDrive(requestParameters, initOverrides) {
|
|
637
650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -670,6 +683,7 @@ class SDKApi extends BaseAPI {
|
|
|
670
683
|
});
|
|
671
684
|
}
|
|
672
685
|
/**
|
|
686
|
+
* Records a backup action and event for the specified location without performing the actual backup.
|
|
673
687
|
* Create backup action and event for a specified location without performing actual backup
|
|
674
688
|
*/
|
|
675
689
|
backupKeySharesToLocationRaw(requestParameters, initOverrides) {
|
|
@@ -704,6 +718,7 @@ class SDKApi extends BaseAPI {
|
|
|
704
718
|
});
|
|
705
719
|
}
|
|
706
720
|
/**
|
|
721
|
+
* Records a backup action and event for the specified location without performing the actual backup.
|
|
707
722
|
* Create backup action and event for a specified location without performing actual backup
|
|
708
723
|
*/
|
|
709
724
|
backupKeySharesToLocation(requestParameters, initOverrides) {
|
|
@@ -743,6 +758,7 @@ class SDKApi extends BaseAPI {
|
|
|
743
758
|
});
|
|
744
759
|
}
|
|
745
760
|
/**
|
|
761
|
+
* Records backup actions and events for multiple locations without performing the actual backups.
|
|
746
762
|
* Create backup action and event for multiple locations without performing actual backup
|
|
747
763
|
*/
|
|
748
764
|
backupKeySharesToLocationsRaw(requestParameters, initOverrides) {
|
|
@@ -777,6 +793,7 @@ class SDKApi extends BaseAPI {
|
|
|
777
793
|
});
|
|
778
794
|
}
|
|
779
795
|
/**
|
|
796
|
+
* Records backup actions and events for multiple locations without performing the actual backups.
|
|
780
797
|
* Create backup action and event for multiple locations without performing actual backup
|
|
781
798
|
*/
|
|
782
799
|
backupKeySharesToLocations(requestParameters, initOverrides) {
|
|
@@ -817,7 +834,7 @@ class SDKApi extends BaseAPI {
|
|
|
817
834
|
}
|
|
818
835
|
/**
|
|
819
836
|
* This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path
|
|
820
|
-
*
|
|
837
|
+
* Handle Coinbase OAuth redirect
|
|
821
838
|
*/
|
|
822
839
|
cbOauthRedirectRaw(requestParameters, initOverrides) {
|
|
823
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -855,7 +872,7 @@ class SDKApi extends BaseAPI {
|
|
|
855
872
|
}
|
|
856
873
|
/**
|
|
857
874
|
* This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path
|
|
858
|
-
*
|
|
875
|
+
* Handle Coinbase OAuth redirect
|
|
859
876
|
*/
|
|
860
877
|
cbOauthRedirect(requestParameters, initOverrides) {
|
|
861
878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -926,6 +943,83 @@ class SDKApi extends BaseAPI {
|
|
|
926
943
|
});
|
|
927
944
|
}
|
|
928
945
|
/**
|
|
946
|
+
* Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
|
|
947
|
+
* Check if a wallet address is sanctioned
|
|
948
|
+
*/
|
|
949
|
+
checkWalletSanctionsRaw(requestParameters, initOverrides) {
|
|
950
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
951
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
952
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling checkWalletSanctions.');
|
|
953
|
+
}
|
|
954
|
+
if (requestParameters.walletAddress === null || requestParameters.walletAddress === undefined) {
|
|
955
|
+
throw new RequiredError('walletAddress', 'Required parameter requestParameters.walletAddress was null or undefined when calling checkWalletSanctions.');
|
|
956
|
+
}
|
|
957
|
+
if (requestParameters.chain === null || requestParameters.chain === undefined) {
|
|
958
|
+
throw new RequiredError('chain', 'Required parameter requestParameters.chain was null or undefined when calling checkWalletSanctions.');
|
|
959
|
+
}
|
|
960
|
+
const queryParameters = {};
|
|
961
|
+
if (requestParameters.walletAddress !== undefined) {
|
|
962
|
+
queryParameters['walletAddress'] = requestParameters.walletAddress;
|
|
963
|
+
}
|
|
964
|
+
if (requestParameters.chain !== undefined) {
|
|
965
|
+
queryParameters['chain'] = requestParameters.chain;
|
|
966
|
+
}
|
|
967
|
+
const headerParameters = {};
|
|
968
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
969
|
+
const token = this.configuration.accessToken;
|
|
970
|
+
const tokenString = yield token("bearerAuth", []);
|
|
971
|
+
if (tokenString) {
|
|
972
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
const response = yield this.request({
|
|
976
|
+
path: `/sdk/{environmentId}/wallet/sanctions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
977
|
+
method: 'GET',
|
|
978
|
+
headers: headerParameters,
|
|
979
|
+
query: queryParameters,
|
|
980
|
+
}, initOverrides);
|
|
981
|
+
return new JSONApiResponse(response, (jsonValue) => WalletSanctionsResponseFromJSON(jsonValue));
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not.
|
|
986
|
+
* Check if a wallet address is sanctioned
|
|
987
|
+
*/
|
|
988
|
+
checkWalletSanctions(requestParameters, initOverrides) {
|
|
989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
990
|
+
const response = yield this.checkWalletSanctionsRaw(requestParameters, initOverrides);
|
|
991
|
+
return yield response.value();
|
|
992
|
+
});
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* Options call for this endpoint
|
|
996
|
+
*/
|
|
997
|
+
checkWalletSanctionsOptionsRaw(requestParameters, initOverrides) {
|
|
998
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
999
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
1000
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling checkWalletSanctionsOptions.');
|
|
1001
|
+
}
|
|
1002
|
+
const queryParameters = {};
|
|
1003
|
+
const headerParameters = {};
|
|
1004
|
+
const response = yield this.request({
|
|
1005
|
+
path: `/sdk/{environmentId}/wallet/sanctions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
1006
|
+
method: 'OPTIONS',
|
|
1007
|
+
headers: headerParameters,
|
|
1008
|
+
query: queryParameters,
|
|
1009
|
+
}, initOverrides);
|
|
1010
|
+
return new VoidApiResponse(response);
|
|
1011
|
+
});
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* Options call for this endpoint
|
|
1015
|
+
*/
|
|
1016
|
+
checkWalletSanctionsOptions(requestParameters, initOverrides) {
|
|
1017
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1018
|
+
yield this.checkWalletSanctionsOptionsRaw(requestParameters, initOverrides);
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* Claims a pregenerated embedded wallet and associates it with the authenticated user.
|
|
929
1023
|
* Claim a pregenerated embedded wallet
|
|
930
1024
|
*/
|
|
931
1025
|
claimEmbeddedWalletRaw(requestParameters, initOverrides) {
|
|
@@ -957,6 +1051,7 @@ class SDKApi extends BaseAPI {
|
|
|
957
1051
|
});
|
|
958
1052
|
}
|
|
959
1053
|
/**
|
|
1054
|
+
* Claims a pregenerated embedded wallet and associates it with the authenticated user.
|
|
960
1055
|
* Claim a pregenerated embedded wallet
|
|
961
1056
|
*/
|
|
962
1057
|
claimEmbeddedWallet(requestParameters, initOverrides) {
|
|
@@ -1075,7 +1170,7 @@ class SDKApi extends BaseAPI {
|
|
|
1075
1170
|
}
|
|
1076
1171
|
/**
|
|
1077
1172
|
* Completes the passkey recovery process for a user\'s passkey embedded wallet
|
|
1078
|
-
*
|
|
1173
|
+
* Complete passkey recovery for an embedded wallet
|
|
1079
1174
|
*/
|
|
1080
1175
|
completePasskeyRecoveryRaw(requestParameters, initOverrides) {
|
|
1081
1176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1107,7 +1202,7 @@ class SDKApi extends BaseAPI {
|
|
|
1107
1202
|
}
|
|
1108
1203
|
/**
|
|
1109
1204
|
* Completes the passkey recovery process for a user\'s passkey embedded wallet
|
|
1110
|
-
*
|
|
1205
|
+
* Complete passkey recovery for an embedded wallet
|
|
1111
1206
|
*/
|
|
1112
1207
|
completePasskeyRecovery(requestParameters, initOverrides) {
|
|
1113
1208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1116,6 +1211,7 @@ class SDKApi extends BaseAPI {
|
|
|
1116
1211
|
});
|
|
1117
1212
|
}
|
|
1118
1213
|
/**
|
|
1214
|
+
* Creates a new Coinbase onramp order for the authenticated user.
|
|
1119
1215
|
* Create a Coinbase onramp order
|
|
1120
1216
|
*/
|
|
1121
1217
|
createCoinbaseOnrampOrderRaw(requestParameters, initOverrides) {
|
|
@@ -1147,6 +1243,7 @@ class SDKApi extends BaseAPI {
|
|
|
1147
1243
|
});
|
|
1148
1244
|
}
|
|
1149
1245
|
/**
|
|
1246
|
+
* Creates a new Coinbase onramp order for the authenticated user.
|
|
1150
1247
|
* Create a Coinbase onramp order
|
|
1151
1248
|
*/
|
|
1152
1249
|
createCoinbaseOnrampOrder(requestParameters, initOverrides) {
|
|
@@ -1198,6 +1295,7 @@ class SDKApi extends BaseAPI {
|
|
|
1198
1295
|
});
|
|
1199
1296
|
}
|
|
1200
1297
|
/**
|
|
1298
|
+
* Initiates the email verification process and sends a verification code.
|
|
1201
1299
|
* Initialize email verification process
|
|
1202
1300
|
*/
|
|
1203
1301
|
createEmailVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -1222,6 +1320,7 @@ class SDKApi extends BaseAPI {
|
|
|
1222
1320
|
});
|
|
1223
1321
|
}
|
|
1224
1322
|
/**
|
|
1323
|
+
* Initiates the email verification process and sends a verification code.
|
|
1225
1324
|
* Initialize email verification process
|
|
1226
1325
|
*/
|
|
1227
1326
|
createEmailVerification(requestParameters, initOverrides) {
|
|
@@ -1327,7 +1426,8 @@ class SDKApi extends BaseAPI {
|
|
|
1327
1426
|
});
|
|
1328
1427
|
}
|
|
1329
1428
|
/**
|
|
1330
|
-
*
|
|
1429
|
+
* Creates a new global wallet connection for the authenticated user.
|
|
1430
|
+
* Create a global wallet connection
|
|
1331
1431
|
*/
|
|
1332
1432
|
createGlobalWalletConnectionRaw(requestParameters, initOverrides) {
|
|
1333
1433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1358,7 +1458,8 @@ class SDKApi extends BaseAPI {
|
|
|
1358
1458
|
});
|
|
1359
1459
|
}
|
|
1360
1460
|
/**
|
|
1361
|
-
*
|
|
1461
|
+
* Creates a new global wallet connection for the authenticated user.
|
|
1462
|
+
* Create a global wallet connection
|
|
1362
1463
|
*/
|
|
1363
1464
|
createGlobalWalletConnection(requestParameters, initOverrides) {
|
|
1364
1465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1367,7 +1468,8 @@ class SDKApi extends BaseAPI {
|
|
|
1367
1468
|
});
|
|
1368
1469
|
}
|
|
1369
1470
|
/**
|
|
1370
|
-
*
|
|
1471
|
+
* Generates a new set of MFA recovery codes, replacing any existing ones.
|
|
1472
|
+
* Generate new recovery codes
|
|
1371
1473
|
*/
|
|
1372
1474
|
createNewRecoveryCodesRaw(requestParameters, initOverrides) {
|
|
1373
1475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1393,7 +1495,8 @@ class SDKApi extends BaseAPI {
|
|
|
1393
1495
|
});
|
|
1394
1496
|
}
|
|
1395
1497
|
/**
|
|
1396
|
-
*
|
|
1498
|
+
* Generates a new set of MFA recovery codes, replacing any existing ones.
|
|
1499
|
+
* Generate new recovery codes
|
|
1397
1500
|
*/
|
|
1398
1501
|
createNewRecoveryCodes(requestParameters, initOverrides) {
|
|
1399
1502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1402,6 +1505,7 @@ class SDKApi extends BaseAPI {
|
|
|
1402
1505
|
});
|
|
1403
1506
|
}
|
|
1404
1507
|
/**
|
|
1508
|
+
* Creates MPC ceremony rooms for the specified WAAS wallet.
|
|
1405
1509
|
* Create rooms for a waas mpc ceremony
|
|
1406
1510
|
*/
|
|
1407
1511
|
createRoomsRaw(requestParameters, initOverrides) {
|
|
@@ -1436,6 +1540,7 @@ class SDKApi extends BaseAPI {
|
|
|
1436
1540
|
});
|
|
1437
1541
|
}
|
|
1438
1542
|
/**
|
|
1543
|
+
* Creates MPC ceremony rooms for the specified WAAS wallet.
|
|
1439
1544
|
* Create rooms for a waas mpc ceremony
|
|
1440
1545
|
*/
|
|
1441
1546
|
createRooms(requestParameters, initOverrides) {
|
|
@@ -1475,6 +1580,7 @@ class SDKApi extends BaseAPI {
|
|
|
1475
1580
|
});
|
|
1476
1581
|
}
|
|
1477
1582
|
/**
|
|
1583
|
+
* Creates MPC ceremony rooms without requiring an existing wallet ID.
|
|
1478
1584
|
* Create rooms for a waas mpc ceremony without a walletId
|
|
1479
1585
|
*/
|
|
1480
1586
|
createRoomsWithoutWalletIdRaw(requestParameters, initOverrides) {
|
|
@@ -1506,6 +1612,7 @@ class SDKApi extends BaseAPI {
|
|
|
1506
1612
|
});
|
|
1507
1613
|
}
|
|
1508
1614
|
/**
|
|
1615
|
+
* Creates MPC ceremony rooms without requiring an existing wallet ID.
|
|
1509
1616
|
* Create rooms for a waas mpc ceremony without a walletId
|
|
1510
1617
|
*/
|
|
1511
1618
|
createRoomsWithoutWalletId(requestParameters, initOverrides) {
|
|
@@ -1542,7 +1649,8 @@ class SDKApi extends BaseAPI {
|
|
|
1542
1649
|
});
|
|
1543
1650
|
}
|
|
1544
1651
|
/**
|
|
1545
|
-
*
|
|
1652
|
+
* Initiates the SMS verification process and sends a verification code.
|
|
1653
|
+
* Initialize SMS verification process
|
|
1546
1654
|
*/
|
|
1547
1655
|
createSmsVerificationRaw(requestParameters, initOverrides) {
|
|
1548
1656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1566,7 +1674,8 @@ class SDKApi extends BaseAPI {
|
|
|
1566
1674
|
});
|
|
1567
1675
|
}
|
|
1568
1676
|
/**
|
|
1569
|
-
*
|
|
1677
|
+
* Initiates the SMS verification process and sends a verification code.
|
|
1678
|
+
* Initialize SMS verification process
|
|
1570
1679
|
*/
|
|
1571
1680
|
createSmsVerification(requestParameters, initOverrides) {
|
|
1572
1681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1637,7 +1746,7 @@ class SDKApi extends BaseAPI {
|
|
|
1637
1746
|
}
|
|
1638
1747
|
/**
|
|
1639
1748
|
* Create a new waas account
|
|
1640
|
-
* Create a
|
|
1749
|
+
* Create a WAAS wallet
|
|
1641
1750
|
*/
|
|
1642
1751
|
createWaasAccountRaw(requestParameters, initOverrides) {
|
|
1643
1752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1669,7 +1778,7 @@ class SDKApi extends BaseAPI {
|
|
|
1669
1778
|
}
|
|
1670
1779
|
/**
|
|
1671
1780
|
* Create a new waas account
|
|
1672
|
-
* Create a
|
|
1781
|
+
* Create a WAAS wallet
|
|
1673
1782
|
*/
|
|
1674
1783
|
createWaasAccount(requestParameters, initOverrides) {
|
|
1675
1784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1775,7 +1884,7 @@ class SDKApi extends BaseAPI {
|
|
|
1775
1884
|
}
|
|
1776
1885
|
/**
|
|
1777
1886
|
* Deletes the embedded wallets for a user
|
|
1778
|
-
*
|
|
1887
|
+
* Delete embedded wallets for a user
|
|
1779
1888
|
*/
|
|
1780
1889
|
deleteEmbeddedWalletsRaw(requestParameters, initOverrides) {
|
|
1781
1890
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1804,7 +1913,7 @@ class SDKApi extends BaseAPI {
|
|
|
1804
1913
|
}
|
|
1805
1914
|
/**
|
|
1806
1915
|
* Deletes the embedded wallets for a user
|
|
1807
|
-
*
|
|
1916
|
+
* Delete embedded wallets for a user
|
|
1808
1917
|
*/
|
|
1809
1918
|
deleteEmbeddedWallets(requestParameters, initOverrides) {
|
|
1810
1919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1812,7 +1921,8 @@ class SDKApi extends BaseAPI {
|
|
|
1812
1921
|
});
|
|
1813
1922
|
}
|
|
1814
1923
|
/**
|
|
1815
|
-
*
|
|
1924
|
+
* Permanently removes an MFA device from the authenticated user account.
|
|
1925
|
+
* Delete an MFA device
|
|
1816
1926
|
*/
|
|
1817
1927
|
deleteMfaDeviceRaw(requestParameters, initOverrides) {
|
|
1818
1928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1847,7 +1957,8 @@ class SDKApi extends BaseAPI {
|
|
|
1847
1957
|
});
|
|
1848
1958
|
}
|
|
1849
1959
|
/**
|
|
1850
|
-
*
|
|
1960
|
+
* Permanently removes an MFA device from the authenticated user account.
|
|
1961
|
+
* Delete an MFA device
|
|
1851
1962
|
*/
|
|
1852
1963
|
deleteMfaDevice(requestParameters, initOverrides) {
|
|
1853
1964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1855,6 +1966,7 @@ class SDKApi extends BaseAPI {
|
|
|
1855
1966
|
});
|
|
1856
1967
|
}
|
|
1857
1968
|
/**
|
|
1969
|
+
* Permanently removes a passkey from the authenticated user account.
|
|
1858
1970
|
* Delete a passkey
|
|
1859
1971
|
*/
|
|
1860
1972
|
deletePasskeyRaw(requestParameters, initOverrides) {
|
|
@@ -1886,6 +1998,7 @@ class SDKApi extends BaseAPI {
|
|
|
1886
1998
|
});
|
|
1887
1999
|
}
|
|
1888
2000
|
/**
|
|
2001
|
+
* Permanently removes a passkey from the authenticated user account.
|
|
1889
2002
|
* Delete a passkey
|
|
1890
2003
|
*/
|
|
1891
2004
|
deletePasskey(requestParameters, initOverrides) {
|
|
@@ -1969,7 +2082,8 @@ class SDKApi extends BaseAPI {
|
|
|
1969
2082
|
});
|
|
1970
2083
|
}
|
|
1971
2084
|
/**
|
|
1972
|
-
*
|
|
2085
|
+
* Disconnects the specified global wallet connection.
|
|
2086
|
+
* Disconnect a global wallet connection
|
|
1973
2087
|
*/
|
|
1974
2088
|
disconnectGlobalWalletConnectionRaw(requestParameters, initOverrides) {
|
|
1975
2089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1998,7 +2112,8 @@ class SDKApi extends BaseAPI {
|
|
|
1998
2112
|
});
|
|
1999
2113
|
}
|
|
2000
2114
|
/**
|
|
2001
|
-
*
|
|
2115
|
+
* Disconnects the specified global wallet connection.
|
|
2116
|
+
* Disconnect a global wallet connection
|
|
2002
2117
|
*/
|
|
2003
2118
|
disconnectGlobalWalletConnection(requestParameters, initOverrides) {
|
|
2004
2119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2222,7 +2337,8 @@ class SDKApi extends BaseAPI {
|
|
|
2222
2337
|
});
|
|
2223
2338
|
}
|
|
2224
2339
|
/**
|
|
2225
|
-
*
|
|
2340
|
+
* Exports the private key of a WAAS wallet through an MPC ceremony.
|
|
2341
|
+
* Export a WAAS wallet private key
|
|
2226
2342
|
*/
|
|
2227
2343
|
exportPrivateKeyRaw(requestParameters, initOverrides) {
|
|
2228
2344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2256,7 +2372,8 @@ class SDKApi extends BaseAPI {
|
|
|
2256
2372
|
});
|
|
2257
2373
|
}
|
|
2258
2374
|
/**
|
|
2259
|
-
*
|
|
2375
|
+
* Exports the private key of a WAAS wallet through an MPC ceremony.
|
|
2376
|
+
* Export a WAAS wallet private key
|
|
2260
2377
|
*/
|
|
2261
2378
|
exportPrivateKey(requestParameters, initOverrides) {
|
|
2262
2379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2295,7 +2412,8 @@ class SDKApi extends BaseAPI {
|
|
|
2295
2412
|
});
|
|
2296
2413
|
}
|
|
2297
2414
|
/**
|
|
2298
|
-
*
|
|
2415
|
+
* Authenticates a user using a token from an external auth provider.
|
|
2416
|
+
* Sign in with an external auth provider token
|
|
2299
2417
|
*/
|
|
2300
2418
|
externalAuthSigninRaw(requestParameters, initOverrides) {
|
|
2301
2419
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2326,7 +2444,8 @@ class SDKApi extends BaseAPI {
|
|
|
2326
2444
|
});
|
|
2327
2445
|
}
|
|
2328
2446
|
/**
|
|
2329
|
-
*
|
|
2447
|
+
* Authenticates a user using a token from an external auth provider.
|
|
2448
|
+
* Sign in with an external auth provider token
|
|
2330
2449
|
*/
|
|
2331
2450
|
externalAuthSignin(requestParameters, initOverrides) {
|
|
2332
2451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2362,6 +2481,7 @@ class SDKApi extends BaseAPI {
|
|
|
2362
2481
|
});
|
|
2363
2482
|
}
|
|
2364
2483
|
/**
|
|
2484
|
+
* [DEPRECATED] Please use /externalAuth/signin instead.
|
|
2365
2485
|
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
2366
2486
|
*/
|
|
2367
2487
|
externalAuthVerifyRaw(requestParameters, initOverrides) {
|
|
@@ -2393,6 +2513,7 @@ class SDKApi extends BaseAPI {
|
|
|
2393
2513
|
});
|
|
2394
2514
|
}
|
|
2395
2515
|
/**
|
|
2516
|
+
* [DEPRECATED] Please use /externalAuth/signin instead.
|
|
2396
2517
|
* [DEPRECATED] Please use /externalAuth/signin instead
|
|
2397
2518
|
*/
|
|
2398
2519
|
externalAuthVerify(requestParameters, initOverrides) {
|
|
@@ -2429,7 +2550,7 @@ class SDKApi extends BaseAPI {
|
|
|
2429
2550
|
}
|
|
2430
2551
|
/**
|
|
2431
2552
|
* Farcaster SignIn endpoint to exchange SIWF data
|
|
2432
|
-
*
|
|
2553
|
+
* Sign in with Farcaster
|
|
2433
2554
|
*/
|
|
2434
2555
|
farcasterSignInRaw(requestParameters, initOverrides) {
|
|
2435
2556
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2451,7 +2572,7 @@ class SDKApi extends BaseAPI {
|
|
|
2451
2572
|
}
|
|
2452
2573
|
/**
|
|
2453
2574
|
* Farcaster SignIn endpoint to exchange SIWF data
|
|
2454
|
-
*
|
|
2575
|
+
* Sign in with Farcaster
|
|
2455
2576
|
*/
|
|
2456
2577
|
farcasterSignIn(requestParameters, initOverrides) {
|
|
2457
2578
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2488,7 +2609,7 @@ class SDKApi extends BaseAPI {
|
|
|
2488
2609
|
}
|
|
2489
2610
|
/**
|
|
2490
2611
|
* Farcaster Verify endpoint to exchange SIWF data
|
|
2491
|
-
* Farcaster
|
|
2612
|
+
* Verify Farcaster account linking
|
|
2492
2613
|
*/
|
|
2493
2614
|
farcasterVerifyRaw(requestParameters, initOverrides) {
|
|
2494
2615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2517,7 +2638,7 @@ class SDKApi extends BaseAPI {
|
|
|
2517
2638
|
}
|
|
2518
2639
|
/**
|
|
2519
2640
|
* Farcaster Verify endpoint to exchange SIWF data
|
|
2520
|
-
* Farcaster
|
|
2641
|
+
* Verify Farcaster account linking
|
|
2521
2642
|
*/
|
|
2522
2643
|
farcasterVerify(requestParameters, initOverrides) {
|
|
2523
2644
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2553,6 +2674,7 @@ class SDKApi extends BaseAPI {
|
|
|
2553
2674
|
});
|
|
2554
2675
|
}
|
|
2555
2676
|
/**
|
|
2677
|
+
* Generates a Coinbase onramp buy URL for purchasing crypto.
|
|
2556
2678
|
* Generate a Coinbase onramp buy URL
|
|
2557
2679
|
*/
|
|
2558
2680
|
generateCoinbaseOnrampBuyUrlRaw(requestParameters, initOverrides) {
|
|
@@ -2577,6 +2699,7 @@ class SDKApi extends BaseAPI {
|
|
|
2577
2699
|
});
|
|
2578
2700
|
}
|
|
2579
2701
|
/**
|
|
2702
|
+
* Generates a Coinbase onramp buy URL for purchasing crypto.
|
|
2580
2703
|
* Generate a Coinbase onramp buy URL
|
|
2581
2704
|
*/
|
|
2582
2705
|
generateCoinbaseOnrampBuyUrl(requestParameters, initOverrides) {
|
|
@@ -2586,7 +2709,8 @@ class SDKApi extends BaseAPI {
|
|
|
2586
2709
|
});
|
|
2587
2710
|
}
|
|
2588
2711
|
/**
|
|
2589
|
-
*
|
|
2712
|
+
* Returns the token balances for a specific account address on a given chain.
|
|
2713
|
+
* Get token balances for an account
|
|
2590
2714
|
*/
|
|
2591
2715
|
getAccountBalancesRaw(requestParameters, initOverrides) {
|
|
2592
2716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2632,7 +2756,8 @@ class SDKApi extends BaseAPI {
|
|
|
2632
2756
|
});
|
|
2633
2757
|
}
|
|
2634
2758
|
/**
|
|
2635
|
-
*
|
|
2759
|
+
* Returns the token balances for a specific account address on a given chain.
|
|
2760
|
+
* Get token balances for an account
|
|
2636
2761
|
*/
|
|
2637
2762
|
getAccountBalances(requestParameters, initOverrides) {
|
|
2638
2763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2686,7 +2811,8 @@ class SDKApi extends BaseAPI {
|
|
|
2686
2811
|
});
|
|
2687
2812
|
}
|
|
2688
2813
|
/**
|
|
2689
|
-
*
|
|
2814
|
+
* Returns an auth token for the specified embedded wallet type.
|
|
2815
|
+
* Get an auth token for an embedded wallet type
|
|
2690
2816
|
*/
|
|
2691
2817
|
getAuthTokenRaw(requestParameters, initOverrides) {
|
|
2692
2818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2715,7 +2841,8 @@ class SDKApi extends BaseAPI {
|
|
|
2715
2841
|
});
|
|
2716
2842
|
}
|
|
2717
2843
|
/**
|
|
2718
|
-
*
|
|
2844
|
+
* Returns an auth token for the specified embedded wallet type.
|
|
2845
|
+
* Get an auth token for an embedded wallet type
|
|
2719
2846
|
*/
|
|
2720
2847
|
getAuthToken(requestParameters, initOverrides) {
|
|
2721
2848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2751,7 +2878,8 @@ class SDKApi extends BaseAPI {
|
|
|
2751
2878
|
});
|
|
2752
2879
|
}
|
|
2753
2880
|
/**
|
|
2754
|
-
*
|
|
2881
|
+
* Returns the full profile of the currently authenticated user.
|
|
2882
|
+
* Get the current user\'s profile
|
|
2755
2883
|
*/
|
|
2756
2884
|
getAuthenticatedUserRaw(requestParameters, initOverrides) {
|
|
2757
2885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2777,7 +2905,8 @@ class SDKApi extends BaseAPI {
|
|
|
2777
2905
|
});
|
|
2778
2906
|
}
|
|
2779
2907
|
/**
|
|
2780
|
-
*
|
|
2908
|
+
* Returns the full profile of the currently authenticated user.
|
|
2909
|
+
* Get the current user\'s profile
|
|
2781
2910
|
*/
|
|
2782
2911
|
getAuthenticatedUser(requestParameters, initOverrides) {
|
|
2783
2912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2874,7 +3003,7 @@ class SDKApi extends BaseAPI {
|
|
|
2874
3003
|
}
|
|
2875
3004
|
/**
|
|
2876
3005
|
* Generates the request body for a user\'s create V2 wallet account request
|
|
2877
|
-
*
|
|
3006
|
+
* Generate the create wallet account request body
|
|
2878
3007
|
*/
|
|
2879
3008
|
getCreateWalletAccountRequestRaw(requestParameters, initOverrides) {
|
|
2880
3009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2907,7 +3036,7 @@ class SDKApi extends BaseAPI {
|
|
|
2907
3036
|
}
|
|
2908
3037
|
/**
|
|
2909
3038
|
* Generates the request body for a user\'s create V2 wallet account request
|
|
2910
|
-
*
|
|
3039
|
+
* Generate the create wallet account request body
|
|
2911
3040
|
*/
|
|
2912
3041
|
getCreateWalletAccountRequest(requestParameters, initOverrides) {
|
|
2913
3042
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2917,6 +3046,7 @@ class SDKApi extends BaseAPI {
|
|
|
2917
3046
|
}
|
|
2918
3047
|
/**
|
|
2919
3048
|
* Exchange rates for the given currency
|
|
3049
|
+
* Get currency exchange rates
|
|
2920
3050
|
*/
|
|
2921
3051
|
getCurrencyExchangeRatesRaw(requestParameters, initOverrides) {
|
|
2922
3052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2936,6 +3066,7 @@ class SDKApi extends BaseAPI {
|
|
|
2936
3066
|
}
|
|
2937
3067
|
/**
|
|
2938
3068
|
* Exchange rates for the given currency
|
|
3069
|
+
* Get currency exchange rates
|
|
2939
3070
|
*/
|
|
2940
3071
|
getCurrencyExchangeRates(requestParameters, initOverrides) {
|
|
2941
3072
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2972,7 +3103,7 @@ class SDKApi extends BaseAPI {
|
|
|
2972
3103
|
}
|
|
2973
3104
|
/**
|
|
2974
3105
|
* 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.
|
|
2975
|
-
* Get
|
|
3106
|
+
* Get the sign-in email provider
|
|
2976
3107
|
*/
|
|
2977
3108
|
getEmailProviderRaw(requestParameters, initOverrides) {
|
|
2978
3109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2998,7 +3129,7 @@ class SDKApi extends BaseAPI {
|
|
|
2998
3129
|
}
|
|
2999
3130
|
/**
|
|
3000
3131
|
* 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.
|
|
3001
|
-
* Get
|
|
3132
|
+
* Get the sign-in email provider
|
|
3002
3133
|
*/
|
|
3003
3134
|
getEmailProvider(requestParameters, initOverrides) {
|
|
3004
3135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3034,7 +3165,8 @@ class SDKApi extends BaseAPI {
|
|
|
3034
3165
|
});
|
|
3035
3166
|
}
|
|
3036
3167
|
/**
|
|
3037
|
-
*
|
|
3168
|
+
* Returns the backup key for an embedded wallet.
|
|
3169
|
+
* Get the backup key for an embedded wallet
|
|
3038
3170
|
*/
|
|
3039
3171
|
getEmbeddedWalletBackupsRaw(requestParameters, initOverrides) {
|
|
3040
3172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3060,7 +3192,8 @@ class SDKApi extends BaseAPI {
|
|
|
3060
3192
|
});
|
|
3061
3193
|
}
|
|
3062
3194
|
/**
|
|
3063
|
-
*
|
|
3195
|
+
* Returns the backup key for an embedded wallet.
|
|
3196
|
+
* Get the backup key for an embedded wallet
|
|
3064
3197
|
*/
|
|
3065
3198
|
getEmbeddedWalletBackups(requestParameters, initOverrides) {
|
|
3066
3199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3069,7 +3202,8 @@ class SDKApi extends BaseAPI {
|
|
|
3069
3202
|
});
|
|
3070
3203
|
}
|
|
3071
3204
|
/**
|
|
3072
|
-
*
|
|
3205
|
+
* Returns the passcode for a pregenerated embedded wallet.
|
|
3206
|
+
* Get the passcode for a pregenerated embedded wallet
|
|
3073
3207
|
*/
|
|
3074
3208
|
getEmbeddedWalletPasscodeRaw(requestParameters, initOverrides) {
|
|
3075
3209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3095,7 +3229,8 @@ class SDKApi extends BaseAPI {
|
|
|
3095
3229
|
});
|
|
3096
3230
|
}
|
|
3097
3231
|
/**
|
|
3098
|
-
*
|
|
3232
|
+
* Returns the passcode for a pregenerated embedded wallet.
|
|
3233
|
+
* Get the passcode for a pregenerated embedded wallet
|
|
3099
3234
|
*/
|
|
3100
3235
|
getEmbeddedWalletPasscode(requestParameters, initOverrides) {
|
|
3101
3236
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3132,7 +3267,7 @@ class SDKApi extends BaseAPI {
|
|
|
3132
3267
|
}
|
|
3133
3268
|
/**
|
|
3134
3269
|
* Generates the request body for a user\'s delete V2 wallets request
|
|
3135
|
-
*
|
|
3270
|
+
* Generate the delete wallets request body
|
|
3136
3271
|
*/
|
|
3137
3272
|
getEmbeddedWalletsDeleteRequestRaw(requestParameters, initOverrides) {
|
|
3138
3273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3162,7 +3297,7 @@ class SDKApi extends BaseAPI {
|
|
|
3162
3297
|
}
|
|
3163
3298
|
/**
|
|
3164
3299
|
* Generates the request body for a user\'s delete V2 wallets request
|
|
3165
|
-
*
|
|
3300
|
+
* Generate the delete wallets request body
|
|
3166
3301
|
*/
|
|
3167
3302
|
getEmbeddedWalletsDeleteRequest(requestParameters, initOverrides) {
|
|
3168
3303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3171,6 +3306,7 @@ class SDKApi extends BaseAPI {
|
|
|
3171
3306
|
});
|
|
3172
3307
|
}
|
|
3173
3308
|
/**
|
|
3309
|
+
* Returns the OAuth access token for the specified user OAuth account.
|
|
3174
3310
|
* Get the access token for a user OAuth account
|
|
3175
3311
|
*/
|
|
3176
3312
|
getEndUserOauthAccessTokenRaw(requestParameters, initOverrides) {
|
|
@@ -3193,6 +3329,7 @@ class SDKApi extends BaseAPI {
|
|
|
3193
3329
|
});
|
|
3194
3330
|
}
|
|
3195
3331
|
/**
|
|
3332
|
+
* Returns the OAuth access token for the specified user OAuth account.
|
|
3196
3333
|
* Get the access token for a user OAuth account
|
|
3197
3334
|
*/
|
|
3198
3335
|
getEndUserOauthAccessToken(requestParameters, initOverrides) {
|
|
@@ -3232,7 +3369,8 @@ class SDKApi extends BaseAPI {
|
|
|
3232
3369
|
});
|
|
3233
3370
|
}
|
|
3234
3371
|
/**
|
|
3235
|
-
*
|
|
3372
|
+
* Returns the project settings and configuration for the specified environment.
|
|
3373
|
+
* Get environment settings
|
|
3236
3374
|
*/
|
|
3237
3375
|
getEnvironmentSettingsRaw(requestParameters, initOverrides) {
|
|
3238
3376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3254,7 +3392,8 @@ class SDKApi extends BaseAPI {
|
|
|
3254
3392
|
});
|
|
3255
3393
|
}
|
|
3256
3394
|
/**
|
|
3257
|
-
*
|
|
3395
|
+
* Returns the project settings and configuration for the specified environment.
|
|
3396
|
+
* Get environment settings
|
|
3258
3397
|
*/
|
|
3259
3398
|
getEnvironmentSettings(requestParameters, initOverrides) {
|
|
3260
3399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3264,6 +3403,7 @@ class SDKApi extends BaseAPI {
|
|
|
3264
3403
|
}
|
|
3265
3404
|
/**
|
|
3266
3405
|
* Exchange rates for the given currency
|
|
3406
|
+
* Get exchange rates
|
|
3267
3407
|
*/
|
|
3268
3408
|
getExchangeRatesRaw(initOverrides) {
|
|
3269
3409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3280,6 +3420,7 @@ class SDKApi extends BaseAPI {
|
|
|
3280
3420
|
}
|
|
3281
3421
|
/**
|
|
3282
3422
|
* Exchange rates for the given currency
|
|
3423
|
+
* Get exchange rates
|
|
3283
3424
|
*/
|
|
3284
3425
|
getExchangeRates(initOverrides) {
|
|
3285
3426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3312,6 +3453,7 @@ class SDKApi extends BaseAPI {
|
|
|
3312
3453
|
});
|
|
3313
3454
|
}
|
|
3314
3455
|
/**
|
|
3456
|
+
* Returns the exchange account transactions for the authenticated user.
|
|
3315
3457
|
* Get the exchange account transactions for a given dynamic user
|
|
3316
3458
|
*/
|
|
3317
3459
|
getExchangeTransactionsRaw(requestParameters, initOverrides) {
|
|
@@ -3344,6 +3486,7 @@ class SDKApi extends BaseAPI {
|
|
|
3344
3486
|
});
|
|
3345
3487
|
}
|
|
3346
3488
|
/**
|
|
3489
|
+
* Returns the exchange account transactions for the authenticated user.
|
|
3347
3490
|
* Get the exchange account transactions for a given dynamic user
|
|
3348
3491
|
*/
|
|
3349
3492
|
getExchangeTransactions(requestParameters, initOverrides) {
|
|
@@ -3383,6 +3526,7 @@ class SDKApi extends BaseAPI {
|
|
|
3383
3526
|
});
|
|
3384
3527
|
}
|
|
3385
3528
|
/**
|
|
3529
|
+
* Returns the available transfer destinations for exchange account transactions.
|
|
3386
3530
|
* Get the available exchange transfer destinations for account transactions for a given dynamic user
|
|
3387
3531
|
*/
|
|
3388
3532
|
getExchangeTransferDestinationsRaw(requestParameters, initOverrides) {
|
|
@@ -3412,6 +3556,7 @@ class SDKApi extends BaseAPI {
|
|
|
3412
3556
|
});
|
|
3413
3557
|
}
|
|
3414
3558
|
/**
|
|
3559
|
+
* Returns the available transfer destinations for exchange account transactions.
|
|
3415
3560
|
* Get the available exchange transfer destinations for account transactions for a given dynamic user
|
|
3416
3561
|
*/
|
|
3417
3562
|
getExchangeTransferDestinations(requestParameters, initOverrides) {
|
|
@@ -3451,6 +3596,7 @@ class SDKApi extends BaseAPI {
|
|
|
3451
3596
|
});
|
|
3452
3597
|
}
|
|
3453
3598
|
/**
|
|
3599
|
+
* Returns the global wallet settings configured for the specified environment.
|
|
3454
3600
|
* Get the global wallet settings for the environment
|
|
3455
3601
|
*/
|
|
3456
3602
|
getGlobalWalletsSettingsRaw(requestParameters, initOverrides) {
|
|
@@ -3470,6 +3616,7 @@ class SDKApi extends BaseAPI {
|
|
|
3470
3616
|
});
|
|
3471
3617
|
}
|
|
3472
3618
|
/**
|
|
3619
|
+
* Returns the global wallet settings configured for the specified environment.
|
|
3473
3620
|
* Get the global wallet settings for the environment
|
|
3474
3621
|
*/
|
|
3475
3622
|
getGlobalWalletsSettings(requestParameters, initOverrides) {
|
|
@@ -3480,6 +3627,7 @@ class SDKApi extends BaseAPI {
|
|
|
3480
3627
|
}
|
|
3481
3628
|
/**
|
|
3482
3629
|
* Health check endpoint to check for uptime of API.
|
|
3630
|
+
* Check API health
|
|
3483
3631
|
*/
|
|
3484
3632
|
getHealthcheckRaw(requestParameters, initOverrides) {
|
|
3485
3633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3499,6 +3647,7 @@ class SDKApi extends BaseAPI {
|
|
|
3499
3647
|
}
|
|
3500
3648
|
/**
|
|
3501
3649
|
* Health check endpoint to check for uptime of API.
|
|
3650
|
+
* Check API health
|
|
3502
3651
|
*/
|
|
3503
3652
|
getHealthcheck(requestParameters, initOverrides) {
|
|
3504
3653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3534,7 +3683,8 @@ class SDKApi extends BaseAPI {
|
|
|
3534
3683
|
});
|
|
3535
3684
|
}
|
|
3536
3685
|
/**
|
|
3537
|
-
*
|
|
3686
|
+
* Returns the JSON Web Key Set (JWKS) for the specified environment.
|
|
3687
|
+
* Get JWKS for the environment
|
|
3538
3688
|
*/
|
|
3539
3689
|
getJwksByEnvironmentIdRaw(requestParameters, initOverrides) {
|
|
3540
3690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3553,7 +3703,8 @@ class SDKApi extends BaseAPI {
|
|
|
3553
3703
|
});
|
|
3554
3704
|
}
|
|
3555
3705
|
/**
|
|
3556
|
-
*
|
|
3706
|
+
* Returns the JSON Web Key Set (JWKS) for the specified environment.
|
|
3707
|
+
* Get JWKS for the environment
|
|
3557
3708
|
*/
|
|
3558
3709
|
getJwksByEnvironmentId(requestParameters, initOverrides) {
|
|
3559
3710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3562,7 +3713,8 @@ class SDKApi extends BaseAPI {
|
|
|
3562
3713
|
});
|
|
3563
3714
|
}
|
|
3564
3715
|
/**
|
|
3565
|
-
*
|
|
3716
|
+
* Returns the JSON Web Key Set (JWKS) in JSON format for the specified environment.
|
|
3717
|
+
* Get JWKS for the environment (JSON format)
|
|
3566
3718
|
*/
|
|
3567
3719
|
getJwksJsonByEnvironmentIdRaw(requestParameters, initOverrides) {
|
|
3568
3720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3581,7 +3733,8 @@ class SDKApi extends BaseAPI {
|
|
|
3581
3733
|
});
|
|
3582
3734
|
}
|
|
3583
3735
|
/**
|
|
3584
|
-
*
|
|
3736
|
+
* Returns the JSON Web Key Set (JWKS) in JSON format for the specified environment.
|
|
3737
|
+
* Get JWKS for the environment (JSON format)
|
|
3585
3738
|
*/
|
|
3586
3739
|
getJwksJsonByEnvironmentId(requestParameters, initOverrides) {
|
|
3587
3740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3590,7 +3743,8 @@ class SDKApi extends BaseAPI {
|
|
|
3590
3743
|
});
|
|
3591
3744
|
}
|
|
3592
3745
|
/**
|
|
3593
|
-
*
|
|
3746
|
+
* Returns details of a specific MFA device by its ID.
|
|
3747
|
+
* Get an MFA device by ID
|
|
3594
3748
|
*/
|
|
3595
3749
|
getMfaDeviceRaw(requestParameters, initOverrides) {
|
|
3596
3750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3619,7 +3773,8 @@ class SDKApi extends BaseAPI {
|
|
|
3619
3773
|
});
|
|
3620
3774
|
}
|
|
3621
3775
|
/**
|
|
3622
|
-
*
|
|
3776
|
+
* Returns details of a specific MFA device by its ID.
|
|
3777
|
+
* Get an MFA device by ID
|
|
3623
3778
|
*/
|
|
3624
3779
|
getMfaDevice(requestParameters, initOverrides) {
|
|
3625
3780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3658,7 +3813,8 @@ class SDKApi extends BaseAPI {
|
|
|
3658
3813
|
});
|
|
3659
3814
|
}
|
|
3660
3815
|
/**
|
|
3661
|
-
*
|
|
3816
|
+
* Returns the network configurations enabled for the specified environment.
|
|
3817
|
+
* Get network configurations for the environment
|
|
3662
3818
|
*/
|
|
3663
3819
|
getNetworksConfigurationByEnvIdRaw(requestParameters, initOverrides) {
|
|
3664
3820
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3677,7 +3833,8 @@ class SDKApi extends BaseAPI {
|
|
|
3677
3833
|
});
|
|
3678
3834
|
}
|
|
3679
3835
|
/**
|
|
3680
|
-
*
|
|
3836
|
+
* Returns the network configurations enabled for the specified environment.
|
|
3837
|
+
* Get network configurations for the environment
|
|
3681
3838
|
*/
|
|
3682
3839
|
getNetworksConfigurationByEnvId(requestParameters, initOverrides) {
|
|
3683
3840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3686,6 +3843,7 @@ class SDKApi extends BaseAPI {
|
|
|
3686
3843
|
});
|
|
3687
3844
|
}
|
|
3688
3845
|
/**
|
|
3846
|
+
* Creates and returns a nonce for use in the wallet authentication flow.
|
|
3689
3847
|
* Create nonce for authentication flow
|
|
3690
3848
|
*/
|
|
3691
3849
|
getNonceRaw(requestParameters, initOverrides) {
|
|
@@ -3705,6 +3863,7 @@ class SDKApi extends BaseAPI {
|
|
|
3705
3863
|
});
|
|
3706
3864
|
}
|
|
3707
3865
|
/**
|
|
3866
|
+
* Creates and returns a nonce for use in the wallet authentication flow.
|
|
3708
3867
|
* Create nonce for authentication flow
|
|
3709
3868
|
*/
|
|
3710
3869
|
getNonce(requestParameters, initOverrides) {
|
|
@@ -3714,7 +3873,8 @@ class SDKApi extends BaseAPI {
|
|
|
3714
3873
|
});
|
|
3715
3874
|
}
|
|
3716
3875
|
/**
|
|
3717
|
-
*
|
|
3876
|
+
* Returns the WebAuthn authentication options for passkey verification.
|
|
3877
|
+
* Get passkey authentication options
|
|
3718
3878
|
*/
|
|
3719
3879
|
getPasskeyAuthenticationOptionsRaw(requestParameters, initOverrides) {
|
|
3720
3880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3743,7 +3903,8 @@ class SDKApi extends BaseAPI {
|
|
|
3743
3903
|
});
|
|
3744
3904
|
}
|
|
3745
3905
|
/**
|
|
3746
|
-
*
|
|
3906
|
+
* Returns the WebAuthn authentication options for passkey verification.
|
|
3907
|
+
* Get passkey authentication options
|
|
3747
3908
|
*/
|
|
3748
3909
|
getPasskeyAuthenticationOptions(requestParameters, initOverrides) {
|
|
3749
3910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3782,7 +3943,8 @@ class SDKApi extends BaseAPI {
|
|
|
3782
3943
|
});
|
|
3783
3944
|
}
|
|
3784
3945
|
/**
|
|
3785
|
-
*
|
|
3946
|
+
* Returns the WebAuthn authentication options for passkey sign-in.
|
|
3947
|
+
* Get passkey sign-in options
|
|
3786
3948
|
*/
|
|
3787
3949
|
getPasskeyAuthenticationSigninOptionsRaw(requestParameters, initOverrides) {
|
|
3788
3950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3804,7 +3966,8 @@ class SDKApi extends BaseAPI {
|
|
|
3804
3966
|
});
|
|
3805
3967
|
}
|
|
3806
3968
|
/**
|
|
3807
|
-
*
|
|
3969
|
+
* Returns the WebAuthn authentication options for passkey sign-in.
|
|
3970
|
+
* Get passkey sign-in options
|
|
3808
3971
|
*/
|
|
3809
3972
|
getPasskeyAuthenticationSigninOptions(requestParameters, initOverrides) {
|
|
3810
3973
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3813,7 +3976,8 @@ class SDKApi extends BaseAPI {
|
|
|
3813
3976
|
});
|
|
3814
3977
|
}
|
|
3815
3978
|
/**
|
|
3816
|
-
*
|
|
3979
|
+
* Returns the WebAuthn registration options needed to register a new passkey.
|
|
3980
|
+
* Get user passkeys
|
|
3817
3981
|
*/
|
|
3818
3982
|
getPasskeyRegistrationOptionsRaw(requestParameters, initOverrides) {
|
|
3819
3983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3832,7 +3996,8 @@ class SDKApi extends BaseAPI {
|
|
|
3832
3996
|
});
|
|
3833
3997
|
}
|
|
3834
3998
|
/**
|
|
3835
|
-
*
|
|
3999
|
+
* Returns the WebAuthn registration options needed to register a new passkey.
|
|
4000
|
+
* Get user passkeys
|
|
3836
4001
|
*/
|
|
3837
4002
|
getPasskeyRegistrationOptions(requestParameters, initOverrides) {
|
|
3838
4003
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3868,6 +4033,7 @@ class SDKApi extends BaseAPI {
|
|
|
3868
4033
|
});
|
|
3869
4034
|
}
|
|
3870
4035
|
/**
|
|
4036
|
+
* Returns the MFA recovery codes for the authenticated user.
|
|
3871
4037
|
* Get recovery codes
|
|
3872
4038
|
*/
|
|
3873
4039
|
getRecoveryCodesRaw(requestParameters, initOverrides) {
|
|
@@ -3894,6 +4060,7 @@ class SDKApi extends BaseAPI {
|
|
|
3894
4060
|
});
|
|
3895
4061
|
}
|
|
3896
4062
|
/**
|
|
4063
|
+
* Returns the MFA recovery codes for the authenticated user.
|
|
3897
4064
|
* Get recovery codes
|
|
3898
4065
|
*/
|
|
3899
4066
|
getRecoveryCodes(requestParameters, initOverrides) {
|
|
@@ -3904,7 +4071,7 @@ class SDKApi extends BaseAPI {
|
|
|
3904
4071
|
}
|
|
3905
4072
|
/**
|
|
3906
4073
|
* Find the configuration for the enabled offramps associated to an environment
|
|
3907
|
-
*
|
|
4074
|
+
* Get enabled offramps for the environment
|
|
3908
4075
|
*/
|
|
3909
4076
|
getSupportedOfframpsRaw(requestParameters, initOverrides) {
|
|
3910
4077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3942,7 +4109,7 @@ class SDKApi extends BaseAPI {
|
|
|
3942
4109
|
}
|
|
3943
4110
|
/**
|
|
3944
4111
|
* Find the configuration for the enabled offramps associated to an environment
|
|
3945
|
-
*
|
|
4112
|
+
* Get enabled offramps for the environment
|
|
3946
4113
|
*/
|
|
3947
4114
|
getSupportedOfframps(requestParameters, initOverrides) {
|
|
3948
4115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3952,7 +4119,7 @@ class SDKApi extends BaseAPI {
|
|
|
3952
4119
|
}
|
|
3953
4120
|
/**
|
|
3954
4121
|
* Find the configuration for the enabled onramps associated to an environment
|
|
3955
|
-
*
|
|
4122
|
+
* Get enabled onramps for the environment
|
|
3956
4123
|
*/
|
|
3957
4124
|
getSupportedOnrampsRaw(requestParameters, initOverrides) {
|
|
3958
4125
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4002,7 +4169,7 @@ class SDKApi extends BaseAPI {
|
|
|
4002
4169
|
}
|
|
4003
4170
|
/**
|
|
4004
4171
|
* Find the configuration for the enabled onramps associated to an environment
|
|
4005
|
-
*
|
|
4172
|
+
* Get enabled onramps for the environment
|
|
4006
4173
|
*/
|
|
4007
4174
|
getSupportedOnramps(requestParameters, initOverrides) {
|
|
4008
4175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4011,7 +4178,8 @@ class SDKApi extends BaseAPI {
|
|
|
4011
4178
|
});
|
|
4012
4179
|
}
|
|
4013
4180
|
/**
|
|
4014
|
-
*
|
|
4181
|
+
* Returns the HTML content for the Telegram login widget.
|
|
4182
|
+
* Get Telegram login widget HTML
|
|
4015
4183
|
*/
|
|
4016
4184
|
getTelegramAuthRaw(requestParameters, initOverrides) {
|
|
4017
4185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4036,7 +4204,8 @@ class SDKApi extends BaseAPI {
|
|
|
4036
4204
|
});
|
|
4037
4205
|
}
|
|
4038
4206
|
/**
|
|
4039
|
-
*
|
|
4207
|
+
* Returns the HTML content for the Telegram login widget.
|
|
4208
|
+
* Get Telegram login widget HTML
|
|
4040
4209
|
*/
|
|
4041
4210
|
getTelegramAuth(requestParameters, initOverrides) {
|
|
4042
4211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4045,6 +4214,7 @@ class SDKApi extends BaseAPI {
|
|
|
4045
4214
|
});
|
|
4046
4215
|
}
|
|
4047
4216
|
/**
|
|
4217
|
+
* Returns account balances for the specified user addresses.
|
|
4048
4218
|
* Get account balances for multiple addresses
|
|
4049
4219
|
*/
|
|
4050
4220
|
getUserAccountBalancesRaw(requestParameters, initOverrides) {
|
|
@@ -4072,6 +4242,7 @@ class SDKApi extends BaseAPI {
|
|
|
4072
4242
|
});
|
|
4073
4243
|
}
|
|
4074
4244
|
/**
|
|
4245
|
+
* Returns account balances for the specified user addresses.
|
|
4075
4246
|
* Get account balances for multiple addresses
|
|
4076
4247
|
*/
|
|
4077
4248
|
getUserAccountBalances(requestParameters, initOverrides) {
|
|
@@ -4081,6 +4252,7 @@ class SDKApi extends BaseAPI {
|
|
|
4081
4252
|
});
|
|
4082
4253
|
}
|
|
4083
4254
|
/**
|
|
4255
|
+
* Returns the exchange accounts for the authenticated user on the specified exchange.
|
|
4084
4256
|
* Get the exchange accounts for a given dynamic user
|
|
4085
4257
|
*/
|
|
4086
4258
|
getUserAccountsRaw(requestParameters, initOverrides) {
|
|
@@ -4116,6 +4288,7 @@ class SDKApi extends BaseAPI {
|
|
|
4116
4288
|
});
|
|
4117
4289
|
}
|
|
4118
4290
|
/**
|
|
4291
|
+
* Returns the exchange accounts for the authenticated user on the specified exchange.
|
|
4119
4292
|
* Get the exchange accounts for a given dynamic user
|
|
4120
4293
|
*/
|
|
4121
4294
|
getUserAccounts(requestParameters, initOverrides) {
|
|
@@ -4222,7 +4395,8 @@ class SDKApi extends BaseAPI {
|
|
|
4222
4395
|
});
|
|
4223
4396
|
}
|
|
4224
4397
|
/**
|
|
4225
|
-
*
|
|
4398
|
+
* Returns the list of MFA devices registered for the authenticated user.
|
|
4399
|
+
* Get the current user\'s MFA devices
|
|
4226
4400
|
*/
|
|
4227
4401
|
getUserMfaDevicesRaw(requestParameters, initOverrides) {
|
|
4228
4402
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4248,7 +4422,8 @@ class SDKApi extends BaseAPI {
|
|
|
4248
4422
|
});
|
|
4249
4423
|
}
|
|
4250
4424
|
/**
|
|
4251
|
-
*
|
|
4425
|
+
* Returns the list of MFA devices registered for the authenticated user.
|
|
4426
|
+
* Get the current user\'s MFA devices
|
|
4252
4427
|
*/
|
|
4253
4428
|
getUserMfaDevices(requestParameters, initOverrides) {
|
|
4254
4429
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4257,7 +4432,8 @@ class SDKApi extends BaseAPI {
|
|
|
4257
4432
|
});
|
|
4258
4433
|
}
|
|
4259
4434
|
/**
|
|
4260
|
-
*
|
|
4435
|
+
* Returns the available MFA methods for the authenticated user.
|
|
4436
|
+
* Get the current user\'s MFA methods
|
|
4261
4437
|
*/
|
|
4262
4438
|
getUserMfaMethodsRaw(requestParameters, initOverrides) {
|
|
4263
4439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4286,7 +4462,8 @@ class SDKApi extends BaseAPI {
|
|
|
4286
4462
|
});
|
|
4287
4463
|
}
|
|
4288
4464
|
/**
|
|
4289
|
-
*
|
|
4465
|
+
* Returns the available MFA methods for the authenticated user.
|
|
4466
|
+
* Get the current user\'s MFA methods
|
|
4290
4467
|
*/
|
|
4291
4468
|
getUserMfaMethods(requestParameters, initOverrides) {
|
|
4292
4469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4295,7 +4472,8 @@ class SDKApi extends BaseAPI {
|
|
|
4295
4472
|
});
|
|
4296
4473
|
}
|
|
4297
4474
|
/**
|
|
4298
|
-
*
|
|
4475
|
+
* Returns the list of passkeys registered for the authenticated user.
|
|
4476
|
+
* Get user passkeys
|
|
4299
4477
|
*/
|
|
4300
4478
|
getUserPasskeysRaw(requestParameters, initOverrides) {
|
|
4301
4479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4321,7 +4499,8 @@ class SDKApi extends BaseAPI {
|
|
|
4321
4499
|
});
|
|
4322
4500
|
}
|
|
4323
4501
|
/**
|
|
4324
|
-
*
|
|
4502
|
+
* Returns the list of passkeys registered for the authenticated user.
|
|
4503
|
+
* Get user passkeys
|
|
4325
4504
|
*/
|
|
4326
4505
|
getUserPasskeys(requestParameters, initOverrides) {
|
|
4327
4506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4331,7 +4510,7 @@ class SDKApi extends BaseAPI {
|
|
|
4331
4510
|
}
|
|
4332
4511
|
/**
|
|
4333
4512
|
* 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.
|
|
4334
|
-
*
|
|
4513
|
+
* Get a WAAS wallet by address
|
|
4335
4514
|
*/
|
|
4336
4515
|
getWaasWalletWithVerifiedCredentialsRaw(requestParameters, initOverrides) {
|
|
4337
4516
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4361,7 +4540,7 @@ class SDKApi extends BaseAPI {
|
|
|
4361
4540
|
}
|
|
4362
4541
|
/**
|
|
4363
4542
|
* 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.
|
|
4364
|
-
*
|
|
4543
|
+
* Get a WAAS wallet by address
|
|
4365
4544
|
*/
|
|
4366
4545
|
getWaasWalletWithVerifiedCredentials(requestParameters, initOverrides) {
|
|
4367
4546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4555,7 +4734,7 @@ class SDKApi extends BaseAPI {
|
|
|
4555
4734
|
}
|
|
4556
4735
|
/**
|
|
4557
4736
|
* Hard delete the authenticated user
|
|
4558
|
-
*
|
|
4737
|
+
* Delete the current user
|
|
4559
4738
|
*/
|
|
4560
4739
|
hardDeleteUserRaw(requestParameters, initOverrides) {
|
|
4561
4740
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4582,7 +4761,7 @@ class SDKApi extends BaseAPI {
|
|
|
4582
4761
|
}
|
|
4583
4762
|
/**
|
|
4584
4763
|
* Hard delete the authenticated user
|
|
4585
|
-
*
|
|
4764
|
+
* Delete the current user
|
|
4586
4765
|
*/
|
|
4587
4766
|
hardDeleteUser(requestParameters, initOverrides) {
|
|
4588
4767
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4591,7 +4770,7 @@ class SDKApi extends BaseAPI {
|
|
|
4591
4770
|
}
|
|
4592
4771
|
/**
|
|
4593
4772
|
* Import a private key to create a waas account
|
|
4594
|
-
* Import
|
|
4773
|
+
* Import a private key to create a WAAS wallet
|
|
4595
4774
|
*/
|
|
4596
4775
|
importPrivateKeyRaw(requestParameters, initOverrides) {
|
|
4597
4776
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4623,7 +4802,7 @@ class SDKApi extends BaseAPI {
|
|
|
4623
4802
|
}
|
|
4624
4803
|
/**
|
|
4625
4804
|
* Import a private key to create a waas account
|
|
4626
|
-
* Import
|
|
4805
|
+
* Import a private key to create a WAAS wallet
|
|
4627
4806
|
*/
|
|
4628
4807
|
importPrivateKey(requestParameters, initOverrides) {
|
|
4629
4808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4660,7 +4839,7 @@ class SDKApi extends BaseAPI {
|
|
|
4660
4839
|
}
|
|
4661
4840
|
/**
|
|
4662
4841
|
* This endpoint initializes a secure oauth authentication sequence by providing the state and current url path to the API.
|
|
4663
|
-
* Initialize
|
|
4842
|
+
* Initialize an OAuth authentication sequence
|
|
4664
4843
|
*/
|
|
4665
4844
|
initAuthRaw(requestParameters, initOverrides) {
|
|
4666
4845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4688,7 +4867,7 @@ class SDKApi extends BaseAPI {
|
|
|
4688
4867
|
}
|
|
4689
4868
|
/**
|
|
4690
4869
|
* This endpoint initializes a secure oauth authentication sequence by providing the state and current url path to the API.
|
|
4691
|
-
* Initialize
|
|
4870
|
+
* Initialize an OAuth authentication sequence
|
|
4692
4871
|
*/
|
|
4693
4872
|
initAuth(requestParameters, initOverrides) {
|
|
4694
4873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4865,7 +5044,7 @@ class SDKApi extends BaseAPI {
|
|
|
4865
5044
|
}
|
|
4866
5045
|
/**
|
|
4867
5046
|
* Generates the turnkey request body for a user\'s delete wallets request
|
|
4868
|
-
*
|
|
5047
|
+
* Generate the delete wallets request body
|
|
4869
5048
|
*/
|
|
4870
5049
|
legacyGetEmbeddedWalletsDeleteRequestRaw(requestParameters, initOverrides) {
|
|
4871
5050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4892,7 +5071,7 @@ class SDKApi extends BaseAPI {
|
|
|
4892
5071
|
}
|
|
4893
5072
|
/**
|
|
4894
5073
|
* Generates the turnkey request body for a user\'s delete wallets request
|
|
4895
|
-
*
|
|
5074
|
+
* Generate the delete wallets request body
|
|
4896
5075
|
*/
|
|
4897
5076
|
legacyGetEmbeddedWalletsDeleteRequest(requestParameters, initOverrides) {
|
|
4898
5077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4958,7 +5137,8 @@ class SDKApi extends BaseAPI {
|
|
|
4958
5137
|
});
|
|
4959
5138
|
}
|
|
4960
5139
|
/**
|
|
4961
|
-
*
|
|
5140
|
+
* Logs the SDK settings being used by the client for the environment.
|
|
5141
|
+
* Update SDK settings for the environment
|
|
4962
5142
|
*/
|
|
4963
5143
|
logDynamicSdkSettingsRaw(requestParameters, initOverrides) {
|
|
4964
5144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4982,7 +5162,8 @@ class SDKApi extends BaseAPI {
|
|
|
4982
5162
|
});
|
|
4983
5163
|
}
|
|
4984
5164
|
/**
|
|
4985
|
-
*
|
|
5165
|
+
* Logs the SDK settings being used by the client for the environment.
|
|
5166
|
+
* Update SDK settings for the environment
|
|
4986
5167
|
*/
|
|
4987
5168
|
logDynamicSdkSettings(requestParameters, initOverrides) {
|
|
4988
5169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4991,7 +5172,7 @@ class SDKApi extends BaseAPI {
|
|
|
4991
5172
|
}
|
|
4992
5173
|
/**
|
|
4993
5174
|
* Used to merge two owned accounts connected by email address
|
|
4994
|
-
*
|
|
5175
|
+
* Merge two owned accounts
|
|
4995
5176
|
*/
|
|
4996
5177
|
mergeUsersRaw(requestParameters, initOverrides) {
|
|
4997
5178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5018,7 +5199,7 @@ class SDKApi extends BaseAPI {
|
|
|
5018
5199
|
}
|
|
5019
5200
|
/**
|
|
5020
5201
|
* Used to merge two owned accounts connected by email address
|
|
5021
|
-
*
|
|
5202
|
+
* Merge two owned accounts
|
|
5022
5203
|
*/
|
|
5023
5204
|
mergeUsers(requestParameters, initOverrides) {
|
|
5024
5205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5109,7 +5290,7 @@ class SDKApi extends BaseAPI {
|
|
|
5109
5290
|
}
|
|
5110
5291
|
/**
|
|
5111
5292
|
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
5112
|
-
*
|
|
5293
|
+
* Get OAuth provider authorization HTML
|
|
5113
5294
|
*/
|
|
5114
5295
|
oauthAuthorizeHtmlRaw(requestParameters, initOverrides) {
|
|
5115
5296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5141,7 +5322,7 @@ class SDKApi extends BaseAPI {
|
|
|
5141
5322
|
}
|
|
5142
5323
|
/**
|
|
5143
5324
|
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
5144
|
-
*
|
|
5325
|
+
* Get OAuth provider authorization HTML
|
|
5145
5326
|
*/
|
|
5146
5327
|
oauthAuthorizeHtml(requestParameters, initOverrides) {
|
|
5147
5328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5180,7 +5361,8 @@ class SDKApi extends BaseAPI {
|
|
|
5180
5361
|
});
|
|
5181
5362
|
}
|
|
5182
5363
|
/**
|
|
5183
|
-
*
|
|
5364
|
+
* Redirects the user to the specified OAuth provider login page.
|
|
5365
|
+
* Redirect to OAuth provider login
|
|
5184
5366
|
*/
|
|
5185
5367
|
oauthLoginRaw(requestParameters, initOverrides) {
|
|
5186
5368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5202,7 +5384,8 @@ class SDKApi extends BaseAPI {
|
|
|
5202
5384
|
});
|
|
5203
5385
|
}
|
|
5204
5386
|
/**
|
|
5205
|
-
*
|
|
5387
|
+
* Redirects the user to the specified OAuth provider login page.
|
|
5388
|
+
* Redirect to OAuth provider login
|
|
5206
5389
|
*/
|
|
5207
5390
|
oauthLogin(requestParameters, initOverrides) {
|
|
5208
5391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5240,7 +5423,8 @@ class SDKApi extends BaseAPI {
|
|
|
5240
5423
|
});
|
|
5241
5424
|
}
|
|
5242
5425
|
/**
|
|
5243
|
-
*
|
|
5426
|
+
* Returns the login URL for the specified OAuth provider.
|
|
5427
|
+
* Get the OAuth provider login URL
|
|
5244
5428
|
*/
|
|
5245
5429
|
oauthLoginUrlRaw(requestParameters, initOverrides) {
|
|
5246
5430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5262,7 +5446,8 @@ class SDKApi extends BaseAPI {
|
|
|
5262
5446
|
});
|
|
5263
5447
|
}
|
|
5264
5448
|
/**
|
|
5265
|
-
*
|
|
5449
|
+
* Returns the login URL for the specified OAuth provider.
|
|
5450
|
+
* Get the OAuth provider login URL
|
|
5266
5451
|
*/
|
|
5267
5452
|
oauthLoginUrl(requestParameters, initOverrides) {
|
|
5268
5453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5302,7 +5487,7 @@ class SDKApi extends BaseAPI {
|
|
|
5302
5487
|
}
|
|
5303
5488
|
/**
|
|
5304
5489
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5305
|
-
*
|
|
5490
|
+
* Handle Apple ID OAuth redirect
|
|
5306
5491
|
*/
|
|
5307
5492
|
oauthRedirectAppleRaw(requestParameters, initOverrides) {
|
|
5308
5493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5344,7 +5529,7 @@ class SDKApi extends BaseAPI {
|
|
|
5344
5529
|
}
|
|
5345
5530
|
/**
|
|
5346
5531
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5347
|
-
*
|
|
5532
|
+
* Handle Apple ID OAuth redirect
|
|
5348
5533
|
*/
|
|
5349
5534
|
oauthRedirectApple(requestParameters, initOverrides) {
|
|
5350
5535
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5381,7 +5566,7 @@ class SDKApi extends BaseAPI {
|
|
|
5381
5566
|
}
|
|
5382
5567
|
/**
|
|
5383
5568
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5384
|
-
*
|
|
5569
|
+
* Handle OAuth provider redirect
|
|
5385
5570
|
*/
|
|
5386
5571
|
oauthRedirectCodeRaw(requestParameters, initOverrides) {
|
|
5387
5572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5422,7 +5607,7 @@ class SDKApi extends BaseAPI {
|
|
|
5422
5607
|
}
|
|
5423
5608
|
/**
|
|
5424
5609
|
* Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
|
|
5425
|
-
*
|
|
5610
|
+
* Handle OAuth provider redirect
|
|
5426
5611
|
*/
|
|
5427
5612
|
oauthRedirectCode(requestParameters, initOverrides) {
|
|
5428
5613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5461,7 +5646,8 @@ class SDKApi extends BaseAPI {
|
|
|
5461
5646
|
});
|
|
5462
5647
|
}
|
|
5463
5648
|
/**
|
|
5464
|
-
* Returns the authorization
|
|
5649
|
+
* Returns the OAuth authorization result for the given state.
|
|
5650
|
+
* Get the OAuth provider authorization result
|
|
5465
5651
|
*/
|
|
5466
5652
|
oauthResultRaw(requestParameters, initOverrides) {
|
|
5467
5653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5488,7 +5674,8 @@ class SDKApi extends BaseAPI {
|
|
|
5488
5674
|
});
|
|
5489
5675
|
}
|
|
5490
5676
|
/**
|
|
5491
|
-
* Returns the authorization
|
|
5677
|
+
* Returns the OAuth authorization result for the given state.
|
|
5678
|
+
* Get the OAuth provider authorization result
|
|
5492
5679
|
*/
|
|
5493
5680
|
oauthResult(requestParameters, initOverrides) {
|
|
5494
5681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5527,8 +5714,8 @@ class SDKApi extends BaseAPI {
|
|
|
5527
5714
|
});
|
|
5528
5715
|
}
|
|
5529
5716
|
/**
|
|
5530
|
-
* Standard OAuth SignIn callback to exchange
|
|
5531
|
-
*
|
|
5717
|
+
* Standard OAuth SignIn callback to exchange temporary code for oauth access and return a valid Dynamic JWT and user
|
|
5718
|
+
* Sign in with OAuth provider
|
|
5532
5719
|
*/
|
|
5533
5720
|
oauthSignInRaw(requestParameters, initOverrides) {
|
|
5534
5721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5555,8 +5742,8 @@ class SDKApi extends BaseAPI {
|
|
|
5555
5742
|
});
|
|
5556
5743
|
}
|
|
5557
5744
|
/**
|
|
5558
|
-
* Standard OAuth SignIn callback to exchange
|
|
5559
|
-
*
|
|
5745
|
+
* Standard OAuth SignIn callback to exchange temporary code for oauth access and return a valid Dynamic JWT and user
|
|
5746
|
+
* Sign in with OAuth provider
|
|
5560
5747
|
*/
|
|
5561
5748
|
oauthSignIn(requestParameters, initOverrides) {
|
|
5562
5749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5595,8 +5782,8 @@ class SDKApi extends BaseAPI {
|
|
|
5595
5782
|
});
|
|
5596
5783
|
}
|
|
5597
5784
|
/**
|
|
5598
|
-
* Standard OAuth verify callback to exchange
|
|
5599
|
-
*
|
|
5785
|
+
* Standard OAuth verify callback to exchange temporary code for oauth access
|
|
5786
|
+
* Verify OAuth provider authorization
|
|
5600
5787
|
*/
|
|
5601
5788
|
oauthVerifyRaw(requestParameters, initOverrides) {
|
|
5602
5789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5623,8 +5810,8 @@ class SDKApi extends BaseAPI {
|
|
|
5623
5810
|
});
|
|
5624
5811
|
}
|
|
5625
5812
|
/**
|
|
5626
|
-
* Standard OAuth verify callback to exchange
|
|
5627
|
-
*
|
|
5813
|
+
* Standard OAuth verify callback to exchange temporary code for oauth access
|
|
5814
|
+
* Verify OAuth provider authorization
|
|
5628
5815
|
*/
|
|
5629
5816
|
oauthVerify(requestParameters, initOverrides) {
|
|
5630
5817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5717,6 +5904,7 @@ class SDKApi extends BaseAPI {
|
|
|
5717
5904
|
});
|
|
5718
5905
|
}
|
|
5719
5906
|
/**
|
|
5907
|
+
* Adds priority fees and compute unit limits to a Solana transaction for optimization.
|
|
5720
5908
|
* Add fees to a Solana transaction
|
|
5721
5909
|
*/
|
|
5722
5910
|
optimizeTransactionRaw(requestParameters, initOverrides) {
|
|
@@ -5741,6 +5929,7 @@ class SDKApi extends BaseAPI {
|
|
|
5741
5929
|
});
|
|
5742
5930
|
}
|
|
5743
5931
|
/**
|
|
5932
|
+
* Adds priority fees and compute unit limits to a Solana transaction for optimization.
|
|
5744
5933
|
* Add fees to a Solana transaction
|
|
5745
5934
|
*/
|
|
5746
5935
|
optimizeTransaction(requestParameters, initOverrides) {
|
|
@@ -5831,6 +6020,7 @@ class SDKApi extends BaseAPI {
|
|
|
5831
6020
|
});
|
|
5832
6021
|
}
|
|
5833
6022
|
/**
|
|
6023
|
+
* Transfers funds from an exchange account to an external address or another account.
|
|
5834
6024
|
* Transfer funds from an exchange account to an external address or another Coinbase account
|
|
5835
6025
|
*/
|
|
5836
6026
|
postExchangeAccountTransferRaw(requestParameters, initOverrides) {
|
|
@@ -5868,6 +6058,7 @@ class SDKApi extends BaseAPI {
|
|
|
5868
6058
|
});
|
|
5869
6059
|
}
|
|
5870
6060
|
/**
|
|
6061
|
+
* Transfers funds from an exchange account to an external address or another account.
|
|
5871
6062
|
* Transfer funds from an exchange account to an external address or another Coinbase account
|
|
5872
6063
|
*/
|
|
5873
6064
|
postExchangeAccountTransfer(requestParameters, initOverrides) {
|
|
@@ -5910,6 +6101,7 @@ class SDKApi extends BaseAPI {
|
|
|
5910
6101
|
});
|
|
5911
6102
|
}
|
|
5912
6103
|
/**
|
|
6104
|
+
* Returns token balances for multiple account addresses across different chains.
|
|
5913
6105
|
* Get account balances for multiple addresses
|
|
5914
6106
|
*/
|
|
5915
6107
|
postMultichainAccountBalancesRaw(requestParameters, initOverrides) {
|
|
@@ -5934,6 +6126,7 @@ class SDKApi extends BaseAPI {
|
|
|
5934
6126
|
});
|
|
5935
6127
|
}
|
|
5936
6128
|
/**
|
|
6129
|
+
* Returns token balances for multiple account addresses across different chains.
|
|
5937
6130
|
* Get account balances for multiple addresses
|
|
5938
6131
|
*/
|
|
5939
6132
|
postMultichainAccountBalances(requestParameters, initOverrides) {
|
|
@@ -5975,6 +6168,7 @@ class SDKApi extends BaseAPI {
|
|
|
5975
6168
|
});
|
|
5976
6169
|
}
|
|
5977
6170
|
/**
|
|
6171
|
+
* Handles the Telegram authentication callback after user authorization.
|
|
5978
6172
|
* Handle Telegram authentication
|
|
5979
6173
|
*/
|
|
5980
6174
|
postTelegramAuthRaw(requestParameters, initOverrides) {
|
|
@@ -5999,6 +6193,7 @@ class SDKApi extends BaseAPI {
|
|
|
5999
6193
|
});
|
|
6000
6194
|
}
|
|
6001
6195
|
/**
|
|
6196
|
+
* Handles the Telegram authentication callback after user authorization.
|
|
6002
6197
|
* Handle Telegram authentication
|
|
6003
6198
|
*/
|
|
6004
6199
|
postTelegramAuth(requestParameters, initOverrides) {
|
|
@@ -6008,7 +6203,7 @@ class SDKApi extends BaseAPI {
|
|
|
6008
6203
|
}
|
|
6009
6204
|
/**
|
|
6010
6205
|
* Endpoint to send minimal wallet information to the API to prefetch name service information for an address.
|
|
6011
|
-
*
|
|
6206
|
+
* Prefetch information for a wallet address
|
|
6012
6207
|
*/
|
|
6013
6208
|
prefetchRaw(requestParameters, initOverrides) {
|
|
6014
6209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6033,7 +6228,7 @@ class SDKApi extends BaseAPI {
|
|
|
6033
6228
|
}
|
|
6034
6229
|
/**
|
|
6035
6230
|
* Endpoint to send minimal wallet information to the API to prefetch name service information for an address.
|
|
6036
|
-
*
|
|
6231
|
+
* Prefetch information for a wallet address
|
|
6037
6232
|
*/
|
|
6038
6233
|
prefetch(requestParameters, initOverrides) {
|
|
6039
6234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6041,7 +6236,8 @@ class SDKApi extends BaseAPI {
|
|
|
6041
6236
|
});
|
|
6042
6237
|
}
|
|
6043
6238
|
/**
|
|
6044
|
-
*
|
|
6239
|
+
* Publishes SDK analytics events for the given environment.
|
|
6240
|
+
* Publish SDK events
|
|
6045
6241
|
*/
|
|
6046
6242
|
publishEventRaw(requestParameters, initOverrides) {
|
|
6047
6243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6065,7 +6261,8 @@ class SDKApi extends BaseAPI {
|
|
|
6065
6261
|
});
|
|
6066
6262
|
}
|
|
6067
6263
|
/**
|
|
6068
|
-
*
|
|
6264
|
+
* Publishes SDK analytics events for the given environment.
|
|
6265
|
+
* Publish SDK events
|
|
6069
6266
|
*/
|
|
6070
6267
|
publishEvent(requestParameters, initOverrides) {
|
|
6071
6268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6073,7 +6270,8 @@ class SDKApi extends BaseAPI {
|
|
|
6073
6270
|
});
|
|
6074
6271
|
}
|
|
6075
6272
|
/**
|
|
6076
|
-
*
|
|
6273
|
+
* Recovers the client key shares for the specified WAAS wallet from backup.
|
|
6274
|
+
* Recover WAAS keyshares
|
|
6077
6275
|
*/
|
|
6078
6276
|
recoverKeySharesRaw(requestParameters, initOverrides) {
|
|
6079
6277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6104,7 +6302,8 @@ class SDKApi extends BaseAPI {
|
|
|
6104
6302
|
});
|
|
6105
6303
|
}
|
|
6106
6304
|
/**
|
|
6107
|
-
*
|
|
6305
|
+
* Recovers the client key shares for the specified WAAS wallet from backup.
|
|
6306
|
+
* Recover WAAS keyshares
|
|
6108
6307
|
*/
|
|
6109
6308
|
recoverKeyShares(requestParameters, initOverrides) {
|
|
6110
6309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6197,7 +6396,8 @@ class SDKApi extends BaseAPI {
|
|
|
6197
6396
|
});
|
|
6198
6397
|
}
|
|
6199
6398
|
/**
|
|
6200
|
-
*
|
|
6399
|
+
* Refreshes the JWT auth token and returns a new token with updated claims.
|
|
6400
|
+
* Refresh the JWT auth token
|
|
6201
6401
|
*/
|
|
6202
6402
|
refreshAuthRaw(requestParameters, initOverrides) {
|
|
6203
6403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6223,7 +6423,8 @@ class SDKApi extends BaseAPI {
|
|
|
6223
6423
|
});
|
|
6224
6424
|
}
|
|
6225
6425
|
/**
|
|
6226
|
-
*
|
|
6426
|
+
* Refreshes the JWT auth token and returns a new token with updated claims.
|
|
6427
|
+
* Refresh the JWT auth token
|
|
6227
6428
|
*/
|
|
6228
6429
|
refreshAuth(requestParameters, initOverrides) {
|
|
6229
6430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6232,7 +6433,8 @@ class SDKApi extends BaseAPI {
|
|
|
6232
6433
|
});
|
|
6233
6434
|
}
|
|
6234
6435
|
/**
|
|
6235
|
-
*
|
|
6436
|
+
* Refreshes the MPC key shares for the specified WAAS wallet.
|
|
6437
|
+
* Refresh WAAS keyshares
|
|
6236
6438
|
*/
|
|
6237
6439
|
refreshKeySharesRaw(requestParameters, initOverrides) {
|
|
6238
6440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6261,7 +6463,8 @@ class SDKApi extends BaseAPI {
|
|
|
6261
6463
|
});
|
|
6262
6464
|
}
|
|
6263
6465
|
/**
|
|
6264
|
-
*
|
|
6466
|
+
* Refreshes the MPC key shares for the specified WAAS wallet.
|
|
6467
|
+
* Refresh WAAS keyshares
|
|
6265
6468
|
*/
|
|
6266
6469
|
refreshKeyShares(requestParameters, initOverrides) {
|
|
6267
6470
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6327,6 +6530,7 @@ class SDKApi extends BaseAPI {
|
|
|
6327
6530
|
});
|
|
6328
6531
|
}
|
|
6329
6532
|
/**
|
|
6533
|
+
* Registers a new passkey for the authenticated user using WebAuthn credentials.
|
|
6330
6534
|
* Register a new passkey
|
|
6331
6535
|
*/
|
|
6332
6536
|
registerPasskeyRaw(requestParameters, initOverrides) {
|
|
@@ -6358,6 +6562,7 @@ class SDKApi extends BaseAPI {
|
|
|
6358
6562
|
});
|
|
6359
6563
|
}
|
|
6360
6564
|
/**
|
|
6565
|
+
* Registers a new passkey for the authenticated user using WebAuthn credentials.
|
|
6361
6566
|
* Register a new passkey
|
|
6362
6567
|
*/
|
|
6363
6568
|
registerPasskey(requestParameters, initOverrides) {
|
|
@@ -6367,7 +6572,8 @@ class SDKApi extends BaseAPI {
|
|
|
6367
6572
|
});
|
|
6368
6573
|
}
|
|
6369
6574
|
/**
|
|
6370
|
-
*
|
|
6575
|
+
* Initiates passkey MFA device registration and returns the setup details.
|
|
6576
|
+
* Register a passkey MFA device
|
|
6371
6577
|
*/
|
|
6372
6578
|
registerPasskeyMfaDeviceRaw(requestParameters, initOverrides) {
|
|
6373
6579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6393,7 +6599,8 @@ class SDKApi extends BaseAPI {
|
|
|
6393
6599
|
});
|
|
6394
6600
|
}
|
|
6395
6601
|
/**
|
|
6396
|
-
*
|
|
6602
|
+
* Initiates passkey MFA device registration and returns the setup details.
|
|
6603
|
+
* Register a passkey MFA device
|
|
6397
6604
|
*/
|
|
6398
6605
|
registerPasskeyMfaDevice(requestParameters, initOverrides) {
|
|
6399
6606
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6429,6 +6636,7 @@ class SDKApi extends BaseAPI {
|
|
|
6429
6636
|
});
|
|
6430
6637
|
}
|
|
6431
6638
|
/**
|
|
6639
|
+
* Verifies the passkey credential to complete MFA device registration.
|
|
6432
6640
|
* Verify Passkey MFA device
|
|
6433
6641
|
*/
|
|
6434
6642
|
registerPasskeyMfaDeviceVerifyRaw(requestParameters, initOverrides) {
|
|
@@ -6460,6 +6668,7 @@ class SDKApi extends BaseAPI {
|
|
|
6460
6668
|
});
|
|
6461
6669
|
}
|
|
6462
6670
|
/**
|
|
6671
|
+
* Verifies the passkey credential to complete MFA device registration.
|
|
6463
6672
|
* Verify Passkey MFA device
|
|
6464
6673
|
*/
|
|
6465
6674
|
registerPasskeyMfaDeviceVerify(requestParameters, initOverrides) {
|
|
@@ -6511,7 +6720,8 @@ class SDKApi extends BaseAPI {
|
|
|
6511
6720
|
});
|
|
6512
6721
|
}
|
|
6513
6722
|
/**
|
|
6514
|
-
*
|
|
6723
|
+
* Initiates TOTP MFA device registration and returns the setup details.
|
|
6724
|
+
* Register a TOTP MFA device
|
|
6515
6725
|
*/
|
|
6516
6726
|
registerTotpMfaDeviceRaw(requestParameters, initOverrides) {
|
|
6517
6727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6537,7 +6747,8 @@ class SDKApi extends BaseAPI {
|
|
|
6537
6747
|
});
|
|
6538
6748
|
}
|
|
6539
6749
|
/**
|
|
6540
|
-
*
|
|
6750
|
+
* Initiates TOTP MFA device registration and returns the setup details.
|
|
6751
|
+
* Register a TOTP MFA device
|
|
6541
6752
|
*/
|
|
6542
6753
|
registerTotpMfaDevice(requestParameters, initOverrides) {
|
|
6543
6754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6573,6 +6784,7 @@ class SDKApi extends BaseAPI {
|
|
|
6573
6784
|
});
|
|
6574
6785
|
}
|
|
6575
6786
|
/**
|
|
6787
|
+
* Verifies the TOTP code to complete MFA device registration.
|
|
6576
6788
|
* Verify TOTP MFA device
|
|
6577
6789
|
*/
|
|
6578
6790
|
registerTotpMfaDeviceVerifyRaw(requestParameters, initOverrides) {
|
|
@@ -6604,6 +6816,7 @@ class SDKApi extends BaseAPI {
|
|
|
6604
6816
|
});
|
|
6605
6817
|
}
|
|
6606
6818
|
/**
|
|
6819
|
+
* Verifies the TOTP code to complete MFA device registration.
|
|
6607
6820
|
* Verify TOTP MFA device
|
|
6608
6821
|
*/
|
|
6609
6822
|
registerTotpMfaDeviceVerify(requestParameters, initOverrides) {
|
|
@@ -6613,7 +6826,8 @@ class SDKApi extends BaseAPI {
|
|
|
6613
6826
|
});
|
|
6614
6827
|
}
|
|
6615
6828
|
/**
|
|
6616
|
-
*
|
|
6829
|
+
* Reshares the MPC secret shares for the specified WAAS wallet.
|
|
6830
|
+
* Reshare WAAS secret shares
|
|
6617
6831
|
*/
|
|
6618
6832
|
reshareRaw(requestParameters, initOverrides) {
|
|
6619
6833
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6647,7 +6861,8 @@ class SDKApi extends BaseAPI {
|
|
|
6647
6861
|
});
|
|
6648
6862
|
}
|
|
6649
6863
|
/**
|
|
6650
|
-
*
|
|
6864
|
+
* Reshares the MPC secret shares for the specified WAAS wallet.
|
|
6865
|
+
* Reshare WAAS secret shares
|
|
6651
6866
|
*/
|
|
6652
6867
|
reshare(requestParameters, initOverrides) {
|
|
6653
6868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6755,7 +6970,8 @@ class SDKApi extends BaseAPI {
|
|
|
6755
6970
|
});
|
|
6756
6971
|
}
|
|
6757
6972
|
/**
|
|
6758
|
-
*
|
|
6973
|
+
* Resends the email verification code to the email address on file.
|
|
6974
|
+
* Resend email verification code
|
|
6759
6975
|
*/
|
|
6760
6976
|
retryEmailVerificationRaw(requestParameters, initOverrides) {
|
|
6761
6977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6779,7 +6995,8 @@ class SDKApi extends BaseAPI {
|
|
|
6779
6995
|
});
|
|
6780
6996
|
}
|
|
6781
6997
|
/**
|
|
6782
|
-
*
|
|
6998
|
+
* Resends the email verification code to the email address on file.
|
|
6999
|
+
* Resend email verification code
|
|
6783
7000
|
*/
|
|
6784
7001
|
retryEmailVerification(requestParameters, initOverrides) {
|
|
6785
7002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6815,7 +7032,8 @@ class SDKApi extends BaseAPI {
|
|
|
6815
7032
|
});
|
|
6816
7033
|
}
|
|
6817
7034
|
/**
|
|
6818
|
-
*
|
|
7035
|
+
* Resends the SMS verification code to the phone number on file.
|
|
7036
|
+
* Resend SMS verification code
|
|
6819
7037
|
*/
|
|
6820
7038
|
retrySmsVerificationRaw(requestParameters, initOverrides) {
|
|
6821
7039
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6839,7 +7057,8 @@ class SDKApi extends BaseAPI {
|
|
|
6839
7057
|
});
|
|
6840
7058
|
}
|
|
6841
7059
|
/**
|
|
6842
|
-
*
|
|
7060
|
+
* Resends the SMS verification code to the phone number on file.
|
|
7061
|
+
* Resend SMS verification code
|
|
6843
7062
|
*/
|
|
6844
7063
|
retrySmsVerification(requestParameters, initOverrides) {
|
|
6845
7064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6875,6 +7094,7 @@ class SDKApi extends BaseAPI {
|
|
|
6875
7094
|
});
|
|
6876
7095
|
}
|
|
6877
7096
|
/**
|
|
7097
|
+
* Revokes the current user session and invalidates the JWT.
|
|
6878
7098
|
* Revoke a session
|
|
6879
7099
|
*/
|
|
6880
7100
|
revokeSessionRaw(requestParameters, initOverrides) {
|
|
@@ -6901,6 +7121,7 @@ class SDKApi extends BaseAPI {
|
|
|
6901
7121
|
});
|
|
6902
7122
|
}
|
|
6903
7123
|
/**
|
|
7124
|
+
* Revokes the current user session and invalidates the JWT.
|
|
6904
7125
|
* Revoke a session
|
|
6905
7126
|
*/
|
|
6906
7127
|
revokeSession(requestParameters, initOverrides) {
|
|
@@ -6936,6 +7157,7 @@ class SDKApi extends BaseAPI {
|
|
|
6936
7157
|
});
|
|
6937
7158
|
}
|
|
6938
7159
|
/**
|
|
7160
|
+
* Scans a URL for potential phishing or malicious activity and returns the result.
|
|
6939
7161
|
* Scan a URL for potential malicious activity
|
|
6940
7162
|
*/
|
|
6941
7163
|
scanUrlRaw(requestParameters, initOverrides) {
|
|
@@ -6960,6 +7182,7 @@ class SDKApi extends BaseAPI {
|
|
|
6960
7182
|
});
|
|
6961
7183
|
}
|
|
6962
7184
|
/**
|
|
7185
|
+
* Scans a URL for potential phishing or malicious activity and returns the result.
|
|
6963
7186
|
* Scan a URL for potential malicious activity
|
|
6964
7187
|
*/
|
|
6965
7188
|
scanUrl(requestParameters, initOverrides) {
|
|
@@ -7022,7 +7245,7 @@ class SDKApi extends BaseAPI {
|
|
|
7022
7245
|
}
|
|
7023
7246
|
/**
|
|
7024
7247
|
* 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.
|
|
7025
|
-
* Update
|
|
7248
|
+
* Update primary wallet selection
|
|
7026
7249
|
*/
|
|
7027
7250
|
selectUserWalletRaw(requestParameters, initOverrides) {
|
|
7028
7251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7054,7 +7277,7 @@ class SDKApi extends BaseAPI {
|
|
|
7054
7277
|
}
|
|
7055
7278
|
/**
|
|
7056
7279
|
* 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.
|
|
7057
|
-
* Update
|
|
7280
|
+
* Update primary wallet selection
|
|
7058
7281
|
*/
|
|
7059
7282
|
selectUserWallet(requestParameters, initOverrides) {
|
|
7060
7283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7090,7 +7313,8 @@ class SDKApi extends BaseAPI {
|
|
|
7090
7313
|
});
|
|
7091
7314
|
}
|
|
7092
7315
|
/**
|
|
7093
|
-
*
|
|
7316
|
+
* Checks whether the current user session is still valid.
|
|
7317
|
+
* Check session validity
|
|
7094
7318
|
*/
|
|
7095
7319
|
sessionCheckRaw(requestParameters, initOverrides) {
|
|
7096
7320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7116,7 +7340,8 @@ class SDKApi extends BaseAPI {
|
|
|
7116
7340
|
});
|
|
7117
7341
|
}
|
|
7118
7342
|
/**
|
|
7119
|
-
*
|
|
7343
|
+
* Checks whether the current user session is still valid.
|
|
7344
|
+
* Check session validity
|
|
7120
7345
|
*/
|
|
7121
7346
|
sessionCheck(requestParameters, initOverrides) {
|
|
7122
7347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7205,7 +7430,8 @@ class SDKApi extends BaseAPI {
|
|
|
7205
7430
|
});
|
|
7206
7431
|
}
|
|
7207
7432
|
/**
|
|
7208
|
-
*
|
|
7433
|
+
* Verifies the email code and authenticates the user, returning a JWT.
|
|
7434
|
+
* Verify email and sign in
|
|
7209
7435
|
*/
|
|
7210
7436
|
signInWithEmailVerificationRaw(requestParameters, initOverrides) {
|
|
7211
7437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7229,7 +7455,8 @@ class SDKApi extends BaseAPI {
|
|
|
7229
7455
|
});
|
|
7230
7456
|
}
|
|
7231
7457
|
/**
|
|
7232
|
-
*
|
|
7458
|
+
* Verifies the email code and authenticates the user, returning a JWT.
|
|
7459
|
+
* Verify email and sign in
|
|
7233
7460
|
*/
|
|
7234
7461
|
signInWithEmailVerification(requestParameters, initOverrides) {
|
|
7235
7462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7265,7 +7492,8 @@ class SDKApi extends BaseAPI {
|
|
|
7265
7492
|
});
|
|
7266
7493
|
}
|
|
7267
7494
|
/**
|
|
7268
|
-
*
|
|
7495
|
+
* Verifies the SMS code and authenticates the user, returning a JWT.
|
|
7496
|
+
* Verify SMS and sign in
|
|
7269
7497
|
*/
|
|
7270
7498
|
signInWithSmsVerificationRaw(requestParameters, initOverrides) {
|
|
7271
7499
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7289,7 +7517,8 @@ class SDKApi extends BaseAPI {
|
|
|
7289
7517
|
});
|
|
7290
7518
|
}
|
|
7291
7519
|
/**
|
|
7292
|
-
*
|
|
7520
|
+
* Verifies the SMS code and authenticates the user, returning a JWT.
|
|
7521
|
+
* Verify SMS and sign in
|
|
7293
7522
|
*/
|
|
7294
7523
|
signInWithSmsVerification(requestParameters, initOverrides) {
|
|
7295
7524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7325,7 +7554,8 @@ class SDKApi extends BaseAPI {
|
|
|
7325
7554
|
});
|
|
7326
7555
|
}
|
|
7327
7556
|
/**
|
|
7328
|
-
*
|
|
7557
|
+
* Signs a message using the specified WAAS wallet through an MPC ceremony.
|
|
7558
|
+
* Sign a message with a WAAS wallet
|
|
7329
7559
|
*/
|
|
7330
7560
|
signMessageRaw(requestParameters, initOverrides) {
|
|
7331
7561
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7359,7 +7589,8 @@ class SDKApi extends BaseAPI {
|
|
|
7359
7589
|
});
|
|
7360
7590
|
}
|
|
7361
7591
|
/**
|
|
7362
|
-
*
|
|
7592
|
+
* Signs a message using the specified WAAS wallet through an MPC ceremony.
|
|
7593
|
+
* Sign a message with a WAAS wallet
|
|
7363
7594
|
*/
|
|
7364
7595
|
signMessage(requestParameters, initOverrides) {
|
|
7365
7596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7398,6 +7629,7 @@ class SDKApi extends BaseAPI {
|
|
|
7398
7629
|
});
|
|
7399
7630
|
}
|
|
7400
7631
|
/**
|
|
7632
|
+
* Authenticates a user using a passkey and returns a JWT.
|
|
7401
7633
|
* Authenticate a passkey
|
|
7402
7634
|
*/
|
|
7403
7635
|
signinWithPasskeyRaw(requestParameters, initOverrides) {
|
|
@@ -7422,6 +7654,7 @@ class SDKApi extends BaseAPI {
|
|
|
7422
7654
|
});
|
|
7423
7655
|
}
|
|
7424
7656
|
/**
|
|
7657
|
+
* Authenticates a user using a passkey and returns a JWT.
|
|
7425
7658
|
* Authenticate a passkey
|
|
7426
7659
|
*/
|
|
7427
7660
|
signinWithPasskey(requestParameters, initOverrides) {
|
|
@@ -7431,6 +7664,7 @@ class SDKApi extends BaseAPI {
|
|
|
7431
7664
|
});
|
|
7432
7665
|
}
|
|
7433
7666
|
/**
|
|
7667
|
+
* Simulates an EVM transaction and returns the expected outcome.
|
|
7434
7668
|
* Simulate an EVM transaction
|
|
7435
7669
|
*/
|
|
7436
7670
|
simulateEVMTransactionRaw(requestParameters, initOverrides) {
|
|
@@ -7455,6 +7689,7 @@ class SDKApi extends BaseAPI {
|
|
|
7455
7689
|
});
|
|
7456
7690
|
}
|
|
7457
7691
|
/**
|
|
7692
|
+
* Simulates an EVM transaction and returns the expected outcome.
|
|
7458
7693
|
* Simulate an EVM transaction
|
|
7459
7694
|
*/
|
|
7460
7695
|
simulateEVMTransaction(requestParameters, initOverrides) {
|
|
@@ -7491,6 +7726,7 @@ class SDKApi extends BaseAPI {
|
|
|
7491
7726
|
});
|
|
7492
7727
|
}
|
|
7493
7728
|
/**
|
|
7729
|
+
* Simulates a Solana transaction and returns the expected outcome.
|
|
7494
7730
|
* Simulate a Solana transaction
|
|
7495
7731
|
*/
|
|
7496
7732
|
simulateSVMTransactionRaw(requestParameters, initOverrides) {
|
|
@@ -7515,6 +7751,7 @@ class SDKApi extends BaseAPI {
|
|
|
7515
7751
|
});
|
|
7516
7752
|
}
|
|
7517
7753
|
/**
|
|
7754
|
+
* Simulates a Solana transaction and returns the expected outcome.
|
|
7518
7755
|
* Simulate a Solana transaction
|
|
7519
7756
|
*/
|
|
7520
7757
|
simulateSVMTransaction(requestParameters, initOverrides) {
|
|
@@ -7551,6 +7788,7 @@ class SDKApi extends BaseAPI {
|
|
|
7551
7788
|
});
|
|
7552
7789
|
}
|
|
7553
7790
|
/**
|
|
7791
|
+
* Simulates an EVM Account Abstraction UserOp and returns the expected outcome.
|
|
7554
7792
|
* Simulate an EVM AA UserOp
|
|
7555
7793
|
*/
|
|
7556
7794
|
simulateUserOpRaw(requestParameters, initOverrides) {
|
|
@@ -7575,6 +7813,7 @@ class SDKApi extends BaseAPI {
|
|
|
7575
7813
|
});
|
|
7576
7814
|
}
|
|
7577
7815
|
/**
|
|
7816
|
+
* Simulates an EVM Account Abstraction UserOp and returns the expected outcome.
|
|
7578
7817
|
* Simulate an EVM AA UserOp
|
|
7579
7818
|
*/
|
|
7580
7819
|
simulateUserOp(requestParameters, initOverrides) {
|
|
@@ -7769,7 +8008,8 @@ class SDKApi extends BaseAPI {
|
|
|
7769
8008
|
});
|
|
7770
8009
|
}
|
|
7771
8010
|
/**
|
|
7772
|
-
* Telegram
|
|
8011
|
+
* Checks if a Telegram authentication attempt has been completed.
|
|
8012
|
+
* Check Telegram authentication status
|
|
7773
8013
|
*/
|
|
7774
8014
|
telegramCheckAuthRaw(requestParameters, initOverrides) {
|
|
7775
8015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7790,7 +8030,8 @@ class SDKApi extends BaseAPI {
|
|
|
7790
8030
|
});
|
|
7791
8031
|
}
|
|
7792
8032
|
/**
|
|
7793
|
-
* Telegram
|
|
8033
|
+
* Checks if a Telegram authentication attempt has been completed.
|
|
8034
|
+
* Check Telegram authentication status
|
|
7794
8035
|
*/
|
|
7795
8036
|
telegramCheckAuth(requestParameters, initOverrides) {
|
|
7796
8037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7825,7 +8066,8 @@ class SDKApi extends BaseAPI {
|
|
|
7825
8066
|
});
|
|
7826
8067
|
}
|
|
7827
8068
|
/**
|
|
7828
|
-
* Telegram
|
|
8069
|
+
* Authenticates a user using their Telegram account credentials.
|
|
8070
|
+
* Sign in with Telegram
|
|
7829
8071
|
*/
|
|
7830
8072
|
telegramSignInRaw(requestParameters, initOverrides) {
|
|
7831
8073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7846,7 +8088,8 @@ class SDKApi extends BaseAPI {
|
|
|
7846
8088
|
});
|
|
7847
8089
|
}
|
|
7848
8090
|
/**
|
|
7849
|
-
* Telegram
|
|
8091
|
+
* Authenticates a user using their Telegram account credentials.
|
|
8092
|
+
* Sign in with Telegram
|
|
7850
8093
|
*/
|
|
7851
8094
|
telegramSignIn(requestParameters, initOverrides) {
|
|
7852
8095
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7882,7 +8125,8 @@ class SDKApi extends BaseAPI {
|
|
|
7882
8125
|
});
|
|
7883
8126
|
}
|
|
7884
8127
|
/**
|
|
7885
|
-
* Telegram
|
|
8128
|
+
* Verifies and links a Telegram account to the authenticated user.
|
|
8129
|
+
* Verify Telegram account linking
|
|
7886
8130
|
*/
|
|
7887
8131
|
telegramVerifyRaw(requestParameters, initOverrides) {
|
|
7888
8132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7910,7 +8154,8 @@ class SDKApi extends BaseAPI {
|
|
|
7910
8154
|
});
|
|
7911
8155
|
}
|
|
7912
8156
|
/**
|
|
7913
|
-
* Telegram
|
|
8157
|
+
* Verifies and links a Telegram account to the authenticated user.
|
|
8158
|
+
* Verify Telegram account linking
|
|
7914
8159
|
*/
|
|
7915
8160
|
telegramVerify(requestParameters, initOverrides) {
|
|
7916
8161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7946,6 +8191,7 @@ class SDKApi extends BaseAPI {
|
|
|
7946
8191
|
});
|
|
7947
8192
|
}
|
|
7948
8193
|
/**
|
|
8194
|
+
* Updates the V2 recovery email address for the authenticated user.
|
|
7949
8195
|
* Update a user\'s V2 recovery email
|
|
7950
8196
|
*/
|
|
7951
8197
|
updateEmbeddedWalletRecoveryEmailRaw(requestParameters, initOverrides) {
|
|
@@ -7977,6 +8223,7 @@ class SDKApi extends BaseAPI {
|
|
|
7977
8223
|
});
|
|
7978
8224
|
}
|
|
7979
8225
|
/**
|
|
8226
|
+
* Updates the V2 recovery email address for the authenticated user.
|
|
7980
8227
|
* Update a user\'s V2 recovery email
|
|
7981
8228
|
*/
|
|
7982
8229
|
updateEmbeddedWalletRecoveryEmail(requestParameters, initOverrides) {
|
|
@@ -7985,7 +8232,8 @@ class SDKApi extends BaseAPI {
|
|
|
7985
8232
|
});
|
|
7986
8233
|
}
|
|
7987
8234
|
/**
|
|
7988
|
-
*
|
|
8235
|
+
* Updates the specified passkey for the authenticated user.
|
|
8236
|
+
* Update a passkey
|
|
7989
8237
|
*/
|
|
7990
8238
|
updatePasskeyRaw(requestParameters, initOverrides) {
|
|
7991
8239
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8016,7 +8264,8 @@ class SDKApi extends BaseAPI {
|
|
|
8016
8264
|
});
|
|
8017
8265
|
}
|
|
8018
8266
|
/**
|
|
8019
|
-
*
|
|
8267
|
+
* Updates the specified passkey for the authenticated user.
|
|
8268
|
+
* Update a passkey
|
|
8020
8269
|
*/
|
|
8021
8270
|
updatePasskey(requestParameters, initOverrides) {
|
|
8022
8271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8025,7 +8274,8 @@ class SDKApi extends BaseAPI {
|
|
|
8025
8274
|
});
|
|
8026
8275
|
}
|
|
8027
8276
|
/**
|
|
8028
|
-
*
|
|
8277
|
+
* Updates the authenticated user profile fields.
|
|
8278
|
+
* Update user fields
|
|
8029
8279
|
*/
|
|
8030
8280
|
updateSelfRaw(requestParameters, initOverrides) {
|
|
8031
8281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8056,7 +8306,8 @@ class SDKApi extends BaseAPI {
|
|
|
8056
8306
|
});
|
|
8057
8307
|
}
|
|
8058
8308
|
/**
|
|
8059
|
-
*
|
|
8309
|
+
* Updates the authenticated user profile fields.
|
|
8310
|
+
* Update user fields
|
|
8060
8311
|
*/
|
|
8061
8312
|
updateSelf(requestParameters, initOverrides) {
|
|
8062
8313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8065,7 +8316,8 @@ class SDKApi extends BaseAPI {
|
|
|
8065
8316
|
});
|
|
8066
8317
|
}
|
|
8067
8318
|
/**
|
|
8068
|
-
*
|
|
8319
|
+
* Updates the specified MFA device for the authenticated user.
|
|
8320
|
+
* Update an MFA device
|
|
8069
8321
|
*/
|
|
8070
8322
|
updateUserMfaDeviceRaw(requestParameters, initOverrides) {
|
|
8071
8323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8096,7 +8348,8 @@ class SDKApi extends BaseAPI {
|
|
|
8096
8348
|
});
|
|
8097
8349
|
}
|
|
8098
8350
|
/**
|
|
8099
|
-
*
|
|
8351
|
+
* Updates the specified MFA device for the authenticated user.
|
|
8352
|
+
* Update an MFA device
|
|
8100
8353
|
*/
|
|
8101
8354
|
updateUserMfaDevice(requestParameters, initOverrides) {
|
|
8102
8355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8105,7 +8358,7 @@ class SDKApi extends BaseAPI {
|
|
|
8105
8358
|
}
|
|
8106
8359
|
/**
|
|
8107
8360
|
* Updates the settings for a WAAS wallet
|
|
8108
|
-
* Update
|
|
8361
|
+
* Update WAAS wallet settings
|
|
8109
8362
|
*/
|
|
8110
8363
|
updateWaasWalletSettingsRaw(requestParameters, initOverrides) {
|
|
8111
8364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8140,7 +8393,7 @@ class SDKApi extends BaseAPI {
|
|
|
8140
8393
|
}
|
|
8141
8394
|
/**
|
|
8142
8395
|
* Updates the settings for a WAAS wallet
|
|
8143
|
-
* Update
|
|
8396
|
+
* Update WAAS wallet settings
|
|
8144
8397
|
*/
|
|
8145
8398
|
updateWaasWalletSettings(requestParameters, initOverrides) {
|
|
8146
8399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8149,6 +8402,7 @@ class SDKApi extends BaseAPI {
|
|
|
8149
8402
|
});
|
|
8150
8403
|
}
|
|
8151
8404
|
/**
|
|
8405
|
+
* Upgrades a V1 embedded wallet to V2 and returns a refreshed JWT.
|
|
8152
8406
|
* Update V1 embedded wallet to V2
|
|
8153
8407
|
*/
|
|
8154
8408
|
upgradeEmbeddedWalletToV2Raw(requestParameters, initOverrides) {
|
|
@@ -8173,6 +8427,7 @@ class SDKApi extends BaseAPI {
|
|
|
8173
8427
|
});
|
|
8174
8428
|
}
|
|
8175
8429
|
/**
|
|
8430
|
+
* Upgrades a V1 embedded wallet to V2 and returns a refreshed JWT.
|
|
8176
8431
|
* Update V1 embedded wallet to V2
|
|
8177
8432
|
*/
|
|
8178
8433
|
upgradeEmbeddedWalletToV2(requestParameters, initOverrides) {
|
|
@@ -8263,6 +8518,7 @@ class SDKApi extends BaseAPI {
|
|
|
8263
8518
|
});
|
|
8264
8519
|
}
|
|
8265
8520
|
/**
|
|
8521
|
+
* Verifies the signed payload and returns a JWT authentication token.
|
|
8266
8522
|
* Verify payload and return JWT
|
|
8267
8523
|
*/
|
|
8268
8524
|
verifyRaw(requestParameters, initOverrides) {
|
|
@@ -8287,6 +8543,7 @@ class SDKApi extends BaseAPI {
|
|
|
8287
8543
|
});
|
|
8288
8544
|
}
|
|
8289
8545
|
/**
|
|
8546
|
+
* Verifies the signed payload and returns a JWT authentication token.
|
|
8290
8547
|
* Verify payload and return JWT
|
|
8291
8548
|
*/
|
|
8292
8549
|
verify(requestParameters, initOverrides) {
|
|
@@ -8296,7 +8553,8 @@ class SDKApi extends BaseAPI {
|
|
|
8296
8553
|
});
|
|
8297
8554
|
}
|
|
8298
8555
|
/**
|
|
8299
|
-
*
|
|
8556
|
+
* Verifies the email code and completes the email verification process.
|
|
8557
|
+
* Verify email verification code
|
|
8300
8558
|
*/
|
|
8301
8559
|
verifyEmailVerificationRaw(requestParameters, initOverrides) {
|
|
8302
8560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8327,7 +8585,8 @@ class SDKApi extends BaseAPI {
|
|
|
8327
8585
|
});
|
|
8328
8586
|
}
|
|
8329
8587
|
/**
|
|
8330
|
-
*
|
|
8588
|
+
* Verifies the email code and completes the email verification process.
|
|
8589
|
+
* Verify email verification code
|
|
8331
8590
|
*/
|
|
8332
8591
|
verifyEmailVerification(requestParameters, initOverrides) {
|
|
8333
8592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8364,7 +8623,7 @@ class SDKApi extends BaseAPI {
|
|
|
8364
8623
|
}
|
|
8365
8624
|
/**
|
|
8366
8625
|
* Link a wallet to a valid environment user, and return an updated JWT
|
|
8367
|
-
* Link wallet to user
|
|
8626
|
+
* Link a wallet to a user
|
|
8368
8627
|
*/
|
|
8369
8628
|
verifyLinkRaw(requestParameters, initOverrides) {
|
|
8370
8629
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8396,7 +8655,7 @@ class SDKApi extends BaseAPI {
|
|
|
8396
8655
|
}
|
|
8397
8656
|
/**
|
|
8398
8657
|
* Link a wallet to a valid environment user, and return an updated JWT
|
|
8399
|
-
* Link wallet to user
|
|
8658
|
+
* Link a wallet to a user
|
|
8400
8659
|
*/
|
|
8401
8660
|
verifyLink(requestParameters, initOverrides) {
|
|
8402
8661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8555,7 +8814,8 @@ class SDKApi extends BaseAPI {
|
|
|
8555
8814
|
});
|
|
8556
8815
|
}
|
|
8557
8816
|
/**
|
|
8558
|
-
*
|
|
8817
|
+
* Verifies the SMS code and completes the phone number verification process.
|
|
8818
|
+
* Verify SMS verification code
|
|
8559
8819
|
*/
|
|
8560
8820
|
verifySmsVerificationRaw(requestParameters, initOverrides) {
|
|
8561
8821
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8586,7 +8846,8 @@ class SDKApi extends BaseAPI {
|
|
|
8586
8846
|
});
|
|
8587
8847
|
}
|
|
8588
8848
|
/**
|
|
8589
|
-
*
|
|
8849
|
+
* Verifies the SMS code and completes the phone number verification process.
|
|
8850
|
+
* Verify SMS verification code
|
|
8590
8851
|
*/
|
|
8591
8852
|
verifySmsVerification(requestParameters, initOverrides) {
|
|
8592
8853
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8623,7 +8884,7 @@ class SDKApi extends BaseAPI {
|
|
|
8623
8884
|
}
|
|
8624
8885
|
/**
|
|
8625
8886
|
* Used to link a wallet after user has confirmed transfer to the new account
|
|
8626
|
-
* Verify wallet transfer
|
|
8887
|
+
* Verify a wallet transfer
|
|
8627
8888
|
*/
|
|
8628
8889
|
verifyTransferRaw(requestParameters, initOverrides) {
|
|
8629
8890
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8655,7 +8916,7 @@ class SDKApi extends BaseAPI {
|
|
|
8655
8916
|
}
|
|
8656
8917
|
/**
|
|
8657
8918
|
* Used to link a wallet after user has confirmed transfer to the new account
|
|
8658
|
-
* Verify wallet transfer
|
|
8919
|
+
* Verify a wallet transfer
|
|
8659
8920
|
*/
|
|
8660
8921
|
verifyTransfer(requestParameters, initOverrides) {
|
|
8661
8922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8692,7 +8953,7 @@ class SDKApi extends BaseAPI {
|
|
|
8692
8953
|
}
|
|
8693
8954
|
/**
|
|
8694
8955
|
* Remove a link from to a valid environment user, and return an updated JWT
|
|
8695
|
-
*
|
|
8956
|
+
* Unlink a wallet from a user
|
|
8696
8957
|
*/
|
|
8697
8958
|
verifyUnlinkRaw(requestParameters, initOverrides) {
|
|
8698
8959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8724,7 +8985,7 @@ class SDKApi extends BaseAPI {
|
|
|
8724
8985
|
}
|
|
8725
8986
|
/**
|
|
8726
8987
|
* Remove a link from to a valid environment user, and return an updated JWT
|
|
8727
|
-
*
|
|
8988
|
+
* Unlink a wallet from a user
|
|
8728
8989
|
*/
|
|
8729
8990
|
verifyUnlink(requestParameters, initOverrides) {
|
|
8730
8991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8843,6 +9104,137 @@ class SDKApi extends BaseAPI {
|
|
|
8843
9104
|
yield this.walletAccountRequestOptionsRaw(requestParameters, initOverrides);
|
|
8844
9105
|
});
|
|
8845
9106
|
}
|
|
9107
|
+
/**
|
|
9108
|
+
* Authenticates a user by verifying their wallet signature.
|
|
9109
|
+
* Sign in with wallet
|
|
9110
|
+
*/
|
|
9111
|
+
walletsSigninRaw(requestParameters, initOverrides) {
|
|
9112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9113
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9114
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsSignin.');
|
|
9115
|
+
}
|
|
9116
|
+
if (requestParameters.verifyRequest === null || requestParameters.verifyRequest === undefined) {
|
|
9117
|
+
throw new RequiredError('verifyRequest', 'Required parameter requestParameters.verifyRequest was null or undefined when calling walletsSignin.');
|
|
9118
|
+
}
|
|
9119
|
+
const queryParameters = {};
|
|
9120
|
+
const headerParameters = {};
|
|
9121
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
9122
|
+
const response = yield this.request({
|
|
9123
|
+
path: `/sdk/{environmentId}/wallets/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9124
|
+
method: 'POST',
|
|
9125
|
+
headers: headerParameters,
|
|
9126
|
+
query: queryParameters,
|
|
9127
|
+
body: VerifyRequestToJSON(requestParameters.verifyRequest),
|
|
9128
|
+
}, initOverrides);
|
|
9129
|
+
return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
|
|
9130
|
+
});
|
|
9131
|
+
}
|
|
9132
|
+
/**
|
|
9133
|
+
* Authenticates a user by verifying their wallet signature.
|
|
9134
|
+
* Sign in with wallet
|
|
9135
|
+
*/
|
|
9136
|
+
walletsSignin(requestParameters, initOverrides) {
|
|
9137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9138
|
+
const response = yield this.walletsSigninRaw(requestParameters, initOverrides);
|
|
9139
|
+
return yield response.value();
|
|
9140
|
+
});
|
|
9141
|
+
}
|
|
9142
|
+
/**
|
|
9143
|
+
* Options call for this endpoint
|
|
9144
|
+
*/
|
|
9145
|
+
walletsSigninOptionsRaw(requestParameters, initOverrides) {
|
|
9146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9147
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9148
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsSigninOptions.');
|
|
9149
|
+
}
|
|
9150
|
+
const queryParameters = {};
|
|
9151
|
+
const headerParameters = {};
|
|
9152
|
+
const response = yield this.request({
|
|
9153
|
+
path: `/sdk/{environmentId}/wallets/signin`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9154
|
+
method: 'OPTIONS',
|
|
9155
|
+
headers: headerParameters,
|
|
9156
|
+
query: queryParameters,
|
|
9157
|
+
}, initOverrides);
|
|
9158
|
+
return new VoidApiResponse(response);
|
|
9159
|
+
});
|
|
9160
|
+
}
|
|
9161
|
+
/**
|
|
9162
|
+
* Options call for this endpoint
|
|
9163
|
+
*/
|
|
9164
|
+
walletsSigninOptions(requestParameters, initOverrides) {
|
|
9165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9166
|
+
yield this.walletsSigninOptionsRaw(requestParameters, initOverrides);
|
|
9167
|
+
});
|
|
9168
|
+
}
|
|
9169
|
+
/**
|
|
9170
|
+
* Verify a wallet, and return an updated JWT
|
|
9171
|
+
* Verify a wallet
|
|
9172
|
+
*/
|
|
9173
|
+
walletsVerifyRaw(requestParameters, initOverrides) {
|
|
9174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9175
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9176
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsVerify.');
|
|
9177
|
+
}
|
|
9178
|
+
if (requestParameters.verifyRequest === null || requestParameters.verifyRequest === undefined) {
|
|
9179
|
+
throw new RequiredError('verifyRequest', 'Required parameter requestParameters.verifyRequest was null or undefined when calling walletsVerify.');
|
|
9180
|
+
}
|
|
9181
|
+
const queryParameters = {};
|
|
9182
|
+
const headerParameters = {};
|
|
9183
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
9184
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
9185
|
+
const token = this.configuration.accessToken;
|
|
9186
|
+
const tokenString = yield token("bearerAuth", []);
|
|
9187
|
+
if (tokenString) {
|
|
9188
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
9189
|
+
}
|
|
9190
|
+
}
|
|
9191
|
+
const response = yield this.request({
|
|
9192
|
+
path: `/sdk/{environmentId}/wallets/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9193
|
+
method: 'POST',
|
|
9194
|
+
headers: headerParameters,
|
|
9195
|
+
query: queryParameters,
|
|
9196
|
+
body: VerifyRequestToJSON(requestParameters.verifyRequest),
|
|
9197
|
+
}, initOverrides);
|
|
9198
|
+
return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
|
|
9199
|
+
});
|
|
9200
|
+
}
|
|
9201
|
+
/**
|
|
9202
|
+
* Verify a wallet, and return an updated JWT
|
|
9203
|
+
* Verify a wallet
|
|
9204
|
+
*/
|
|
9205
|
+
walletsVerify(requestParameters, initOverrides) {
|
|
9206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9207
|
+
const response = yield this.walletsVerifyRaw(requestParameters, initOverrides);
|
|
9208
|
+
return yield response.value();
|
|
9209
|
+
});
|
|
9210
|
+
}
|
|
9211
|
+
/**
|
|
9212
|
+
* Options call for this endpoint
|
|
9213
|
+
*/
|
|
9214
|
+
walletsVerifyOptionsRaw(requestParameters, initOverrides) {
|
|
9215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9216
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9217
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling walletsVerifyOptions.');
|
|
9218
|
+
}
|
|
9219
|
+
const queryParameters = {};
|
|
9220
|
+
const headerParameters = {};
|
|
9221
|
+
const response = yield this.request({
|
|
9222
|
+
path: `/sdk/{environmentId}/wallets/verify`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
9223
|
+
method: 'OPTIONS',
|
|
9224
|
+
headers: headerParameters,
|
|
9225
|
+
query: queryParameters,
|
|
9226
|
+
}, initOverrides);
|
|
9227
|
+
return new VoidApiResponse(response);
|
|
9228
|
+
});
|
|
9229
|
+
}
|
|
9230
|
+
/**
|
|
9231
|
+
* Options call for this endpoint
|
|
9232
|
+
*/
|
|
9233
|
+
walletsVerifyOptions(requestParameters, initOverrides) {
|
|
9234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9235
|
+
yield this.walletsVerifyOptionsRaw(requestParameters, initOverrides);
|
|
9236
|
+
});
|
|
9237
|
+
}
|
|
8846
9238
|
}
|
|
8847
9239
|
|
|
8848
9240
|
export { SDKApi };
|