@dynamic-labs/sdk-api-core 0.0.889 → 0.0.890

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.889",
3
+ "version": "0.0.890",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _tslib = require('../../_virtual/_tslib.cjs');
6
6
  var runtime = require('../runtime.cjs');
7
7
  require('../models/ExchangeKeyEnum.cjs');
8
+ require('../models/ChainEnum.cjs');
8
9
  require('../models/CheckoutSourceTypeEnum.cjs');
9
10
  require('../models/AttestationConveyancePreference.cjs');
10
11
  require('../models/AuthModeEnum.cjs');
@@ -28,7 +29,6 @@ require('../models/WalletProviderEnum.cjs');
28
29
  require('../models/MfaBackupCodeAcknowledgement.cjs');
29
30
  require('../models/CustomFieldType.cjs');
30
31
  require('../models/KycFieldType.cjs');
31
- require('../models/ChainEnum.cjs');
32
32
  require('../models/DestinationTypeEnum.cjs');
33
33
  require('../models/CheckoutModeEnum.cjs');
34
34
  require('../models/SettlementStrategyEnum.cjs');
@@ -1,6 +1,7 @@
1
1
  import { __awaiter } from '../../_virtual/_tslib.js';
2
2
  import { BaseAPI, RequiredError, JSONApiResponse, VoidApiResponse } from '../runtime.js';
3
3
  import '../models/ExchangeKeyEnum.js';
4
+ import '../models/ChainEnum.js';
4
5
  import '../models/CheckoutSourceTypeEnum.js';
5
6
  import '../models/AttestationConveyancePreference.js';
6
7
  import '../models/AuthModeEnum.js';
@@ -24,7 +25,6 @@ import '../models/WalletProviderEnum.js';
24
25
  import '../models/MfaBackupCodeAcknowledgement.js';
25
26
  import '../models/CustomFieldType.js';
26
27
  import '../models/KycFieldType.js';
27
- import '../models/ChainEnum.js';
28
28
  import '../models/DestinationTypeEnum.js';
29
29
  import '../models/CheckoutModeEnum.js';
30
30
  import '../models/SettlementStrategyEnum.js';
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var ChainEnum = require('./ChainEnum.cjs');
5
6
  var CheckoutSourceTypeEnum = require('./CheckoutSourceTypeEnum.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -16,6 +17,7 @@ function AttachSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
16
17
  'sourceType': CheckoutSourceTypeEnum.CheckoutSourceTypeEnumFromJSON(json['sourceType']),
17
18
  'fromAddress': json['fromAddress'],
18
19
  'fromChainId': json['fromChainId'],
20
+ 'fromChainName': ChainEnum.ChainEnumFromJSON(json['fromChainName']),
19
21
  };
20
22
  }
21
23
  function AttachSourceRequestToJSON(value) {
@@ -29,6 +31,7 @@ function AttachSourceRequestToJSON(value) {
29
31
  'sourceType': CheckoutSourceTypeEnum.CheckoutSourceTypeEnumToJSON(value.sourceType),
30
32
  'fromAddress': value.fromAddress,
31
33
  'fromChainId': value.fromChainId,
34
+ 'fromChainName': ChainEnum.ChainEnumToJSON(value.fromChainName),
32
35
  };
33
36
  }
34
37
 
@@ -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 { CheckoutSourceTypeEnum } from './CheckoutSourceTypeEnum';
13
14
  /**
14
15
  *
@@ -34,6 +35,12 @@ export interface AttachSourceRequest {
34
35
  * @memberof AttachSourceRequest
35
36
  */
36
37
  fromChainId: string;
38
+ /**
39
+ *
40
+ * @type {ChainEnum}
41
+ * @memberof AttachSourceRequest
42
+ */
43
+ fromChainName: ChainEnum;
37
44
  }
38
45
  export declare function AttachSourceRequestFromJSON(json: any): AttachSourceRequest;
39
46
  export declare function AttachSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachSourceRequest;
@@ -1,3 +1,4 @@
1
+ import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
1
2
  import { CheckoutSourceTypeEnumFromJSON, CheckoutSourceTypeEnumToJSON } from './CheckoutSourceTypeEnum.js';
2
3
 
3
4
  /* tslint:disable */
@@ -12,6 +13,7 @@ function AttachSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
12
13
  'sourceType': CheckoutSourceTypeEnumFromJSON(json['sourceType']),
13
14
  'fromAddress': json['fromAddress'],
14
15
  'fromChainId': json['fromChainId'],
16
+ 'fromChainName': ChainEnumFromJSON(json['fromChainName']),
15
17
  };
16
18
  }
17
19
  function AttachSourceRequestToJSON(value) {
@@ -25,6 +27,7 @@ function AttachSourceRequestToJSON(value) {
25
27
  'sourceType': CheckoutSourceTypeEnumToJSON(value.sourceType),
26
28
  'fromAddress': value.fromAddress,
27
29
  'fromChainId': value.fromChainId,
30
+ 'fromChainName': ChainEnumToJSON(value.fromChainName),
28
31
  };
29
32
  }
30
33