@dynamic-labs/sdk-api 0.0.910 → 0.0.912

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 (153) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +4 -0
  3. package/src/apis/AllowlistsApi.js +4 -0
  4. package/src/apis/AnalyticsApi.cjs +4 -0
  5. package/src/apis/AnalyticsApi.js +4 -0
  6. package/src/apis/ChainalysisApi.cjs +4 -0
  7. package/src/apis/ChainalysisApi.js +4 -0
  8. package/src/apis/ChainsApi.cjs +4 -0
  9. package/src/apis/ChainsApi.js +4 -0
  10. package/src/apis/CustomFieldsApi.cjs +4 -0
  11. package/src/apis/CustomFieldsApi.js +4 -0
  12. package/src/apis/CustomHostnamesApi.cjs +4 -0
  13. package/src/apis/CustomHostnamesApi.js +4 -0
  14. package/src/apis/CustomNetworksApi.cjs +4 -0
  15. package/src/apis/CustomNetworksApi.js +4 -0
  16. package/src/apis/DeeplinkUrlsApi.cjs +4 -0
  17. package/src/apis/DeeplinkUrlsApi.js +4 -0
  18. package/src/apis/DepositApi.cjs +4 -0
  19. package/src/apis/DepositApi.js +4 -0
  20. package/src/apis/EnvironmentsApi.cjs +4 -0
  21. package/src/apis/EnvironmentsApi.js +4 -0
  22. package/src/apis/EventsApi.cjs +4 -0
  23. package/src/apis/EventsApi.js +4 -0
  24. package/src/apis/ExportsApi.cjs +4 -0
  25. package/src/apis/ExportsApi.js +4 -0
  26. package/src/apis/ExternalJwtApi.cjs +4 -0
  27. package/src/apis/ExternalJwtApi.js +4 -0
  28. package/src/apis/GatesApi.cjs +4 -0
  29. package/src/apis/GatesApi.js +4 -0
  30. package/src/apis/GlobalWalletAccessControlApi.cjs +4 -0
  31. package/src/apis/GlobalWalletAccessControlApi.js +4 -0
  32. package/src/apis/GlobalWalletConnectionsApi.cjs +4 -0
  33. package/src/apis/GlobalWalletConnectionsApi.js +4 -0
  34. package/src/apis/GlobalWalletsApi.cjs +4 -0
  35. package/src/apis/GlobalWalletsApi.js +4 -0
  36. package/src/apis/InvitesApi.cjs +4 -0
  37. package/src/apis/InvitesApi.js +4 -0
  38. package/src/apis/MembersApi.cjs +4 -0
  39. package/src/apis/MembersApi.js +4 -0
  40. package/src/apis/MfaSettingsApi.cjs +4 -0
  41. package/src/apis/MfaSettingsApi.js +4 -0
  42. package/src/apis/NameServicesApi.cjs +4 -0
  43. package/src/apis/NameServicesApi.js +4 -0
  44. package/src/apis/OrganizationsApi.cjs +4 -0
  45. package/src/apis/OrganizationsApi.js +4 -0
  46. package/src/apis/OriginsApi.cjs +4 -0
  47. package/src/apis/OriginsApi.js +4 -0
  48. package/src/apis/ProjectsApi.cjs +4 -0
  49. package/src/apis/ProjectsApi.js +4 -0
  50. package/src/apis/SDKApi.cjs +129 -0
  51. package/src/apis/SDKApi.d.ts +51 -1
  52. package/src/apis/SDKApi.js +129 -0
  53. package/src/apis/SDKViewsApi.cjs +4 -0
  54. package/src/apis/SDKViewsApi.js +4 -0
  55. package/src/apis/SessionsApi.cjs +4 -0
  56. package/src/apis/SessionsApi.js +4 -0
  57. package/src/apis/SettingsApi.cjs +4 -0
  58. package/src/apis/SettingsApi.js +4 -0
  59. package/src/apis/TestAccountApi.cjs +4 -0
  60. package/src/apis/TestAccountApi.js +4 -0
  61. package/src/apis/TokensApi.cjs +4 -0
  62. package/src/apis/TokensApi.js +4 -0
  63. package/src/apis/UserApiTokensApi.cjs +4 -0
  64. package/src/apis/UserApiTokensApi.js +4 -0
  65. package/src/apis/UsersApi.cjs +4 -0
  66. package/src/apis/UsersApi.js +4 -0
  67. package/src/apis/VisitsApi.cjs +4 -0
  68. package/src/apis/VisitsApi.js +4 -0
  69. package/src/apis/WaasApi.cjs +3 -0
  70. package/src/apis/WaasApi.js +3 -0
  71. package/src/apis/WalletConnectApi.cjs +4 -0
  72. package/src/apis/WalletConnectApi.js +4 -0
  73. package/src/apis/WalletsApi.cjs +4 -0
  74. package/src/apis/WalletsApi.js +4 -0
  75. package/src/apis/WebhooksApi.cjs +4 -0
  76. package/src/apis/WebhooksApi.js +4 -0
  77. package/src/index.cjs +88 -20
  78. package/src/index.js +19 -6
  79. package/src/models/BackupKeySharesToLocationsPendingResponse.cjs +55 -0
  80. package/src/models/BackupKeySharesToLocationsPendingResponse.d.ts +46 -0
  81. package/src/models/BackupKeySharesToLocationsPendingResponse.js +49 -0
  82. package/src/models/BackupKeySharesToLocationsRequest.cjs +3 -0
  83. package/src/models/BackupKeySharesToLocationsRequest.d.ts +6 -0
  84. package/src/models/BackupKeySharesToLocationsRequest.js +3 -0
  85. package/src/models/BackupKeySharesToLocationsResponse.cjs +12 -0
  86. package/src/models/BackupKeySharesToLocationsResponse.d.ts +14 -0
  87. package/src/models/BackupKeySharesToLocationsResponse.js +13 -1
  88. package/src/models/CheckoutTransaction.cjs +5 -5
  89. package/src/models/CheckoutTransaction.d.ts +5 -5
  90. package/src/models/CheckoutTransaction.js +5 -5
  91. package/src/models/CheckoutTransactionCreateRequest.cjs +2 -2
  92. package/src/models/CheckoutTransactionCreateRequest.d.ts +2 -2
  93. package/src/models/CheckoutTransactionCreateRequest.js +2 -2
  94. package/src/models/{CheckoutEvmApprovalData.cjs → SwapEvmApprovalData.cjs} +7 -7
  95. package/src/models/{CheckoutEvmApprovalData.d.ts → SwapEvmApprovalData.d.ts} +8 -8
  96. package/src/models/{CheckoutEvmApprovalData.js → SwapEvmApprovalData.js} +5 -5
  97. package/src/models/SwapEvmTransactionData.cjs +47 -0
  98. package/src/models/SwapEvmTransactionData.d.ts +69 -0
  99. package/src/models/SwapEvmTransactionData.js +41 -0
  100. package/src/models/SwapFee.cjs +42 -0
  101. package/src/models/SwapFee.d.ts +52 -0
  102. package/src/models/SwapFee.js +36 -0
  103. package/src/models/SwapGasCost.cjs +38 -0
  104. package/src/models/SwapGasCost.d.ts +40 -0
  105. package/src/models/SwapGasCost.js +32 -0
  106. package/src/models/{CheckoutPsbtTransactionData.cjs → SwapPsbtTransactionData.cjs} +7 -7
  107. package/src/models/SwapPsbtTransactionData.d.ts +27 -0
  108. package/src/models/{CheckoutPsbtTransactionData.js → SwapPsbtTransactionData.js} +5 -5
  109. package/src/models/SwapQuoteRequest.cjs +51 -0
  110. package/src/models/SwapQuoteRequest.d.ts +60 -0
  111. package/src/models/SwapQuoteRequest.js +45 -0
  112. package/src/models/SwapQuoteRequestSide.cjs +42 -0
  113. package/src/models/SwapQuoteRequestSide.d.ts +52 -0
  114. package/src/models/SwapQuoteRequestSide.js +36 -0
  115. package/src/models/SwapQuoteResponse.cjs +51 -0
  116. package/src/models/SwapQuoteResponse.d.ts +73 -0
  117. package/src/models/SwapQuoteResponse.js +45 -0
  118. package/src/models/SwapQuoteResponseSide.cjs +42 -0
  119. package/src/models/SwapQuoteResponseSide.d.ts +52 -0
  120. package/src/models/SwapQuoteResponseSide.js +36 -0
  121. package/src/models/{CheckoutSerializedTransactionData.cjs → SwapSerializedTransactionData.cjs} +7 -7
  122. package/src/models/SwapSerializedTransactionData.d.ts +27 -0
  123. package/src/models/{CheckoutSerializedTransactionData.js → SwapSerializedTransactionData.js} +5 -5
  124. package/src/models/SwapSigningPayload.cjs +48 -0
  125. package/src/models/SwapSigningPayload.d.ts +62 -0
  126. package/src/models/SwapSigningPayload.js +42 -0
  127. package/src/models/SwapStatusRequest.cjs +38 -0
  128. package/src/models/SwapStatusRequest.d.ts +40 -0
  129. package/src/models/SwapStatusRequest.js +32 -0
  130. package/src/models/SwapStatusRequestChain.cjs +36 -0
  131. package/src/models/SwapStatusRequestChain.d.ts +34 -0
  132. package/src/models/SwapStatusRequestChain.js +30 -0
  133. package/src/models/SwapStatusResponse.cjs +56 -0
  134. package/src/models/SwapStatusResponse.d.ts +73 -0
  135. package/src/models/SwapStatusResponse.js +50 -0
  136. package/src/models/SwapStep.cjs +48 -0
  137. package/src/models/SwapStep.d.ts +66 -0
  138. package/src/models/SwapStep.js +42 -0
  139. package/src/models/SwapStepSide.cjs +40 -0
  140. package/src/models/SwapStepSide.d.ts +46 -0
  141. package/src/models/SwapStepSide.js +34 -0
  142. package/src/models/SwapToken.cjs +47 -0
  143. package/src/models/SwapToken.d.ts +69 -0
  144. package/src/models/SwapToken.js +41 -0
  145. package/src/models/index.d.ts +18 -5
  146. package/src/models/CheckoutEvmTransactionData.cjs +0 -39
  147. package/src/models/CheckoutEvmTransactionData.d.ts +0 -45
  148. package/src/models/CheckoutEvmTransactionData.js +0 -33
  149. package/src/models/CheckoutPsbtTransactionData.d.ts +0 -27
  150. package/src/models/CheckoutSerializedTransactionData.d.ts +0 -27
  151. package/src/models/CheckoutSigningPayload.cjs +0 -48
  152. package/src/models/CheckoutSigningPayload.d.ts +0 -62
  153. package/src/models/CheckoutSigningPayload.js +0 -42
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var SwapFee = require('./SwapFee.cjs');
7
+ var SwapGasCost = require('./SwapGasCost.cjs');
8
+ var SwapStepSide = require('./SwapStepSide.cjs');
9
+
10
+ /* tslint:disable */
11
+ function SwapStepFromJSON(json) {
12
+ return SwapStepFromJSONTyped(json);
13
+ }
14
+ function SwapStepFromJSONTyped(json, ignoreDiscriminator) {
15
+ if ((json === undefined) || (json === null)) {
16
+ return json;
17
+ }
18
+ return {
19
+ 'feeCosts': !runtime.exists(json, 'feeCosts') ? undefined : (json['feeCosts'].map(SwapFee.SwapFeeFromJSON)),
20
+ 'from': SwapStepSide.SwapStepSideFromJSON(json['from']),
21
+ 'gasCosts': !runtime.exists(json, 'gasCosts') ? undefined : (json['gasCosts'].map(SwapGasCost.SwapGasCostFromJSON)),
22
+ 'id': json['id'],
23
+ 'to': SwapStepSide.SwapStepSideFromJSON(json['to']),
24
+ 'tool': json['tool'],
25
+ 'type': json['type'],
26
+ };
27
+ }
28
+ function SwapStepToJSON(value) {
29
+ if (value === undefined) {
30
+ return undefined;
31
+ }
32
+ if (value === null) {
33
+ return null;
34
+ }
35
+ return {
36
+ 'feeCosts': value.feeCosts === undefined ? undefined : (value.feeCosts.map(SwapFee.SwapFeeToJSON)),
37
+ 'from': SwapStepSide.SwapStepSideToJSON(value.from),
38
+ 'gasCosts': value.gasCosts === undefined ? undefined : (value.gasCosts.map(SwapGasCost.SwapGasCostToJSON)),
39
+ 'id': value.id,
40
+ 'to': SwapStepSide.SwapStepSideToJSON(value.to),
41
+ 'tool': value.tool,
42
+ 'type': value.type,
43
+ };
44
+ }
45
+
46
+ exports.SwapStepFromJSON = SwapStepFromJSON;
47
+ exports.SwapStepFromJSONTyped = SwapStepFromJSONTyped;
48
+ exports.SwapStepToJSON = SwapStepToJSON;
@@ -0,0 +1,66 @@
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 { SwapFee } from './SwapFee';
13
+ import { SwapGasCost } from './SwapGasCost';
14
+ import { SwapStepSide } from './SwapStepSide';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SwapStep
19
+ */
20
+ export interface SwapStep {
21
+ /**
22
+ *
23
+ * @type {Array<SwapFee>}
24
+ * @memberof SwapStep
25
+ */
26
+ feeCosts?: Array<SwapFee>;
27
+ /**
28
+ *
29
+ * @type {SwapStepSide}
30
+ * @memberof SwapStep
31
+ */
32
+ from: SwapStepSide;
33
+ /**
34
+ *
35
+ * @type {Array<SwapGasCost>}
36
+ * @memberof SwapStep
37
+ */
38
+ gasCosts?: Array<SwapGasCost>;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof SwapStep
43
+ */
44
+ id: string;
45
+ /**
46
+ *
47
+ * @type {SwapStepSide}
48
+ * @memberof SwapStep
49
+ */
50
+ to: SwapStepSide;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof SwapStep
55
+ */
56
+ tool: string;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof SwapStep
61
+ */
62
+ type: string;
63
+ }
64
+ export declare function SwapStepFromJSON(json: any): SwapStep;
65
+ export declare function SwapStepFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapStep;
66
+ export declare function SwapStepToJSON(value?: SwapStep | null): any;
@@ -0,0 +1,42 @@
1
+ import { exists } from '../runtime.js';
2
+ import { SwapFeeFromJSON, SwapFeeToJSON } from './SwapFee.js';
3
+ import { SwapGasCostFromJSON, SwapGasCostToJSON } from './SwapGasCost.js';
4
+ import { SwapStepSideFromJSON, SwapStepSideToJSON } from './SwapStepSide.js';
5
+
6
+ /* tslint:disable */
7
+ function SwapStepFromJSON(json) {
8
+ return SwapStepFromJSONTyped(json);
9
+ }
10
+ function SwapStepFromJSONTyped(json, ignoreDiscriminator) {
11
+ if ((json === undefined) || (json === null)) {
12
+ return json;
13
+ }
14
+ return {
15
+ 'feeCosts': !exists(json, 'feeCosts') ? undefined : (json['feeCosts'].map(SwapFeeFromJSON)),
16
+ 'from': SwapStepSideFromJSON(json['from']),
17
+ 'gasCosts': !exists(json, 'gasCosts') ? undefined : (json['gasCosts'].map(SwapGasCostFromJSON)),
18
+ 'id': json['id'],
19
+ 'to': SwapStepSideFromJSON(json['to']),
20
+ 'tool': json['tool'],
21
+ 'type': json['type'],
22
+ };
23
+ }
24
+ function SwapStepToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'feeCosts': value.feeCosts === undefined ? undefined : (value.feeCosts.map(SwapFeeToJSON)),
33
+ 'from': SwapStepSideToJSON(value.from),
34
+ 'gasCosts': value.gasCosts === undefined ? undefined : (value.gasCosts.map(SwapGasCostToJSON)),
35
+ 'id': value.id,
36
+ 'to': SwapStepSideToJSON(value.to),
37
+ 'tool': value.tool,
38
+ 'type': value.type,
39
+ };
40
+ }
41
+
42
+ export { SwapStepFromJSON, SwapStepFromJSONTyped, SwapStepToJSON };
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var SwapToken = require('./SwapToken.cjs');
7
+
8
+ /* tslint:disable */
9
+ function SwapStepSideFromJSON(json) {
10
+ return SwapStepSideFromJSONTyped(json);
11
+ }
12
+ function SwapStepSideFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'amount': json['amount'],
18
+ 'amountMin': !runtime.exists(json, 'amountMin') ? undefined : json['amountMin'],
19
+ 'amountUSD': !runtime.exists(json, 'amountUSD') ? undefined : json['amountUSD'],
20
+ 'token': SwapToken.SwapTokenFromJSON(json['token']),
21
+ };
22
+ }
23
+ function SwapStepSideToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'amount': value.amount,
32
+ 'amountMin': value.amountMin,
33
+ 'amountUSD': value.amountUSD,
34
+ 'token': SwapToken.SwapTokenToJSON(value.token),
35
+ };
36
+ }
37
+
38
+ exports.SwapStepSideFromJSON = SwapStepSideFromJSON;
39
+ exports.SwapStepSideFromJSONTyped = SwapStepSideFromJSONTyped;
40
+ exports.SwapStepSideToJSON = SwapStepSideToJSON;
@@ -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 { SwapToken } from './SwapToken';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SwapStepSide
17
+ */
18
+ export interface SwapStepSide {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SwapStepSide
23
+ */
24
+ amount: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SwapStepSide
29
+ */
30
+ amountMin?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SwapStepSide
35
+ */
36
+ amountUSD?: string;
37
+ /**
38
+ *
39
+ * @type {SwapToken}
40
+ * @memberof SwapStepSide
41
+ */
42
+ token: SwapToken;
43
+ }
44
+ export declare function SwapStepSideFromJSON(json: any): SwapStepSide;
45
+ export declare function SwapStepSideFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapStepSide;
46
+ export declare function SwapStepSideToJSON(value?: SwapStepSide | null): any;
@@ -0,0 +1,34 @@
1
+ import { exists } from '../runtime.js';
2
+ import { SwapTokenFromJSON, SwapTokenToJSON } from './SwapToken.js';
3
+
4
+ /* tslint:disable */
5
+ function SwapStepSideFromJSON(json) {
6
+ return SwapStepSideFromJSONTyped(json);
7
+ }
8
+ function SwapStepSideFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'amount': json['amount'],
14
+ 'amountMin': !exists(json, 'amountMin') ? undefined : json['amountMin'],
15
+ 'amountUSD': !exists(json, 'amountUSD') ? undefined : json['amountUSD'],
16
+ 'token': SwapTokenFromJSON(json['token']),
17
+ };
18
+ }
19
+ function SwapStepSideToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'amount': value.amount,
28
+ 'amountMin': value.amountMin,
29
+ 'amountUSD': value.amountUSD,
30
+ 'token': SwapTokenToJSON(value.token),
31
+ };
32
+ }
33
+
34
+ export { SwapStepSideFromJSON, SwapStepSideFromJSONTyped, SwapStepSideToJSON };
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function SwapTokenFromJSON(json) {
9
+ return SwapTokenFromJSONTyped(json);
10
+ }
11
+ function SwapTokenFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'address': json['address'],
17
+ 'chainId': json['chainId'],
18
+ 'coinKey': !runtime.exists(json, 'coinKey') ? undefined : json['coinKey'],
19
+ 'decimals': json['decimals'],
20
+ 'logoURI': !runtime.exists(json, 'logoURI') ? undefined : json['logoURI'],
21
+ 'name': json['name'],
22
+ 'priceUSD': !runtime.exists(json, 'priceUSD') ? undefined : json['priceUSD'],
23
+ 'symbol': json['symbol'],
24
+ };
25
+ }
26
+ function SwapTokenToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'address': value.address,
35
+ 'chainId': value.chainId,
36
+ 'coinKey': value.coinKey,
37
+ 'decimals': value.decimals,
38
+ 'logoURI': value.logoURI,
39
+ 'name': value.name,
40
+ 'priceUSD': value.priceUSD,
41
+ 'symbol': value.symbol,
42
+ };
43
+ }
44
+
45
+ exports.SwapTokenFromJSON = SwapTokenFromJSON;
46
+ exports.SwapTokenFromJSONTyped = SwapTokenFromJSONTyped;
47
+ exports.SwapTokenToJSON = SwapTokenToJSON;
@@ -0,0 +1,69 @@
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 SwapToken
16
+ */
17
+ export interface SwapToken {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SwapToken
22
+ */
23
+ address: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SwapToken
28
+ */
29
+ chainId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SwapToken
34
+ */
35
+ coinKey?: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SwapToken
40
+ */
41
+ decimals: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SwapToken
46
+ */
47
+ logoURI?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SwapToken
52
+ */
53
+ name: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SwapToken
58
+ */
59
+ priceUSD?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SwapToken
64
+ */
65
+ symbol: string;
66
+ }
67
+ export declare function SwapTokenFromJSON(json: any): SwapToken;
68
+ export declare function SwapTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapToken;
69
+ export declare function SwapTokenToJSON(value?: SwapToken | null): any;
@@ -0,0 +1,41 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function SwapTokenFromJSON(json) {
5
+ return SwapTokenFromJSONTyped(json);
6
+ }
7
+ function SwapTokenFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'address': json['address'],
13
+ 'chainId': json['chainId'],
14
+ 'coinKey': !exists(json, 'coinKey') ? undefined : json['coinKey'],
15
+ 'decimals': json['decimals'],
16
+ 'logoURI': !exists(json, 'logoURI') ? undefined : json['logoURI'],
17
+ 'name': json['name'],
18
+ 'priceUSD': !exists(json, 'priceUSD') ? undefined : json['priceUSD'],
19
+ 'symbol': json['symbol'],
20
+ };
21
+ }
22
+ function SwapTokenToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'address': value.address,
31
+ 'chainId': value.chainId,
32
+ 'coinKey': value.coinKey,
33
+ 'decimals': value.decimals,
34
+ 'logoURI': value.logoURI,
35
+ 'name': value.name,
36
+ 'priceUSD': value.priceUSD,
37
+ 'symbol': value.symbol,
38
+ };
39
+ }
40
+
41
+ export { SwapTokenFromJSON, SwapTokenFromJSONTyped, SwapTokenToJSON };
@@ -47,6 +47,7 @@ export * from './AuthenticatorSelectionCriteria';
47
47
  export * from './AuthenticatorTransportProtocol';
48
48
  export * from './BackupKeySharesToLocationRequest';
49
49
  export * from './BackupKeySharesToLocationResponse';
50
+ export * from './BackupKeySharesToLocationsPendingResponse';
50
51
  export * from './BackupKeySharesToLocationsRequest';
51
52
  export * from './BackupKeySharesToLocationsResponse';
52
53
  export * from './BackupKeySharesToLocationsResponseLocationsWithKeyShares';
@@ -73,19 +74,14 @@ export * from './ChainalysisCheckResultEnum';
73
74
  export * from './ChainalysisConfiguration';
74
75
  export * from './Checkout';
75
76
  export * from './CheckoutCreateRequest';
76
- export * from './CheckoutEvmApprovalData';
77
- export * from './CheckoutEvmTransactionData';
78
77
  export * from './CheckoutExecutionStateEnum';
79
78
  export * from './CheckoutFailure';
80
79
  export * from './CheckoutFeeBreakdown';
81
80
  export * from './CheckoutModeEnum';
82
- export * from './CheckoutPsbtTransactionData';
83
81
  export * from './CheckoutQuoteSnapshot';
84
82
  export * from './CheckoutRiskStateEnum';
85
- export * from './CheckoutSerializedTransactionData';
86
83
  export * from './CheckoutSettlementData';
87
84
  export * from './CheckoutSettlementStateEnum';
88
- export * from './CheckoutSigningPayload';
89
85
  export * from './CheckoutSourceTypeEnum';
90
86
  export * from './CheckoutTransaction';
91
87
  export * from './CheckoutTransactionCreateRequest';
@@ -520,6 +516,23 @@ export * from './SupportedOfframpsResponse';
520
516
  export * from './SupportedOnrampsResponse';
521
517
  export * from './SupportedSecurityMethod';
522
518
  export * from './SupportedSecurityMethods';
519
+ export * from './SwapEvmApprovalData';
520
+ export * from './SwapEvmTransactionData';
521
+ export * from './SwapFee';
522
+ export * from './SwapGasCost';
523
+ export * from './SwapPsbtTransactionData';
524
+ export * from './SwapQuoteRequest';
525
+ export * from './SwapQuoteRequestSide';
526
+ export * from './SwapQuoteResponse';
527
+ export * from './SwapQuoteResponseSide';
528
+ export * from './SwapSerializedTransactionData';
529
+ export * from './SwapSigningPayload';
530
+ export * from './SwapStatusRequest';
531
+ export * from './SwapStatusRequestChain';
532
+ export * from './SwapStatusResponse';
533
+ export * from './SwapStep';
534
+ export * from './SwapStepSide';
535
+ export * from './SwapToken';
523
536
  export * from './TelegramPostRequest';
524
537
  export * from './TelegramUser';
525
538
  export * from './TestAccountResponse';
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var runtime = require('../runtime.cjs');
6
-
7
- /* tslint:disable */
8
- function CheckoutEvmTransactionDataFromJSON(json) {
9
- return CheckoutEvmTransactionDataFromJSONTyped(json);
10
- }
11
- function CheckoutEvmTransactionDataFromJSONTyped(json, ignoreDiscriminator) {
12
- if ((json === undefined) || (json === null)) {
13
- return json;
14
- }
15
- return {
16
- 'to': json['to'],
17
- 'data': json['data'],
18
- 'value': json['value'],
19
- 'gasLimit': !runtime.exists(json, 'gasLimit') ? undefined : json['gasLimit'],
20
- };
21
- }
22
- function CheckoutEvmTransactionDataToJSON(value) {
23
- if (value === undefined) {
24
- return undefined;
25
- }
26
- if (value === null) {
27
- return null;
28
- }
29
- return {
30
- 'to': value.to,
31
- 'data': value.data,
32
- 'value': value.value,
33
- 'gasLimit': value.gasLimit,
34
- };
35
- }
36
-
37
- exports.CheckoutEvmTransactionDataFromJSON = CheckoutEvmTransactionDataFromJSON;
38
- exports.CheckoutEvmTransactionDataFromJSONTyped = CheckoutEvmTransactionDataFromJSONTyped;
39
- exports.CheckoutEvmTransactionDataToJSON = CheckoutEvmTransactionDataToJSON;
@@ -1,45 +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 CheckoutEvmTransactionData
16
- */
17
- export interface CheckoutEvmTransactionData {
18
- /**
19
- * Contract address to call
20
- * @type {string}
21
- * @memberof CheckoutEvmTransactionData
22
- */
23
- to: string;
24
- /**
25
- * Encoded calldata (hex)
26
- * @type {string}
27
- * @memberof CheckoutEvmTransactionData
28
- */
29
- data: string;
30
- /**
31
- * Native asset amount in wei (hex string, "0x0" if token-only)
32
- * @type {string}
33
- * @memberof CheckoutEvmTransactionData
34
- */
35
- value: string;
36
- /**
37
- * Suggested gas limit (hex string)
38
- * @type {string}
39
- * @memberof CheckoutEvmTransactionData
40
- */
41
- gasLimit?: string;
42
- }
43
- export declare function CheckoutEvmTransactionDataFromJSON(json: any): CheckoutEvmTransactionData;
44
- export declare function CheckoutEvmTransactionDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutEvmTransactionData;
45
- export declare function CheckoutEvmTransactionDataToJSON(value?: CheckoutEvmTransactionData | null): any;
@@ -1,33 +0,0 @@
1
- import { exists } from '../runtime.js';
2
-
3
- /* tslint:disable */
4
- function CheckoutEvmTransactionDataFromJSON(json) {
5
- return CheckoutEvmTransactionDataFromJSONTyped(json);
6
- }
7
- function CheckoutEvmTransactionDataFromJSONTyped(json, ignoreDiscriminator) {
8
- if ((json === undefined) || (json === null)) {
9
- return json;
10
- }
11
- return {
12
- 'to': json['to'],
13
- 'data': json['data'],
14
- 'value': json['value'],
15
- 'gasLimit': !exists(json, 'gasLimit') ? undefined : json['gasLimit'],
16
- };
17
- }
18
- function CheckoutEvmTransactionDataToJSON(value) {
19
- if (value === undefined) {
20
- return undefined;
21
- }
22
- if (value === null) {
23
- return null;
24
- }
25
- return {
26
- 'to': value.to,
27
- 'data': value.data,
28
- 'value': value.value,
29
- 'gasLimit': value.gasLimit,
30
- };
31
- }
32
-
33
- export { CheckoutEvmTransactionDataFromJSON, CheckoutEvmTransactionDataFromJSONTyped, CheckoutEvmTransactionDataToJSON };
@@ -1,27 +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 CheckoutPsbtTransactionData
16
- */
17
- export interface CheckoutPsbtTransactionData {
18
- /**
19
- * Base64-encoded unsigned PSBT
20
- * @type {string}
21
- * @memberof CheckoutPsbtTransactionData
22
- */
23
- psbt: string;
24
- }
25
- export declare function CheckoutPsbtTransactionDataFromJSON(json: any): CheckoutPsbtTransactionData;
26
- export declare function CheckoutPsbtTransactionDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutPsbtTransactionData;
27
- export declare function CheckoutPsbtTransactionDataToJSON(value?: CheckoutPsbtTransactionData | null): any;
@@ -1,27 +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 CheckoutSerializedTransactionData
16
- */
17
- export interface CheckoutSerializedTransactionData {
18
- /**
19
- * Base64-encoded serialized transaction
20
- * @type {string}
21
- * @memberof CheckoutSerializedTransactionData
22
- */
23
- serializedTransaction: string;
24
- }
25
- export declare function CheckoutSerializedTransactionDataFromJSON(json: any): CheckoutSerializedTransactionData;
26
- export declare function CheckoutSerializedTransactionDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutSerializedTransactionData;
27
- export declare function CheckoutSerializedTransactionDataToJSON(value?: CheckoutSerializedTransactionData | null): any;