@dynamic-labs/sdk-api-core 0.0.551 → 0.0.553

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.
Files changed (32) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +76 -14
  3. package/src/apis/SDKApi.d.ts +31 -8
  4. package/src/apis/SDKApi.js +76 -14
  5. package/src/index.cjs +28 -16
  6. package/src/index.js +6 -4
  7. package/src/models/{EvmAsset.cjs → Asset.cjs} +7 -9
  8. package/src/models/{EvmAsset.d.ts → Asset.d.ts} +15 -21
  9. package/src/models/{EvmAsset.js → Asset.js} +5 -7
  10. package/src/models/AssetDiff.cjs +8 -8
  11. package/src/models/AssetDiff.d.ts +8 -8
  12. package/src/models/AssetDiff.js +8 -8
  13. package/src/models/{EvmAssetTransfer.cjs → AssetTransfer.cjs} +7 -7
  14. package/src/models/{EvmAssetTransfer.d.ts → AssetTransfer.d.ts} +9 -9
  15. package/src/models/{EvmAssetTransfer.js → AssetTransfer.js} +5 -5
  16. package/src/models/ProjectSettingsSdkAccountAbstraction.cjs +2 -0
  17. package/src/models/ProjectSettingsSdkAccountAbstraction.d.ts +6 -0
  18. package/src/models/ProjectSettingsSdkAccountAbstraction.js +2 -0
  19. package/src/models/{SimulateEvmTransactionRequest.cjs → SimulateEVMTransactionRequest.cjs} +7 -7
  20. package/src/models/{SimulateEvmTransactionRequest.d.ts → SimulateEVMTransactionRequest.d.ts} +11 -11
  21. package/src/models/{SimulateEvmTransactionRequest.js → SimulateEVMTransactionRequest.js} +5 -5
  22. package/src/models/SimulateSVMTransactionRequest.cjs +41 -0
  23. package/src/models/SimulateSVMTransactionRequest.d.ts +52 -0
  24. package/src/models/SimulateSVMTransactionRequest.js +35 -0
  25. package/src/models/{SimulateEvmTransactionResponse.cjs → SimulateTransactionResponse.cjs} +7 -7
  26. package/src/models/SimulateTransactionResponse.d.ts +34 -0
  27. package/src/models/{SimulateEvmTransactionResponse.js → SimulateTransactionResponse.js} +5 -5
  28. package/src/models/SolanaChainType.cjs +40 -0
  29. package/src/models/SolanaChainType.d.ts +23 -0
  30. package/src/models/SolanaChainType.js +34 -0
  31. package/src/models/index.d.ts +6 -4
  32. package/src/models/SimulateEvmTransactionResponse.d.ts +0 -34
@@ -11,10 +11,10 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- function EvmAssetFromJSON(json) {
15
- return EvmAssetFromJSONTyped(json);
14
+ function AssetFromJSON(json) {
15
+ return AssetFromJSONTyped(json);
16
16
  }
17
- function EvmAssetFromJSONTyped(json, ignoreDiscriminator) {
17
+ function AssetFromJSONTyped(json, ignoreDiscriminator) {
18
18
  if ((json === undefined) || (json === null)) {
19
19
  return json;
20
20
  }
@@ -27,10 +27,9 @@ function EvmAssetFromJSONTyped(json, ignoreDiscriminator) {
27
27
  'name': json['name'],
28
28
  'symbol': json['symbol'],
29
29
  'type': json['type'],
30
- 'usdPrice': json['usdPrice'],
31
30
  };
32
31
  }
33
- function EvmAssetToJSON(value) {
32
+ function AssetToJSON(value) {
34
33
  if (value === undefined) {
35
34
  return undefined;
36
35
  }
@@ -46,8 +45,7 @@ function EvmAssetToJSON(value) {
46
45
  'name': value.name,
47
46
  'symbol': value.symbol,
48
47
  'type': value.type,
49
- 'usdPrice': value.usdPrice,
50
48
  };
51
49
  }
52
50
 
53
- export { EvmAssetFromJSON, EvmAssetFromJSONTyped, EvmAssetToJSON };
51
+ export { AssetFromJSON, AssetFromJSONTyped, AssetToJSON };
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var EvmAsset = require('./EvmAsset.cjs');
6
- var EvmAssetTransfer = require('./EvmAssetTransfer.cjs');
5
+ var Asset = require('./Asset.cjs');
6
+ var AssetTransfer = require('./AssetTransfer.cjs');
7
7
 
8
8
  /* tslint:disable */
9
9
  function AssetDiffFromJSON(json) {
@@ -14,9 +14,9 @@ function AssetDiffFromJSONTyped(json, ignoreDiscriminator) {
14
14
  return json;
15
15
  }
16
16
  return {
17
- 'asset': EvmAsset.EvmAssetFromJSON(json['asset']),
18
- '_in': (json['in'].map(EvmAssetTransfer.EvmAssetTransferFromJSON)),
19
- 'out': (json['out'].map(EvmAssetTransfer.EvmAssetTransferFromJSON)),
17
+ 'asset': Asset.AssetFromJSON(json['asset']),
18
+ 'transferIn': (json['transferIn'].map(AssetTransfer.AssetTransferFromJSON)),
19
+ 'transferOut': (json['transferOut'].map(AssetTransfer.AssetTransferFromJSON)),
20
20
  };
21
21
  }
22
22
  function AssetDiffToJSON(value) {
@@ -27,9 +27,9 @@ function AssetDiffToJSON(value) {
27
27
  return null;
28
28
  }
29
29
  return {
30
- 'asset': EvmAsset.EvmAssetToJSON(value.asset),
31
- 'in': (value._in.map(EvmAssetTransfer.EvmAssetTransferToJSON)),
32
- 'out': (value.out.map(EvmAssetTransfer.EvmAssetTransferToJSON)),
30
+ 'asset': Asset.AssetToJSON(value.asset),
31
+ 'transferIn': (value.transferIn.map(AssetTransfer.AssetTransferToJSON)),
32
+ 'transferOut': (value.transferOut.map(AssetTransfer.AssetTransferToJSON)),
33
33
  };
34
34
  }
35
35
 
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { EvmAsset } from './EvmAsset';
13
- import { EvmAssetTransfer } from './EvmAssetTransfer';
12
+ import { Asset } from './Asset';
13
+ import { AssetTransfer } from './AssetTransfer';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -19,22 +19,22 @@ import { EvmAssetTransfer } from './EvmAssetTransfer';
19
19
  export interface AssetDiff {
20
20
  /**
21
21
  *
22
- * @type {EvmAsset}
22
+ * @type {Asset}
23
23
  * @memberof AssetDiff
24
24
  */
25
- asset: EvmAsset;
25
+ asset: Asset;
26
26
  /**
27
27
  *
28
- * @type {Array<EvmAssetTransfer>}
28
+ * @type {Array<AssetTransfer>}
29
29
  * @memberof AssetDiff
30
30
  */
31
- _in: Array<EvmAssetTransfer>;
31
+ transferIn: Array<AssetTransfer>;
32
32
  /**
33
33
  *
34
- * @type {Array<EvmAssetTransfer>}
34
+ * @type {Array<AssetTransfer>}
35
35
  * @memberof AssetDiff
36
36
  */
37
- out: Array<EvmAssetTransfer>;
37
+ transferOut: Array<AssetTransfer>;
38
38
  }
39
39
  export declare function AssetDiffFromJSON(json: any): AssetDiff;
40
40
  export declare function AssetDiffFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetDiff;
@@ -1,5 +1,5 @@
1
- import { EvmAssetFromJSON, EvmAssetToJSON } from './EvmAsset.js';
2
- import { EvmAssetTransferFromJSON, EvmAssetTransferToJSON } from './EvmAssetTransfer.js';
1
+ import { AssetFromJSON, AssetToJSON } from './Asset.js';
2
+ import { AssetTransferFromJSON, AssetTransferToJSON } from './AssetTransfer.js';
3
3
 
4
4
  /* tslint:disable */
5
5
  function AssetDiffFromJSON(json) {
@@ -10,9 +10,9 @@ function AssetDiffFromJSONTyped(json, ignoreDiscriminator) {
10
10
  return json;
11
11
  }
12
12
  return {
13
- 'asset': EvmAssetFromJSON(json['asset']),
14
- '_in': (json['in'].map(EvmAssetTransferFromJSON)),
15
- 'out': (json['out'].map(EvmAssetTransferFromJSON)),
13
+ 'asset': AssetFromJSON(json['asset']),
14
+ 'transferIn': (json['transferIn'].map(AssetTransferFromJSON)),
15
+ 'transferOut': (json['transferOut'].map(AssetTransferFromJSON)),
16
16
  };
17
17
  }
18
18
  function AssetDiffToJSON(value) {
@@ -23,9 +23,9 @@ function AssetDiffToJSON(value) {
23
23
  return null;
24
24
  }
25
25
  return {
26
- 'asset': EvmAssetToJSON(value.asset),
27
- 'in': (value._in.map(EvmAssetTransferToJSON)),
28
- 'out': (value.out.map(EvmAssetTransferToJSON)),
26
+ 'asset': AssetToJSON(value.asset),
27
+ 'transferIn': (value.transferIn.map(AssetTransferToJSON)),
28
+ 'transferOut': (value.transferOut.map(AssetTransferToJSON)),
29
29
  };
30
30
  }
31
31
 
@@ -15,10 +15,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
15
15
  * https://openapi-generator.tech
16
16
  * Do not edit the class manually.
17
17
  */
18
- function EvmAssetTransferFromJSON(json) {
19
- return EvmAssetTransferFromJSONTyped(json);
18
+ function AssetTransferFromJSON(json) {
19
+ return AssetTransferFromJSONTyped(json);
20
20
  }
21
- function EvmAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
21
+ function AssetTransferFromJSONTyped(json, ignoreDiscriminator) {
22
22
  if ((json === undefined) || (json === null)) {
23
23
  return json;
24
24
  }
@@ -29,7 +29,7 @@ function EvmAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'value': json['value'],
30
30
  };
31
31
  }
32
- function EvmAssetTransferToJSON(value) {
32
+ function AssetTransferToJSON(value) {
33
33
  if (value === undefined) {
34
34
  return undefined;
35
35
  }
@@ -44,6 +44,6 @@ function EvmAssetTransferToJSON(value) {
44
44
  };
45
45
  }
46
46
 
47
- exports.EvmAssetTransferFromJSON = EvmAssetTransferFromJSON;
48
- exports.EvmAssetTransferFromJSONTyped = EvmAssetTransferFromJSONTyped;
49
- exports.EvmAssetTransferToJSON = EvmAssetTransferToJSON;
47
+ exports.AssetTransferFromJSON = AssetTransferFromJSON;
48
+ exports.AssetTransferFromJSONTyped = AssetTransferFromJSONTyped;
49
+ exports.AssetTransferToJSON = AssetTransferToJSON;
@@ -12,34 +12,34 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface EvmAssetTransfer
15
+ * @interface AssetTransfer
16
16
  */
17
- export interface EvmAssetTransfer {
17
+ export interface AssetTransfer {
18
18
  /**
19
19
  *
20
20
  * @type {string}
21
- * @memberof EvmAssetTransfer
21
+ * @memberof AssetTransfer
22
22
  */
23
23
  rawValue: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
- * @memberof EvmAssetTransfer
27
+ * @memberof AssetTransfer
28
28
  */
29
29
  summary: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof EvmAssetTransfer
33
+ * @memberof AssetTransfer
34
34
  */
35
35
  usdPrice: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
- * @memberof EvmAssetTransfer
39
+ * @memberof AssetTransfer
40
40
  */
41
41
  value: string;
42
42
  }
43
- export declare function EvmAssetTransferFromJSON(json: any): EvmAssetTransfer;
44
- export declare function EvmAssetTransferFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvmAssetTransfer;
45
- export declare function EvmAssetTransferToJSON(value?: EvmAssetTransfer | null): any;
43
+ export declare function AssetTransferFromJSON(json: any): AssetTransfer;
44
+ export declare function AssetTransferFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetTransfer;
45
+ export declare function AssetTransferToJSON(value?: AssetTransfer | null): any;
@@ -11,10 +11,10 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- function EvmAssetTransferFromJSON(json) {
15
- return EvmAssetTransferFromJSONTyped(json);
14
+ function AssetTransferFromJSON(json) {
15
+ return AssetTransferFromJSONTyped(json);
16
16
  }
17
- function EvmAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
17
+ function AssetTransferFromJSONTyped(json, ignoreDiscriminator) {
18
18
  if ((json === undefined) || (json === null)) {
19
19
  return json;
20
20
  }
@@ -25,7 +25,7 @@ function EvmAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'value': json['value'],
26
26
  };
27
27
  }
28
- function EvmAssetTransferToJSON(value) {
28
+ function AssetTransferToJSON(value) {
29
29
  if (value === undefined) {
30
30
  return undefined;
31
31
  }
@@ -40,4 +40,4 @@ function EvmAssetTransferToJSON(value) {
40
40
  };
41
41
  }
42
42
 
43
- export { EvmAssetTransferFromJSON, EvmAssetTransferFromJSONTyped, EvmAssetTransferToJSON };
43
+ export { AssetTransferFromJSON, AssetTransferFromJSONTyped, AssetTransferToJSON };
@@ -15,6 +15,7 @@ function ProjectSettingsSdkAccountAbstractionFromJSONTyped(json, ignoreDiscrimin
15
15
  return {
16
16
  'allWallets': !runtime.exists(json, 'allWallets') ? undefined : json['allWallets'],
17
17
  'allUsers': !runtime.exists(json, 'allUsers') ? undefined : json['allUsers'],
18
+ 'separateSmartWalletAndSigner': !runtime.exists(json, 'separateSmartWalletAndSigner') ? undefined : json['separateSmartWalletAndSigner'],
18
19
  };
19
20
  }
20
21
  function ProjectSettingsSdkAccountAbstractionToJSON(value) {
@@ -27,6 +28,7 @@ function ProjectSettingsSdkAccountAbstractionToJSON(value) {
27
28
  return {
28
29
  'allWallets': value.allWallets,
29
30
  'allUsers': value.allUsers,
31
+ 'separateSmartWalletAndSigner': value.separateSmartWalletAndSigner,
30
32
  };
31
33
  }
32
34
 
@@ -27,6 +27,12 @@ export interface ProjectSettingsSdkAccountAbstraction {
27
27
  * @memberof ProjectSettingsSdkAccountAbstraction
28
28
  */
29
29
  allUsers?: boolean;
30
+ /**
31
+ * if set to false, only smart wallet will be in user wallets list.
32
+ * @type {boolean}
33
+ * @memberof ProjectSettingsSdkAccountAbstraction
34
+ */
35
+ separateSmartWalletAndSigner?: boolean;
30
36
  }
31
37
  export declare function ProjectSettingsSdkAccountAbstractionFromJSON(json: any): ProjectSettingsSdkAccountAbstraction;
32
38
  export declare function ProjectSettingsSdkAccountAbstractionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkAccountAbstraction;
@@ -11,6 +11,7 @@ function ProjectSettingsSdkAccountAbstractionFromJSONTyped(json, ignoreDiscrimin
11
11
  return {
12
12
  'allWallets': !exists(json, 'allWallets') ? undefined : json['allWallets'],
13
13
  'allUsers': !exists(json, 'allUsers') ? undefined : json['allUsers'],
14
+ 'separateSmartWalletAndSigner': !exists(json, 'separateSmartWalletAndSigner') ? undefined : json['separateSmartWalletAndSigner'],
14
15
  };
15
16
  }
16
17
  function ProjectSettingsSdkAccountAbstractionToJSON(value) {
@@ -23,6 +24,7 @@ function ProjectSettingsSdkAccountAbstractionToJSON(value) {
23
24
  return {
24
25
  'allWallets': value.allWallets,
25
26
  'allUsers': value.allUsers,
27
+ 'separateSmartWalletAndSigner': value.separateSmartWalletAndSigner,
26
28
  };
27
29
  }
28
30
 
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var runtime = require('../runtime.cjs');
6
6
 
7
7
  /* tslint:disable */
8
- function SimulateEvmTransactionRequestFromJSON(json) {
9
- return SimulateEvmTransactionRequestFromJSONTyped(json);
8
+ function SimulateEVMTransactionRequestFromJSON(json) {
9
+ return SimulateEVMTransactionRequestFromJSONTyped(json);
10
10
  }
11
- function SimulateEvmTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
11
+ function SimulateEVMTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
12
12
  if ((json === undefined) || (json === null)) {
13
13
  return json;
14
14
  }
@@ -21,7 +21,7 @@ function SimulateEvmTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
21
21
  'domain': !runtime.exists(json, 'domain') ? undefined : json['domain'],
22
22
  };
23
23
  }
24
- function SimulateEvmTransactionRequestToJSON(value) {
24
+ function SimulateEVMTransactionRequestToJSON(value) {
25
25
  if (value === undefined) {
26
26
  return undefined;
27
27
  }
@@ -38,6 +38,6 @@ function SimulateEvmTransactionRequestToJSON(value) {
38
38
  };
39
39
  }
40
40
 
41
- exports.SimulateEvmTransactionRequestFromJSON = SimulateEvmTransactionRequestFromJSON;
42
- exports.SimulateEvmTransactionRequestFromJSONTyped = SimulateEvmTransactionRequestFromJSONTyped;
43
- exports.SimulateEvmTransactionRequestToJSON = SimulateEvmTransactionRequestToJSON;
41
+ exports.SimulateEVMTransactionRequestFromJSON = SimulateEVMTransactionRequestFromJSON;
42
+ exports.SimulateEVMTransactionRequestFromJSONTyped = SimulateEVMTransactionRequestFromJSONTyped;
43
+ exports.SimulateEVMTransactionRequestToJSON = SimulateEVMTransactionRequestToJSON;
@@ -12,46 +12,46 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface SimulateEvmTransactionRequest
15
+ * @interface SimulateEVMTransactionRequest
16
16
  */
17
- export interface SimulateEvmTransactionRequest {
17
+ export interface SimulateEVMTransactionRequest {
18
18
  /**
19
19
  *
20
20
  * @type {string}
21
- * @memberof SimulateEvmTransactionRequest
21
+ * @memberof SimulateEVMTransactionRequest
22
22
  */
23
23
  chainId: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
- * @memberof SimulateEvmTransactionRequest
27
+ * @memberof SimulateEVMTransactionRequest
28
28
  */
29
29
  data: string;
30
30
  /**
31
31
  * Valid blockchain wallet address, must be an alphanumeric string without any special characters
32
32
  * @type {string}
33
- * @memberof SimulateEvmTransactionRequest
33
+ * @memberof SimulateEVMTransactionRequest
34
34
  */
35
35
  from: string;
36
36
  /**
37
37
  * Valid blockchain wallet address, must be an alphanumeric string without any special characters
38
38
  * @type {string}
39
- * @memberof SimulateEvmTransactionRequest
39
+ * @memberof SimulateEVMTransactionRequest
40
40
  */
41
41
  to: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
- * @memberof SimulateEvmTransactionRequest
45
+ * @memberof SimulateEVMTransactionRequest
46
46
  */
47
47
  value: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof SimulateEvmTransactionRequest
51
+ * @memberof SimulateEVMTransactionRequest
52
52
  */
53
53
  domain?: string;
54
54
  }
55
- export declare function SimulateEvmTransactionRequestFromJSON(json: any): SimulateEvmTransactionRequest;
56
- export declare function SimulateEvmTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateEvmTransactionRequest;
57
- export declare function SimulateEvmTransactionRequestToJSON(value?: SimulateEvmTransactionRequest | null): any;
55
+ export declare function SimulateEVMTransactionRequestFromJSON(json: any): SimulateEVMTransactionRequest;
56
+ export declare function SimulateEVMTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateEVMTransactionRequest;
57
+ export declare function SimulateEVMTransactionRequestToJSON(value?: SimulateEVMTransactionRequest | null): any;
@@ -1,10 +1,10 @@
1
1
  import { exists } from '../runtime.js';
2
2
 
3
3
  /* tslint:disable */
4
- function SimulateEvmTransactionRequestFromJSON(json) {
5
- return SimulateEvmTransactionRequestFromJSONTyped(json);
4
+ function SimulateEVMTransactionRequestFromJSON(json) {
5
+ return SimulateEVMTransactionRequestFromJSONTyped(json);
6
6
  }
7
- function SimulateEvmTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
7
+ function SimulateEVMTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
8
8
  if ((json === undefined) || (json === null)) {
9
9
  return json;
10
10
  }
@@ -17,7 +17,7 @@ function SimulateEvmTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
17
17
  'domain': !exists(json, 'domain') ? undefined : json['domain'],
18
18
  };
19
19
  }
20
- function SimulateEvmTransactionRequestToJSON(value) {
20
+ function SimulateEVMTransactionRequestToJSON(value) {
21
21
  if (value === undefined) {
22
22
  return undefined;
23
23
  }
@@ -34,4 +34,4 @@ function SimulateEvmTransactionRequestToJSON(value) {
34
34
  };
35
35
  }
36
36
 
37
- export { SimulateEvmTransactionRequestFromJSON, SimulateEvmTransactionRequestFromJSONTyped, SimulateEvmTransactionRequestToJSON };
37
+ export { SimulateEVMTransactionRequestFromJSON, SimulateEVMTransactionRequestFromJSONTyped, SimulateEVMTransactionRequestToJSON };
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var SolanaChainType = require('./SolanaChainType.cjs');
6
+
7
+ /* tslint:disable */
8
+ function SimulateSVMTransactionRequestFromJSON(json) {
9
+ return SimulateSVMTransactionRequestFromJSONTyped(json);
10
+ }
11
+ function SimulateSVMTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'chain': SolanaChainType.SolanaChainTypeFromJSON(json['chain']),
17
+ 'transactions': json['transactions'],
18
+ 'accountAddress': json['accountAddress'],
19
+ 'domain': json['domain'],
20
+ 'method': json['method'],
21
+ };
22
+ }
23
+ function SimulateSVMTransactionRequestToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'chain': SolanaChainType.SolanaChainTypeToJSON(value.chain),
32
+ 'transactions': value.transactions,
33
+ 'accountAddress': value.accountAddress,
34
+ 'domain': value.domain,
35
+ 'method': value.method,
36
+ };
37
+ }
38
+
39
+ exports.SimulateSVMTransactionRequestFromJSON = SimulateSVMTransactionRequestFromJSON;
40
+ exports.SimulateSVMTransactionRequestFromJSONTyped = SimulateSVMTransactionRequestFromJSONTyped;
41
+ exports.SimulateSVMTransactionRequestToJSON = SimulateSVMTransactionRequestToJSON;
@@ -0,0 +1,52 @@
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 { SolanaChainType } from './SolanaChainType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SimulateSVMTransactionRequest
17
+ */
18
+ export interface SimulateSVMTransactionRequest {
19
+ /**
20
+ *
21
+ * @type {SolanaChainType}
22
+ * @memberof SimulateSVMTransactionRequest
23
+ */
24
+ chain: SolanaChainType;
25
+ /**
26
+ *
27
+ * @type {Array<string>}
28
+ * @memberof SimulateSVMTransactionRequest
29
+ */
30
+ transactions: Array<string>;
31
+ /**
32
+ * Valid Solana wallet address, must be a 44-character string using base58 characters
33
+ * @type {string}
34
+ * @memberof SimulateSVMTransactionRequest
35
+ */
36
+ accountAddress: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SimulateSVMTransactionRequest
41
+ */
42
+ domain: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof SimulateSVMTransactionRequest
47
+ */
48
+ method: string;
49
+ }
50
+ export declare function SimulateSVMTransactionRequestFromJSON(json: any): SimulateSVMTransactionRequest;
51
+ export declare function SimulateSVMTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateSVMTransactionRequest;
52
+ export declare function SimulateSVMTransactionRequestToJSON(value?: SimulateSVMTransactionRequest | null): any;
@@ -0,0 +1,35 @@
1
+ import { SolanaChainTypeFromJSON, SolanaChainTypeToJSON } from './SolanaChainType.js';
2
+
3
+ /* tslint:disable */
4
+ function SimulateSVMTransactionRequestFromJSON(json) {
5
+ return SimulateSVMTransactionRequestFromJSONTyped(json);
6
+ }
7
+ function SimulateSVMTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'chain': SolanaChainTypeFromJSON(json['chain']),
13
+ 'transactions': json['transactions'],
14
+ 'accountAddress': json['accountAddress'],
15
+ 'domain': json['domain'],
16
+ 'method': json['method'],
17
+ };
18
+ }
19
+ function SimulateSVMTransactionRequestToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'chain': SolanaChainTypeToJSON(value.chain),
28
+ 'transactions': value.transactions,
29
+ 'accountAddress': value.accountAddress,
30
+ 'domain': value.domain,
31
+ 'method': value.method,
32
+ };
33
+ }
34
+
35
+ export { SimulateSVMTransactionRequestFromJSON, SimulateSVMTransactionRequestFromJSONTyped, SimulateSVMTransactionRequestToJSON };
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var AssetDiff = require('./AssetDiff.cjs');
6
6
 
7
7
  /* tslint:disable */
8
- function SimulateEvmTransactionResponseFromJSON(json) {
9
- return SimulateEvmTransactionResponseFromJSONTyped(json);
8
+ function SimulateTransactionResponseFromJSON(json) {
9
+ return SimulateTransactionResponseFromJSONTyped(json);
10
10
  }
11
- function SimulateEvmTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
11
+ function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
12
12
  if ((json === undefined) || (json === null)) {
13
13
  return json;
14
14
  }
@@ -17,7 +17,7 @@ function SimulateEvmTransactionResponseFromJSONTyped(json, ignoreDiscriminator)
17
17
  'outAssets': (json['outAssets'].map(AssetDiff.AssetDiffFromJSON)),
18
18
  };
19
19
  }
20
- function SimulateEvmTransactionResponseToJSON(value) {
20
+ function SimulateTransactionResponseToJSON(value) {
21
21
  if (value === undefined) {
22
22
  return undefined;
23
23
  }
@@ -30,6 +30,6 @@ function SimulateEvmTransactionResponseToJSON(value) {
30
30
  };
31
31
  }
32
32
 
33
- exports.SimulateEvmTransactionResponseFromJSON = SimulateEvmTransactionResponseFromJSON;
34
- exports.SimulateEvmTransactionResponseFromJSONTyped = SimulateEvmTransactionResponseFromJSONTyped;
35
- exports.SimulateEvmTransactionResponseToJSON = SimulateEvmTransactionResponseToJSON;
33
+ exports.SimulateTransactionResponseFromJSON = SimulateTransactionResponseFromJSON;
34
+ exports.SimulateTransactionResponseFromJSONTyped = SimulateTransactionResponseFromJSONTyped;
35
+ exports.SimulateTransactionResponseToJSON = SimulateTransactionResponseToJSON;
@@ -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 { AssetDiff } from './AssetDiff';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SimulateTransactionResponse
17
+ */
18
+ export interface SimulateTransactionResponse {
19
+ /**
20
+ *
21
+ * @type {Array<AssetDiff>}
22
+ * @memberof SimulateTransactionResponse
23
+ */
24
+ inAssets: Array<AssetDiff>;
25
+ /**
26
+ *
27
+ * @type {Array<AssetDiff>}
28
+ * @memberof SimulateTransactionResponse
29
+ */
30
+ outAssets: Array<AssetDiff>;
31
+ }
32
+ export declare function SimulateTransactionResponseFromJSON(json: any): SimulateTransactionResponse;
33
+ export declare function SimulateTransactionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimulateTransactionResponse;
34
+ export declare function SimulateTransactionResponseToJSON(value?: SimulateTransactionResponse | null): any;
@@ -1,10 +1,10 @@
1
1
  import { AssetDiffFromJSON, AssetDiffToJSON } from './AssetDiff.js';
2
2
 
3
3
  /* tslint:disable */
4
- function SimulateEvmTransactionResponseFromJSON(json) {
5
- return SimulateEvmTransactionResponseFromJSONTyped(json);
4
+ function SimulateTransactionResponseFromJSON(json) {
5
+ return SimulateTransactionResponseFromJSONTyped(json);
6
6
  }
7
- function SimulateEvmTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
7
+ function SimulateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
8
8
  if ((json === undefined) || (json === null)) {
9
9
  return json;
10
10
  }
@@ -13,7 +13,7 @@ function SimulateEvmTransactionResponseFromJSONTyped(json, ignoreDiscriminator)
13
13
  'outAssets': (json['outAssets'].map(AssetDiffFromJSON)),
14
14
  };
15
15
  }
16
- function SimulateEvmTransactionResponseToJSON(value) {
16
+ function SimulateTransactionResponseToJSON(value) {
17
17
  if (value === undefined) {
18
18
  return undefined;
19
19
  }
@@ -26,4 +26,4 @@ function SimulateEvmTransactionResponseToJSON(value) {
26
26
  };
27
27
  }
28
28
 
29
- export { SimulateEvmTransactionResponseFromJSON, SimulateEvmTransactionResponseFromJSONTyped, SimulateEvmTransactionResponseToJSON };
29
+ export { SimulateTransactionResponseFromJSON, SimulateTransactionResponseFromJSONTyped, SimulateTransactionResponseToJSON };