@dynamic-labs/sdk-api 0.0.1013 → 0.0.1015
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/SDKApi.cjs +8 -5
- package/src/apis/SDKApi.d.ts +3 -1
- package/src/apis/SDKApi.js +8 -5
- package/src/models/AttachSourceRequest.d.ts +1 -1
- package/src/models/ChainalysisCheck.d.ts +1 -1
- package/src/models/CheckoutSettlementData.d.ts +1 -1
- package/src/models/CheckoutTransaction.d.ts +2 -2
- package/src/models/CheckoutTransactionDestinationAddress.d.ts +1 -1
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +1 -1
- package/src/models/CoinbaseOnrampOrder.d.ts +1 -1
- package/src/models/CoinbaseOnrampOrderCreateRequest.d.ts +1 -1
- package/src/models/ConnectRequest.d.ts +1 -1
- package/src/models/CreateWalletRequest.d.ts +1 -1
- package/src/models/CryptoDotComPaymentCreateRequest.d.ts +1 -1
- package/src/models/Eip712Domain.d.ts +1 -1
- package/src/models/ForbiddenErrorPayload.d.ts +1 -1
- package/src/models/InviteSendRequest.d.ts +1 -1
- package/src/models/JwtBlockchainAccount.d.ts +1 -1
- package/src/models/JwtVerifiedCredential.d.ts +1 -1
- package/src/models/NameServiceCreateRequest.d.ts +1 -1
- package/src/models/NameServiceResponse.d.ts +1 -1
- package/src/models/NameServiceSigningMessageRequest.d.ts +1 -1
- package/src/models/PostAllowlistEntriesRequest.d.ts +1 -1
- package/src/models/PrefetchRequest.d.ts +1 -1
- package/src/models/SimulateEVMTransactionRequest.d.ts +2 -2
- package/src/models/SimulateUserOpRequest.d.ts +1 -1
- package/src/models/SwapQuoteRequestSide.d.ts +1 -1
- package/src/models/TokenBalance.d.ts +1 -1
- package/src/models/TransactionFeeEstimateRequest.d.ts +1 -1
- package/src/models/TransferDestination.d.ts +1 -1
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +1 -0
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/Wallet.d.ts +1 -1
- package/src/models/WalletDetail.d.ts +2 -2
- package/src/models/WalletSanctionsResponse.d.ts +1 -1
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -3029,6 +3029,9 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3029
3029
|
if (requestParameters.networkId !== undefined) {
|
|
3030
3030
|
queryParameters['networkId'] = requestParameters.networkId;
|
|
3031
3031
|
}
|
|
3032
|
+
if (requestParameters.networkIds) {
|
|
3033
|
+
queryParameters['networkIds'] = requestParameters.networkIds;
|
|
3034
|
+
}
|
|
3032
3035
|
if (requestParameters.accountAddress !== undefined) {
|
|
3033
3036
|
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
3034
3037
|
}
|
|
@@ -3074,9 +3077,6 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3074
3077
|
if (requestParameters.chainName === null || requestParameters.chainName === undefined) {
|
|
3075
3078
|
throw new runtime.RequiredError('chainName', 'Required parameter requestParameters.chainName was null or undefined when calling getAccountBalancesOptions.');
|
|
3076
3079
|
}
|
|
3077
|
-
if (requestParameters.networkId === null || requestParameters.networkId === undefined) {
|
|
3078
|
-
throw new runtime.RequiredError('networkId', 'Required parameter requestParameters.networkId was null or undefined when calling getAccountBalancesOptions.');
|
|
3079
|
-
}
|
|
3080
3080
|
if (requestParameters.accountAddress === null || requestParameters.accountAddress === undefined) {
|
|
3081
3081
|
throw new runtime.RequiredError('accountAddress', 'Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalancesOptions.');
|
|
3082
3082
|
}
|
|
@@ -3084,6 +3084,9 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3084
3084
|
if (requestParameters.networkId !== undefined) {
|
|
3085
3085
|
queryParameters['networkId'] = requestParameters.networkId;
|
|
3086
3086
|
}
|
|
3087
|
+
if (requestParameters.networkIds) {
|
|
3088
|
+
queryParameters['networkIds'] = requestParameters.networkIds;
|
|
3089
|
+
}
|
|
3087
3090
|
if (requestParameters.accountAddress !== undefined) {
|
|
3088
3091
|
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
3089
3092
|
}
|
|
@@ -4414,7 +4417,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4414
4417
|
}
|
|
4415
4418
|
const headerParameters = {};
|
|
4416
4419
|
const response = await this.request({
|
|
4417
|
-
path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4420
|
+
path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4418
4421
|
method: 'GET',
|
|
4419
4422
|
headers: headerParameters,
|
|
4420
4423
|
query: queryParameters,
|
|
@@ -5888,7 +5891,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
5888
5891
|
const queryParameters = {};
|
|
5889
5892
|
const headerParameters = {};
|
|
5890
5893
|
const response = await this.request({
|
|
5891
|
-
path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
5894
|
+
path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
5892
5895
|
method: 'OPTIONS',
|
|
5893
5896
|
headers: headerParameters,
|
|
5894
5897
|
query: queryParameters,
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -360,6 +360,7 @@ export interface GetAccountBalancesRequest {
|
|
|
360
360
|
chainName: ChainEnum;
|
|
361
361
|
accountAddress: string;
|
|
362
362
|
networkId?: number;
|
|
363
|
+
networkIds?: Array<string>;
|
|
363
364
|
includePrices?: boolean;
|
|
364
365
|
includeNative?: boolean;
|
|
365
366
|
filterSpamTokens?: boolean;
|
|
@@ -369,8 +370,9 @@ export interface GetAccountBalancesRequest {
|
|
|
369
370
|
export interface GetAccountBalancesOptionsRequest {
|
|
370
371
|
environmentId: string;
|
|
371
372
|
chainName: ChainEnum;
|
|
372
|
-
networkId: number;
|
|
373
373
|
accountAddress: string;
|
|
374
|
+
networkId?: number;
|
|
375
|
+
networkIds?: Array<string>;
|
|
374
376
|
transactionHash?: string;
|
|
375
377
|
}
|
|
376
378
|
export interface GetAleoCuratedPricesRequest {
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -3025,6 +3025,9 @@ class SDKApi extends BaseAPI {
|
|
|
3025
3025
|
if (requestParameters.networkId !== undefined) {
|
|
3026
3026
|
queryParameters['networkId'] = requestParameters.networkId;
|
|
3027
3027
|
}
|
|
3028
|
+
if (requestParameters.networkIds) {
|
|
3029
|
+
queryParameters['networkIds'] = requestParameters.networkIds;
|
|
3030
|
+
}
|
|
3028
3031
|
if (requestParameters.accountAddress !== undefined) {
|
|
3029
3032
|
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
3030
3033
|
}
|
|
@@ -3070,9 +3073,6 @@ class SDKApi extends BaseAPI {
|
|
|
3070
3073
|
if (requestParameters.chainName === null || requestParameters.chainName === undefined) {
|
|
3071
3074
|
throw new RequiredError('chainName', 'Required parameter requestParameters.chainName was null or undefined when calling getAccountBalancesOptions.');
|
|
3072
3075
|
}
|
|
3073
|
-
if (requestParameters.networkId === null || requestParameters.networkId === undefined) {
|
|
3074
|
-
throw new RequiredError('networkId', 'Required parameter requestParameters.networkId was null or undefined when calling getAccountBalancesOptions.');
|
|
3075
|
-
}
|
|
3076
3076
|
if (requestParameters.accountAddress === null || requestParameters.accountAddress === undefined) {
|
|
3077
3077
|
throw new RequiredError('accountAddress', 'Required parameter requestParameters.accountAddress was null or undefined when calling getAccountBalancesOptions.');
|
|
3078
3078
|
}
|
|
@@ -3080,6 +3080,9 @@ class SDKApi extends BaseAPI {
|
|
|
3080
3080
|
if (requestParameters.networkId !== undefined) {
|
|
3081
3081
|
queryParameters['networkId'] = requestParameters.networkId;
|
|
3082
3082
|
}
|
|
3083
|
+
if (requestParameters.networkIds) {
|
|
3084
|
+
queryParameters['networkIds'] = requestParameters.networkIds;
|
|
3085
|
+
}
|
|
3083
3086
|
if (requestParameters.accountAddress !== undefined) {
|
|
3084
3087
|
queryParameters['accountAddress'] = requestParameters.accountAddress;
|
|
3085
3088
|
}
|
|
@@ -4410,7 +4413,7 @@ class SDKApi extends BaseAPI {
|
|
|
4410
4413
|
}
|
|
4411
4414
|
const headerParameters = {};
|
|
4412
4415
|
const response = await this.request({
|
|
4413
|
-
path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4416
|
+
path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
4414
4417
|
method: 'GET',
|
|
4415
4418
|
headers: headerParameters,
|
|
4416
4419
|
query: queryParameters,
|
|
@@ -5884,7 +5887,7 @@ class SDKApi extends BaseAPI {
|
|
|
5884
5887
|
const queryParameters = {};
|
|
5885
5888
|
const headerParameters = {};
|
|
5886
5889
|
const response = await this.request({
|
|
5887
|
-
path: `/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
5890
|
+
path: `/sdk/{environmentId}/onramps/moonpay/currencies`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
5888
5891
|
method: 'OPTIONS',
|
|
5889
5892
|
headers: headerParameters,
|
|
5890
5893
|
query: queryParameters,
|
|
@@ -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
|
*/
|
|
@@ -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) {
|
package/src/models/Wallet.d.ts
CHANGED
|
@@ -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
|
*/
|