@dynamic-labs/sdk-api 0.0.552 → 0.0.554

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 (93) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +1 -0
  3. package/src/apis/AllowlistsApi.js +1 -0
  4. package/src/apis/AnalyticsApi.cjs +5 -2
  5. package/src/apis/AnalyticsApi.d.ts +4 -2
  6. package/src/apis/AnalyticsApi.js +5 -2
  7. package/src/apis/ChainalysisApi.cjs +1 -0
  8. package/src/apis/ChainalysisApi.js +1 -0
  9. package/src/apis/ChainsApi.cjs +1 -0
  10. package/src/apis/ChainsApi.js +1 -0
  11. package/src/apis/CustomFieldsApi.cjs +1 -0
  12. package/src/apis/CustomFieldsApi.js +1 -0
  13. package/src/apis/CustomHostnamesApi.cjs +1 -0
  14. package/src/apis/CustomHostnamesApi.js +1 -0
  15. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  16. package/src/apis/DeeplinkUrlsApi.js +1 -0
  17. package/src/apis/EnvironmentsApi.cjs +1 -0
  18. package/src/apis/EnvironmentsApi.js +1 -0
  19. package/src/apis/EventsApi.cjs +1 -0
  20. package/src/apis/EventsApi.js +1 -0
  21. package/src/apis/ExportsApi.cjs +1 -0
  22. package/src/apis/ExportsApi.js +1 -0
  23. package/src/apis/ExternalJwtApi.cjs +1 -0
  24. package/src/apis/ExternalJwtApi.js +1 -0
  25. package/src/apis/GatesApi.cjs +1 -0
  26. package/src/apis/GatesApi.js +1 -0
  27. package/src/apis/InvitesApi.cjs +1 -0
  28. package/src/apis/InvitesApi.js +1 -0
  29. package/src/apis/MembersApi.cjs +1 -0
  30. package/src/apis/MembersApi.js +1 -0
  31. package/src/apis/MfaSettingsApi.cjs +1 -0
  32. package/src/apis/MfaSettingsApi.js +1 -0
  33. package/src/apis/OrganizationsApi.cjs +1 -0
  34. package/src/apis/OrganizationsApi.js +1 -0
  35. package/src/apis/OriginsApi.cjs +1 -0
  36. package/src/apis/OriginsApi.js +1 -0
  37. package/src/apis/ProjectsApi.cjs +1 -0
  38. package/src/apis/ProjectsApi.js +1 -0
  39. package/src/apis/SDKApi.cjs +76 -14
  40. package/src/apis/SDKApi.d.ts +31 -8
  41. package/src/apis/SDKApi.js +76 -14
  42. package/src/apis/SDKViewsApi.cjs +1 -0
  43. package/src/apis/SDKViewsApi.js +1 -0
  44. package/src/apis/SessionsApi.cjs +1 -0
  45. package/src/apis/SessionsApi.js +1 -0
  46. package/src/apis/SettingsApi.cjs +1 -0
  47. package/src/apis/SettingsApi.js +1 -0
  48. package/src/apis/TestAccountApi.cjs +1 -0
  49. package/src/apis/TestAccountApi.js +1 -0
  50. package/src/apis/TokensApi.cjs +1 -0
  51. package/src/apis/TokensApi.js +1 -0
  52. package/src/apis/UsersApi.cjs +1 -0
  53. package/src/apis/UsersApi.js +1 -0
  54. package/src/apis/VisitsApi.cjs +1 -0
  55. package/src/apis/VisitsApi.js +1 -0
  56. package/src/apis/WalletsApi.cjs +1 -0
  57. package/src/apis/WalletsApi.js +1 -0
  58. package/src/apis/WebhooksApi.cjs +1 -0
  59. package/src/apis/WebhooksApi.js +1 -0
  60. package/src/index.cjs +28 -16
  61. package/src/index.js +6 -4
  62. package/src/models/{EvmAsset.cjs → Asset.cjs} +7 -9
  63. package/src/models/{EvmAsset.d.ts → Asset.d.ts} +15 -21
  64. package/src/models/{EvmAsset.js → Asset.js} +5 -7
  65. package/src/models/AssetDiff.cjs +8 -8
  66. package/src/models/AssetDiff.d.ts +8 -8
  67. package/src/models/AssetDiff.js +8 -8
  68. package/src/models/{EvmAssetTransfer.cjs → AssetTransfer.cjs} +7 -7
  69. package/src/models/{EvmAssetTransfer.d.ts → AssetTransfer.d.ts} +9 -9
  70. package/src/models/{EvmAssetTransfer.js → AssetTransfer.js} +5 -5
  71. package/src/models/ProviderEnum.cjs +1 -0
  72. package/src/models/ProviderEnum.d.ts +1 -0
  73. package/src/models/ProviderEnum.js +1 -0
  74. package/src/models/ProviderUrl.cjs +2 -0
  75. package/src/models/ProviderUrl.d.ts +6 -0
  76. package/src/models/ProviderUrl.js +2 -0
  77. package/src/models/{SimulateEvmTransactionRequest.cjs → SimulateEVMTransactionRequest.cjs} +7 -7
  78. package/src/models/{SimulateEvmTransactionRequest.d.ts → SimulateEVMTransactionRequest.d.ts} +11 -11
  79. package/src/models/{SimulateEvmTransactionRequest.js → SimulateEVMTransactionRequest.js} +5 -5
  80. package/src/models/SimulateSVMTransactionRequest.cjs +41 -0
  81. package/src/models/SimulateSVMTransactionRequest.d.ts +52 -0
  82. package/src/models/SimulateSVMTransactionRequest.js +35 -0
  83. package/src/models/{SimulateEvmTransactionResponse.cjs → SimulateTransactionResponse.cjs} +7 -7
  84. package/src/models/SimulateTransactionResponse.d.ts +34 -0
  85. package/src/models/{SimulateEvmTransactionResponse.js → SimulateTransactionResponse.js} +5 -5
  86. package/src/models/SocialSignInProviderEnum.cjs +1 -0
  87. package/src/models/SocialSignInProviderEnum.d.ts +1 -0
  88. package/src/models/SocialSignInProviderEnum.js +1 -0
  89. package/src/models/SolanaChainType.cjs +40 -0
  90. package/src/models/SolanaChainType.d.ts +23 -0
  91. package/src/models/SolanaChainType.js +34 -0
  92. package/src/models/index.d.ts +6 -4
  93. package/src/models/SimulateEvmTransactionResponse.d.ts +0 -34
@@ -12,64 +12,58 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface EvmAsset
15
+ * @interface Asset
16
16
  */
17
- export interface EvmAsset {
17
+ export interface Asset {
18
18
  /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
19
+ *
20
20
  * @type {string}
21
- * @memberof EvmAsset
21
+ * @memberof Asset
22
22
  */
23
- address: string;
23
+ address: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {number}
27
- * @memberof EvmAsset
27
+ * @memberof Asset
28
28
  */
29
29
  chainId: number;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof EvmAsset
33
+ * @memberof Asset
34
34
  */
35
35
  chainName: string;
36
36
  /**
37
37
  *
38
38
  * @type {number}
39
- * @memberof EvmAsset
39
+ * @memberof Asset
40
40
  */
41
41
  decimals: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
- * @memberof EvmAsset
45
+ * @memberof Asset
46
46
  */
47
47
  logoUrl: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof EvmAsset
51
+ * @memberof Asset
52
52
  */
53
53
  name: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
57
- * @memberof EvmAsset
57
+ * @memberof Asset
58
58
  */
59
59
  symbol: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
63
- * @memberof EvmAsset
63
+ * @memberof Asset
64
64
  */
65
65
  type: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof EvmAsset
70
- */
71
- usdPrice: string;
72
66
  }
73
- export declare function EvmAssetFromJSON(json: any): EvmAsset;
74
- export declare function EvmAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvmAsset;
75
- export declare function EvmAssetToJSON(value?: EvmAsset | null): any;
67
+ export declare function AssetFromJSON(json: any): Asset;
68
+ export declare function AssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Asset;
69
+ export declare function AssetToJSON(value?: Asset | null): any;
@@ -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 };
@@ -28,6 +28,7 @@ exports.ProviderEnum = void 0;
28
28
  ProviderEnum["Bitbucket"] = "bitbucket";
29
29
  ProviderEnum["Coinbasesocial"] = "coinbasesocial";
30
30
  ProviderEnum["Discord"] = "discord";
31
+ ProviderEnum["Epicgames"] = "epicgames";
31
32
  ProviderEnum["Facebook"] = "facebook";
32
33
  ProviderEnum["Farcaster"] = "farcaster";
33
34
  ProviderEnum["Github"] = "github";
@@ -21,6 +21,7 @@ export declare enum ProviderEnum {
21
21
  Bitbucket = "bitbucket",
22
22
  Coinbasesocial = "coinbasesocial",
23
23
  Discord = "discord",
24
+ Epicgames = "epicgames",
24
25
  Facebook = "facebook",
25
26
  Farcaster = "farcaster",
26
27
  Github = "github",
@@ -24,6 +24,7 @@ var ProviderEnum;
24
24
  ProviderEnum["Bitbucket"] = "bitbucket";
25
25
  ProviderEnum["Coinbasesocial"] = "coinbasesocial";
26
26
  ProviderEnum["Discord"] = "discord";
27
+ ProviderEnum["Epicgames"] = "epicgames";
27
28
  ProviderEnum["Facebook"] = "facebook";
28
29
  ProviderEnum["Farcaster"] = "farcaster";
29
30
  ProviderEnum["Github"] = "github";
@@ -18,6 +18,7 @@ function ProviderUrlFromJSONTyped(json, ignoreDiscriminator) {
18
18
  'authorizationUrl': json['authorizationUrl'],
19
19
  'redirectUrl': json['redirectUrl'],
20
20
  'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
21
+ 'scopesRefUrl': !runtime.exists(json, 'scopesRefUrl') ? undefined : json['scopesRefUrl'],
21
22
  };
22
23
  }
23
24
  function ProviderUrlToJSON(value) {
@@ -32,6 +33,7 @@ function ProviderUrlToJSON(value) {
32
33
  'authorizationUrl': value.authorizationUrl,
33
34
  'redirectUrl': value.redirectUrl,
34
35
  'scopes': value.scopes,
36
+ 'scopesRefUrl': value.scopesRefUrl,
35
37
  };
36
38
  }
37
39
 
@@ -40,6 +40,12 @@ export interface ProviderUrl {
40
40
  * @memberof ProviderUrl
41
41
  */
42
42
  scopes?: string;
43
+ /**
44
+ * Reference URL for custom scopes of OAuth provider.
45
+ * @type {string}
46
+ * @memberof ProviderUrl
47
+ */
48
+ scopesRefUrl?: string;
43
49
  }
44
50
  export declare function ProviderUrlFromJSON(json: any): ProviderUrl;
45
51
  export declare function ProviderUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUrl;
@@ -14,6 +14,7 @@ function ProviderUrlFromJSONTyped(json, ignoreDiscriminator) {
14
14
  'authorizationUrl': json['authorizationUrl'],
15
15
  'redirectUrl': json['redirectUrl'],
16
16
  'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
17
+ 'scopesRefUrl': !exists(json, 'scopesRefUrl') ? undefined : json['scopesRefUrl'],
17
18
  };
18
19
  }
19
20
  function ProviderUrlToJSON(value) {
@@ -28,6 +29,7 @@ function ProviderUrlToJSON(value) {
28
29
  'authorizationUrl': value.authorizationUrl,
29
30
  'redirectUrl': value.redirectUrl,
30
31
  'scopes': value.scopes,
32
+ 'scopesRefUrl': value.scopesRefUrl,
31
33
  };
32
34
  }
33
35
 
@@ -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 };