@heliofi/common 0.2.256 → 0.2.258

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 (186) hide show
  1. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.d.ts +2 -0
  2. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js +2 -0
  3. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js.map +1 -1
  4. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js +2 -0
  5. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js.map +1 -1
  6. package/dist/src/domain/model/company/dtos/index.d.ts +11 -8
  7. package/dist/src/domain/model/company/dtos/index.js +11 -8
  8. package/dist/src/domain/model/company/dtos/index.js.map +1 -1
  9. package/dist/src/domain/model/company/dtos/updateIronApiKey.dto.d.ts +6 -0
  10. package/dist/src/domain/model/company/dtos/updateIronApiKey.dto.js +37 -0
  11. package/dist/src/domain/model/company/dtos/updateIronApiKey.dto.js.map +1 -0
  12. package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.d.ts +3 -0
  13. package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js +23 -0
  14. package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js.map +1 -0
  15. package/dist/src/domain/model/company/dtos/{UpdateMoonpayApiKey.dto.js → updateMoonpayApiKey.dto.js} +1 -1
  16. package/dist/src/domain/model/company/dtos/{UpdateMoonpayApiKey.dto.js.map → updateMoonpayApiKey.dto.js.map} +1 -1
  17. package/dist/src/domain/model/company/dtos/updateOneToOneSwapRoutes.dto.d.ts +3 -0
  18. package/dist/src/domain/model/company/dtos/updateOneToOneSwapRoutes.dto.js +21 -0
  19. package/dist/src/domain/model/company/dtos/updateOneToOneSwapRoutes.dto.js.map +1 -0
  20. package/dist/src/domain/model/company/dtos/{UpdateOnramperApiKey.dto.js → updateOnramperApiKey.dto.js} +1 -1
  21. package/dist/src/domain/model/company/dtos/{UpdateOnramperApiKey.dto.js.map → updateOnramperApiKey.dto.js.map} +1 -1
  22. package/dist/src/domain/model/company/entities/BaseCompany.entity.d.ts +1 -0
  23. package/dist/src/domain/model/company/entities/BaseCompany.entity.js.map +1 -1
  24. package/dist/src/domain/model/company/entities/CompanyWithFees.entity.d.ts +2 -0
  25. package/dist/src/domain/model/company/entities/CompanyWithFees.entity.js.map +1 -1
  26. package/dist/src/domain/model/company/entities/IronApiKeyConfig.entity.d.ts +6 -0
  27. package/dist/src/domain/model/company/entities/IronApiKeyConfig.entity.js +7 -0
  28. package/dist/src/domain/model/company/entities/IronApiKeyConfig.entity.js.map +1 -0
  29. package/dist/src/domain/model/company/entities/index.d.ts +1 -0
  30. package/dist/src/domain/model/company/entities/index.js +1 -0
  31. package/dist/src/domain/model/company/entities/index.js.map +1 -1
  32. package/dist/src/domain/model/decent-swap/index.d.ts +1 -0
  33. package/dist/src/domain/model/decent-swap/index.js +1 -0
  34. package/dist/src/domain/model/decent-swap/index.js.map +1 -1
  35. package/dist/src/domain/model/decent-swap/utils/index.d.ts +1 -0
  36. package/dist/src/domain/model/decent-swap/utils/index.js +18 -0
  37. package/dist/src/domain/model/decent-swap/utils/index.js.map +1 -0
  38. package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.d.ts +7 -0
  39. package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.js +134 -0
  40. package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.js.map +1 -0
  41. package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.spec.d.ts +1 -0
  42. package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.spec.js +251 -0
  43. package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.spec.js.map +1 -0
  44. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.d.ts +3 -0
  45. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.js +22 -0
  46. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.js.map +1 -0
  47. package/dist/src/domain/model/on-ramps/dtos/index.d.ts +2 -1
  48. package/dist/src/domain/model/on-ramps/dtos/index.js +2 -1
  49. package/dist/src/domain/model/on-ramps/dtos/index.js.map +1 -1
  50. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.d.ts +7 -0
  51. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.js +8 -0
  52. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.js.map +1 -0
  53. package/dist/src/domain/model/on-ramps/entities/index.d.ts +1 -0
  54. package/dist/src/domain/model/on-ramps/entities/index.js +1 -0
  55. package/dist/src/domain/model/on-ramps/entities/index.js.map +1 -1
  56. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.d.ts +1 -0
  57. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js +1 -0
  58. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js.map +1 -1
  59. package/dist/src/domain/model/withdraw/constants/{WithdrawFeature.d.ts → WithdrawalFeature.d.ts} +1 -1
  60. package/dist/src/domain/model/withdraw/constants/WithdrawalFeature.js +9 -0
  61. package/dist/src/domain/model/withdraw/constants/WithdrawalFeature.js.map +1 -0
  62. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.d.ts +3 -0
  63. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js +8 -0
  64. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js.map +1 -0
  65. package/dist/src/domain/model/withdraw/constants/{WithdrawState.d.ts → WithdrawalState.d.ts} +1 -1
  66. package/dist/src/domain/model/withdraw/constants/WithdrawalState.js +16 -0
  67. package/dist/src/domain/model/withdraw/constants/WithdrawalState.js.map +1 -0
  68. package/dist/src/domain/model/withdraw/constants/{WithdrawTransactionDirection.d.ts → WithdrawalTransactionDirection.d.ts} +1 -1
  69. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionDirection.js +10 -0
  70. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionDirection.js.map +1 -0
  71. package/dist/src/domain/model/withdraw/constants/{WithdrawTransactionStatus.d.ts → WithdrawalTransactionStatus.d.ts} +1 -1
  72. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionStatus.js +10 -0
  73. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionStatus.js.map +1 -0
  74. package/dist/src/domain/model/withdraw/constants/index.d.ts +5 -5
  75. package/dist/src/domain/model/withdraw/constants/index.js +5 -5
  76. package/dist/src/domain/model/withdraw/constants/index.js.map +1 -1
  77. package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.d.ts → baseWithdrawalConfig.dto.d.ts} +3 -3
  78. package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.js → baseWithdrawalConfig.dto.js} +9 -9
  79. package/dist/src/domain/model/withdraw/dtos/baseWithdrawalConfig.dto.js.map +1 -0
  80. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.d.ts +7 -0
  81. package/dist/src/domain/model/withdraw/dtos/{createWithdraw.dto.js → createWithdrawalConfig.dto.js} +10 -10
  82. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.js.map +1 -0
  83. package/dist/src/domain/model/withdraw/dtos/index.d.ts +13 -13
  84. package/dist/src/domain/model/withdraw/dtos/index.js +13 -13
  85. package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
  86. package/dist/src/domain/model/withdraw/dtos/preparedTransaction.dto.d.ts +2 -2
  87. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts +6 -0
  88. package/dist/src/domain/model/withdraw/dtos/{preparedWithdraw.dto.js → preparedWithdrawal.dto.js} +11 -20
  89. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js.map +1 -0
  90. package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawCall.dto.d.ts → preparedWithdrawalCall.dto.d.ts} +1 -1
  91. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.js +7 -0
  92. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.js.map +1 -0
  93. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalResponse.dto.d.ts +7 -0
  94. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalResponse.dto.js +7 -0
  95. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalResponse.dto.js.map +1 -0
  96. package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawSummary.dto.d.ts → preparedWithdrawalSummary.dto.d.ts} +1 -1
  97. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js +7 -0
  98. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js.map +1 -0
  99. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.d.ts +8 -0
  100. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.js +7 -0
  101. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.js.map +1 -0
  102. package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawTypedDataDomain.dto.d.ts → preparedWithdrawalTypedDataDomain.dto.d.ts} +1 -1
  103. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.js +7 -0
  104. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.js.map +1 -0
  105. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.d.ts +4 -0
  106. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.js +7 -0
  107. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.js.map +1 -0
  108. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.d.ts +5 -0
  109. package/dist/src/domain/model/withdraw/dtos/{submitWithdraw.dto.js → submitWithdrawal.dto.js} +9 -9
  110. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.js.map +1 -0
  111. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalResponse.dto.d.ts +8 -0
  112. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalResponse.dto.js +7 -0
  113. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalResponse.dto.js.map +1 -0
  114. package/dist/src/domain/model/withdraw/dtos/{submitWithdrawSignedTx.dto.d.ts → submitWithdrawalSignedTx.dto.d.ts} +1 -1
  115. package/dist/src/domain/model/withdraw/dtos/{submitWithdrawSignedTx.dto.js → submitWithdrawalSignedTx.dto.js} +6 -6
  116. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalSignedTx.dto.js.map +1 -0
  117. package/dist/src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.d.ts +5 -0
  118. package/dist/src/domain/model/withdraw/dtos/{updateWithdraw.dto.js → updateWithdrawalConfig.dto.js} +7 -7
  119. package/dist/src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.js.map +1 -0
  120. package/dist/src/domain/model/withdraw/entities/{Withdraw.entity.d.ts → WithdrawalConfig.entity.d.ts} +3 -3
  121. package/dist/src/domain/model/withdraw/entities/WithdrawalConfig.entity.js +8 -0
  122. package/dist/src/domain/model/withdraw/entities/WithdrawalConfig.entity.js.map +1 -0
  123. package/dist/src/domain/model/withdraw/entities/{WithdrawCostBreakdown.entity.d.ts → WithdrawalCostBreakdown.entity.d.ts} +1 -1
  124. package/dist/src/domain/model/withdraw/entities/WithdrawalCostBreakdown.entity.js +7 -0
  125. package/dist/src/domain/model/withdraw/entities/WithdrawalCostBreakdown.entity.js.map +1 -0
  126. package/dist/src/domain/model/withdraw/entities/{WithdrawCustomerSwapRoute.entity.d.ts → WithdrawalCustomerSwapRoute.entity.d.ts} +1 -1
  127. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoute.entity.js +7 -0
  128. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoute.entity.js.map +1 -0
  129. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.d.ts +4 -0
  130. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js +7 -0
  131. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js.map +1 -0
  132. package/dist/src/domain/model/withdraw/entities/index.d.ts +4 -4
  133. package/dist/src/domain/model/withdraw/entities/index.js +4 -4
  134. package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
  135. package/dist/tsconfig.tsbuildinfo +1 -1
  136. package/package.json +2 -2
  137. package/dist/src/domain/model/withdraw/constants/WithdrawFeature.js +0 -9
  138. package/dist/src/domain/model/withdraw/constants/WithdrawFeature.js.map +0 -1
  139. package/dist/src/domain/model/withdraw/constants/WithdrawKind.d.ts +0 -3
  140. package/dist/src/domain/model/withdraw/constants/WithdrawKind.js +0 -8
  141. package/dist/src/domain/model/withdraw/constants/WithdrawKind.js.map +0 -1
  142. package/dist/src/domain/model/withdraw/constants/WithdrawState.js +0 -16
  143. package/dist/src/domain/model/withdraw/constants/WithdrawState.js.map +0 -1
  144. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js +0 -10
  145. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js.map +0 -1
  146. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js +0 -10
  147. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js.map +0 -1
  148. package/dist/src/domain/model/withdraw/dtos/baseWithdraw.dto.js.map +0 -1
  149. package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.d.ts +0 -7
  150. package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js.map +0 -1
  151. package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.d.ts +0 -8
  152. package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.js.map +0 -1
  153. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js +0 -7
  154. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js.map +0 -1
  155. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.d.ts +0 -7
  156. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js +0 -7
  157. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js.map +0 -1
  158. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js +0 -7
  159. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js.map +0 -1
  160. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.d.ts +0 -8
  161. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js +0 -7
  162. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js.map +0 -1
  163. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js +0 -7
  164. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js.map +0 -1
  165. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.d.ts +0 -4
  166. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js +0 -7
  167. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js.map +0 -1
  168. package/dist/src/domain/model/withdraw/dtos/submitWithdraw.dto.d.ts +0 -5
  169. package/dist/src/domain/model/withdraw/dtos/submitWithdraw.dto.js.map +0 -1
  170. package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.d.ts +0 -8
  171. package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.js +0 -7
  172. package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.js.map +0 -1
  173. package/dist/src/domain/model/withdraw/dtos/submitWithdrawSignedTx.dto.js.map +0 -1
  174. package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.d.ts +0 -5
  175. package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.js.map +0 -1
  176. package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js +0 -8
  177. package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js.map +0 -1
  178. package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js +0 -7
  179. package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js.map +0 -1
  180. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js +0 -7
  181. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js.map +0 -1
  182. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.d.ts +0 -4
  183. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js +0 -7
  184. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js.map +0 -1
  185. /package/dist/src/domain/model/company/dtos/{UpdateMoonpayApiKey.dto.d.ts → updateMoonpayApiKey.dto.d.ts} +0 -0
  186. /package/dist/src/domain/model/company/dtos/{UpdateOnramperApiKey.dto.d.ts → updateOnramperApiKey.dto.d.ts} +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heliofi/common",
3
3
  "private": false,
4
- "version": "0.2.256",
4
+ "version": "0.2.258",
5
5
  "description": "Common package",
6
6
  "main": "dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "typescript": "5.*"
34
34
  },
35
- "gitHead": "4ff69de76dacad46c2331f4d6d8ef7f28d2900bc"
35
+ "gitHead": "e1d0f444b9923327545a66d18e91eeff8fa56d3a"
36
36
  }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawFeature = void 0;
4
- var WithdrawFeature;
5
- (function (WithdrawFeature) {
6
- WithdrawFeature["IRON"] = "iron";
7
- WithdrawFeature["MP_SELL"] = "mp_sell";
8
- })(WithdrawFeature || (exports.WithdrawFeature = WithdrawFeature = {}));
9
- //# sourceMappingURL=WithdrawFeature.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawFeature.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
@@ -1,3 +0,0 @@
1
- export declare enum WithdrawKind {
2
- POLYMARKET = "polymarket"
3
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawKind = void 0;
4
- var WithdrawKind;
5
- (function (WithdrawKind) {
6
- WithdrawKind["POLYMARKET"] = "polymarket";
7
- })(WithdrawKind || (exports.WithdrawKind = WithdrawKind = {}));
8
- //# sourceMappingURL=WithdrawKind.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawKind.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawKind.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,yCAAyB,CAAA;AAC3B,CAAC,EAFW,YAAY,4BAAZ,YAAY,QAEvB"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawState = void 0;
4
- var WithdrawState;
5
- (function (WithdrawState) {
6
- WithdrawState["QUOTED"] = "QUOTED";
7
- WithdrawState["SUBMITTING"] = "SUBMITTING";
8
- WithdrawState["SUBMITTED"] = "SUBMITTED";
9
- WithdrawState["BRIDGING"] = "BRIDGING";
10
- WithdrawState["COMPLETED"] = "COMPLETED";
11
- WithdrawState["FAILED"] = "FAILED";
12
- WithdrawState["FAILED_EXPIRED"] = "FAILED_EXPIRED";
13
- WithdrawState["EXPIRED"] = "EXPIRED";
14
- WithdrawState["REFUNDED_BY_PROVIDER"] = "REFUNDED_BY_PROVIDER";
15
- })(WithdrawState || (exports.WithdrawState = WithdrawState = {}));
16
- //# sourceMappingURL=WithdrawState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawState.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawState.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IAIjB,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,kDAAiC,CAAA;IACjC,oCAAmB,CAAA;IACnB,8DAA6C,CAAA;AAC/C,CAAC,EAbW,aAAa,6BAAb,aAAa,QAaxB"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawTransactionDirection = void 0;
4
- var WithdrawTransactionDirection;
5
- (function (WithdrawTransactionDirection) {
6
- WithdrawTransactionDirection["SUBMIT"] = "submit";
7
- WithdrawTransactionDirection["BRIDGE"] = "bridge";
8
- WithdrawTransactionDirection["DESTINATION"] = "destination";
9
- })(WithdrawTransactionDirection || (exports.WithdrawTransactionDirection = WithdrawTransactionDirection = {}));
10
- //# sourceMappingURL=WithdrawTransactionDirection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawTransactionDirection.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawTransactionDirection.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACtC,iDAAiB,CAAA;IACjB,iDAAiB,CAAA;IACjB,2DAA2B,CAAA;AAC7B,CAAC,EAJW,4BAA4B,4CAA5B,4BAA4B,QAIvC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawTransactionStatus = void 0;
4
- var WithdrawTransactionStatus;
5
- (function (WithdrawTransactionStatus) {
6
- WithdrawTransactionStatus["PENDING"] = "pending";
7
- WithdrawTransactionStatus["CONFIRMED"] = "confirmed";
8
- WithdrawTransactionStatus["FAILED"] = "failed";
9
- })(WithdrawTransactionStatus || (exports.WithdrawTransactionStatus = WithdrawTransactionStatus = {}));
10
- //# sourceMappingURL=WithdrawTransactionStatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawTransactionStatus.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawTransactionStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,gDAAmB,CAAA;IACnB,oDAAuB,CAAA;IACvB,8CAAiB,CAAA;AACnB,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/baseWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,kFAA+E;AAC/E,kEAA+D;AAE/D,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAXC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACM;AAKnB;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,mCAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,4BAAU,GAAE;;kEACkC;AAK/C;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,iCAAe,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,4BAAU,GAAE;;wDACuB"}
@@ -1,7 +0,0 @@
1
- import { WithdrawKind } from '../constants/WithdrawKind';
2
- import { BaseWithdrawDto } from './baseWithdraw.dto';
3
- export declare class CreateWithdrawDto extends BaseWithdrawDto {
4
- kind: WithdrawKind;
5
- name: string;
6
- currencyIds: string[];
7
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"createWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/createWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,4DAAyD;AACzD,yDAAqD;AAErD,MAAa,iBAAkB,SAAQ,kCAAe;CAarD;AAbD,8CAaC;AAXC;IADC,IAAA,wBAAM,EAAC,2BAAY,CAAC;;+CACF;AAKnB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACF;AAKb;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;;sDACM"}
@@ -1,8 +0,0 @@
1
- export declare class PreparedWithdrawDto {
2
- eoa: string;
3
- depositWallet: string;
4
- recipient: string;
5
- amount: string;
6
- dstChainId: number;
7
- dstToken: string;
8
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AAEzB,MAAa,mBAAmB;CA+B/B;AA/BD,kDA+BC;AA3BC;IADC,IAAA,mCAAiB,GAAE;;gDACR;AAKZ;IADC,IAAA,mCAAiB,GAAE;;0DACE;AAOtB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACK;AAKlB;IADC,IAAA,yBAAO,EAAC,OAAO,CAAC;;mDACF;AAIf;IAFC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;uDACM;AAKnB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACI"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedWithdrawCallDto = void 0;
4
- class PreparedWithdrawCallDto {
5
- }
6
- exports.PreparedWithdrawCallDto = PreparedWithdrawCallDto;
7
- //# sourceMappingURL=preparedWithdrawCall.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdrawCall.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,uBAAuB;CAMnC;AAND,0DAMC"}
@@ -1,7 +0,0 @@
1
- import { PreparedTransaction } from './preparedTransaction.dto';
2
- import { PreparedWithdrawSummaryDto } from './preparedWithdrawSummary.dto';
3
- export declare class PreparedWithdrawResponseDto {
4
- token: string;
5
- prepared: PreparedTransaction;
6
- summary: PreparedWithdrawSummaryDto;
7
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedWithdrawResponseDto = void 0;
4
- class PreparedWithdrawResponseDto {
5
- }
6
- exports.PreparedWithdrawResponseDto = PreparedWithdrawResponseDto;
7
- //# sourceMappingURL=preparedWithdrawResponse.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdrawResponse.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,2BAA2B;CAMvC;AAND,kEAMC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedWithdrawSummaryDto = void 0;
4
- class PreparedWithdrawSummaryDto {
5
- }
6
- exports.PreparedWithdrawSummaryDto = PreparedWithdrawSummaryDto;
7
- //# sourceMappingURL=preparedWithdrawSummary.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdrawSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,0BAA0B;CAYtC;AAZD,gEAYC"}
@@ -1,8 +0,0 @@
1
- import { PreparedWithdrawTypedDataDomainDto } from './preparedWithdrawTypedDataDomain.dto';
2
- import { PreparedWithdrawTypedDataFieldDto } from './preparedWithdrawTypedDataField.dto';
3
- export declare class PreparedWithdrawTypedDataDto {
4
- domain: PreparedWithdrawTypedDataDomainDto;
5
- types: Record<string, PreparedWithdrawTypedDataFieldDto[]>;
6
- primaryType: string;
7
- message: Record<string, unknown>;
8
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedWithdrawTypedDataDto = void 0;
4
- class PreparedWithdrawTypedDataDto {
5
- }
6
- exports.PreparedWithdrawTypedDataDto = PreparedWithdrawTypedDataDto;
7
- //# sourceMappingURL=preparedWithdrawTypedData.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdrawTypedData.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,4BAA4B;CAQxC;AARD,oEAQC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedWithdrawTypedDataDomainDto = void 0;
4
- class PreparedWithdrawTypedDataDomainDto {
5
- }
6
- exports.PreparedWithdrawTypedDataDomainDto = PreparedWithdrawTypedDataDomainDto;
7
- //# sourceMappingURL=preparedWithdrawTypedDataDomain.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdrawTypedDataDomain.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,kCAAkC;CAQ9C;AARD,gFAQC"}
@@ -1,4 +0,0 @@
1
- export declare class PreparedWithdrawTypedDataFieldDto {
2
- name: string;
3
- type: string;
4
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreparedWithdrawTypedDataFieldDto = void 0;
4
- class PreparedWithdrawTypedDataFieldDto {
5
- }
6
- exports.PreparedWithdrawTypedDataFieldDto = PreparedWithdrawTypedDataFieldDto;
7
- //# sourceMappingURL=preparedWithdrawTypedDataField.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preparedWithdrawTypedDataField.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,iCAAiC;CAI7C;AAJD,8EAIC"}
@@ -1,5 +0,0 @@
1
- import { SubmitWithdrawSignedTxDto } from './submitWithdrawSignedTx.dto';
2
- export declare class SubmitWithdrawDto {
3
- token: string;
4
- signedTx: SubmitWithdrawSignedTxDto;
5
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"submitWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/submitWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAwD;AACxD,6EAAyE;AAEzE,MAAa,iBAAiB;CAY7B;AAZD,8CAYC;AALC;IADC,IAAA,uBAAK,GAAE;;gDACM;AAId;IAFC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAyB,CAAC;8BAC5B,sDAAyB;mDAAC"}
@@ -1,8 +0,0 @@
1
- import { BroadcastAck } from '../constants/BroadcastAck';
2
- import { WithdrawState } from '../constants/WithdrawState';
3
- export declare class SubmitWithdrawResponseDto {
4
- withdrawId: string;
5
- txHash: string | null;
6
- state: WithdrawState;
7
- broadcastAck: BroadcastAck | null;
8
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubmitWithdrawResponseDto = void 0;
4
- class SubmitWithdrawResponseDto {
5
- }
6
- exports.SubmitWithdrawResponseDto = SubmitWithdrawResponseDto;
7
- //# sourceMappingURL=submitWithdrawResponse.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"submitWithdrawResponse.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,yBAAyB;CAsBrC;AAtBD,8DAsBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"submitWithdrawSignedTx.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/submitWithdrawSignedTx.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,2FAAwF;AAWxF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAZC;IADC,IAAA,wBAAM,EAAC,6CAAqB,CAAC;;uDACF;AAW5B;IALC,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,sBAAsB,EAAE;QAC/B,OAAO,EACL,4EAA4E;KAC/E,CAAC;;4DACgB"}
@@ -1,5 +0,0 @@
1
- import { BaseWithdrawDto } from './baseWithdraw.dto';
2
- export declare class UpdateWithdrawDto extends BaseWithdrawDto {
3
- name?: string;
4
- currencyIds?: string[];
5
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/updateWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAqD;AAErD,MAAa,iBAAkB,SAAQ,kCAAe;CAYrD;AAZD,8CAYC;AAPC;IAJC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACD;AAMd;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,4BAAU,GAAE;;sDACU"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawEntity = void 0;
4
- const entity_1 = require("../../entity");
5
- class WithdrawEntity extends entity_1.Entity {
6
- }
7
- exports.WithdrawEntity = WithdrawEntity;
8
- //# sourceMappingURL=Withdraw.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Withdraw.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/Withdraw.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,cAAe,SAAQ,eAAM;CAgBzC;AAhBD,wCAgBC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawCostBreakdown = void 0;
4
- class WithdrawCostBreakdown {
5
- }
6
- exports.WithdrawCostBreakdown = WithdrawCostBreakdown;
7
- //# sourceMappingURL=WithdrawCostBreakdown.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawCostBreakdown.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;CAcjC;AAdD,sDAcC"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawCustomerSwapRoute = void 0;
4
- class WithdrawCustomerSwapRoute {
5
- }
6
- exports.WithdrawCustomerSwapRoute = WithdrawCustomerSwapRoute;
7
- //# sourceMappingURL=WithdrawCustomerSwapRoute.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawCustomerSwapRoute.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.ts"],"names":[],"mappings":";;;AAYA,MAAa,yBAAyB;CAQrC;AARD,8DAQC"}
@@ -1,4 +0,0 @@
1
- import { WithdrawCustomerSwapRoute } from './WithdrawCustomerSwapRoute.entity';
2
- export declare class WithdrawCustomerSwapRoutesResponse {
3
- routes: WithdrawCustomerSwapRoute[];
4
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WithdrawCustomerSwapRoutesResponse = void 0;
4
- class WithdrawCustomerSwapRoutesResponse {
5
- }
6
- exports.WithdrawCustomerSwapRoutesResponse = WithdrawCustomerSwapRoutesResponse;
7
- //# sourceMappingURL=WithdrawCustomerSwapRoutesResponse.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WithdrawCustomerSwapRoutesResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.ts"],"names":[],"mappings":";;;AAMA,MAAa,kCAAkC;CAE9C;AAFD,gFAEC"}