@dynamic-labs/sdk-api-core 0.0.877 → 0.0.878
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +502 -0
- package/src/apis/SDKApi.d.ts +190 -1
- package/src/apis/SDKApi.js +503 -1
- package/src/apis/WaasApi.cjs +7 -0
- package/src/apis/WaasApi.js +7 -0
- package/src/index.cjs +132 -0
- package/src/index.js +26 -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/index.d.ts +26 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function QuoteRequestFromJSON(json) {
|
|
5
|
+
return QuoteRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function QuoteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'fromTokenAddress': json['fromTokenAddress'],
|
|
13
|
+
'toTokenAddress': json['toTokenAddress'],
|
|
14
|
+
'slippage': !exists(json, 'slippage') ? undefined : json['slippage'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function QuoteRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'fromTokenAddress': value.fromTokenAddress,
|
|
26
|
+
'toTokenAddress': value.toTokenAddress,
|
|
27
|
+
'slippage': value.slippage,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { QuoteRequestFromJSON, QuoteRequestFromJSONTyped, QuoteRequestToJSON };
|
|
@@ -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 RecordBroadcastRequestFromJSON(json) {
|
|
9
|
+
return RecordBroadcastRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function RecordBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'txHash': json['txHash'],
|
|
17
|
+
'txHashes': !runtime.exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function RecordBroadcastRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'txHash': value.txHash,
|
|
29
|
+
'txHashes': value.txHashes,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.RecordBroadcastRequestFromJSON = RecordBroadcastRequestFromJSON;
|
|
34
|
+
exports.RecordBroadcastRequestFromJSONTyped = RecordBroadcastRequestFromJSONTyped;
|
|
35
|
+
exports.RecordBroadcastRequestToJSON = RecordBroadcastRequestToJSON;
|
|
@@ -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 RecordBroadcastRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RecordBroadcastRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RecordBroadcastRequest
|
|
22
|
+
*/
|
|
23
|
+
txHash: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof RecordBroadcastRequest
|
|
28
|
+
*/
|
|
29
|
+
txHashes?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function RecordBroadcastRequestFromJSON(json: any): RecordBroadcastRequest;
|
|
32
|
+
export declare function RecordBroadcastRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordBroadcastRequest;
|
|
33
|
+
export declare function RecordBroadcastRequestToJSON(value?: RecordBroadcastRequest | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function RecordBroadcastRequestFromJSON(json) {
|
|
5
|
+
return RecordBroadcastRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function RecordBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'txHash': json['txHash'],
|
|
13
|
+
'txHashes': !exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function RecordBroadcastRequestToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'txHash': value.txHash,
|
|
25
|
+
'txHashes': value.txHashes,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { RecordBroadcastRequestFromJSON, RecordBroadcastRequestFromJSONTyped, RecordBroadcastRequestToJSON };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SettlementStrategyEnum = require('./SettlementStrategyEnum.cjs');
|
|
6
|
+
var SettlementTokenInput = require('./SettlementTokenInput.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function SettlementConfigInputFromJSON(json) {
|
|
10
|
+
return SettlementConfigInputFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'strategy': SettlementStrategyEnum.SettlementStrategyEnumFromJSON(json['strategy']),
|
|
18
|
+
'tokens': (json['tokens'].map(SettlementTokenInput.SettlementTokenInputFromJSON)),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SettlementConfigInputToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'strategy': SettlementStrategyEnum.SettlementStrategyEnumToJSON(value.strategy),
|
|
30
|
+
'tokens': (value.tokens.map(SettlementTokenInput.SettlementTokenInputToJSON)),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.SettlementConfigInputFromJSON = SettlementConfigInputFromJSON;
|
|
35
|
+
exports.SettlementConfigInputFromJSONTyped = SettlementConfigInputFromJSONTyped;
|
|
36
|
+
exports.SettlementConfigInputToJSON = SettlementConfigInputToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { SettlementStrategyEnum } from './SettlementStrategyEnum';
|
|
13
|
+
import { SettlementTokenInput } from './SettlementTokenInput';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SettlementConfigInput
|
|
18
|
+
*/
|
|
19
|
+
export interface SettlementConfigInput {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SettlementStrategyEnum}
|
|
23
|
+
* @memberof SettlementConfigInput
|
|
24
|
+
*/
|
|
25
|
+
strategy: SettlementStrategyEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SettlementTokenInput>}
|
|
29
|
+
* @memberof SettlementConfigInput
|
|
30
|
+
*/
|
|
31
|
+
tokens: Array<SettlementTokenInput>;
|
|
32
|
+
}
|
|
33
|
+
export declare function SettlementConfigInputFromJSON(json: any): SettlementConfigInput;
|
|
34
|
+
export declare function SettlementConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementConfigInput;
|
|
35
|
+
export declare function SettlementConfigInputToJSON(value?: SettlementConfigInput | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SettlementStrategyEnumFromJSON, SettlementStrategyEnumToJSON } from './SettlementStrategyEnum.js';
|
|
2
|
+
import { SettlementTokenInputFromJSON, SettlementTokenInputToJSON } from './SettlementTokenInput.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SettlementConfigInputFromJSON(json) {
|
|
6
|
+
return SettlementConfigInputFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'strategy': SettlementStrategyEnumFromJSON(json['strategy']),
|
|
14
|
+
'tokens': (json['tokens'].map(SettlementTokenInputFromJSON)),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function SettlementConfigInputToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'strategy': SettlementStrategyEnumToJSON(value.strategy),
|
|
26
|
+
'tokens': (value.tokens.map(SettlementTokenInputToJSON)),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { SettlementConfigInputFromJSON, SettlementConfigInputFromJSONTyped, SettlementConfigInputToJSON };
|
|
@@ -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.SettlementStrategyEnum = void 0;
|
|
24
|
+
(function (SettlementStrategyEnum) {
|
|
25
|
+
SettlementStrategyEnum["Cheapest"] = "cheapest";
|
|
26
|
+
SettlementStrategyEnum["Fastest"] = "fastest";
|
|
27
|
+
SettlementStrategyEnum["PreferredOrder"] = "preferred_order";
|
|
28
|
+
})(exports.SettlementStrategyEnum || (exports.SettlementStrategyEnum = {}));
|
|
29
|
+
function SettlementStrategyEnumFromJSON(json) {
|
|
30
|
+
return SettlementStrategyEnumFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function SettlementStrategyEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function SettlementStrategyEnumToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.SettlementStrategyEnumFromJSON = SettlementStrategyEnumFromJSON;
|
|
40
|
+
exports.SettlementStrategyEnumFromJSONTyped = SettlementStrategyEnumFromJSONTyped;
|
|
41
|
+
exports.SettlementStrategyEnumToJSON = SettlementStrategyEnumToJSON;
|
|
@@ -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 SettlementStrategyEnum {
|
|
18
|
+
Cheapest = "cheapest",
|
|
19
|
+
Fastest = "fastest",
|
|
20
|
+
PreferredOrder = "preferred_order"
|
|
21
|
+
}
|
|
22
|
+
export declare function SettlementStrategyEnumFromJSON(json: any): SettlementStrategyEnum;
|
|
23
|
+
export declare function SettlementStrategyEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementStrategyEnum;
|
|
24
|
+
export declare function SettlementStrategyEnumToJSON(value?: SettlementStrategyEnum | 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 SettlementStrategyEnum;
|
|
20
|
+
(function (SettlementStrategyEnum) {
|
|
21
|
+
SettlementStrategyEnum["Cheapest"] = "cheapest";
|
|
22
|
+
SettlementStrategyEnum["Fastest"] = "fastest";
|
|
23
|
+
SettlementStrategyEnum["PreferredOrder"] = "preferred_order";
|
|
24
|
+
})(SettlementStrategyEnum || (SettlementStrategyEnum = {}));
|
|
25
|
+
function SettlementStrategyEnumFromJSON(json) {
|
|
26
|
+
return SettlementStrategyEnumFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function SettlementStrategyEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function SettlementStrategyEnumToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { SettlementStrategyEnum, SettlementStrategyEnumFromJSON, SettlementStrategyEnumFromJSONTyped, SettlementStrategyEnumToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
function SettlementTokenInputFromJSON(json) {
|
|
19
|
+
return SettlementTokenInputFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SettlementTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'address': json['address'],
|
|
27
|
+
'chainId': json['chainId'],
|
|
28
|
+
'symbol': json['symbol'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function SettlementTokenInputToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'address': value.address,
|
|
40
|
+
'chainId': value.chainId,
|
|
41
|
+
'symbol': value.symbol,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.SettlementTokenInputFromJSON = SettlementTokenInputFromJSON;
|
|
46
|
+
exports.SettlementTokenInputFromJSONTyped = SettlementTokenInputFromJSONTyped;
|
|
47
|
+
exports.SettlementTokenInputToJSON = SettlementTokenInputToJSON;
|
|
@@ -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 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;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
function SettlementTokenInputFromJSON(json) {
|
|
15
|
+
return SettlementTokenInputFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SettlementTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'address': json['address'],
|
|
23
|
+
'chainId': json['chainId'],
|
|
24
|
+
'symbol': json['symbol'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SettlementTokenInputToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'address': value.address,
|
|
36
|
+
'chainId': value.chainId,
|
|
37
|
+
'symbol': value.symbol,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SettlementTokenInputFromJSON, SettlementTokenInputFromJSONTyped, SettlementTokenInputToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './AssetDiff';
|
|
|
5
5
|
export * from './AssetExposure';
|
|
6
6
|
export * from './AssetExposureSpenderToInfo';
|
|
7
7
|
export * from './AssetTransfer';
|
|
8
|
+
export * from './AttachSourceRequest';
|
|
8
9
|
export * from './AttestationConveyancePreference';
|
|
9
10
|
export * from './AuthModeEnum';
|
|
10
11
|
export * from './AuthSettings';
|
|
@@ -29,6 +30,22 @@ export * from './BaseUser';
|
|
|
29
30
|
export * from './BlockaidValidation';
|
|
30
31
|
export * from './ChainConfiguration';
|
|
31
32
|
export * from './ChainEnum';
|
|
33
|
+
export * from './Checkout';
|
|
34
|
+
export * from './CheckoutCreateRequest';
|
|
35
|
+
export * from './CheckoutExecutionStateEnum';
|
|
36
|
+
export * from './CheckoutFailure';
|
|
37
|
+
export * from './CheckoutFeeBreakdown';
|
|
38
|
+
export * from './CheckoutModeEnum';
|
|
39
|
+
export * from './CheckoutQuoteSnapshot';
|
|
40
|
+
export * from './CheckoutRiskStateEnum';
|
|
41
|
+
export * from './CheckoutSettlementData';
|
|
42
|
+
export * from './CheckoutSettlementStateEnum';
|
|
43
|
+
export * from './CheckoutSourceTypeEnum';
|
|
44
|
+
export * from './CheckoutTransaction';
|
|
45
|
+
export * from './CheckoutTransactionCreateRequest';
|
|
46
|
+
export * from './CheckoutTransactionCreateResponse';
|
|
47
|
+
export * from './CheckoutUpdateRequest';
|
|
48
|
+
export * from './CheckoutsResponse';
|
|
32
49
|
export * from './CoinbaseMpcWalletProperties';
|
|
33
50
|
export * from './CoinbaseOnrampBuyUrlExperience';
|
|
34
51
|
export * from './CoinbaseOnrampFee';
|
|
@@ -43,6 +60,7 @@ export * from './CoinbaseOnrampOrderResponse';
|
|
|
43
60
|
export * from './CoinbaseOnrampOrderResponsePaymentLink';
|
|
44
61
|
export * from './CoinbaseOnrampOrderStatus';
|
|
45
62
|
export * from './CompletePasskeyRecoveryRequest';
|
|
63
|
+
export * from './Conflict';
|
|
46
64
|
export * from './ConnectRequest';
|
|
47
65
|
export * from './CreateEmbeddedWalletParams';
|
|
48
66
|
export * from './CreateEmbeddedWalletSpecificOpts';
|
|
@@ -74,6 +92,9 @@ export * from './DelegatedShareDeliveryRequestEncryptedDelegatedShare';
|
|
|
74
92
|
export * from './DelegatedShareDeliveryResponse';
|
|
75
93
|
export * from './DeleteEmbeddedWalletsRequest';
|
|
76
94
|
export * from './DeleteUserPasskeyRequest';
|
|
95
|
+
export * from './DepositAmountsConfigInput';
|
|
96
|
+
export * from './DestinationConfigInput';
|
|
97
|
+
export * from './DestinationTypeEnum';
|
|
77
98
|
export * from './DeviceRegistrationRequest';
|
|
78
99
|
export * from './Duration';
|
|
79
100
|
export * from './DynamicJwt';
|
|
@@ -261,8 +282,10 @@ export * from './PublicKeyCredentialType';
|
|
|
261
282
|
export * from './PublicKeyCredentialUserEntity';
|
|
262
283
|
export * from './PublishEvents';
|
|
263
284
|
export * from './PublishEventsEvents';
|
|
285
|
+
export * from './QuoteRequest';
|
|
264
286
|
export * from './RampConfiguration';
|
|
265
287
|
export * from './ReactSettings';
|
|
288
|
+
export * from './RecordBroadcastRequest';
|
|
266
289
|
export * from './RecoverMultipleClientKeySharesRequest';
|
|
267
290
|
export * from './RecoverMultipleClientKeySharesResponse';
|
|
268
291
|
export * from './RegisterEmbeddedWalletSessionKeyResponse';
|
|
@@ -282,6 +305,9 @@ export * from './SdkViewType';
|
|
|
282
305
|
export * from './SdkViewUpdateRequest';
|
|
283
306
|
export * from './SdkViewsResponse';
|
|
284
307
|
export * from './SecurityNotifications';
|
|
308
|
+
export * from './SettlementConfigInput';
|
|
309
|
+
export * from './SettlementStrategyEnum';
|
|
310
|
+
export * from './SettlementTokenInput';
|
|
285
311
|
export * from './SignInProviderEnum';
|
|
286
312
|
export * from './SignMessageAuthorizationSignature';
|
|
287
313
|
export * from './SignMessageBtcTransaction';
|