@dynamic-labs/sdk-api-core 0.0.888 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.888",
3
+ "version": "0.0.889",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -34,8 +34,8 @@ require('../models/MfaBackupCodeAcknowledgement.cjs');
34
34
  require('../models/CustomFieldType.cjs');
35
35
  require('../models/KycFieldType.cjs');
36
36
  require('../models/ChainEnum.cjs');
37
- require('../models/CheckoutModeEnum.cjs');
38
37
  require('../models/DestinationTypeEnum.cjs');
38
+ require('../models/CheckoutModeEnum.cjs');
39
39
  require('../models/SettlementStrategyEnum.cjs');
40
40
  require('../models/CheckoutExecutionStateEnum.cjs');
41
41
  require('../models/CheckoutRiskStateEnum.cjs');
@@ -30,8 +30,8 @@ import '../models/MfaBackupCodeAcknowledgement.js';
30
30
  import '../models/CustomFieldType.js';
31
31
  import '../models/KycFieldType.js';
32
32
  import '../models/ChainEnum.js';
33
- import '../models/CheckoutModeEnum.js';
34
33
  import '../models/DestinationTypeEnum.js';
34
+ import '../models/CheckoutModeEnum.js';
35
35
  import '../models/SettlementStrategyEnum.js';
36
36
  import '../models/CheckoutExecutionStateEnum.js';
37
37
  import '../models/CheckoutRiskStateEnum.js';
@@ -29,8 +29,8 @@ require('../models/MfaBackupCodeAcknowledgement.cjs');
29
29
  require('../models/CustomFieldType.cjs');
30
30
  require('../models/KycFieldType.cjs');
31
31
  require('../models/ChainEnum.cjs');
32
- require('../models/CheckoutModeEnum.cjs');
33
32
  require('../models/DestinationTypeEnum.cjs');
33
+ require('../models/CheckoutModeEnum.cjs');
34
34
  require('../models/SettlementStrategyEnum.cjs');
35
35
  require('../models/CheckoutExecutionStateEnum.cjs');
36
36
  require('../models/CheckoutRiskStateEnum.cjs');
@@ -25,8 +25,8 @@ import '../models/MfaBackupCodeAcknowledgement.js';
25
25
  import '../models/CustomFieldType.js';
26
26
  import '../models/KycFieldType.js';
27
27
  import '../models/ChainEnum.js';
28
- import '../models/CheckoutModeEnum.js';
29
28
  import '../models/DestinationTypeEnum.js';
29
+ import '../models/CheckoutModeEnum.js';
30
30
  import '../models/SettlementStrategyEnum.js';
31
31
  import '../models/CheckoutExecutionStateEnum.js';
32
32
  import '../models/CheckoutRiskStateEnum.js';
package/src/index.cjs CHANGED
@@ -36,7 +36,9 @@ var BadRequest = require('./models/BadRequest.cjs');
36
36
  var BaseUser = require('./models/BaseUser.cjs');
37
37
  var BlockaidValidation = require('./models/BlockaidValidation.cjs');
38
38
  var ChainConfiguration = require('./models/ChainConfiguration.cjs');
39
+ var ChainDestinationConfig = require('./models/ChainDestinationConfig.cjs');
39
40
  var ChainEnum = require('./models/ChainEnum.cjs');
41
+ var ChainSettlementConfig = require('./models/ChainSettlementConfig.cjs');
40
42
  var Checkout = require('./models/Checkout.cjs');
41
43
  var CheckoutCreateRequest = require('./models/CheckoutCreateRequest.cjs');
42
44
  var CheckoutEvmApprovalData = require('./models/CheckoutEvmApprovalData.cjs');
@@ -323,7 +325,6 @@ var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
323
325
  var SecurityNotifications = require('./models/SecurityNotifications.cjs');
324
326
  var SettlementConfigInput = require('./models/SettlementConfigInput.cjs');
325
327
  var SettlementStrategyEnum = require('./models/SettlementStrategyEnum.cjs');
326
- var SettlementTokenInput = require('./models/SettlementTokenInput.cjs');
327
328
  var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
328
329
  var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
329
330
  var SignMessageBtcTransaction = require('./models/SignMessageBtcTransaction.cjs');
@@ -558,6 +559,9 @@ exports.BlockaidValidationToJSON = BlockaidValidation.BlockaidValidationToJSON;
558
559
  exports.ChainConfigurationFromJSON = ChainConfiguration.ChainConfigurationFromJSON;
559
560
  exports.ChainConfigurationFromJSONTyped = ChainConfiguration.ChainConfigurationFromJSONTyped;
560
561
  exports.ChainConfigurationToJSON = ChainConfiguration.ChainConfigurationToJSON;
562
+ exports.ChainDestinationConfigFromJSON = ChainDestinationConfig.ChainDestinationConfigFromJSON;
563
+ exports.ChainDestinationConfigFromJSONTyped = ChainDestinationConfig.ChainDestinationConfigFromJSONTyped;
564
+ exports.ChainDestinationConfigToJSON = ChainDestinationConfig.ChainDestinationConfigToJSON;
561
565
  Object.defineProperty(exports, 'ChainEnum', {
562
566
  enumerable: true,
563
567
  get: function () { return ChainEnum.ChainEnum; }
@@ -565,6 +569,9 @@ Object.defineProperty(exports, 'ChainEnum', {
565
569
  exports.ChainEnumFromJSON = ChainEnum.ChainEnumFromJSON;
566
570
  exports.ChainEnumFromJSONTyped = ChainEnum.ChainEnumFromJSONTyped;
567
571
  exports.ChainEnumToJSON = ChainEnum.ChainEnumToJSON;
572
+ exports.ChainSettlementConfigFromJSON = ChainSettlementConfig.ChainSettlementConfigFromJSON;
573
+ exports.ChainSettlementConfigFromJSONTyped = ChainSettlementConfig.ChainSettlementConfigFromJSONTyped;
574
+ exports.ChainSettlementConfigToJSON = ChainSettlementConfig.ChainSettlementConfigToJSON;
568
575
  exports.CheckoutFromJSON = Checkout.CheckoutFromJSON;
569
576
  exports.CheckoutFromJSONTyped = Checkout.CheckoutFromJSONTyped;
570
577
  exports.CheckoutToJSON = Checkout.CheckoutToJSON;
@@ -1643,9 +1650,6 @@ Object.defineProperty(exports, 'SettlementStrategyEnum', {
1643
1650
  exports.SettlementStrategyEnumFromJSON = SettlementStrategyEnum.SettlementStrategyEnumFromJSON;
1644
1651
  exports.SettlementStrategyEnumFromJSONTyped = SettlementStrategyEnum.SettlementStrategyEnumFromJSONTyped;
1645
1652
  exports.SettlementStrategyEnumToJSON = SettlementStrategyEnum.SettlementStrategyEnumToJSON;
1646
- exports.SettlementTokenInputFromJSON = SettlementTokenInput.SettlementTokenInputFromJSON;
1647
- exports.SettlementTokenInputFromJSONTyped = SettlementTokenInput.SettlementTokenInputFromJSONTyped;
1648
- exports.SettlementTokenInputToJSON = SettlementTokenInput.SettlementTokenInputToJSON;
1649
1653
  Object.defineProperty(exports, 'SignInProviderEnum', {
1650
1654
  enumerable: true,
1651
1655
  get: function () { return SignInProviderEnum.SignInProviderEnum; }
package/src/index.js CHANGED
@@ -32,7 +32,9 @@ export { BadRequestFromJSON, BadRequestFromJSONTyped, BadRequestToJSON } from '.
32
32
  export { BaseUserFromJSON, BaseUserFromJSONTyped, BaseUserToJSON } from './models/BaseUser.js';
33
33
  export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidValidationToJSON } from './models/BlockaidValidation.js';
34
34
  export { ChainConfigurationFromJSON, ChainConfigurationFromJSONTyped, ChainConfigurationToJSON } from './models/ChainConfiguration.js';
35
+ export { ChainDestinationConfigFromJSON, ChainDestinationConfigFromJSONTyped, ChainDestinationConfigToJSON } from './models/ChainDestinationConfig.js';
35
36
  export { ChainEnum, ChainEnumFromJSON, ChainEnumFromJSONTyped, ChainEnumToJSON } from './models/ChainEnum.js';
37
+ export { ChainSettlementConfigFromJSON, ChainSettlementConfigFromJSONTyped, ChainSettlementConfigToJSON } from './models/ChainSettlementConfig.js';
36
38
  export { CheckoutFromJSON, CheckoutFromJSONTyped, CheckoutToJSON } from './models/Checkout.js';
37
39
  export { CheckoutCreateRequestFromJSON, CheckoutCreateRequestFromJSONTyped, CheckoutCreateRequestToJSON } from './models/CheckoutCreateRequest.js';
38
40
  export { CheckoutEvmApprovalDataFromJSON, CheckoutEvmApprovalDataFromJSONTyped, CheckoutEvmApprovalDataToJSON } from './models/CheckoutEvmApprovalData.js';
@@ -319,7 +321,6 @@ export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsRespon
319
321
  export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON } from './models/SecurityNotifications.js';
320
322
  export { SettlementConfigInputFromJSON, SettlementConfigInputFromJSONTyped, SettlementConfigInputToJSON } from './models/SettlementConfigInput.js';
321
323
  export { SettlementStrategyEnum, SettlementStrategyEnumFromJSON, SettlementStrategyEnumFromJSONTyped, SettlementStrategyEnumToJSON } from './models/SettlementStrategyEnum.js';
322
- export { SettlementTokenInputFromJSON, SettlementTokenInputFromJSONTyped, SettlementTokenInputToJSON } from './models/SettlementTokenInput.js';
323
324
  export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
324
325
  export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
325
326
  export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON } from './models/SignMessageBtcTransaction.js';
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ChainEnum = require('./ChainEnum.cjs');
6
+ var DestinationTypeEnum = require('./DestinationTypeEnum.cjs');
7
+
8
+ /* tslint:disable */
9
+ function ChainDestinationConfigFromJSON(json) {
10
+ return ChainDestinationConfigFromJSONTyped(json);
11
+ }
12
+ function ChainDestinationConfigFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'chainName': ChainEnum.ChainEnumFromJSON(json['chainName']),
18
+ 'type': DestinationTypeEnum.DestinationTypeEnumFromJSON(json['type']),
19
+ 'identifier': json['identifier'],
20
+ };
21
+ }
22
+ function ChainDestinationConfigToJSON(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
+ 'type': DestinationTypeEnum.DestinationTypeEnumToJSON(value.type),
32
+ 'identifier': value.identifier,
33
+ };
34
+ }
35
+
36
+ exports.ChainDestinationConfigFromJSON = ChainDestinationConfigFromJSON;
37
+ exports.ChainDestinationConfigFromJSONTyped = ChainDestinationConfigFromJSONTyped;
38
+ exports.ChainDestinationConfigToJSON = ChainDestinationConfigToJSON;
@@ -0,0 +1,41 @@
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
+ import { DestinationTypeEnum } from './DestinationTypeEnum';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ChainDestinationConfig
18
+ */
19
+ export interface ChainDestinationConfig {
20
+ /**
21
+ *
22
+ * @type {ChainEnum}
23
+ * @memberof ChainDestinationConfig
24
+ */
25
+ chainName: ChainEnum;
26
+ /**
27
+ *
28
+ * @type {DestinationTypeEnum}
29
+ * @memberof ChainDestinationConfig
30
+ */
31
+ type: DestinationTypeEnum;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ChainDestinationConfig
36
+ */
37
+ identifier: string;
38
+ }
39
+ export declare function ChainDestinationConfigFromJSON(json: any): ChainDestinationConfig;
40
+ export declare function ChainDestinationConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainDestinationConfig;
41
+ export declare function ChainDestinationConfigToJSON(value?: ChainDestinationConfig | null): any;
@@ -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 };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var DestinationTypeEnum = require('./DestinationTypeEnum.cjs');
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
- 'type': DestinationTypeEnum.DestinationTypeEnumFromJSON(json['type']),
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
- 'type': DestinationTypeEnum.DestinationTypeEnumToJSON(value.type),
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 { DestinationTypeEnum } from './DestinationTypeEnum';
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 {DestinationTypeEnum}
21
+ * @type {Array<ChainDestinationConfig>}
22
22
  * @memberof DestinationConfigInput
23
23
  */
24
- type: DestinationTypeEnum;
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 { DestinationTypeEnumFromJSON, DestinationTypeEnumToJSON } from './DestinationTypeEnum.js';
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
- 'type': DestinationTypeEnumFromJSON(json['type']),
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
- 'type': DestinationTypeEnumToJSON(value.type),
25
- 'identifier': value.identifier,
23
+ 'destinations': (value.destinations.map(ChainDestinationConfigToJSON)),
26
24
  };
27
25
  }
28
26
 
@@ -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
- 'tokens': (json['tokens'].map(SettlementTokenInput.SettlementTokenInputFromJSON)),
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
- 'tokens': (value.tokens.map(SettlementTokenInput.SettlementTokenInputToJSON)),
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<SettlementTokenInput>}
28
+ * @type {Array<ChainSettlementConfig>}
29
29
  * @memberof SettlementConfigInput
30
30
  */
31
- tokens: Array<SettlementTokenInput>;
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
- 'tokens': (json['tokens'].map(SettlementTokenInputFromJSON)),
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
- 'tokens': (value.tokens.map(SettlementTokenInputToJSON)),
26
+ 'settlements': (value.settlements.map(ChainSettlementConfigToJSON)),
27
27
  };
28
28
  }
29
29
 
@@ -29,7 +29,9 @@ export * from './BadRequest';
29
29
  export * from './BaseUser';
30
30
  export * from './BlockaidValidation';
31
31
  export * from './ChainConfiguration';
32
+ export * from './ChainDestinationConfig';
32
33
  export * from './ChainEnum';
34
+ export * from './ChainSettlementConfig';
33
35
  export * from './Checkout';
34
36
  export * from './CheckoutCreateRequest';
35
37
  export * from './CheckoutEvmApprovalData';
@@ -316,7 +318,6 @@ export * from './SdkViewsResponse';
316
318
  export * from './SecurityNotifications';
317
319
  export * from './SettlementConfigInput';
318
320
  export * from './SettlementStrategyEnum';
319
- export * from './SettlementTokenInput';
320
321
  export * from './SignInProviderEnum';
321
322
  export * from './SignMessageAuthorizationSignature';
322
323
  export * from './SignMessageBtcTransaction';
@@ -1,47 +0,0 @@
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;
@@ -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;
@@ -1,41 +0,0 @@
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 };