@dynamic-labs/sdk-api 0.0.1012 → 0.0.1014

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.
Files changed (40) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +69 -2
  3. package/src/apis/SDKApi.d.ts +28 -0
  4. package/src/apis/SDKApi.js +69 -2
  5. package/src/models/AttachSourceRequest.d.ts +1 -1
  6. package/src/models/ChainalysisCheck.d.ts +1 -1
  7. package/src/models/CheckoutSettlementData.d.ts +1 -1
  8. package/src/models/CheckoutTransaction.d.ts +2 -2
  9. package/src/models/CheckoutTransactionDestinationAddress.d.ts +1 -1
  10. package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +1 -1
  11. package/src/models/CoinbaseOnrampOrder.d.ts +1 -1
  12. package/src/models/CoinbaseOnrampOrderCreateRequest.d.ts +1 -1
  13. package/src/models/ConnectRequest.d.ts +1 -1
  14. package/src/models/CreateWalletRequest.d.ts +1 -1
  15. package/src/models/CryptoDotComPaymentCreateRequest.d.ts +1 -1
  16. package/src/models/Eip712Domain.d.ts +1 -1
  17. package/src/models/ForbiddenErrorPayload.d.ts +1 -1
  18. package/src/models/InviteSendRequest.d.ts +1 -1
  19. package/src/models/JwtBlockchainAccount.d.ts +1 -1
  20. package/src/models/JwtVerifiedCredential.d.ts +1 -1
  21. package/src/models/NameServiceCreateRequest.d.ts +1 -1
  22. package/src/models/NameServiceResponse.d.ts +1 -1
  23. package/src/models/NameServiceSigningMessageRequest.d.ts +1 -1
  24. package/src/models/PostAllowlistEntriesRequest.d.ts +1 -1
  25. package/src/models/PrefetchRequest.d.ts +1 -1
  26. package/src/models/SimulateEVMTransactionRequest.d.ts +2 -2
  27. package/src/models/SimulateUserOpRequest.d.ts +1 -1
  28. package/src/models/SwapQuoteRequestSide.d.ts +1 -1
  29. package/src/models/TokenBalance.d.ts +1 -1
  30. package/src/models/TokenScopes.cjs +2 -0
  31. package/src/models/TokenScopes.d.ts +3 -1
  32. package/src/models/TokenScopes.js +2 -0
  33. package/src/models/TransactionFeeEstimateRequest.d.ts +1 -1
  34. package/src/models/TransferDestination.d.ts +1 -1
  35. package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
  36. package/src/models/UnprocessableEntityErrorCode.d.ts +1 -0
  37. package/src/models/UnprocessableEntityErrorCode.js +1 -0
  38. package/src/models/Wallet.d.ts +1 -1
  39. package/src/models/WalletDetail.d.ts +2 -2
  40. package/src/models/WalletSanctionsResponse.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.1012",
3
+ "version": "0.0.1014",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -4414,7 +4414,7 @@ class SDKApi extends runtime.BaseAPI {
4414
4414
  }
4415
4415
  const headerParameters = {};
4416
4416
  const response = await this.request({
4417
- path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
4417
+ path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
4418
4418
  method: 'GET',
4419
4419
  headers: headerParameters,
4420
4420
  query: queryParameters,
@@ -5888,7 +5888,7 @@ class SDKApi extends runtime.BaseAPI {
5888
5888
  const queryParameters = {};
5889
5889
  const headerParameters = {};
5890
5890
  const response = await this.request({
5891
- path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
5891
+ path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
5892
5892
  method: 'OPTIONS',
5893
5893
  headers: headerParameters,
5894
5894
  query: queryParameters,
@@ -7938,6 +7938,73 @@ class SDKApi extends runtime.BaseAPI {
7938
7938
  async revokeAleoScannerOptions(requestParameters, initOverrides) {
7939
7939
  await this.revokeAleoScannerOptionsRaw(requestParameters, initOverrides);
7940
7940
  }
7941
+ /**
7942
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
7943
+ * Revoke a delegated share set
7944
+ */
7945
+ async revokeDelegatedShareSetRaw(requestParameters, initOverrides) {
7946
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
7947
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling revokeDelegatedShareSet.');
7948
+ }
7949
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
7950
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling revokeDelegatedShareSet.');
7951
+ }
7952
+ if (requestParameters.shareSetId === null || requestParameters.shareSetId === undefined) {
7953
+ throw new runtime.RequiredError('shareSetId', 'Required parameter requestParameters.shareSetId was null or undefined when calling revokeDelegatedShareSet.');
7954
+ }
7955
+ const queryParameters = {};
7956
+ const headerParameters = {};
7957
+ if (this.configuration && this.configuration.accessToken) {
7958
+ const token = this.configuration.accessToken;
7959
+ const tokenString = await token("bearerAuth", []);
7960
+ if (tokenString) {
7961
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
7962
+ }
7963
+ }
7964
+ const response = await this.request({
7965
+ path: `/sdk/{environmentId}/waas/{walletId}/delegatedAccess/{shareSetId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"shareSetId"}}`, encodeURIComponent(String(requestParameters.shareSetId))),
7966
+ method: 'DELETE',
7967
+ headers: headerParameters,
7968
+ query: queryParameters,
7969
+ }, initOverrides);
7970
+ return new runtime.VoidApiResponse(response);
7971
+ }
7972
+ /**
7973
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
7974
+ * Revoke a delegated share set
7975
+ */
7976
+ async revokeDelegatedShareSet(requestParameters, initOverrides) {
7977
+ await this.revokeDelegatedShareSetRaw(requestParameters, initOverrides);
7978
+ }
7979
+ /**
7980
+ * Options call for this endpoint
7981
+ */
7982
+ async revokeDelegatedShareSetOptionsRaw(requestParameters, initOverrides) {
7983
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
7984
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling revokeDelegatedShareSetOptions.');
7985
+ }
7986
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
7987
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling revokeDelegatedShareSetOptions.');
7988
+ }
7989
+ if (requestParameters.shareSetId === null || requestParameters.shareSetId === undefined) {
7990
+ throw new runtime.RequiredError('shareSetId', 'Required parameter requestParameters.shareSetId was null or undefined when calling revokeDelegatedShareSetOptions.');
7991
+ }
7992
+ const queryParameters = {};
7993
+ const headerParameters = {};
7994
+ const response = await this.request({
7995
+ path: `/sdk/{environmentId}/waas/{walletId}/delegatedAccess/{shareSetId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"shareSetId"}}`, encodeURIComponent(String(requestParameters.shareSetId))),
7996
+ method: 'OPTIONS',
7997
+ headers: headerParameters,
7998
+ query: queryParameters,
7999
+ }, initOverrides);
8000
+ return new runtime.VoidApiResponse(response);
8001
+ }
8002
+ /**
8003
+ * Options call for this endpoint
8004
+ */
8005
+ async revokeDelegatedShareSetOptions(requestParameters, initOverrides) {
8006
+ await this.revokeDelegatedShareSetOptionsRaw(requestParameters, initOverrides);
8007
+ }
7941
8008
  /**
7942
8009
  * Revokes the current user session and invalidates the JWT.
7943
8010
  * Revoke a session
@@ -998,6 +998,16 @@ export interface RevokeAleoScannerRequest {
998
998
  export interface RevokeAleoScannerOptionsRequest {
999
999
  environmentId: string;
1000
1000
  }
1001
+ export interface RevokeDelegatedShareSetRequest {
1002
+ environmentId: string;
1003
+ walletId: string;
1004
+ shareSetId: string;
1005
+ }
1006
+ export interface RevokeDelegatedShareSetOptionsRequest {
1007
+ environmentId: string;
1008
+ walletId: string;
1009
+ shareSetId: string;
1010
+ }
1001
1011
  export interface RevokeSessionRequest {
1002
1012
  environmentId: string;
1003
1013
  }
@@ -3560,6 +3570,24 @@ export declare class SDKApi extends runtime.BaseAPI {
3560
3570
  * Options call for this endpoint
3561
3571
  */
3562
3572
  revokeAleoScannerOptions(requestParameters: RevokeAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3573
+ /**
3574
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
3575
+ * Revoke a delegated share set
3576
+ */
3577
+ revokeDelegatedShareSetRaw(requestParameters: RevokeDelegatedShareSetRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
3578
+ /**
3579
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
3580
+ * Revoke a delegated share set
3581
+ */
3582
+ revokeDelegatedShareSet(requestParameters: RevokeDelegatedShareSetRequest, initOverrides?: RequestInit): Promise<void>;
3583
+ /**
3584
+ * Options call for this endpoint
3585
+ */
3586
+ revokeDelegatedShareSetOptionsRaw(requestParameters: RevokeDelegatedShareSetOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
3587
+ /**
3588
+ * Options call for this endpoint
3589
+ */
3590
+ revokeDelegatedShareSetOptions(requestParameters: RevokeDelegatedShareSetOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3563
3591
  /**
3564
3592
  * Revokes the current user session and invalidates the JWT.
3565
3593
  * Revoke a session
@@ -4410,7 +4410,7 @@ class SDKApi extends BaseAPI {
4410
4410
  }
4411
4411
  const headerParameters = {};
4412
4412
  const response = await this.request({
4413
- path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
4413
+ path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
4414
4414
  method: 'GET',
4415
4415
  headers: headerParameters,
4416
4416
  query: queryParameters,
@@ -5884,7 +5884,7 @@ class SDKApi extends BaseAPI {
5884
5884
  const queryParameters = {};
5885
5885
  const headerParameters = {};
5886
5886
  const response = await this.request({
5887
- path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
5887
+ path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
5888
5888
  method: 'OPTIONS',
5889
5889
  headers: headerParameters,
5890
5890
  query: queryParameters,
@@ -7934,6 +7934,73 @@ class SDKApi extends BaseAPI {
7934
7934
  async revokeAleoScannerOptions(requestParameters, initOverrides) {
7935
7935
  await this.revokeAleoScannerOptionsRaw(requestParameters, initOverrides);
7936
7936
  }
7937
+ /**
7938
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
7939
+ * Revoke a delegated share set
7940
+ */
7941
+ async revokeDelegatedShareSetRaw(requestParameters, initOverrides) {
7942
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
7943
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling revokeDelegatedShareSet.');
7944
+ }
7945
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
7946
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling revokeDelegatedShareSet.');
7947
+ }
7948
+ if (requestParameters.shareSetId === null || requestParameters.shareSetId === undefined) {
7949
+ throw new RequiredError('shareSetId', 'Required parameter requestParameters.shareSetId was null or undefined when calling revokeDelegatedShareSet.');
7950
+ }
7951
+ const queryParameters = {};
7952
+ const headerParameters = {};
7953
+ if (this.configuration && this.configuration.accessToken) {
7954
+ const token = this.configuration.accessToken;
7955
+ const tokenString = await token("bearerAuth", []);
7956
+ if (tokenString) {
7957
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
7958
+ }
7959
+ }
7960
+ const response = await this.request({
7961
+ path: `/sdk/{environmentId}/waas/{walletId}/delegatedAccess/{shareSetId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"shareSetId"}}`, encodeURIComponent(String(requestParameters.shareSetId))),
7962
+ method: 'DELETE',
7963
+ headers: headerParameters,
7964
+ query: queryParameters,
7965
+ }, initOverrides);
7966
+ return new VoidApiResponse(response);
7967
+ }
7968
+ /**
7969
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
7970
+ * Revoke a delegated share set
7971
+ */
7972
+ async revokeDelegatedShareSet(requestParameters, initOverrides) {
7973
+ await this.revokeDelegatedShareSetRaw(requestParameters, initOverrides);
7974
+ }
7975
+ /**
7976
+ * Options call for this endpoint
7977
+ */
7978
+ async revokeDelegatedShareSetOptionsRaw(requestParameters, initOverrides) {
7979
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
7980
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling revokeDelegatedShareSetOptions.');
7981
+ }
7982
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
7983
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling revokeDelegatedShareSetOptions.');
7984
+ }
7985
+ if (requestParameters.shareSetId === null || requestParameters.shareSetId === undefined) {
7986
+ throw new RequiredError('shareSetId', 'Required parameter requestParameters.shareSetId was null or undefined when calling revokeDelegatedShareSetOptions.');
7987
+ }
7988
+ const queryParameters = {};
7989
+ const headerParameters = {};
7990
+ const response = await this.request({
7991
+ path: `/sdk/{environmentId}/waas/{walletId}/delegatedAccess/{shareSetId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"shareSetId"}}`, encodeURIComponent(String(requestParameters.shareSetId))),
7992
+ method: 'OPTIONS',
7993
+ headers: headerParameters,
7994
+ query: queryParameters,
7995
+ }, initOverrides);
7996
+ return new VoidApiResponse(response);
7997
+ }
7998
+ /**
7999
+ * Options call for this endpoint
8000
+ */
8001
+ async revokeDelegatedShareSetOptions(requestParameters, initOverrides) {
8002
+ await this.revokeDelegatedShareSetOptionsRaw(requestParameters, initOverrides);
8003
+ }
7937
8004
  /**
7938
8005
  * Revokes the current user session and invalidates the JWT.
7939
8006
  * Revoke a session
@@ -25,7 +25,7 @@ export interface AttachSourceRequest {
25
25
  */
26
26
  sourceType: CheckoutSourceTypeEnum;
27
27
  /**
28
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
28
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
29
29
  * @type {string}
30
30
  * @memberof AttachSourceRequest
31
31
  */
@@ -35,7 +35,7 @@ export interface ChainalysisCheck {
35
35
  */
36
36
  result: ChainalysisCheckResultEnum;
37
37
  /**
38
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
38
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
39
39
  * @type {string}
40
40
  * @memberof ChainalysisCheck
41
41
  */
@@ -28,7 +28,7 @@ export interface CheckoutSettlementData {
28
28
  */
29
29
  toToken: string;
30
30
  /**
31
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
31
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
32
32
  * @type {string}
33
33
  * @memberof CheckoutSettlementData
34
34
  */
@@ -92,7 +92,7 @@ export interface CheckoutTransaction {
92
92
  */
93
93
  sourceType?: CheckoutSourceTypeEnum;
94
94
  /**
95
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
95
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
96
96
  * @type {string}
97
97
  * @memberof CheckoutTransaction
98
98
  */
@@ -116,7 +116,7 @@ export interface CheckoutTransaction {
116
116
  */
117
117
  fromToken?: string;
118
118
  /**
119
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
119
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
120
120
  * @type {string}
121
121
  * @memberof CheckoutTransaction
122
122
  */
@@ -17,7 +17,7 @@ import { ChainEnum } from './ChainEnum';
17
17
  */
18
18
  export interface CheckoutTransactionDestinationAddress {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
21
21
  * @type {string}
22
22
  * @memberof CheckoutTransactionDestinationAddress
23
23
  */
@@ -47,7 +47,7 @@ export interface CoinbaseOnrampGetBuyUrlRequest {
47
47
  */
48
48
  defaultPaymentMethod?: string;
49
49
  /**
50
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
50
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
51
51
  * @type {string}
52
52
  * @memberof CoinbaseOnrampGetBuyUrlRequest
53
53
  */
@@ -73,7 +73,7 @@ export interface CoinbaseOnrampOrder {
73
73
  */
74
74
  exchangeRate: string;
75
75
  /**
76
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
76
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
77
77
  * @type {string}
78
78
  * @memberof CoinbaseOnrampOrder
79
79
  */
@@ -23,7 +23,7 @@ export interface CoinbaseOnrampOrderCreateRequest {
23
23
  */
24
24
  agreementAcceptedAt: Date;
25
25
  /**
26
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
26
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
27
27
  * @type {string}
28
28
  * @memberof CoinbaseOnrampOrderCreateRequest
29
29
  */
@@ -19,7 +19,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
19
19
  */
20
20
  export interface ConnectRequest {
21
21
  /**
22
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
22
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
23
23
  * @type {string}
24
24
  * @memberof ConnectRequest
25
25
  */
@@ -19,7 +19,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
19
19
  */
20
20
  export interface CreateWalletRequest {
21
21
  /**
22
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
22
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
23
23
  * @type {string}
24
24
  * @memberof CreateWalletRequest
25
25
  */
@@ -53,7 +53,7 @@ export interface CryptoDotComPaymentCreateRequest {
53
53
  */
54
54
  subMerchantId?: string;
55
55
  /**
56
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
56
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
57
57
  * @type {string}
58
58
  * @memberof CryptoDotComPaymentCreateRequest
59
59
  */
@@ -34,7 +34,7 @@ export interface Eip712Domain {
34
34
  */
35
35
  chainId?: number;
36
36
  /**
37
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
37
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
38
38
  * @type {string}
39
39
  * @memberof Eip712Domain
40
40
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ForbiddenErrorPayload {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
20
20
  * @type {string}
21
21
  * @memberof ForbiddenErrorPayload
22
22
  */
@@ -17,7 +17,7 @@ import { RoleEnum } from './RoleEnum';
17
17
  */
18
18
  export interface InviteSendRequest {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
21
21
  * @type {string}
22
22
  * @memberof InviteSendRequest
23
23
  */
@@ -18,7 +18,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
18
18
  */
19
19
  export interface JwtBlockchainAccount {
20
20
  /**
21
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
21
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
22
22
  * @type {string}
23
23
  * @memberof JwtBlockchainAccount
24
24
  */
@@ -22,7 +22,7 @@ import { WalletProviderEnum } from './WalletProviderEnum';
22
22
  */
23
23
  export interface JwtVerifiedCredential {
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
26
26
  * @type {string}
27
27
  * @memberof JwtVerifiedCredential
28
28
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface NameServiceCreateRequest {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
20
20
  * @type {string}
21
21
  * @memberof NameServiceCreateRequest
22
22
  */
@@ -22,7 +22,7 @@ export interface NameServiceResponse {
22
22
  */
23
23
  id: string;
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
26
26
  * @type {string}
27
27
  * @memberof NameServiceResponse
28
28
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface NameServiceSigningMessageRequest {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
20
20
  * @type {string}
21
21
  * @memberof NameServiceSigningMessageRequest
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface PostAllowlistEntriesRequest {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
20
20
  * @type {string}
21
21
  * @memberof PostAllowlistEntriesRequest
22
22
  */
@@ -23,7 +23,7 @@ export interface PrefetchRequest {
23
23
  */
24
24
  chain: ChainEnum;
25
25
  /**
26
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
26
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
27
27
  * @type {string}
28
28
  * @memberof PrefetchRequest
29
29
  */
@@ -28,13 +28,13 @@ export interface SimulateEVMTransactionRequest {
28
28
  */
29
29
  data: string;
30
30
  /**
31
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
31
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
32
32
  * @type {string}
33
33
  * @memberof SimulateEVMTransactionRequest
34
34
  */
35
35
  from: string;
36
36
  /**
37
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
37
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
38
38
  * @type {string}
39
39
  * @memberof SimulateEVMTransactionRequest
40
40
  */
@@ -28,7 +28,7 @@ export interface SimulateUserOpRequest {
28
28
  */
29
29
  operation: object;
30
30
  /**
31
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
31
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
32
32
  * @type {string}
33
33
  * @memberof SimulateUserOpRequest
34
34
  */
@@ -17,7 +17,7 @@ import { ChainEnum } from './ChainEnum';
17
17
  */
18
18
  export interface SwapQuoteRequestSide {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
21
21
  * @type {string}
22
22
  * @memberof SwapQuoteRequestSide
23
23
  */
@@ -22,7 +22,7 @@ export interface TokenBalance {
22
22
  */
23
23
  networkId?: number;
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
26
26
  * @type {string}
27
27
  * @memberof TokenBalance
28
28
  */
@@ -37,6 +37,8 @@ exports.TokenScopes = void 0;
37
37
  TokenScopes["EnvironmentEventsRead"] = "environment.events.read";
38
38
  TokenScopes["EnvironmentEventsWrite"] = "environment.events.write";
39
39
  TokenScopes["EnvironmentBalancesRead"] = "environment.balances.read";
40
+ TokenScopes["GaslessRead"] = "gasless.read";
41
+ TokenScopes["GaslessWrite"] = "gasless.write";
40
42
  })(exports.TokenScopes || (exports.TokenScopes = {}));
41
43
  function TokenScopesFromJSON(json) {
42
44
  return TokenScopesFromJSONTyped(json);
@@ -29,7 +29,9 @@ export declare enum TokenScopes {
29
29
  EnvironmentWebhooksWrite = "environment.webhooks.write",
30
30
  EnvironmentEventsRead = "environment.events.read",
31
31
  EnvironmentEventsWrite = "environment.events.write",
32
- EnvironmentBalancesRead = "environment.balances.read"
32
+ EnvironmentBalancesRead = "environment.balances.read",
33
+ GaslessRead = "gasless.read",
34
+ GaslessWrite = "gasless.write"
33
35
  }
34
36
  export declare function TokenScopesFromJSON(json: any): TokenScopes;
35
37
  export declare function TokenScopesFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenScopes;
@@ -33,6 +33,8 @@ var TokenScopes;
33
33
  TokenScopes["EnvironmentEventsRead"] = "environment.events.read";
34
34
  TokenScopes["EnvironmentEventsWrite"] = "environment.events.write";
35
35
  TokenScopes["EnvironmentBalancesRead"] = "environment.balances.read";
36
+ TokenScopes["GaslessRead"] = "gasless.read";
37
+ TokenScopes["GaslessWrite"] = "gasless.write";
36
38
  })(TokenScopes || (TokenScopes = {}));
37
39
  function TokenScopesFromJSON(json) {
38
40
  return TokenScopesFromJSONTyped(json);
@@ -22,7 +22,7 @@ export interface TransactionFeeEstimateRequest {
22
22
  */
23
23
  base64RawTransaction?: string;
24
24
  /**
25
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
26
26
  * @type {string}
27
27
  * @memberof TransactionFeeEstimateRequest
28
28
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface TransferDestination {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
19
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
20
20
  * @type {string}
21
21
  * @memberof TransferDestination
22
22
  */
@@ -143,6 +143,7 @@ exports.UnprocessableEntityErrorCode = void 0;
143
143
  UnprocessableEntityErrorCode["CannotDeletePasskeyLinkedToEmbeddedWallet"] = "cannot_delete_passkey_linked_to_embedded_wallet";
144
144
  UnprocessableEntityErrorCode["CannotDeleteLastSignInVerifiedCredential"] = "cannot_delete_last_sign_in_verified_credential";
145
145
  UnprocessableEntityErrorCode["CredentialNotEnabledForSignIn"] = "credential_not_enabled_for_sign_in";
146
+ UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
146
147
  UnprocessableEntityErrorCode["ShareSetIdRequired"] = "share_set_id_required";
147
148
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
148
149
  function UnprocessableEntityErrorCodeFromJSON(json) {
@@ -136,6 +136,7 @@ export declare enum UnprocessableEntityErrorCode {
136
136
  CannotDeletePasskeyLinkedToEmbeddedWallet = "cannot_delete_passkey_linked_to_embedded_wallet",
137
137
  CannotDeleteLastSignInVerifiedCredential = "cannot_delete_last_sign_in_verified_credential",
138
138
  CredentialNotEnabledForSignIn = "credential_not_enabled_for_sign_in",
139
+ UnsupportedChain = "unsupported_chain",
139
140
  ShareSetIdRequired = "share_set_id_required"
140
141
  }
141
142
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
@@ -139,6 +139,7 @@ var UnprocessableEntityErrorCode;
139
139
  UnprocessableEntityErrorCode["CannotDeletePasskeyLinkedToEmbeddedWallet"] = "cannot_delete_passkey_linked_to_embedded_wallet";
140
140
  UnprocessableEntityErrorCode["CannotDeleteLastSignInVerifiedCredential"] = "cannot_delete_last_sign_in_verified_credential";
141
141
  UnprocessableEntityErrorCode["CredentialNotEnabledForSignIn"] = "credential_not_enabled_for_sign_in";
142
+ UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
142
143
  UnprocessableEntityErrorCode["ShareSetIdRequired"] = "share_set_id_required";
143
144
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
144
145
  function UnprocessableEntityErrorCodeFromJSON(json) {
@@ -37,7 +37,7 @@ export interface Wallet {
37
37
  */
38
38
  chain: ChainEnum;
39
39
  /**
40
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
40
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
41
41
  * @type {string}
42
42
  * @memberof Wallet
43
43
  */
@@ -45,13 +45,13 @@ export interface WalletDetail {
45
45
  */
46
46
  chain: ChainEnum;
47
47
  /**
48
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
48
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
49
49
  * @type {string}
50
50
  * @memberof WalletDetail
51
51
  */
52
52
  publicKey: string;
53
53
  /**
54
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
54
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
55
55
  * @type {string}
56
56
  * @memberof WalletDetail
57
57
  */
@@ -17,7 +17,7 @@ import { ChainEnum } from './ChainEnum';
17
17
  */
18
18
  export interface WalletSanctionsResponse {
19
19
  /**
20
- * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight)
20
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
21
21
  * @type {string}
22
22
  * @memberof WalletSanctionsResponse
23
23
  */