@dynamic-labs/sdk-api 0.188.0 → 0.190.0
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/AdminActionsApi.cjs +2 -0
- package/src/apis/AdminActionsApi.js +2 -0
- package/src/apis/AllowlistsApi.cjs +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.cjs +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/AuthorizedClientsApi.cjs +2 -0
- package/src/apis/AuthorizedClientsApi.js +2 -0
- package/src/apis/BusinessAccountsApi.cjs +2 -0
- package/src/apis/BusinessAccountsApi.js +2 -0
- package/src/apis/CaptchaApi.cjs +2 -0
- package/src/apis/CaptchaApi.js +2 -0
- package/src/apis/ChainalysisApi.cjs +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.cjs +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CheckoutApi.cjs +2 -0
- package/src/apis/CheckoutApi.js +2 -0
- package/src/apis/ClientGrantApi.cjs +2 -0
- package/src/apis/ClientGrantApi.js +2 -0
- package/src/apis/CustomFieldsApi.cjs +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.cjs +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.cjs +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.cjs +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.cjs +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.cjs +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExchangesApi.cjs +2 -0
- package/src/apis/ExchangesApi.js +2 -0
- package/src/apis/ExportsApi.cjs +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.cjs +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/FlowAnalyticsApi.cjs +2 -0
- package/src/apis/FlowAnalyticsApi.js +2 -0
- package/src/apis/GaslessApi.cjs +2 -0
- package/src/apis/GaslessApi.js +2 -0
- package/src/apis/GatesApi.cjs +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
- package/src/apis/GlobalWalletConnectionsApi.js +2 -0
- package/src/apis/GlobalWalletsApi.cjs +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.cjs +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/KybApi.cjs +2 -0
- package/src/apis/KybApi.js +2 -0
- package/src/apis/MembersApi.cjs +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.cjs +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.cjs +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationSettingsApi.cjs +2 -0
- package/src/apis/OrganizationSettingsApi.js +2 -0
- package/src/apis/OrganizationsApi.cjs +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.cjs +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.cjs +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/ProvidersApi.cjs +2 -0
- package/src/apis/ProvidersApi.js +2 -0
- package/src/apis/SDKApi.cjs +119 -2
- package/src/apis/SDKApi.d.ts +54 -3
- package/src/apis/SDKApi.js +119 -2
- package/src/apis/SDKViewsApi.cjs +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/ScreeningPoliciesApi.cjs +2 -0
- package/src/apis/ScreeningPoliciesApi.js +2 -0
- package/src/apis/ServerApi.cjs +2 -0
- package/src/apis/ServerApi.js +2 -0
- package/src/apis/SessionsApi.cjs +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/TestAccountApi.cjs +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.cjs +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.cjs +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.cjs +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.cjs +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.cjs +2 -0
- package/src/apis/WaasApi.js +2 -0
- package/src/apis/WalletConnectApi.cjs +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.cjs +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.cjs +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/apis/YieldApi.cjs +2 -0
- package/src/apis/YieldApi.js +2 -0
- package/src/apis/ZendeskApi.cjs +2 -0
- package/src/apis/ZendeskApi.js +2 -0
- package/src/index.cjs +80 -0
- package/src/index.js +18 -0
- package/src/models/FlowSourceTokenOption.d.ts +1 -1
- package/src/models/FlowSourceTokenOptionToken.d.ts +1 -1
- package/src/models/FlowSourceTokenOptionsResponse.d.ts +1 -1
- package/src/models/SignMessageApprovalQuorumIntentLifetime.d.ts +1 -1
- package/src/models/SignMessageApprovalQuorumStellarChangeTrustOperation.cjs +47 -0
- package/src/models/SignMessageApprovalQuorumStellarChangeTrustOperation.d.ts +39 -0
- package/src/models/SignMessageApprovalQuorumStellarChangeTrustOperation.js +41 -0
- package/src/models/SignMessageApprovalQuorumStellarCreateAccountOperation.cjs +47 -0
- package/src/models/SignMessageApprovalQuorumStellarCreateAccountOperation.d.ts +39 -0
- package/src/models/SignMessageApprovalQuorumStellarCreateAccountOperation.js +41 -0
- package/src/models/SignMessageApprovalQuorumStellarMemo.cjs +58 -0
- package/src/models/SignMessageApprovalQuorumStellarMemo.d.ts +34 -0
- package/src/models/SignMessageApprovalQuorumStellarMemo.js +52 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoHash.cjs +45 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoHash.d.ts +33 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoHash.js +39 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoId.cjs +45 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoId.d.ts +33 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoId.js +39 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoNone.cjs +43 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoNone.d.ts +27 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoNone.js +37 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoText.cjs +45 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoText.d.ts +33 -0
- package/src/models/SignMessageApprovalQuorumStellarMemoText.js +39 -0
- package/src/models/SignMessageApprovalQuorumStellarOperation.cjs +59 -0
- package/src/models/SignMessageApprovalQuorumStellarOperation.d.ts +35 -0
- package/src/models/SignMessageApprovalQuorumStellarOperation.js +53 -0
- package/src/models/SignMessageApprovalQuorumStellarPathPaymentStrictReceiveOperation.cjs +55 -0
- package/src/models/SignMessageApprovalQuorumStellarPathPaymentStrictReceiveOperation.d.ts +63 -0
- package/src/models/SignMessageApprovalQuorumStellarPathPaymentStrictReceiveOperation.js +49 -0
- package/src/models/SignMessageApprovalQuorumStellarPathPaymentStrictSendOperation.cjs +55 -0
- package/src/models/SignMessageApprovalQuorumStellarPathPaymentStrictSendOperation.d.ts +63 -0
- package/src/models/SignMessageApprovalQuorumStellarPathPaymentStrictSendOperation.js +49 -0
- package/src/models/SignMessageApprovalQuorumStellarPaymentOperation.cjs +49 -0
- package/src/models/SignMessageApprovalQuorumStellarPaymentOperation.d.ts +45 -0
- package/src/models/SignMessageApprovalQuorumStellarPaymentOperation.js +43 -0
- package/src/models/SignMessageApprovalQuorumStellarTransactionOperation.cjs +56 -0
- package/src/models/SignMessageApprovalQuorumStellarTransactionOperation.d.ts +74 -0
- package/src/models/SignMessageApprovalQuorumStellarTransactionOperation.js +50 -0
- package/src/models/SignMessageApprovalQuorumTransactionOperation.cjs +5 -0
- package/src/models/SignMessageApprovalQuorumTransactionOperation.d.ts +3 -0
- package/src/models/SignMessageApprovalQuorumTransactionOperation.js +5 -0
- package/src/models/SignMessageContext.cjs +3 -0
- package/src/models/SignMessageContext.d.ts +7 -0
- package/src/models/SignMessageContext.js +3 -0
- package/src/models/SignMessageStellarTransaction.cjs +55 -0
- package/src/models/SignMessageStellarTransaction.d.ts +42 -0
- package/src/models/SignMessageStellarTransaction.js +49 -0
- package/src/models/SwapCatalogChain.cjs +40 -0
- package/src/models/SwapCatalogChain.d.ts +46 -0
- package/src/models/SwapCatalogChain.js +34 -0
- package/src/models/SwapCatalogToken.cjs +50 -0
- package/src/models/SwapCatalogToken.d.ts +76 -0
- package/src/models/SwapCatalogToken.js +44 -0
- package/src/models/SwapCatalogTokenAllOf.cjs +33 -0
- package/src/models/SwapCatalogTokenAllOf.d.ts +28 -0
- package/src/models/SwapCatalogTokenAllOf.js +27 -0
- package/src/models/SwapChainsResponse.cjs +33 -0
- package/src/models/SwapChainsResponse.d.ts +28 -0
- package/src/models/SwapChainsResponse.js +27 -0
- package/src/models/SwapTokensResponse.cjs +33 -0
- package/src/models/SwapTokensResponse.d.ts +28 -0
- package/src/models/SwapTokensResponse.js +27 -0
- package/src/models/WaasTransactionReviewTestScenario.cjs +1 -0
- package/src/models/WaasTransactionReviewTestScenario.d.ts +2 -1
- package/src/models/WaasTransactionReviewTestScenario.js +1 -0
- package/src/models/index.d.ts +18 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SwapCatalogChain
|
|
17
|
+
*/
|
|
18
|
+
export interface SwapCatalogChain {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ChainEnum}
|
|
22
|
+
* @memberof SwapCatalogChain
|
|
23
|
+
*/
|
|
24
|
+
chainName: ChainEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Network ID within the chain family
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SwapCatalogChain
|
|
29
|
+
*/
|
|
30
|
+
chainId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Display name of the network
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SwapCatalogChain
|
|
35
|
+
*/
|
|
36
|
+
displayName: string;
|
|
37
|
+
/**
|
|
38
|
+
* Absolute HTTPS URL of the network logo
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SwapCatalogChain
|
|
41
|
+
*/
|
|
42
|
+
iconUrl?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function SwapCatalogChainFromJSON(json: any): SwapCatalogChain;
|
|
45
|
+
export declare function SwapCatalogChainFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapCatalogChain;
|
|
46
|
+
export declare function SwapCatalogChainToJSON(value?: SwapCatalogChain | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SwapCatalogChainFromJSON(json) {
|
|
6
|
+
return SwapCatalogChainFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SwapCatalogChainFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
14
|
+
'chainId': json['chainId'],
|
|
15
|
+
'displayName': json['displayName'],
|
|
16
|
+
'iconUrl': !exists(json, 'iconUrl') ? undefined : json['iconUrl'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function SwapCatalogChainToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
28
|
+
'chainId': value.chainId,
|
|
29
|
+
'displayName': value.displayName,
|
|
30
|
+
'iconUrl': value.iconUrl,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { SwapCatalogChainFromJSON, SwapCatalogChainFromJSONTyped, SwapCatalogChainToJSON };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function SwapCatalogTokenFromJSON(json) {
|
|
10
|
+
return SwapCatalogTokenFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function SwapCatalogTokenFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'address': json['address'],
|
|
18
|
+
'chainId': json['chainId'],
|
|
19
|
+
'coinKey': !runtime.exists(json, 'coinKey') ? undefined : json['coinKey'],
|
|
20
|
+
'decimals': json['decimals'],
|
|
21
|
+
'logoURI': !runtime.exists(json, 'logoURI') ? undefined : json['logoURI'],
|
|
22
|
+
'name': json['name'],
|
|
23
|
+
'priceUSD': !runtime.exists(json, 'priceUSD') ? undefined : json['priceUSD'],
|
|
24
|
+
'symbol': json['symbol'],
|
|
25
|
+
'chainName': ChainEnum.ChainEnumFromJSON(json['chainName']),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function SwapCatalogTokenToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'address': value.address,
|
|
37
|
+
'chainId': value.chainId,
|
|
38
|
+
'coinKey': value.coinKey,
|
|
39
|
+
'decimals': value.decimals,
|
|
40
|
+
'logoURI': value.logoURI,
|
|
41
|
+
'name': value.name,
|
|
42
|
+
'priceUSD': value.priceUSD,
|
|
43
|
+
'symbol': value.symbol,
|
|
44
|
+
'chainName': ChainEnum.ChainEnumToJSON(value.chainName),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
exports.SwapCatalogTokenFromJSON = SwapCatalogTokenFromJSON;
|
|
49
|
+
exports.SwapCatalogTokenFromJSONTyped = SwapCatalogTokenFromJSONTyped;
|
|
50
|
+
exports.SwapCatalogTokenToJSON = SwapCatalogTokenToJSON;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SwapCatalogToken
|
|
17
|
+
*/
|
|
18
|
+
export interface SwapCatalogToken {
|
|
19
|
+
/**
|
|
20
|
+
* Token contract address
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SwapCatalogToken
|
|
23
|
+
*/
|
|
24
|
+
address: string;
|
|
25
|
+
/**
|
|
26
|
+
* Chain ID where the token resides
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SwapCatalogToken
|
|
29
|
+
*/
|
|
30
|
+
chainId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique key identifier for the token across chains
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SwapCatalogToken
|
|
35
|
+
*/
|
|
36
|
+
coinKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Number of decimal places the token supports
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof SwapCatalogToken
|
|
41
|
+
*/
|
|
42
|
+
decimals: number;
|
|
43
|
+
/**
|
|
44
|
+
* URL of the token logo image
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SwapCatalogToken
|
|
47
|
+
*/
|
|
48
|
+
logoURI?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Display name of the token
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SwapCatalogToken
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
/**
|
|
56
|
+
* Current price of the token in USD
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SwapCatalogToken
|
|
59
|
+
*/
|
|
60
|
+
priceUSD?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Ticker symbol of the token
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SwapCatalogToken
|
|
65
|
+
*/
|
|
66
|
+
symbol: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {ChainEnum}
|
|
70
|
+
* @memberof SwapCatalogToken
|
|
71
|
+
*/
|
|
72
|
+
chainName: ChainEnum;
|
|
73
|
+
}
|
|
74
|
+
export declare function SwapCatalogTokenFromJSON(json: any): SwapCatalogToken;
|
|
75
|
+
export declare function SwapCatalogTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapCatalogToken;
|
|
76
|
+
export declare function SwapCatalogTokenToJSON(value?: SwapCatalogToken | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SwapCatalogTokenFromJSON(json) {
|
|
6
|
+
return SwapCatalogTokenFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SwapCatalogTokenFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'address': json['address'],
|
|
14
|
+
'chainId': json['chainId'],
|
|
15
|
+
'coinKey': !exists(json, 'coinKey') ? undefined : json['coinKey'],
|
|
16
|
+
'decimals': json['decimals'],
|
|
17
|
+
'logoURI': !exists(json, 'logoURI') ? undefined : json['logoURI'],
|
|
18
|
+
'name': json['name'],
|
|
19
|
+
'priceUSD': !exists(json, 'priceUSD') ? undefined : json['priceUSD'],
|
|
20
|
+
'symbol': json['symbol'],
|
|
21
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function SwapCatalogTokenToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'address': value.address,
|
|
33
|
+
'chainId': value.chainId,
|
|
34
|
+
'coinKey': value.coinKey,
|
|
35
|
+
'decimals': value.decimals,
|
|
36
|
+
'logoURI': value.logoURI,
|
|
37
|
+
'name': value.name,
|
|
38
|
+
'priceUSD': value.priceUSD,
|
|
39
|
+
'symbol': value.symbol,
|
|
40
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { SwapCatalogTokenFromJSON, SwapCatalogTokenFromJSONTyped, SwapCatalogTokenToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SwapCatalogTokenAllOfFromJSON(json) {
|
|
9
|
+
return SwapCatalogTokenAllOfFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SwapCatalogTokenAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chainName': ChainEnum.ChainEnumFromJSON(json['chainName']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function SwapCatalogTokenAllOfToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'chainName': ChainEnum.ChainEnumToJSON(value.chainName),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.SwapCatalogTokenAllOfFromJSON = SwapCatalogTokenAllOfFromJSON;
|
|
32
|
+
exports.SwapCatalogTokenAllOfFromJSONTyped = SwapCatalogTokenAllOfFromJSONTyped;
|
|
33
|
+
exports.SwapCatalogTokenAllOfToJSON = SwapCatalogTokenAllOfToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SwapCatalogTokenAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface SwapCatalogTokenAllOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ChainEnum}
|
|
22
|
+
* @memberof SwapCatalogTokenAllOf
|
|
23
|
+
*/
|
|
24
|
+
chainName: ChainEnum;
|
|
25
|
+
}
|
|
26
|
+
export declare function SwapCatalogTokenAllOfFromJSON(json: any): SwapCatalogTokenAllOf;
|
|
27
|
+
export declare function SwapCatalogTokenAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapCatalogTokenAllOf;
|
|
28
|
+
export declare function SwapCatalogTokenAllOfToJSON(value?: SwapCatalogTokenAllOf | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SwapCatalogTokenAllOfFromJSON(json) {
|
|
5
|
+
return SwapCatalogTokenAllOfFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SwapCatalogTokenAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function SwapCatalogTokenAllOfToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { SwapCatalogTokenAllOfFromJSON, SwapCatalogTokenAllOfFromJSONTyped, SwapCatalogTokenAllOfToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SwapCatalogChain = require('./SwapCatalogChain.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SwapChainsResponseFromJSON(json) {
|
|
9
|
+
return SwapChainsResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SwapChainsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chains': (json['chains'].map(SwapCatalogChain.SwapCatalogChainFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function SwapChainsResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'chains': (value.chains.map(SwapCatalogChain.SwapCatalogChainToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.SwapChainsResponseFromJSON = SwapChainsResponseFromJSON;
|
|
32
|
+
exports.SwapChainsResponseFromJSONTyped = SwapChainsResponseFromJSONTyped;
|
|
33
|
+
exports.SwapChainsResponseToJSON = SwapChainsResponseToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SwapCatalogChain } from './SwapCatalogChain';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SwapChainsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SwapChainsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Chains the environment can swap on
|
|
21
|
+
* @type {Array<SwapCatalogChain>}
|
|
22
|
+
* @memberof SwapChainsResponse
|
|
23
|
+
*/
|
|
24
|
+
chains: Array<SwapCatalogChain>;
|
|
25
|
+
}
|
|
26
|
+
export declare function SwapChainsResponseFromJSON(json: any): SwapChainsResponse;
|
|
27
|
+
export declare function SwapChainsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapChainsResponse;
|
|
28
|
+
export declare function SwapChainsResponseToJSON(value?: SwapChainsResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SwapCatalogChainFromJSON, SwapCatalogChainToJSON } from './SwapCatalogChain.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SwapChainsResponseFromJSON(json) {
|
|
5
|
+
return SwapChainsResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SwapChainsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chains': (json['chains'].map(SwapCatalogChainFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function SwapChainsResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'chains': (value.chains.map(SwapCatalogChainToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { SwapChainsResponseFromJSON, SwapChainsResponseFromJSONTyped, SwapChainsResponseToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SwapCatalogToken = require('./SwapCatalogToken.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SwapTokensResponseFromJSON(json) {
|
|
9
|
+
return SwapTokensResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SwapTokensResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'tokens': (json['tokens'].map(SwapCatalogToken.SwapCatalogTokenFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function SwapTokensResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'tokens': (value.tokens.map(SwapCatalogToken.SwapCatalogTokenToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.SwapTokensResponseFromJSON = SwapTokensResponseFromJSON;
|
|
32
|
+
exports.SwapTokensResponseFromJSONTyped = SwapTokensResponseFromJSONTyped;
|
|
33
|
+
exports.SwapTokensResponseToJSON = SwapTokensResponseToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SwapCatalogToken } from './SwapCatalogToken';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SwapTokensResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SwapTokensResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Tokens swappable on the requested chain
|
|
21
|
+
* @type {Array<SwapCatalogToken>}
|
|
22
|
+
* @memberof SwapTokensResponse
|
|
23
|
+
*/
|
|
24
|
+
tokens: Array<SwapCatalogToken>;
|
|
25
|
+
}
|
|
26
|
+
export declare function SwapTokensResponseFromJSON(json: any): SwapTokensResponse;
|
|
27
|
+
export declare function SwapTokensResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapTokensResponse;
|
|
28
|
+
export declare function SwapTokensResponseToJSON(value?: SwapTokensResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SwapCatalogTokenFromJSON, SwapCatalogTokenToJSON } from './SwapCatalogToken.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SwapTokensResponseFromJSON(json) {
|
|
5
|
+
return SwapTokensResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SwapTokensResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'tokens': (json['tokens'].map(SwapCatalogTokenFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function SwapTokensResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'tokens': (value.tokens.map(SwapCatalogTokenToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { SwapTokensResponseFromJSON, SwapTokensResponseFromJSONTyped, SwapTokensResponseToJSON };
|
|
@@ -35,6 +35,7 @@ exports.WaasTransactionReviewTestScenario = void 0;
|
|
|
35
35
|
WaasTransactionReviewTestScenario["StellarMessage"] = "stellarMessage";
|
|
36
36
|
WaasTransactionReviewTestScenario["TronTransaction"] = "tronTransaction";
|
|
37
37
|
WaasTransactionReviewTestScenario["TronMessage"] = "tronMessage";
|
|
38
|
+
WaasTransactionReviewTestScenario["StellarTransaction"] = "stellarTransaction";
|
|
38
39
|
})(exports.WaasTransactionReviewTestScenario || (exports.WaasTransactionReviewTestScenario = {}));
|
|
39
40
|
function WaasTransactionReviewTestScenarioFromJSON(json) {
|
|
40
41
|
return WaasTransactionReviewTestScenarioFromJSONTyped(json);
|
|
@@ -27,7 +27,8 @@ export declare enum WaasTransactionReviewTestScenario {
|
|
|
27
27
|
SuiMessage = "suiMessage",
|
|
28
28
|
StellarMessage = "stellarMessage",
|
|
29
29
|
TronTransaction = "tronTransaction",
|
|
30
|
-
TronMessage = "tronMessage"
|
|
30
|
+
TronMessage = "tronMessage",
|
|
31
|
+
StellarTransaction = "stellarTransaction"
|
|
31
32
|
}
|
|
32
33
|
export declare function WaasTransactionReviewTestScenarioFromJSON(json: any): WaasTransactionReviewTestScenario;
|
|
33
34
|
export declare function WaasTransactionReviewTestScenarioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionReviewTestScenario;
|
|
@@ -31,6 +31,7 @@ var WaasTransactionReviewTestScenario;
|
|
|
31
31
|
WaasTransactionReviewTestScenario["StellarMessage"] = "stellarMessage";
|
|
32
32
|
WaasTransactionReviewTestScenario["TronTransaction"] = "tronTransaction";
|
|
33
33
|
WaasTransactionReviewTestScenario["TronMessage"] = "tronMessage";
|
|
34
|
+
WaasTransactionReviewTestScenario["StellarTransaction"] = "stellarTransaction";
|
|
34
35
|
})(WaasTransactionReviewTestScenario || (WaasTransactionReviewTestScenario = {}));
|
|
35
36
|
function WaasTransactionReviewTestScenarioFromJSON(json) {
|
|
36
37
|
return WaasTransactionReviewTestScenarioFromJSONTyped(json);
|
package/src/models/index.d.ts
CHANGED
|
@@ -781,6 +781,18 @@ export * from './SignMessageApprovalQuorumIntentOperationInstructions';
|
|
|
781
781
|
export * from './SignMessageApprovalQuorumMessageOperation';
|
|
782
782
|
export * from './SignMessageApprovalQuorumRawOperation';
|
|
783
783
|
export * from './SignMessageApprovalQuorumRawSign';
|
|
784
|
+
export * from './SignMessageApprovalQuorumStellarChangeTrustOperation';
|
|
785
|
+
export * from './SignMessageApprovalQuorumStellarCreateAccountOperation';
|
|
786
|
+
export * from './SignMessageApprovalQuorumStellarMemo';
|
|
787
|
+
export * from './SignMessageApprovalQuorumStellarMemoHash';
|
|
788
|
+
export * from './SignMessageApprovalQuorumStellarMemoId';
|
|
789
|
+
export * from './SignMessageApprovalQuorumStellarMemoNone';
|
|
790
|
+
export * from './SignMessageApprovalQuorumStellarMemoText';
|
|
791
|
+
export * from './SignMessageApprovalQuorumStellarOperation';
|
|
792
|
+
export * from './SignMessageApprovalQuorumStellarPathPaymentStrictReceiveOperation';
|
|
793
|
+
export * from './SignMessageApprovalQuorumStellarPathPaymentStrictSendOperation';
|
|
794
|
+
export * from './SignMessageApprovalQuorumStellarPaymentOperation';
|
|
795
|
+
export * from './SignMessageApprovalQuorumStellarTransactionOperation';
|
|
784
796
|
export * from './SignMessageApprovalQuorumSvmTransactionOperation';
|
|
785
797
|
export * from './SignMessageApprovalQuorumTransactionOperation';
|
|
786
798
|
export * from './SignMessageApprovalQuorumTronTransactionOperation';
|
|
@@ -796,6 +808,7 @@ export * from './SignMessageEvmTransaction';
|
|
|
796
808
|
export * from './SignMessageEvmTypedData';
|
|
797
809
|
export * from './SignMessageEvmUserOperation';
|
|
798
810
|
export * from './SignMessageRawSign';
|
|
811
|
+
export * from './SignMessageStellarTransaction';
|
|
799
812
|
export * from './SignMessageSuiTransaction';
|
|
800
813
|
export * from './SignMessageSvmTransaction';
|
|
801
814
|
export * from './SignMessageTronTransaction';
|
|
@@ -839,6 +852,10 @@ export * from './SupportedOfframpsResponse';
|
|
|
839
852
|
export * from './SupportedOnrampsResponse';
|
|
840
853
|
export * from './SupportedSecurityMethod';
|
|
841
854
|
export * from './SupportedSecurityMethods';
|
|
855
|
+
export * from './SwapCatalogChain';
|
|
856
|
+
export * from './SwapCatalogToken';
|
|
857
|
+
export * from './SwapCatalogTokenAllOf';
|
|
858
|
+
export * from './SwapChainsResponse';
|
|
842
859
|
export * from './SwapEvmApprovalData';
|
|
843
860
|
export * from './SwapEvmTransactionData';
|
|
844
861
|
export * from './SwapFee';
|
|
@@ -854,6 +871,7 @@ export * from './SwapStatusResponse';
|
|
|
854
871
|
export * from './SwapStep';
|
|
855
872
|
export * from './SwapStepSide';
|
|
856
873
|
export * from './SwapToken';
|
|
874
|
+
export * from './SwapTokensResponse';
|
|
857
875
|
export * from './SwapTronTransactionData';
|
|
858
876
|
export * from './TelegramPostRequest';
|
|
859
877
|
export * from './TelegramUser';
|