@dynamic-labs/sdk-api 0.0.877 → 0.0.879

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 (165) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +7 -0
  3. package/src/apis/AllowlistsApi.js +7 -0
  4. package/src/apis/AnalyticsApi.cjs +7 -0
  5. package/src/apis/AnalyticsApi.js +7 -0
  6. package/src/apis/ChainalysisApi.cjs +7 -0
  7. package/src/apis/ChainalysisApi.js +7 -0
  8. package/src/apis/ChainsApi.cjs +7 -0
  9. package/src/apis/ChainsApi.js +7 -0
  10. package/src/apis/CustomFieldsApi.cjs +7 -0
  11. package/src/apis/CustomFieldsApi.js +7 -0
  12. package/src/apis/CustomHostnamesApi.cjs +7 -0
  13. package/src/apis/CustomHostnamesApi.js +7 -0
  14. package/src/apis/CustomNetworksApi.cjs +7 -0
  15. package/src/apis/CustomNetworksApi.js +7 -0
  16. package/src/apis/DeeplinkUrlsApi.cjs +7 -0
  17. package/src/apis/DeeplinkUrlsApi.js +7 -0
  18. package/src/apis/DepositApi.cjs +253 -0
  19. package/src/apis/DepositApi.d.ts +71 -0
  20. package/src/apis/DepositApi.js +249 -0
  21. package/src/apis/EnvironmentsApi.cjs +7 -0
  22. package/src/apis/EnvironmentsApi.js +7 -0
  23. package/src/apis/EventsApi.cjs +7 -0
  24. package/src/apis/EventsApi.js +7 -0
  25. package/src/apis/ExportsApi.cjs +7 -0
  26. package/src/apis/ExportsApi.js +7 -0
  27. package/src/apis/ExternalJwtApi.cjs +7 -0
  28. package/src/apis/ExternalJwtApi.js +7 -0
  29. package/src/apis/GatesApi.cjs +7 -0
  30. package/src/apis/GatesApi.js +7 -0
  31. package/src/apis/GlobalWalletAccessControlApi.cjs +7 -0
  32. package/src/apis/GlobalWalletAccessControlApi.js +7 -0
  33. package/src/apis/GlobalWalletConnectionsApi.cjs +7 -0
  34. package/src/apis/GlobalWalletConnectionsApi.js +7 -0
  35. package/src/apis/GlobalWalletsApi.cjs +7 -0
  36. package/src/apis/GlobalWalletsApi.js +7 -0
  37. package/src/apis/InvitesApi.cjs +7 -0
  38. package/src/apis/InvitesApi.js +7 -0
  39. package/src/apis/MembersApi.cjs +7 -0
  40. package/src/apis/MembersApi.js +7 -0
  41. package/src/apis/MfaSettingsApi.cjs +7 -0
  42. package/src/apis/MfaSettingsApi.js +7 -0
  43. package/src/apis/NameServicesApi.cjs +7 -0
  44. package/src/apis/NameServicesApi.js +7 -0
  45. package/src/apis/OrganizationsApi.cjs +7 -0
  46. package/src/apis/OrganizationsApi.js +7 -0
  47. package/src/apis/OriginsApi.cjs +7 -0
  48. package/src/apis/OriginsApi.js +7 -0
  49. package/src/apis/ProjectsApi.cjs +7 -0
  50. package/src/apis/ProjectsApi.js +7 -0
  51. package/src/apis/SDKApi.cjs +502 -0
  52. package/src/apis/SDKApi.d.ts +190 -1
  53. package/src/apis/SDKApi.js +503 -1
  54. package/src/apis/SDKViewsApi.cjs +7 -0
  55. package/src/apis/SDKViewsApi.js +7 -0
  56. package/src/apis/SessionsApi.cjs +7 -0
  57. package/src/apis/SessionsApi.js +7 -0
  58. package/src/apis/SettingsApi.cjs +7 -0
  59. package/src/apis/SettingsApi.js +7 -0
  60. package/src/apis/TestAccountApi.cjs +7 -0
  61. package/src/apis/TestAccountApi.js +7 -0
  62. package/src/apis/TokensApi.cjs +7 -0
  63. package/src/apis/TokensApi.js +7 -0
  64. package/src/apis/UserApiTokensApi.cjs +7 -0
  65. package/src/apis/UserApiTokensApi.js +7 -0
  66. package/src/apis/UsersApi.cjs +7 -0
  67. package/src/apis/UsersApi.js +7 -0
  68. package/src/apis/VisitsApi.cjs +7 -0
  69. package/src/apis/VisitsApi.js +7 -0
  70. package/src/apis/WaasApi.cjs +7 -0
  71. package/src/apis/WaasApi.js +7 -0
  72. package/src/apis/WalletConnectApi.cjs +7 -0
  73. package/src/apis/WalletConnectApi.js +7 -0
  74. package/src/apis/WalletsApi.cjs +7 -0
  75. package/src/apis/WalletsApi.js +7 -0
  76. package/src/apis/WebhooksApi.cjs +7 -0
  77. package/src/apis/WebhooksApi.js +7 -0
  78. package/src/apis/index.d.ts +1 -0
  79. package/src/index.cjs +134 -0
  80. package/src/index.js +27 -0
  81. package/src/models/AttachSourceRequest.cjs +37 -0
  82. package/src/models/AttachSourceRequest.d.ts +40 -0
  83. package/src/models/AttachSourceRequest.js +31 -0
  84. package/src/models/Checkout.cjs +61 -0
  85. package/src/models/Checkout.d.ts +103 -0
  86. package/src/models/Checkout.js +55 -0
  87. package/src/models/CheckoutCreateRequest.cjs +51 -0
  88. package/src/models/CheckoutCreateRequest.d.ts +73 -0
  89. package/src/models/CheckoutCreateRequest.js +45 -0
  90. package/src/models/CheckoutExecutionStateEnum.cjs +47 -0
  91. package/src/models/CheckoutExecutionStateEnum.d.ts +30 -0
  92. package/src/models/CheckoutExecutionStateEnum.js +41 -0
  93. package/src/models/CheckoutFailure.cjs +43 -0
  94. package/src/models/CheckoutFailure.d.ts +57 -0
  95. package/src/models/CheckoutFailure.js +37 -0
  96. package/src/models/CheckoutFeeBreakdown.cjs +51 -0
  97. package/src/models/CheckoutFeeBreakdown.d.ts +51 -0
  98. package/src/models/CheckoutFeeBreakdown.js +45 -0
  99. package/src/models/CheckoutModeEnum.cjs +40 -0
  100. package/src/models/CheckoutModeEnum.d.ts +23 -0
  101. package/src/models/CheckoutModeEnum.js +34 -0
  102. package/src/models/CheckoutQuoteSnapshot.cjs +50 -0
  103. package/src/models/CheckoutQuoteSnapshot.d.ts +76 -0
  104. package/src/models/CheckoutQuoteSnapshot.js +44 -0
  105. package/src/models/CheckoutRiskStateEnum.cjs +43 -0
  106. package/src/models/CheckoutRiskStateEnum.d.ts +26 -0
  107. package/src/models/CheckoutRiskStateEnum.js +37 -0
  108. package/src/models/CheckoutSettlementData.cjs +39 -0
  109. package/src/models/CheckoutSettlementData.d.ts +45 -0
  110. package/src/models/CheckoutSettlementData.js +33 -0
  111. package/src/models/CheckoutSettlementStateEnum.cjs +45 -0
  112. package/src/models/CheckoutSettlementStateEnum.d.ts +28 -0
  113. package/src/models/CheckoutSettlementStateEnum.js +39 -0
  114. package/src/models/CheckoutSourceTypeEnum.cjs +41 -0
  115. package/src/models/CheckoutSourceTypeEnum.d.ts +24 -0
  116. package/src/models/CheckoutSourceTypeEnum.js +35 -0
  117. package/src/models/CheckoutTransaction.cjs +98 -0
  118. package/src/models/CheckoutTransaction.d.ts +208 -0
  119. package/src/models/CheckoutTransaction.js +92 -0
  120. package/src/models/CheckoutTransactionCreateRequest.cjs +39 -0
  121. package/src/models/CheckoutTransactionCreateRequest.d.ts +45 -0
  122. package/src/models/CheckoutTransactionCreateRequest.js +33 -0
  123. package/src/models/CheckoutTransactionCreateResponse.cjs +37 -0
  124. package/src/models/CheckoutTransactionCreateResponse.d.ts +40 -0
  125. package/src/models/CheckoutTransactionCreateResponse.js +31 -0
  126. package/src/models/CheckoutUpdateRequest.cjs +48 -0
  127. package/src/models/CheckoutUpdateRequest.d.ts +66 -0
  128. package/src/models/CheckoutUpdateRequest.js +42 -0
  129. package/src/models/CheckoutsResponse.cjs +33 -0
  130. package/src/models/CheckoutsResponse.d.ts +28 -0
  131. package/src/models/CheckoutsResponse.js +27 -0
  132. package/src/models/Conflict.cjs +33 -0
  133. package/src/models/Conflict.d.ts +27 -0
  134. package/src/models/Conflict.js +27 -0
  135. package/src/models/DepositAmountsConfigInput.cjs +35 -0
  136. package/src/models/DepositAmountsConfigInput.d.ts +33 -0
  137. package/src/models/DepositAmountsConfigInput.js +29 -0
  138. package/src/models/DestinationConfigInput.cjs +35 -0
  139. package/src/models/DestinationConfigInput.d.ts +34 -0
  140. package/src/models/DestinationConfigInput.js +29 -0
  141. package/src/models/DestinationTypeEnum.cjs +41 -0
  142. package/src/models/DestinationTypeEnum.d.ts +24 -0
  143. package/src/models/DestinationTypeEnum.js +35 -0
  144. package/src/models/QuoteRequest.cjs +37 -0
  145. package/src/models/QuoteRequest.d.ts +39 -0
  146. package/src/models/QuoteRequest.js +31 -0
  147. package/src/models/RecordBroadcastRequest.cjs +35 -0
  148. package/src/models/RecordBroadcastRequest.d.ts +33 -0
  149. package/src/models/RecordBroadcastRequest.js +29 -0
  150. package/src/models/SettlementConfigInput.cjs +36 -0
  151. package/src/models/SettlementConfigInput.d.ts +35 -0
  152. package/src/models/SettlementConfigInput.js +30 -0
  153. package/src/models/SettlementStrategyEnum.cjs +41 -0
  154. package/src/models/SettlementStrategyEnum.d.ts +24 -0
  155. package/src/models/SettlementStrategyEnum.js +35 -0
  156. package/src/models/SettlementTokenInput.cjs +47 -0
  157. package/src/models/SettlementTokenInput.d.ts +39 -0
  158. package/src/models/SettlementTokenInput.js +41 -0
  159. package/src/models/WalletKeyShareInfo.cjs +2 -0
  160. package/src/models/WalletKeyShareInfo.d.ts +6 -0
  161. package/src/models/WalletKeyShareInfo.js +2 -0
  162. package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.cjs +2 -0
  163. package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.d.ts +6 -0
  164. package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.js +2 -0
  165. package/src/models/index.d.ts +26 -0
@@ -0,0 +1,55 @@
1
+ import { exists } from '../runtime.js';
2
+ import { CheckoutModeEnumFromJSON, CheckoutModeEnumToJSON } from './CheckoutModeEnum.js';
3
+ import { DepositAmountsConfigInputFromJSON, DepositAmountsConfigInputToJSON } from './DepositAmountsConfigInput.js';
4
+ import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
5
+ import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
6
+
7
+ /* tslint:disable */
8
+ function CheckoutFromJSON(json) {
9
+ return CheckoutFromJSONTyped(json);
10
+ }
11
+ function CheckoutFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'id': json['id'],
17
+ 'projectEnvironmentId': json['projectEnvironmentId'],
18
+ 'mode': CheckoutModeEnumFromJSON(json['mode']),
19
+ 'settlementConfig': SettlementConfigInputFromJSON(json['settlementConfig']),
20
+ 'destinationConfig': DestinationConfigInputFromJSON(json['destinationConfig']),
21
+ 'depositConfig': !exists(json, 'depositConfig') ? undefined : DepositAmountsConfigInputFromJSON(json['depositConfig']),
22
+ 'enableOrchestration': json['enableOrchestration'],
23
+ 'integratorFeeBps': !exists(json, 'integratorFeeBps') ? undefined : json['integratorFeeBps'],
24
+ 'geoRestrictions': !exists(json, 'geoRestrictions') ? undefined : json['geoRestrictions'],
25
+ 'exchangeRestrictions': !exists(json, 'exchangeRestrictions') ? undefined : json['exchangeRestrictions'],
26
+ 'deletedAt': !exists(json, 'deletedAt') ? undefined : (new Date(json['deletedAt'])),
27
+ 'createdAt': (new Date(json['createdAt'])),
28
+ 'updatedAt': (new Date(json['updatedAt'])),
29
+ };
30
+ }
31
+ function CheckoutToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'id': value.id,
40
+ 'projectEnvironmentId': value.projectEnvironmentId,
41
+ 'mode': CheckoutModeEnumToJSON(value.mode),
42
+ 'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
43
+ 'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
44
+ 'depositConfig': DepositAmountsConfigInputToJSON(value.depositConfig),
45
+ 'enableOrchestration': value.enableOrchestration,
46
+ 'integratorFeeBps': value.integratorFeeBps,
47
+ 'geoRestrictions': value.geoRestrictions,
48
+ 'exchangeRestrictions': value.exchangeRestrictions,
49
+ 'deletedAt': value.deletedAt === undefined ? undefined : (value.deletedAt.toISOString()),
50
+ 'createdAt': (value.createdAt.toISOString()),
51
+ 'updatedAt': (value.updatedAt.toISOString()),
52
+ };
53
+ }
54
+
55
+ export { CheckoutFromJSON, CheckoutFromJSONTyped, CheckoutToJSON };
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var CheckoutModeEnum = require('./CheckoutModeEnum.cjs');
7
+ var DepositAmountsConfigInput = require('./DepositAmountsConfigInput.cjs');
8
+ var DestinationConfigInput = require('./DestinationConfigInput.cjs');
9
+ var SettlementConfigInput = require('./SettlementConfigInput.cjs');
10
+
11
+ /* tslint:disable */
12
+ function CheckoutCreateRequestFromJSON(json) {
13
+ return CheckoutCreateRequestFromJSONTyped(json);
14
+ }
15
+ function CheckoutCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
16
+ if ((json === undefined) || (json === null)) {
17
+ return json;
18
+ }
19
+ return {
20
+ 'mode': CheckoutModeEnum.CheckoutModeEnumFromJSON(json['mode']),
21
+ 'settlementConfig': SettlementConfigInput.SettlementConfigInputFromJSON(json['settlementConfig']),
22
+ 'destinationConfig': DestinationConfigInput.DestinationConfigInputFromJSON(json['destinationConfig']),
23
+ 'depositConfig': !runtime.exists(json, 'depositConfig') ? undefined : DepositAmountsConfigInput.DepositAmountsConfigInputFromJSON(json['depositConfig']),
24
+ 'enableOrchestration': !runtime.exists(json, 'enableOrchestration') ? undefined : json['enableOrchestration'],
25
+ 'integratorFeeBps': !runtime.exists(json, 'integratorFeeBps') ? undefined : json['integratorFeeBps'],
26
+ 'geoRestrictions': !runtime.exists(json, 'geoRestrictions') ? undefined : json['geoRestrictions'],
27
+ 'exchangeRestrictions': !runtime.exists(json, 'exchangeRestrictions') ? undefined : json['exchangeRestrictions'],
28
+ };
29
+ }
30
+ function CheckoutCreateRequestToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'mode': CheckoutModeEnum.CheckoutModeEnumToJSON(value.mode),
39
+ 'settlementConfig': SettlementConfigInput.SettlementConfigInputToJSON(value.settlementConfig),
40
+ 'destinationConfig': DestinationConfigInput.DestinationConfigInputToJSON(value.destinationConfig),
41
+ 'depositConfig': DepositAmountsConfigInput.DepositAmountsConfigInputToJSON(value.depositConfig),
42
+ 'enableOrchestration': value.enableOrchestration,
43
+ 'integratorFeeBps': value.integratorFeeBps,
44
+ 'geoRestrictions': value.geoRestrictions,
45
+ 'exchangeRestrictions': value.exchangeRestrictions,
46
+ };
47
+ }
48
+
49
+ exports.CheckoutCreateRequestFromJSON = CheckoutCreateRequestFromJSON;
50
+ exports.CheckoutCreateRequestFromJSONTyped = CheckoutCreateRequestFromJSONTyped;
51
+ exports.CheckoutCreateRequestToJSON = CheckoutCreateRequestToJSON;
@@ -0,0 +1,73 @@
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 { CheckoutModeEnum } from './CheckoutModeEnum';
13
+ import { DepositAmountsConfigInput } from './DepositAmountsConfigInput';
14
+ import { DestinationConfigInput } from './DestinationConfigInput';
15
+ import { SettlementConfigInput } from './SettlementConfigInput';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CheckoutCreateRequest
20
+ */
21
+ export interface CheckoutCreateRequest {
22
+ /**
23
+ *
24
+ * @type {CheckoutModeEnum}
25
+ * @memberof CheckoutCreateRequest
26
+ */
27
+ mode: CheckoutModeEnum;
28
+ /**
29
+ *
30
+ * @type {SettlementConfigInput}
31
+ * @memberof CheckoutCreateRequest
32
+ */
33
+ settlementConfig: SettlementConfigInput;
34
+ /**
35
+ *
36
+ * @type {DestinationConfigInput}
37
+ * @memberof CheckoutCreateRequest
38
+ */
39
+ destinationConfig: DestinationConfigInput;
40
+ /**
41
+ *
42
+ * @type {DepositAmountsConfigInput}
43
+ * @memberof CheckoutCreateRequest
44
+ */
45
+ depositConfig?: DepositAmountsConfigInput;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof CheckoutCreateRequest
50
+ */
51
+ enableOrchestration?: boolean;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof CheckoutCreateRequest
56
+ */
57
+ integratorFeeBps?: number;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof CheckoutCreateRequest
62
+ */
63
+ geoRestrictions?: Array<string>;
64
+ /**
65
+ *
66
+ * @type {Array<string>}
67
+ * @memberof CheckoutCreateRequest
68
+ */
69
+ exchangeRestrictions?: Array<string>;
70
+ }
71
+ export declare function CheckoutCreateRequestFromJSON(json: any): CheckoutCreateRequest;
72
+ export declare function CheckoutCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutCreateRequest;
73
+ export declare function CheckoutCreateRequestToJSON(value?: CheckoutCreateRequest | null): any;
@@ -0,0 +1,45 @@
1
+ import { exists } from '../runtime.js';
2
+ import { CheckoutModeEnumFromJSON, CheckoutModeEnumToJSON } from './CheckoutModeEnum.js';
3
+ import { DepositAmountsConfigInputFromJSON, DepositAmountsConfigInputToJSON } from './DepositAmountsConfigInput.js';
4
+ import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
5
+ import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
6
+
7
+ /* tslint:disable */
8
+ function CheckoutCreateRequestFromJSON(json) {
9
+ return CheckoutCreateRequestFromJSONTyped(json);
10
+ }
11
+ function CheckoutCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'mode': CheckoutModeEnumFromJSON(json['mode']),
17
+ 'settlementConfig': SettlementConfigInputFromJSON(json['settlementConfig']),
18
+ 'destinationConfig': DestinationConfigInputFromJSON(json['destinationConfig']),
19
+ 'depositConfig': !exists(json, 'depositConfig') ? undefined : DepositAmountsConfigInputFromJSON(json['depositConfig']),
20
+ 'enableOrchestration': !exists(json, 'enableOrchestration') ? undefined : json['enableOrchestration'],
21
+ 'integratorFeeBps': !exists(json, 'integratorFeeBps') ? undefined : json['integratorFeeBps'],
22
+ 'geoRestrictions': !exists(json, 'geoRestrictions') ? undefined : json['geoRestrictions'],
23
+ 'exchangeRestrictions': !exists(json, 'exchangeRestrictions') ? undefined : json['exchangeRestrictions'],
24
+ };
25
+ }
26
+ function CheckoutCreateRequestToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'mode': CheckoutModeEnumToJSON(value.mode),
35
+ 'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
36
+ 'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
37
+ 'depositConfig': DepositAmountsConfigInputToJSON(value.depositConfig),
38
+ 'enableOrchestration': value.enableOrchestration,
39
+ 'integratorFeeBps': value.integratorFeeBps,
40
+ 'geoRestrictions': value.geoRestrictions,
41
+ 'exchangeRestrictions': value.exchangeRestrictions,
42
+ };
43
+ }
44
+
45
+ export { CheckoutCreateRequestFromJSON, CheckoutCreateRequestFromJSONTyped, CheckoutCreateRequestToJSON };
@@ -0,0 +1,47 @@
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
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.CheckoutExecutionStateEnum = void 0;
24
+ (function (CheckoutExecutionStateEnum) {
25
+ CheckoutExecutionStateEnum["Initiated"] = "initiated";
26
+ CheckoutExecutionStateEnum["SourceAttached"] = "source_attached";
27
+ CheckoutExecutionStateEnum["Quoted"] = "quoted";
28
+ CheckoutExecutionStateEnum["Signing"] = "signing";
29
+ CheckoutExecutionStateEnum["Broadcasted"] = "broadcasted";
30
+ CheckoutExecutionStateEnum["SourceConfirmed"] = "source_confirmed";
31
+ CheckoutExecutionStateEnum["Cancelled"] = "cancelled";
32
+ CheckoutExecutionStateEnum["Expired"] = "expired";
33
+ CheckoutExecutionStateEnum["Failed"] = "failed";
34
+ })(exports.CheckoutExecutionStateEnum || (exports.CheckoutExecutionStateEnum = {}));
35
+ function CheckoutExecutionStateEnumFromJSON(json) {
36
+ return CheckoutExecutionStateEnumFromJSONTyped(json);
37
+ }
38
+ function CheckoutExecutionStateEnumFromJSONTyped(json, ignoreDiscriminator) {
39
+ return json;
40
+ }
41
+ function CheckoutExecutionStateEnumToJSON(value) {
42
+ return value;
43
+ }
44
+
45
+ exports.CheckoutExecutionStateEnumFromJSON = CheckoutExecutionStateEnumFromJSON;
46
+ exports.CheckoutExecutionStateEnumFromJSONTyped = CheckoutExecutionStateEnumFromJSONTyped;
47
+ exports.CheckoutExecutionStateEnumToJSON = CheckoutExecutionStateEnumToJSON;
@@ -0,0 +1,30 @@
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
+ * @enum {string}
16
+ */
17
+ export declare enum CheckoutExecutionStateEnum {
18
+ Initiated = "initiated",
19
+ SourceAttached = "source_attached",
20
+ Quoted = "quoted",
21
+ Signing = "signing",
22
+ Broadcasted = "broadcasted",
23
+ SourceConfirmed = "source_confirmed",
24
+ Cancelled = "cancelled",
25
+ Expired = "expired",
26
+ Failed = "failed"
27
+ }
28
+ export declare function CheckoutExecutionStateEnumFromJSON(json: any): CheckoutExecutionStateEnum;
29
+ export declare function CheckoutExecutionStateEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutExecutionStateEnum;
30
+ export declare function CheckoutExecutionStateEnumToJSON(value?: CheckoutExecutionStateEnum | null): any;
@@ -0,0 +1,41 @@
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
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var CheckoutExecutionStateEnum;
20
+ (function (CheckoutExecutionStateEnum) {
21
+ CheckoutExecutionStateEnum["Initiated"] = "initiated";
22
+ CheckoutExecutionStateEnum["SourceAttached"] = "source_attached";
23
+ CheckoutExecutionStateEnum["Quoted"] = "quoted";
24
+ CheckoutExecutionStateEnum["Signing"] = "signing";
25
+ CheckoutExecutionStateEnum["Broadcasted"] = "broadcasted";
26
+ CheckoutExecutionStateEnum["SourceConfirmed"] = "source_confirmed";
27
+ CheckoutExecutionStateEnum["Cancelled"] = "cancelled";
28
+ CheckoutExecutionStateEnum["Expired"] = "expired";
29
+ CheckoutExecutionStateEnum["Failed"] = "failed";
30
+ })(CheckoutExecutionStateEnum || (CheckoutExecutionStateEnum = {}));
31
+ function CheckoutExecutionStateEnumFromJSON(json) {
32
+ return CheckoutExecutionStateEnumFromJSONTyped(json);
33
+ }
34
+ function CheckoutExecutionStateEnumFromJSONTyped(json, ignoreDiscriminator) {
35
+ return json;
36
+ }
37
+ function CheckoutExecutionStateEnumToJSON(value) {
38
+ return value;
39
+ }
40
+
41
+ export { CheckoutExecutionStateEnum, CheckoutExecutionStateEnumFromJSON, CheckoutExecutionStateEnumFromJSONTyped, CheckoutExecutionStateEnumToJSON };
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function CheckoutFailureFromJSON(json) {
9
+ return CheckoutFailureFromJSONTyped(json);
10
+ }
11
+ function CheckoutFailureFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'code': json['code'],
17
+ 'message': json['message'],
18
+ 'category': json['category'],
19
+ 'stage': json['stage'],
20
+ 'retryable': json['retryable'],
21
+ 'details': !runtime.exists(json, 'details') ? undefined : json['details'],
22
+ };
23
+ }
24
+ function CheckoutFailureToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'code': value.code,
33
+ 'message': value.message,
34
+ 'category': value.category,
35
+ 'stage': value.stage,
36
+ 'retryable': value.retryable,
37
+ 'details': value.details,
38
+ };
39
+ }
40
+
41
+ exports.CheckoutFailureFromJSON = CheckoutFailureFromJSON;
42
+ exports.CheckoutFailureFromJSONTyped = CheckoutFailureFromJSONTyped;
43
+ exports.CheckoutFailureToJSON = CheckoutFailureToJSON;
@@ -0,0 +1,57 @@
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 CheckoutFailure
16
+ */
17
+ export interface CheckoutFailure {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CheckoutFailure
22
+ */
23
+ code: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CheckoutFailure
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CheckoutFailure
34
+ */
35
+ category: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CheckoutFailure
40
+ */
41
+ stage: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof CheckoutFailure
46
+ */
47
+ retryable: boolean;
48
+ /**
49
+ *
50
+ * @type {object}
51
+ * @memberof CheckoutFailure
52
+ */
53
+ details?: object;
54
+ }
55
+ export declare function CheckoutFailureFromJSON(json: any): CheckoutFailure;
56
+ export declare function CheckoutFailureFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutFailure;
57
+ export declare function CheckoutFailureToJSON(value?: CheckoutFailure | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function CheckoutFailureFromJSON(json) {
5
+ return CheckoutFailureFromJSONTyped(json);
6
+ }
7
+ function CheckoutFailureFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'code': json['code'],
13
+ 'message': json['message'],
14
+ 'category': json['category'],
15
+ 'stage': json['stage'],
16
+ 'retryable': json['retryable'],
17
+ 'details': !exists(json, 'details') ? undefined : json['details'],
18
+ };
19
+ }
20
+ function CheckoutFailureToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'code': value.code,
29
+ 'message': value.message,
30
+ 'category': value.category,
31
+ 'stage': value.stage,
32
+ 'retryable': value.retryable,
33
+ 'details': value.details,
34
+ };
35
+ }
36
+
37
+ export { CheckoutFailureFromJSON, CheckoutFailureFromJSONTyped, CheckoutFailureToJSON };
@@ -0,0 +1,51 @@
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 CheckoutFeeBreakdownFromJSON(json) {
19
+ return CheckoutFeeBreakdownFromJSONTyped(json);
20
+ }
21
+ function CheckoutFeeBreakdownFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'gasCostUsd': json['gasCostUsd'],
27
+ 'bridgeCostUsd': json['bridgeCostUsd'],
28
+ 'providerFeeUsd': json['providerFeeUsd'],
29
+ 'integratorFeeUsd': json['integratorFeeUsd'],
30
+ 'totalFeeUsd': json['totalFeeUsd'],
31
+ };
32
+ }
33
+ function CheckoutFeeBreakdownToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'gasCostUsd': value.gasCostUsd,
42
+ 'bridgeCostUsd': value.bridgeCostUsd,
43
+ 'providerFeeUsd': value.providerFeeUsd,
44
+ 'integratorFeeUsd': value.integratorFeeUsd,
45
+ 'totalFeeUsd': value.totalFeeUsd,
46
+ };
47
+ }
48
+
49
+ exports.CheckoutFeeBreakdownFromJSON = CheckoutFeeBreakdownFromJSON;
50
+ exports.CheckoutFeeBreakdownFromJSONTyped = CheckoutFeeBreakdownFromJSONTyped;
51
+ exports.CheckoutFeeBreakdownToJSON = CheckoutFeeBreakdownToJSON;
@@ -0,0 +1,51 @@
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 CheckoutFeeBreakdown
16
+ */
17
+ export interface CheckoutFeeBreakdown {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CheckoutFeeBreakdown
22
+ */
23
+ gasCostUsd: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CheckoutFeeBreakdown
28
+ */
29
+ bridgeCostUsd: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CheckoutFeeBreakdown
34
+ */
35
+ providerFeeUsd: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CheckoutFeeBreakdown
40
+ */
41
+ integratorFeeUsd: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CheckoutFeeBreakdown
46
+ */
47
+ totalFeeUsd: string;
48
+ }
49
+ export declare function CheckoutFeeBreakdownFromJSON(json: any): CheckoutFeeBreakdown;
50
+ export declare function CheckoutFeeBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutFeeBreakdown;
51
+ export declare function CheckoutFeeBreakdownToJSON(value?: CheckoutFeeBreakdown | null): any;
@@ -0,0 +1,45 @@
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 CheckoutFeeBreakdownFromJSON(json) {
15
+ return CheckoutFeeBreakdownFromJSONTyped(json);
16
+ }
17
+ function CheckoutFeeBreakdownFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'gasCostUsd': json['gasCostUsd'],
23
+ 'bridgeCostUsd': json['bridgeCostUsd'],
24
+ 'providerFeeUsd': json['providerFeeUsd'],
25
+ 'integratorFeeUsd': json['integratorFeeUsd'],
26
+ 'totalFeeUsd': json['totalFeeUsd'],
27
+ };
28
+ }
29
+ function CheckoutFeeBreakdownToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'gasCostUsd': value.gasCostUsd,
38
+ 'bridgeCostUsd': value.bridgeCostUsd,
39
+ 'providerFeeUsd': value.providerFeeUsd,
40
+ 'integratorFeeUsd': value.integratorFeeUsd,
41
+ 'totalFeeUsd': value.totalFeeUsd,
42
+ };
43
+ }
44
+
45
+ export { CheckoutFeeBreakdownFromJSON, CheckoutFeeBreakdownFromJSONTyped, CheckoutFeeBreakdownToJSON };
@@ -0,0 +1,40 @@
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
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.CheckoutModeEnum = void 0;
24
+ (function (CheckoutModeEnum) {
25
+ CheckoutModeEnum["Payment"] = "payment";
26
+ CheckoutModeEnum["Deposit"] = "deposit";
27
+ })(exports.CheckoutModeEnum || (exports.CheckoutModeEnum = {}));
28
+ function CheckoutModeEnumFromJSON(json) {
29
+ return CheckoutModeEnumFromJSONTyped(json);
30
+ }
31
+ function CheckoutModeEnumFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ function CheckoutModeEnumToJSON(value) {
35
+ return value;
36
+ }
37
+
38
+ exports.CheckoutModeEnumFromJSON = CheckoutModeEnumFromJSON;
39
+ exports.CheckoutModeEnumFromJSONTyped = CheckoutModeEnumFromJSONTyped;
40
+ exports.CheckoutModeEnumToJSON = CheckoutModeEnumToJSON;