@dynamic-labs/sdk-api 0.0.887 → 0.0.889
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AllowlistsApi.cjs +1 -1
- package/src/apis/AllowlistsApi.js +1 -1
- package/src/apis/AnalyticsApi.cjs +1 -1
- package/src/apis/AnalyticsApi.js +1 -1
- package/src/apis/ChainalysisApi.cjs +1 -1
- package/src/apis/ChainalysisApi.js +1 -1
- package/src/apis/ChainsApi.cjs +1 -1
- package/src/apis/ChainsApi.js +1 -1
- package/src/apis/CustomFieldsApi.cjs +1 -1
- package/src/apis/CustomFieldsApi.js +1 -1
- package/src/apis/CustomHostnamesApi.cjs +1 -1
- package/src/apis/CustomHostnamesApi.js +1 -1
- package/src/apis/CustomNetworksApi.cjs +1 -1
- package/src/apis/CustomNetworksApi.js +1 -1
- package/src/apis/DeeplinkUrlsApi.cjs +1 -1
- package/src/apis/DeeplinkUrlsApi.js +1 -1
- package/src/apis/DepositApi.cjs +1 -1
- package/src/apis/DepositApi.js +1 -1
- package/src/apis/EnvironmentsApi.cjs +1 -1
- package/src/apis/EnvironmentsApi.js +1 -1
- package/src/apis/EventsApi.cjs +1 -1
- package/src/apis/EventsApi.js +1 -1
- package/src/apis/ExportsApi.cjs +1 -1
- package/src/apis/ExportsApi.js +1 -1
- package/src/apis/ExternalJwtApi.cjs +1 -1
- package/src/apis/ExternalJwtApi.js +1 -1
- package/src/apis/GatesApi.cjs +1 -1
- package/src/apis/GatesApi.js +1 -1
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -1
- package/src/apis/GlobalWalletAccessControlApi.js +1 -1
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -1
- package/src/apis/GlobalWalletConnectionsApi.js +1 -1
- package/src/apis/GlobalWalletsApi.cjs +1 -1
- package/src/apis/GlobalWalletsApi.js +1 -1
- package/src/apis/InvitesApi.cjs +1 -1
- package/src/apis/InvitesApi.js +1 -1
- package/src/apis/MembersApi.cjs +1 -1
- package/src/apis/MembersApi.js +1 -1
- package/src/apis/MfaSettingsApi.cjs +1 -1
- package/src/apis/MfaSettingsApi.js +1 -1
- package/src/apis/NameServicesApi.cjs +1 -1
- package/src/apis/NameServicesApi.js +1 -1
- package/src/apis/OrganizationsApi.cjs +1 -1
- package/src/apis/OrganizationsApi.js +1 -1
- package/src/apis/OriginsApi.cjs +1 -1
- package/src/apis/OriginsApi.js +1 -1
- package/src/apis/ProjectsApi.cjs +1 -1
- package/src/apis/ProjectsApi.js +1 -1
- package/src/apis/SDKApi.cjs +42 -1
- package/src/apis/SDKApi.d.ts +15 -1
- package/src/apis/SDKApi.js +42 -1
- package/src/apis/SDKViewsApi.cjs +1 -1
- package/src/apis/SDKViewsApi.js +1 -1
- package/src/apis/SessionsApi.cjs +1 -1
- package/src/apis/SessionsApi.js +1 -1
- package/src/apis/SettingsApi.cjs +1 -1
- package/src/apis/SettingsApi.js +1 -1
- package/src/apis/TestAccountApi.cjs +1 -1
- package/src/apis/TestAccountApi.js +1 -1
- package/src/apis/TokensApi.cjs +1 -1
- package/src/apis/TokensApi.js +1 -1
- package/src/apis/UserApiTokensApi.cjs +1 -1
- package/src/apis/UserApiTokensApi.js +1 -1
- package/src/apis/UsersApi.cjs +1 -1
- package/src/apis/UsersApi.js +1 -1
- package/src/apis/VisitsApi.cjs +1 -1
- package/src/apis/VisitsApi.js +1 -1
- package/src/apis/WaasApi.cjs +1 -1
- package/src/apis/WaasApi.js +1 -1
- package/src/apis/WalletConnectApi.cjs +1 -1
- package/src/apis/WalletConnectApi.js +1 -1
- package/src/apis/WalletsApi.cjs +1 -1
- package/src/apis/WalletsApi.js +1 -1
- package/src/apis/WebhooksApi.cjs +1 -1
- package/src/apis/WebhooksApi.js +1 -1
- package/src/index.cjs +12 -4
- package/src/index.js +3 -1
- package/src/models/ChainDestinationConfig.cjs +38 -0
- package/src/models/ChainDestinationConfig.d.ts +41 -0
- package/src/models/ChainDestinationConfig.js +32 -0
- package/src/models/ChainSettlementConfig.cjs +39 -0
- package/src/models/ChainSettlementConfig.d.ts +46 -0
- package/src/models/ChainSettlementConfig.js +33 -0
- package/src/models/CheckoutTransaction.cjs +5 -0
- package/src/models/CheckoutTransaction.d.ts +13 -0
- package/src/models/CheckoutTransaction.js +5 -0
- package/src/models/DestinationConfigInput.cjs +3 -5
- package/src/models/DestinationConfigInput.d.ts +3 -9
- package/src/models/DestinationConfigInput.js +3 -5
- package/src/models/{SettlementTokenInput.cjs → RealtimeAuthTokenResponse.cjs} +9 -13
- package/src/models/RealtimeAuthTokenResponse.d.ts +27 -0
- package/src/models/{SettlementTokenInput.js → RealtimeAuthTokenResponse.js} +7 -11
- package/src/models/SettlementConfigInput.cjs +3 -3
- package/src/models/SettlementConfigInput.d.ts +3 -3
- package/src/models/SettlementConfigInput.js +3 -3
- package/src/models/index.d.ts +3 -1
- package/src/models/SettlementTokenInput.d.ts +0 -39
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
import { DestinationTypeEnumFromJSON, DestinationTypeEnumToJSON } from './DestinationTypeEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function ChainDestinationConfigFromJSON(json) {
|
|
6
|
+
return ChainDestinationConfigFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function ChainDestinationConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
14
|
+
'type': DestinationTypeEnumFromJSON(json['type']),
|
|
15
|
+
'identifier': json['identifier'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function ChainDestinationConfigToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
27
|
+
'type': DestinationTypeEnumToJSON(value.type),
|
|
28
|
+
'identifier': value.identifier,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { ChainDestinationConfigFromJSON, ChainDestinationConfigFromJSONTyped, ChainDestinationConfigToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function ChainSettlementConfigFromJSON(json) {
|
|
9
|
+
return ChainSettlementConfigFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function ChainSettlementConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chainName': ChainEnum.ChainEnumFromJSON(json['chainName']),
|
|
17
|
+
'tokenAddress': json['tokenAddress'],
|
|
18
|
+
'chainId': json['chainId'],
|
|
19
|
+
'symbol': json['symbol'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function ChainSettlementConfigToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'chainName': ChainEnum.ChainEnumToJSON(value.chainName),
|
|
31
|
+
'tokenAddress': value.tokenAddress,
|
|
32
|
+
'chainId': value.chainId,
|
|
33
|
+
'symbol': value.symbol,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.ChainSettlementConfigFromJSON = ChainSettlementConfigFromJSON;
|
|
38
|
+
exports.ChainSettlementConfigFromJSONTyped = ChainSettlementConfigFromJSONTyped;
|
|
39
|
+
exports.ChainSettlementConfigToJSON = ChainSettlementConfigToJSON;
|
|
@@ -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 ChainSettlementConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface ChainSettlementConfig {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ChainEnum}
|
|
22
|
+
* @memberof ChainSettlementConfig
|
|
23
|
+
*/
|
|
24
|
+
chainName: ChainEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChainSettlementConfig
|
|
29
|
+
*/
|
|
30
|
+
tokenAddress: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ChainSettlementConfig
|
|
35
|
+
*/
|
|
36
|
+
chainId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ChainSettlementConfig
|
|
41
|
+
*/
|
|
42
|
+
symbol: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function ChainSettlementConfigFromJSON(json: any): ChainSettlementConfig;
|
|
45
|
+
export declare function ChainSettlementConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainSettlementConfig;
|
|
46
|
+
export declare function ChainSettlementConfigToJSON(value?: ChainSettlementConfig | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ChainSettlementConfigFromJSON(json) {
|
|
5
|
+
return ChainSettlementConfigFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ChainSettlementConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
13
|
+
'tokenAddress': json['tokenAddress'],
|
|
14
|
+
'chainId': json['chainId'],
|
|
15
|
+
'symbol': json['symbol'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function ChainSettlementConfigToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
27
|
+
'tokenAddress': value.tokenAddress,
|
|
28
|
+
'chainId': value.chainId,
|
|
29
|
+
'symbol': value.symbol,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { ChainSettlementConfigFromJSON, ChainSettlementConfigFromJSONTyped, ChainSettlementConfigToJSON };
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
7
|
var CheckoutExecutionStateEnum = require('./CheckoutExecutionStateEnum.cjs');
|
|
7
8
|
var CheckoutFailure = require('./CheckoutFailure.cjs');
|
|
8
9
|
var CheckoutQuoteSnapshot = require('./CheckoutQuoteSnapshot.cjs');
|
|
@@ -33,9 +34,11 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
'sourceType': !runtime.exists(json, 'sourceType') ? undefined : CheckoutSourceTypeEnum.CheckoutSourceTypeEnumFromJSON(json['sourceType']),
|
|
34
35
|
'fromAddress': !runtime.exists(json, 'fromAddress') ? undefined : json['fromAddress'],
|
|
35
36
|
'fromChainId': !runtime.exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
37
|
+
'fromChainName': !runtime.exists(json, 'fromChainName') ? undefined : ChainEnum.ChainEnumFromJSON(json['fromChainName']),
|
|
36
38
|
'fromToken': !runtime.exists(json, 'fromToken') ? undefined : json['fromToken'],
|
|
37
39
|
'toAddress': !runtime.exists(json, 'toAddress') ? undefined : json['toAddress'],
|
|
38
40
|
'toChainId': !runtime.exists(json, 'toChainId') ? undefined : json['toChainId'],
|
|
41
|
+
'toChainName': !runtime.exists(json, 'toChainName') ? undefined : ChainEnum.ChainEnumFromJSON(json['toChainName']),
|
|
39
42
|
'toToken': !runtime.exists(json, 'toToken') ? undefined : json['toToken'],
|
|
40
43
|
'quoteVersion': json['quoteVersion'],
|
|
41
44
|
'quote': !runtime.exists(json, 'quote') ? undefined : CheckoutQuoteSnapshot.CheckoutQuoteSnapshotFromJSON(json['quote']),
|
|
@@ -74,9 +77,11 @@ function CheckoutTransactionToJSON(value) {
|
|
|
74
77
|
'sourceType': CheckoutSourceTypeEnum.CheckoutSourceTypeEnumToJSON(value.sourceType),
|
|
75
78
|
'fromAddress': value.fromAddress,
|
|
76
79
|
'fromChainId': value.fromChainId,
|
|
80
|
+
'fromChainName': ChainEnum.ChainEnumToJSON(value.fromChainName),
|
|
77
81
|
'fromToken': value.fromToken,
|
|
78
82
|
'toAddress': value.toAddress,
|
|
79
83
|
'toChainId': value.toChainId,
|
|
84
|
+
'toChainName': ChainEnum.ChainEnumToJSON(value.toChainName),
|
|
80
85
|
'toToken': value.toToken,
|
|
81
86
|
'quoteVersion': value.quoteVersion,
|
|
82
87
|
'quote': CheckoutQuoteSnapshot.CheckoutQuoteSnapshotToJSON(value.quote),
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ChainEnum } from './ChainEnum';
|
|
12
13
|
import { CheckoutExecutionStateEnum } from './CheckoutExecutionStateEnum';
|
|
13
14
|
import { CheckoutFailure } from './CheckoutFailure';
|
|
14
15
|
import { CheckoutQuoteSnapshot } from './CheckoutQuoteSnapshot';
|
|
@@ -95,6 +96,12 @@ export interface CheckoutTransaction {
|
|
|
95
96
|
* @memberof CheckoutTransaction
|
|
96
97
|
*/
|
|
97
98
|
fromChainId?: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {ChainEnum}
|
|
102
|
+
* @memberof CheckoutTransaction
|
|
103
|
+
*/
|
|
104
|
+
fromChainName?: ChainEnum;
|
|
98
105
|
/**
|
|
99
106
|
*
|
|
100
107
|
* @type {string}
|
|
@@ -113,6 +120,12 @@ export interface CheckoutTransaction {
|
|
|
113
120
|
* @memberof CheckoutTransaction
|
|
114
121
|
*/
|
|
115
122
|
toChainId?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {ChainEnum}
|
|
126
|
+
* @memberof CheckoutTransaction
|
|
127
|
+
*/
|
|
128
|
+
toChainName?: ChainEnum;
|
|
116
129
|
/**
|
|
117
130
|
*
|
|
118
131
|
* @type {string}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
3
|
import { CheckoutExecutionStateEnumFromJSON, CheckoutExecutionStateEnumToJSON } from './CheckoutExecutionStateEnum.js';
|
|
3
4
|
import { CheckoutFailureFromJSON, CheckoutFailureToJSON } from './CheckoutFailure.js';
|
|
4
5
|
import { CheckoutQuoteSnapshotFromJSON, CheckoutQuoteSnapshotToJSON } from './CheckoutQuoteSnapshot.js';
|
|
@@ -29,9 +30,11 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
30
|
'sourceType': !exists(json, 'sourceType') ? undefined : CheckoutSourceTypeEnumFromJSON(json['sourceType']),
|
|
30
31
|
'fromAddress': !exists(json, 'fromAddress') ? undefined : json['fromAddress'],
|
|
31
32
|
'fromChainId': !exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
33
|
+
'fromChainName': !exists(json, 'fromChainName') ? undefined : ChainEnumFromJSON(json['fromChainName']),
|
|
32
34
|
'fromToken': !exists(json, 'fromToken') ? undefined : json['fromToken'],
|
|
33
35
|
'toAddress': !exists(json, 'toAddress') ? undefined : json['toAddress'],
|
|
34
36
|
'toChainId': !exists(json, 'toChainId') ? undefined : json['toChainId'],
|
|
37
|
+
'toChainName': !exists(json, 'toChainName') ? undefined : ChainEnumFromJSON(json['toChainName']),
|
|
35
38
|
'toToken': !exists(json, 'toToken') ? undefined : json['toToken'],
|
|
36
39
|
'quoteVersion': json['quoteVersion'],
|
|
37
40
|
'quote': !exists(json, 'quote') ? undefined : CheckoutQuoteSnapshotFromJSON(json['quote']),
|
|
@@ -70,9 +73,11 @@ function CheckoutTransactionToJSON(value) {
|
|
|
70
73
|
'sourceType': CheckoutSourceTypeEnumToJSON(value.sourceType),
|
|
71
74
|
'fromAddress': value.fromAddress,
|
|
72
75
|
'fromChainId': value.fromChainId,
|
|
76
|
+
'fromChainName': ChainEnumToJSON(value.fromChainName),
|
|
73
77
|
'fromToken': value.fromToken,
|
|
74
78
|
'toAddress': value.toAddress,
|
|
75
79
|
'toChainId': value.toChainId,
|
|
80
|
+
'toChainName': ChainEnumToJSON(value.toChainName),
|
|
76
81
|
'toToken': value.toToken,
|
|
77
82
|
'quoteVersion': value.quoteVersion,
|
|
78
83
|
'quote': CheckoutQuoteSnapshotToJSON(value.quote),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var ChainDestinationConfig = require('./ChainDestinationConfig.cjs');
|
|
6
6
|
|
|
7
7
|
/* tslint:disable */
|
|
8
8
|
function DestinationConfigInputFromJSON(json) {
|
|
@@ -13,8 +13,7 @@ function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
|
-
'
|
|
17
|
-
'identifier': json['identifier'],
|
|
16
|
+
'destinations': (json['destinations'].map(ChainDestinationConfig.ChainDestinationConfigFromJSON)),
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
19
|
function DestinationConfigInputToJSON(value) {
|
|
@@ -25,8 +24,7 @@ function DestinationConfigInputToJSON(value) {
|
|
|
25
24
|
return null;
|
|
26
25
|
}
|
|
27
26
|
return {
|
|
28
|
-
'
|
|
29
|
-
'identifier': value.identifier,
|
|
27
|
+
'destinations': (value.destinations.map(ChainDestinationConfig.ChainDestinationConfigToJSON)),
|
|
30
28
|
};
|
|
31
29
|
}
|
|
32
30
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ChainDestinationConfig } from './ChainDestinationConfig';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,16 +18,10 @@ import { DestinationTypeEnum } from './DestinationTypeEnum';
|
|
|
18
18
|
export interface DestinationConfigInput {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {Array<ChainDestinationConfig>}
|
|
22
22
|
* @memberof DestinationConfigInput
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof DestinationConfigInput
|
|
29
|
-
*/
|
|
30
|
-
identifier: string;
|
|
24
|
+
destinations: Array<ChainDestinationConfig>;
|
|
31
25
|
}
|
|
32
26
|
export declare function DestinationConfigInputFromJSON(json: any): DestinationConfigInput;
|
|
33
27
|
export declare function DestinationConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DestinationConfigInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChainDestinationConfigFromJSON, ChainDestinationConfigToJSON } from './ChainDestinationConfig.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
function DestinationConfigInputFromJSON(json) {
|
|
@@ -9,8 +9,7 @@ function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
-
'
|
|
13
|
-
'identifier': json['identifier'],
|
|
12
|
+
'destinations': (json['destinations'].map(ChainDestinationConfigFromJSON)),
|
|
14
13
|
};
|
|
15
14
|
}
|
|
16
15
|
function DestinationConfigInputToJSON(value) {
|
|
@@ -21,8 +20,7 @@ function DestinationConfigInputToJSON(value) {
|
|
|
21
20
|
return null;
|
|
22
21
|
}
|
|
23
22
|
return {
|
|
24
|
-
'
|
|
25
|
-
'identifier': value.identifier,
|
|
23
|
+
'destinations': (value.destinations.map(ChainDestinationConfigToJSON)),
|
|
26
24
|
};
|
|
27
25
|
}
|
|
28
26
|
|
|
@@ -15,20 +15,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
15
15
|
* https://openapi-generator.tech
|
|
16
16
|
* Do not edit the class manually.
|
|
17
17
|
*/
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function RealtimeAuthTokenResponseFromJSON(json) {
|
|
19
|
+
return RealtimeAuthTokenResponseFromJSONTyped(json);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function RealtimeAuthTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
22
|
if ((json === undefined) || (json === null)) {
|
|
23
23
|
return json;
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
|
-
'
|
|
27
|
-
'chainId': json['chainId'],
|
|
28
|
-
'symbol': json['symbol'],
|
|
26
|
+
'token': json['token'],
|
|
29
27
|
};
|
|
30
28
|
}
|
|
31
|
-
function
|
|
29
|
+
function RealtimeAuthTokenResponseToJSON(value) {
|
|
32
30
|
if (value === undefined) {
|
|
33
31
|
return undefined;
|
|
34
32
|
}
|
|
@@ -36,12 +34,10 @@ function SettlementTokenInputToJSON(value) {
|
|
|
36
34
|
return null;
|
|
37
35
|
}
|
|
38
36
|
return {
|
|
39
|
-
'
|
|
40
|
-
'chainId': value.chainId,
|
|
41
|
-
'symbol': value.symbol,
|
|
37
|
+
'token': value.token,
|
|
42
38
|
};
|
|
43
39
|
}
|
|
44
40
|
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
41
|
+
exports.RealtimeAuthTokenResponseFromJSON = RealtimeAuthTokenResponseFromJSON;
|
|
42
|
+
exports.RealtimeAuthTokenResponseFromJSONTyped = RealtimeAuthTokenResponseFromJSONTyped;
|
|
43
|
+
exports.RealtimeAuthTokenResponseToJSON = RealtimeAuthTokenResponseToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RealtimeAuthTokenResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RealtimeAuthTokenResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Short-lived JWT for subscribing to realtime channels.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RealtimeAuthTokenResponse
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function RealtimeAuthTokenResponseFromJSON(json: any): RealtimeAuthTokenResponse;
|
|
26
|
+
export declare function RealtimeAuthTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RealtimeAuthTokenResponse;
|
|
27
|
+
export declare function RealtimeAuthTokenResponseToJSON(value?: RealtimeAuthTokenResponse | null): any;
|
|
@@ -11,20 +11,18 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function RealtimeAuthTokenResponseFromJSON(json) {
|
|
15
|
+
return RealtimeAuthTokenResponseFromJSONTyped(json);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function RealtimeAuthTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
18
|
if ((json === undefined) || (json === null)) {
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
|
-
'
|
|
23
|
-
'chainId': json['chainId'],
|
|
24
|
-
'symbol': json['symbol'],
|
|
22
|
+
'token': json['token'],
|
|
25
23
|
};
|
|
26
24
|
}
|
|
27
|
-
function
|
|
25
|
+
function RealtimeAuthTokenResponseToJSON(value) {
|
|
28
26
|
if (value === undefined) {
|
|
29
27
|
return undefined;
|
|
30
28
|
}
|
|
@@ -32,10 +30,8 @@ function SettlementTokenInputToJSON(value) {
|
|
|
32
30
|
return null;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'
|
|
36
|
-
'chainId': value.chainId,
|
|
37
|
-
'symbol': value.symbol,
|
|
33
|
+
'token': value.token,
|
|
38
34
|
};
|
|
39
35
|
}
|
|
40
36
|
|
|
41
|
-
export {
|
|
37
|
+
export { RealtimeAuthTokenResponseFromJSON, RealtimeAuthTokenResponseFromJSONTyped, RealtimeAuthTokenResponseToJSON };
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var ChainSettlementConfig = require('./ChainSettlementConfig.cjs');
|
|
5
6
|
var SettlementStrategyEnum = require('./SettlementStrategyEnum.cjs');
|
|
6
|
-
var SettlementTokenInput = require('./SettlementTokenInput.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function SettlementConfigInputFromJSON(json) {
|
|
@@ -15,7 +15,7 @@ function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
17
|
'strategy': SettlementStrategyEnum.SettlementStrategyEnumFromJSON(json['strategy']),
|
|
18
|
-
'
|
|
18
|
+
'settlements': (json['settlements'].map(ChainSettlementConfig.ChainSettlementConfigFromJSON)),
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
function SettlementConfigInputToJSON(value) {
|
|
@@ -27,7 +27,7 @@ function SettlementConfigInputToJSON(value) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'strategy': SettlementStrategyEnum.SettlementStrategyEnumToJSON(value.strategy),
|
|
30
|
-
'
|
|
30
|
+
'settlements': (value.settlements.map(ChainSettlementConfig.ChainSettlementConfigToJSON)),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ChainSettlementConfig } from './ChainSettlementConfig';
|
|
12
13
|
import { SettlementStrategyEnum } from './SettlementStrategyEnum';
|
|
13
|
-
import { SettlementTokenInput } from './SettlementTokenInput';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -25,10 +25,10 @@ export interface SettlementConfigInput {
|
|
|
25
25
|
strategy: SettlementStrategyEnum;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ChainSettlementConfig>}
|
|
29
29
|
* @memberof SettlementConfigInput
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
settlements: Array<ChainSettlementConfig>;
|
|
32
32
|
}
|
|
33
33
|
export declare function SettlementConfigInputFromJSON(json: any): SettlementConfigInput;
|
|
34
34
|
export declare function SettlementConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementConfigInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChainSettlementConfigFromJSON, ChainSettlementConfigToJSON } from './ChainSettlementConfig.js';
|
|
1
2
|
import { SettlementStrategyEnumFromJSON, SettlementStrategyEnumToJSON } from './SettlementStrategyEnum.js';
|
|
2
|
-
import { SettlementTokenInputFromJSON, SettlementTokenInputToJSON } from './SettlementTokenInput.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function SettlementConfigInputFromJSON(json) {
|
|
@@ -11,7 +11,7 @@ function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'strategy': SettlementStrategyEnumFromJSON(json['strategy']),
|
|
14
|
-
'
|
|
14
|
+
'settlements': (json['settlements'].map(ChainSettlementConfigFromJSON)),
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
function SettlementConfigInputToJSON(value) {
|
|
@@ -23,7 +23,7 @@ function SettlementConfigInputToJSON(value) {
|
|
|
23
23
|
}
|
|
24
24
|
return {
|
|
25
25
|
'strategy': SettlementStrategyEnumToJSON(value.strategy),
|
|
26
|
-
'
|
|
26
|
+
'settlements': (value.settlements.map(ChainSettlementConfigToJSON)),
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -64,7 +64,9 @@ export * from './BlockaidValidation';
|
|
|
64
64
|
export * from './BulkUserCreateResponse';
|
|
65
65
|
export * from './BulkUserCreateResponseFailed';
|
|
66
66
|
export * from './ChainConfiguration';
|
|
67
|
+
export * from './ChainDestinationConfig';
|
|
67
68
|
export * from './ChainEnum';
|
|
69
|
+
export * from './ChainSettlementConfig';
|
|
68
70
|
export * from './ChainToken';
|
|
69
71
|
export * from './ChainalysisCheck';
|
|
70
72
|
export * from './ChainalysisCheckResultEnum';
|
|
@@ -438,6 +440,7 @@ export * from './PublishEventsEvents';
|
|
|
438
440
|
export * from './QuoteRequest';
|
|
439
441
|
export * from './RampConfiguration';
|
|
440
442
|
export * from './ReactSettings';
|
|
443
|
+
export * from './RealtimeAuthTokenResponse';
|
|
441
444
|
export * from './RecordBroadcastRequest';
|
|
442
445
|
export * from './RecoverMultipleClientKeySharesRequest';
|
|
443
446
|
export * from './RecoverMultipleClientKeySharesResponse';
|
|
@@ -470,7 +473,6 @@ export * from './SessionsResponse';
|
|
|
470
473
|
export * from './SessionsTrendResult';
|
|
471
474
|
export * from './SettlementConfigInput';
|
|
472
475
|
export * from './SettlementStrategyEnum';
|
|
473
|
-
export * from './SettlementTokenInput';
|
|
474
476
|
export * from './SignInProviderEnum';
|
|
475
477
|
export * from './SignMessageAuthorizationSignature';
|
|
476
478
|
export * from './SignMessageBtcTransaction';
|
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SettlementTokenInput
|
|
16
|
-
*/
|
|
17
|
-
export interface SettlementTokenInput {
|
|
18
|
-
/**
|
|
19
|
-
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SettlementTokenInput
|
|
22
|
-
*/
|
|
23
|
-
address: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SettlementTokenInput
|
|
28
|
-
*/
|
|
29
|
-
chainId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SettlementTokenInput
|
|
34
|
-
*/
|
|
35
|
-
symbol: string;
|
|
36
|
-
}
|
|
37
|
-
export declare function SettlementTokenInputFromJSON(json: any): SettlementTokenInput;
|
|
38
|
-
export declare function SettlementTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementTokenInput;
|
|
39
|
-
export declare function SettlementTokenInputToJSON(value?: SettlementTokenInput | null): any;
|