@dynamic-labs/sdk-api 0.0.877 → 0.0.879
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 +7 -0
- package/src/apis/AllowlistsApi.js +7 -0
- package/src/apis/AnalyticsApi.cjs +7 -0
- package/src/apis/AnalyticsApi.js +7 -0
- package/src/apis/ChainalysisApi.cjs +7 -0
- package/src/apis/ChainalysisApi.js +7 -0
- package/src/apis/ChainsApi.cjs +7 -0
- package/src/apis/ChainsApi.js +7 -0
- package/src/apis/CustomFieldsApi.cjs +7 -0
- package/src/apis/CustomFieldsApi.js +7 -0
- package/src/apis/CustomHostnamesApi.cjs +7 -0
- package/src/apis/CustomHostnamesApi.js +7 -0
- package/src/apis/CustomNetworksApi.cjs +7 -0
- package/src/apis/CustomNetworksApi.js +7 -0
- package/src/apis/DeeplinkUrlsApi.cjs +7 -0
- package/src/apis/DeeplinkUrlsApi.js +7 -0
- package/src/apis/DepositApi.cjs +253 -0
- package/src/apis/DepositApi.d.ts +71 -0
- package/src/apis/DepositApi.js +249 -0
- package/src/apis/EnvironmentsApi.cjs +7 -0
- package/src/apis/EnvironmentsApi.js +7 -0
- package/src/apis/EventsApi.cjs +7 -0
- package/src/apis/EventsApi.js +7 -0
- package/src/apis/ExportsApi.cjs +7 -0
- package/src/apis/ExportsApi.js +7 -0
- package/src/apis/ExternalJwtApi.cjs +7 -0
- package/src/apis/ExternalJwtApi.js +7 -0
- package/src/apis/GatesApi.cjs +7 -0
- package/src/apis/GatesApi.js +7 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +7 -0
- package/src/apis/GlobalWalletAccessControlApi.js +7 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +7 -0
- package/src/apis/GlobalWalletConnectionsApi.js +7 -0
- package/src/apis/GlobalWalletsApi.cjs +7 -0
- package/src/apis/GlobalWalletsApi.js +7 -0
- package/src/apis/InvitesApi.cjs +7 -0
- package/src/apis/InvitesApi.js +7 -0
- package/src/apis/MembersApi.cjs +7 -0
- package/src/apis/MembersApi.js +7 -0
- package/src/apis/MfaSettingsApi.cjs +7 -0
- package/src/apis/MfaSettingsApi.js +7 -0
- package/src/apis/NameServicesApi.cjs +7 -0
- package/src/apis/NameServicesApi.js +7 -0
- package/src/apis/OrganizationsApi.cjs +7 -0
- package/src/apis/OrganizationsApi.js +7 -0
- package/src/apis/OriginsApi.cjs +7 -0
- package/src/apis/OriginsApi.js +7 -0
- package/src/apis/ProjectsApi.cjs +7 -0
- package/src/apis/ProjectsApi.js +7 -0
- package/src/apis/SDKApi.cjs +502 -0
- package/src/apis/SDKApi.d.ts +190 -1
- package/src/apis/SDKApi.js +503 -1
- package/src/apis/SDKViewsApi.cjs +7 -0
- package/src/apis/SDKViewsApi.js +7 -0
- package/src/apis/SessionsApi.cjs +7 -0
- package/src/apis/SessionsApi.js +7 -0
- package/src/apis/SettingsApi.cjs +7 -0
- package/src/apis/SettingsApi.js +7 -0
- package/src/apis/TestAccountApi.cjs +7 -0
- package/src/apis/TestAccountApi.js +7 -0
- package/src/apis/TokensApi.cjs +7 -0
- package/src/apis/TokensApi.js +7 -0
- package/src/apis/UserApiTokensApi.cjs +7 -0
- package/src/apis/UserApiTokensApi.js +7 -0
- package/src/apis/UsersApi.cjs +7 -0
- package/src/apis/UsersApi.js +7 -0
- package/src/apis/VisitsApi.cjs +7 -0
- package/src/apis/VisitsApi.js +7 -0
- package/src/apis/WaasApi.cjs +7 -0
- package/src/apis/WaasApi.js +7 -0
- package/src/apis/WalletConnectApi.cjs +7 -0
- package/src/apis/WalletConnectApi.js +7 -0
- package/src/apis/WalletsApi.cjs +7 -0
- package/src/apis/WalletsApi.js +7 -0
- package/src/apis/WebhooksApi.cjs +7 -0
- package/src/apis/WebhooksApi.js +7 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +134 -0
- package/src/index.js +27 -0
- package/src/models/AttachSourceRequest.cjs +37 -0
- package/src/models/AttachSourceRequest.d.ts +40 -0
- package/src/models/AttachSourceRequest.js +31 -0
- package/src/models/Checkout.cjs +61 -0
- package/src/models/Checkout.d.ts +103 -0
- package/src/models/Checkout.js +55 -0
- package/src/models/CheckoutCreateRequest.cjs +51 -0
- package/src/models/CheckoutCreateRequest.d.ts +73 -0
- package/src/models/CheckoutCreateRequest.js +45 -0
- package/src/models/CheckoutExecutionStateEnum.cjs +47 -0
- package/src/models/CheckoutExecutionStateEnum.d.ts +30 -0
- package/src/models/CheckoutExecutionStateEnum.js +41 -0
- package/src/models/CheckoutFailure.cjs +43 -0
- package/src/models/CheckoutFailure.d.ts +57 -0
- package/src/models/CheckoutFailure.js +37 -0
- package/src/models/CheckoutFeeBreakdown.cjs +51 -0
- package/src/models/CheckoutFeeBreakdown.d.ts +51 -0
- package/src/models/CheckoutFeeBreakdown.js +45 -0
- package/src/models/CheckoutModeEnum.cjs +40 -0
- package/src/models/CheckoutModeEnum.d.ts +23 -0
- package/src/models/CheckoutModeEnum.js +34 -0
- package/src/models/CheckoutQuoteSnapshot.cjs +50 -0
- package/src/models/CheckoutQuoteSnapshot.d.ts +76 -0
- package/src/models/CheckoutQuoteSnapshot.js +44 -0
- package/src/models/CheckoutRiskStateEnum.cjs +43 -0
- package/src/models/CheckoutRiskStateEnum.d.ts +26 -0
- package/src/models/CheckoutRiskStateEnum.js +37 -0
- package/src/models/CheckoutSettlementData.cjs +39 -0
- package/src/models/CheckoutSettlementData.d.ts +45 -0
- package/src/models/CheckoutSettlementData.js +33 -0
- package/src/models/CheckoutSettlementStateEnum.cjs +45 -0
- package/src/models/CheckoutSettlementStateEnum.d.ts +28 -0
- package/src/models/CheckoutSettlementStateEnum.js +39 -0
- package/src/models/CheckoutSourceTypeEnum.cjs +41 -0
- package/src/models/CheckoutSourceTypeEnum.d.ts +24 -0
- package/src/models/CheckoutSourceTypeEnum.js +35 -0
- package/src/models/CheckoutTransaction.cjs +98 -0
- package/src/models/CheckoutTransaction.d.ts +208 -0
- package/src/models/CheckoutTransaction.js +92 -0
- package/src/models/CheckoutTransactionCreateRequest.cjs +39 -0
- package/src/models/CheckoutTransactionCreateRequest.d.ts +45 -0
- package/src/models/CheckoutTransactionCreateRequest.js +33 -0
- package/src/models/CheckoutTransactionCreateResponse.cjs +37 -0
- package/src/models/CheckoutTransactionCreateResponse.d.ts +40 -0
- package/src/models/CheckoutTransactionCreateResponse.js +31 -0
- package/src/models/CheckoutUpdateRequest.cjs +48 -0
- package/src/models/CheckoutUpdateRequest.d.ts +66 -0
- package/src/models/CheckoutUpdateRequest.js +42 -0
- package/src/models/CheckoutsResponse.cjs +33 -0
- package/src/models/CheckoutsResponse.d.ts +28 -0
- package/src/models/CheckoutsResponse.js +27 -0
- package/src/models/Conflict.cjs +33 -0
- package/src/models/Conflict.d.ts +27 -0
- package/src/models/Conflict.js +27 -0
- package/src/models/DepositAmountsConfigInput.cjs +35 -0
- package/src/models/DepositAmountsConfigInput.d.ts +33 -0
- package/src/models/DepositAmountsConfigInput.js +29 -0
- package/src/models/DestinationConfigInput.cjs +35 -0
- package/src/models/DestinationConfigInput.d.ts +34 -0
- package/src/models/DestinationConfigInput.js +29 -0
- package/src/models/DestinationTypeEnum.cjs +41 -0
- package/src/models/DestinationTypeEnum.d.ts +24 -0
- package/src/models/DestinationTypeEnum.js +35 -0
- package/src/models/QuoteRequest.cjs +37 -0
- package/src/models/QuoteRequest.d.ts +39 -0
- package/src/models/QuoteRequest.js +31 -0
- package/src/models/RecordBroadcastRequest.cjs +35 -0
- package/src/models/RecordBroadcastRequest.d.ts +33 -0
- package/src/models/RecordBroadcastRequest.js +29 -0
- package/src/models/SettlementConfigInput.cjs +36 -0
- package/src/models/SettlementConfigInput.d.ts +35 -0
- package/src/models/SettlementConfigInput.js +30 -0
- package/src/models/SettlementStrategyEnum.cjs +41 -0
- package/src/models/SettlementStrategyEnum.d.ts +24 -0
- package/src/models/SettlementStrategyEnum.js +35 -0
- package/src/models/SettlementTokenInput.cjs +47 -0
- package/src/models/SettlementTokenInput.d.ts +39 -0
- package/src/models/SettlementTokenInput.js +41 -0
- package/src/models/WalletKeyShareInfo.cjs +2 -0
- package/src/models/WalletKeyShareInfo.d.ts +6 -0
- package/src/models/WalletKeyShareInfo.js +2 -0
- package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.cjs +2 -0
- package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.d.ts +6 -0
- package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.js +2 -0
- package/src/models/index.d.ts +26 -0
|
@@ -0,0 +1,66 @@
|
|
|
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 { DepositAmountsConfigInput } from './DepositAmountsConfigInput';
|
|
13
|
+
import { DestinationConfigInput } from './DestinationConfigInput';
|
|
14
|
+
import { SettlementConfigInput } from './SettlementConfigInput';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CheckoutUpdateRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CheckoutUpdateRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {SettlementConfigInput}
|
|
24
|
+
* @memberof CheckoutUpdateRequest
|
|
25
|
+
*/
|
|
26
|
+
settlementConfig?: SettlementConfigInput;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {DestinationConfigInput}
|
|
30
|
+
* @memberof CheckoutUpdateRequest
|
|
31
|
+
*/
|
|
32
|
+
destinationConfig?: DestinationConfigInput;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {DepositAmountsConfigInput}
|
|
36
|
+
* @memberof CheckoutUpdateRequest
|
|
37
|
+
*/
|
|
38
|
+
depositConfig?: DepositAmountsConfigInput;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof CheckoutUpdateRequest
|
|
43
|
+
*/
|
|
44
|
+
enableOrchestration?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof CheckoutUpdateRequest
|
|
49
|
+
*/
|
|
50
|
+
integratorFeeBps?: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<string>}
|
|
54
|
+
* @memberof CheckoutUpdateRequest
|
|
55
|
+
*/
|
|
56
|
+
geoRestrictions?: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<string>}
|
|
60
|
+
* @memberof CheckoutUpdateRequest
|
|
61
|
+
*/
|
|
62
|
+
exchangeRestrictions?: Array<string>;
|
|
63
|
+
}
|
|
64
|
+
export declare function CheckoutUpdateRequestFromJSON(json: any): CheckoutUpdateRequest;
|
|
65
|
+
export declare function CheckoutUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutUpdateRequest;
|
|
66
|
+
export declare function CheckoutUpdateRequestToJSON(value?: CheckoutUpdateRequest | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { DepositAmountsConfigInputFromJSON, DepositAmountsConfigInputToJSON } from './DepositAmountsConfigInput.js';
|
|
3
|
+
import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
|
|
4
|
+
import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function CheckoutUpdateRequestFromJSON(json) {
|
|
8
|
+
return CheckoutUpdateRequestFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function CheckoutUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'settlementConfig': !exists(json, 'settlementConfig') ? undefined : SettlementConfigInputFromJSON(json['settlementConfig']),
|
|
16
|
+
'destinationConfig': !exists(json, 'destinationConfig') ? undefined : DestinationConfigInputFromJSON(json['destinationConfig']),
|
|
17
|
+
'depositConfig': !exists(json, 'depositConfig') ? undefined : DepositAmountsConfigInputFromJSON(json['depositConfig']),
|
|
18
|
+
'enableOrchestration': !exists(json, 'enableOrchestration') ? undefined : json['enableOrchestration'],
|
|
19
|
+
'integratorFeeBps': !exists(json, 'integratorFeeBps') ? undefined : json['integratorFeeBps'],
|
|
20
|
+
'geoRestrictions': !exists(json, 'geoRestrictions') ? undefined : json['geoRestrictions'],
|
|
21
|
+
'exchangeRestrictions': !exists(json, 'exchangeRestrictions') ? undefined : json['exchangeRestrictions'],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function CheckoutUpdateRequestToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
|
|
33
|
+
'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
|
|
34
|
+
'depositConfig': DepositAmountsConfigInputToJSON(value.depositConfig),
|
|
35
|
+
'enableOrchestration': value.enableOrchestration,
|
|
36
|
+
'integratorFeeBps': value.integratorFeeBps,
|
|
37
|
+
'geoRestrictions': value.geoRestrictions,
|
|
38
|
+
'exchangeRestrictions': value.exchangeRestrictions,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { CheckoutUpdateRequestFromJSON, CheckoutUpdateRequestFromJSONTyped, CheckoutUpdateRequestToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Checkout = require('./Checkout.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function CheckoutsResponseFromJSON(json) {
|
|
9
|
+
return CheckoutsResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function CheckoutsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'checkouts': (json['checkouts'].map(Checkout.CheckoutFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function CheckoutsResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'checkouts': (value.checkouts.map(Checkout.CheckoutToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.CheckoutsResponseFromJSON = CheckoutsResponseFromJSON;
|
|
32
|
+
exports.CheckoutsResponseFromJSONTyped = CheckoutsResponseFromJSONTyped;
|
|
33
|
+
exports.CheckoutsResponseToJSON = CheckoutsResponseToJSON;
|
|
@@ -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 { Checkout } from './Checkout';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CheckoutsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface CheckoutsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Checkout>}
|
|
22
|
+
* @memberof CheckoutsResponse
|
|
23
|
+
*/
|
|
24
|
+
checkouts: Array<Checkout>;
|
|
25
|
+
}
|
|
26
|
+
export declare function CheckoutsResponseFromJSON(json: any): CheckoutsResponse;
|
|
27
|
+
export declare function CheckoutsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutsResponse;
|
|
28
|
+
export declare function CheckoutsResponseToJSON(value?: CheckoutsResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CheckoutFromJSON, CheckoutToJSON } from './Checkout.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function CheckoutsResponseFromJSON(json) {
|
|
5
|
+
return CheckoutsResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function CheckoutsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'checkouts': (json['checkouts'].map(CheckoutFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function CheckoutsResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'checkouts': (value.checkouts.map(CheckoutToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { CheckoutsResponseFromJSON, CheckoutsResponseFromJSONTyped, CheckoutsResponseToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function ConflictFromJSON(json) {
|
|
9
|
+
return ConflictFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function ConflictFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'error': !runtime.exists(json, 'error') ? undefined : json['error'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function ConflictToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'error': value.error,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.ConflictFromJSON = ConflictFromJSON;
|
|
32
|
+
exports.ConflictFromJSONTyped = ConflictFromJSONTyped;
|
|
33
|
+
exports.ConflictToJSON = ConflictToJSON;
|
|
@@ -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 Conflict
|
|
16
|
+
*/
|
|
17
|
+
export interface Conflict {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Conflict
|
|
22
|
+
*/
|
|
23
|
+
error?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ConflictFromJSON(json: any): Conflict;
|
|
26
|
+
export declare function ConflictFromJSONTyped(json: any, ignoreDiscriminator: boolean): Conflict;
|
|
27
|
+
export declare function ConflictToJSON(value?: Conflict | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ConflictFromJSON(json) {
|
|
5
|
+
return ConflictFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ConflictFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function ConflictToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'error': value.error,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { ConflictFromJSON, ConflictFromJSONTyped, ConflictToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function DepositAmountsConfigInputFromJSON(json) {
|
|
9
|
+
return DepositAmountsConfigInputFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function DepositAmountsConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'minimum': !runtime.exists(json, 'minimum') ? undefined : json['minimum'],
|
|
17
|
+
'presets': !runtime.exists(json, 'presets') ? undefined : json['presets'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function DepositAmountsConfigInputToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'minimum': value.minimum,
|
|
29
|
+
'presets': value.presets,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.DepositAmountsConfigInputFromJSON = DepositAmountsConfigInputFromJSON;
|
|
34
|
+
exports.DepositAmountsConfigInputFromJSONTyped = DepositAmountsConfigInputFromJSONTyped;
|
|
35
|
+
exports.DepositAmountsConfigInputToJSON = DepositAmountsConfigInputToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 DepositAmountsConfigInput
|
|
16
|
+
*/
|
|
17
|
+
export interface DepositAmountsConfigInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DepositAmountsConfigInput
|
|
22
|
+
*/
|
|
23
|
+
minimum?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof DepositAmountsConfigInput
|
|
28
|
+
*/
|
|
29
|
+
presets?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function DepositAmountsConfigInputFromJSON(json: any): DepositAmountsConfigInput;
|
|
32
|
+
export declare function DepositAmountsConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DepositAmountsConfigInput;
|
|
33
|
+
export declare function DepositAmountsConfigInputToJSON(value?: DepositAmountsConfigInput | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function DepositAmountsConfigInputFromJSON(json) {
|
|
5
|
+
return DepositAmountsConfigInputFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function DepositAmountsConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'minimum': !exists(json, 'minimum') ? undefined : json['minimum'],
|
|
13
|
+
'presets': !exists(json, 'presets') ? undefined : json['presets'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function DepositAmountsConfigInputToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'minimum': value.minimum,
|
|
25
|
+
'presets': value.presets,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { DepositAmountsConfigInputFromJSON, DepositAmountsConfigInputFromJSONTyped, DepositAmountsConfigInputToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var DestinationTypeEnum = require('./DestinationTypeEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function DestinationConfigInputFromJSON(json) {
|
|
9
|
+
return DestinationConfigInputFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'type': DestinationTypeEnum.DestinationTypeEnumFromJSON(json['type']),
|
|
17
|
+
'identifier': json['identifier'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function DestinationConfigInputToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'type': DestinationTypeEnum.DestinationTypeEnumToJSON(value.type),
|
|
29
|
+
'identifier': value.identifier,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.DestinationConfigInputFromJSON = DestinationConfigInputFromJSON;
|
|
34
|
+
exports.DestinationConfigInputFromJSONTyped = DestinationConfigInputFromJSONTyped;
|
|
35
|
+
exports.DestinationConfigInputToJSON = DestinationConfigInputToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { DestinationTypeEnum } from './DestinationTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DestinationConfigInput
|
|
17
|
+
*/
|
|
18
|
+
export interface DestinationConfigInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {DestinationTypeEnum}
|
|
22
|
+
* @memberof DestinationConfigInput
|
|
23
|
+
*/
|
|
24
|
+
type: DestinationTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DestinationConfigInput
|
|
29
|
+
*/
|
|
30
|
+
identifier: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function DestinationConfigInputFromJSON(json: any): DestinationConfigInput;
|
|
33
|
+
export declare function DestinationConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DestinationConfigInput;
|
|
34
|
+
export declare function DestinationConfigInputToJSON(value?: DestinationConfigInput | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DestinationTypeEnumFromJSON, DestinationTypeEnumToJSON } from './DestinationTypeEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function DestinationConfigInputFromJSON(json) {
|
|
5
|
+
return DestinationConfigInputFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'type': DestinationTypeEnumFromJSON(json['type']),
|
|
13
|
+
'identifier': json['identifier'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function DestinationConfigInputToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'type': DestinationTypeEnumToJSON(value.type),
|
|
25
|
+
'identifier': value.identifier,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { DestinationConfigInputFromJSON, DestinationConfigInputFromJSONTyped, DestinationConfigInputToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.DestinationTypeEnum = void 0;
|
|
24
|
+
(function (DestinationTypeEnum) {
|
|
25
|
+
DestinationTypeEnum["Address"] = "address";
|
|
26
|
+
DestinationTypeEnum["Embedded"] = "embedded";
|
|
27
|
+
DestinationTypeEnum["Fireblocks"] = "fireblocks";
|
|
28
|
+
})(exports.DestinationTypeEnum || (exports.DestinationTypeEnum = {}));
|
|
29
|
+
function DestinationTypeEnumFromJSON(json) {
|
|
30
|
+
return DestinationTypeEnumFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function DestinationTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function DestinationTypeEnumToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.DestinationTypeEnumFromJSON = DestinationTypeEnumFromJSON;
|
|
40
|
+
exports.DestinationTypeEnumFromJSONTyped = DestinationTypeEnumFromJSONTyped;
|
|
41
|
+
exports.DestinationTypeEnumToJSON = DestinationTypeEnumToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum DestinationTypeEnum {
|
|
18
|
+
Address = "address",
|
|
19
|
+
Embedded = "embedded",
|
|
20
|
+
Fireblocks = "fireblocks"
|
|
21
|
+
}
|
|
22
|
+
export declare function DestinationTypeEnumFromJSON(json: any): DestinationTypeEnum;
|
|
23
|
+
export declare function DestinationTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): DestinationTypeEnum;
|
|
24
|
+
export declare function DestinationTypeEnumToJSON(value?: DestinationTypeEnum | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var DestinationTypeEnum;
|
|
20
|
+
(function (DestinationTypeEnum) {
|
|
21
|
+
DestinationTypeEnum["Address"] = "address";
|
|
22
|
+
DestinationTypeEnum["Embedded"] = "embedded";
|
|
23
|
+
DestinationTypeEnum["Fireblocks"] = "fireblocks";
|
|
24
|
+
})(DestinationTypeEnum || (DestinationTypeEnum = {}));
|
|
25
|
+
function DestinationTypeEnumFromJSON(json) {
|
|
26
|
+
return DestinationTypeEnumFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function DestinationTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function DestinationTypeEnumToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { DestinationTypeEnum, DestinationTypeEnumFromJSON, DestinationTypeEnumFromJSONTyped, DestinationTypeEnumToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function QuoteRequestFromJSON(json) {
|
|
9
|
+
return QuoteRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function QuoteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'fromTokenAddress': json['fromTokenAddress'],
|
|
17
|
+
'toTokenAddress': json['toTokenAddress'],
|
|
18
|
+
'slippage': !runtime.exists(json, 'slippage') ? undefined : json['slippage'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function QuoteRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'fromTokenAddress': value.fromTokenAddress,
|
|
30
|
+
'toTokenAddress': value.toTokenAddress,
|
|
31
|
+
'slippage': value.slippage,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.QuoteRequestFromJSON = QuoteRequestFromJSON;
|
|
36
|
+
exports.QuoteRequestFromJSONTyped = QuoteRequestFromJSONTyped;
|
|
37
|
+
exports.QuoteRequestToJSON = QuoteRequestToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 QuoteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface QuoteRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof QuoteRequest
|
|
22
|
+
*/
|
|
23
|
+
fromTokenAddress: string;
|
|
24
|
+
/**
|
|
25
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QuoteRequest
|
|
28
|
+
*/
|
|
29
|
+
toTokenAddress: string;
|
|
30
|
+
/**
|
|
31
|
+
* Slippage tolerance (e.g. 0.005 for 0.5%)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof QuoteRequest
|
|
34
|
+
*/
|
|
35
|
+
slippage?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function QuoteRequestFromJSON(json: any): QuoteRequest;
|
|
38
|
+
export declare function QuoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuoteRequest;
|
|
39
|
+
export declare function QuoteRequestToJSON(value?: QuoteRequest | null): any;
|