@heliofi/common 0.2.257 → 0.2.259

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 (193) hide show
  1. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.d.ts +1 -0
  2. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js +1 -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 +1 -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 +1 -0
  7. package/dist/src/domain/model/company/dtos/index.js +1 -0
  8. package/dist/src/domain/model/company/dtos/index.js.map +1 -1
  9. package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.d.ts +6 -0
  10. package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js +29 -0
  11. package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js.map +1 -0
  12. package/dist/src/domain/model/company/entities/CompanyWithFees.entity.d.ts +2 -0
  13. package/dist/src/domain/model/company/entities/CompanyWithFees.entity.js.map +1 -1
  14. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformQuote.dto.d.ts +4 -1
  15. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformQuote.dto.js +11 -0
  16. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformQuote.dto.js.map +1 -1
  17. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.d.ts +3 -0
  18. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.js +22 -0
  19. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.js.map +1 -0
  20. package/dist/src/domain/model/on-ramps/dtos/index.d.ts +2 -1
  21. package/dist/src/domain/model/on-ramps/dtos/index.js +2 -1
  22. package/dist/src/domain/model/on-ramps/dtos/index.js.map +1 -1
  23. package/dist/src/domain/model/on-ramps/entities/MoonPayPaymentMethodType.d.ts +16 -0
  24. package/dist/src/domain/model/on-ramps/entities/MoonPayPaymentMethodType.js +21 -0
  25. package/dist/src/domain/model/on-ramps/entities/MoonPayPaymentMethodType.js.map +1 -0
  26. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.d.ts +7 -0
  27. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.js +8 -0
  28. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.js.map +1 -0
  29. package/dist/src/domain/model/on-ramps/entities/index.d.ts +2 -0
  30. package/dist/src/domain/model/on-ramps/entities/index.js +2 -0
  31. package/dist/src/domain/model/on-ramps/entities/index.js.map +1 -1
  32. package/dist/src/domain/model/webhook/index.d.ts +1 -0
  33. package/dist/src/domain/model/webhook/index.js +1 -0
  34. package/dist/src/domain/model/webhook/index.js.map +1 -1
  35. package/dist/src/domain/model/webhook/withdrawal/index.d.ts +2 -0
  36. package/dist/src/domain/model/webhook/withdrawal/index.js +19 -0
  37. package/dist/src/domain/model/webhook/withdrawal/index.js.map +1 -0
  38. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.d.ts +1 -0
  39. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.js +3 -0
  40. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.js.map +1 -0
  41. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.d.ts +1 -0
  42. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.js +18 -0
  43. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.js.map +1 -0
  44. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvent.entity.d.ts +6 -0
  45. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvent.entity.js +11 -0
  46. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvent.entity.js.map +1 -0
  47. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventStatus.entity.d.ts +5 -0
  48. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventStatus.entity.js +10 -0
  49. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventStatus.entity.js.map +1 -0
  50. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.d.ts +2 -0
  51. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.js +19 -0
  52. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.js.map +1 -0
  53. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.d.ts +1 -0
  54. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.js +18 -0
  55. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.js.map +1 -0
  56. package/dist/src/domain/model/withdraw/constants/{WithdrawFeature.d.ts → WithdrawalFeature.d.ts} +1 -1
  57. package/dist/src/domain/model/withdraw/constants/WithdrawalFeature.js +9 -0
  58. package/dist/src/domain/model/withdraw/constants/WithdrawalFeature.js.map +1 -0
  59. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.d.ts +3 -0
  60. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js +8 -0
  61. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js.map +1 -0
  62. package/dist/src/domain/model/withdraw/constants/{WithdrawState.d.ts → WithdrawalState.d.ts} +1 -1
  63. package/dist/src/domain/model/withdraw/constants/WithdrawalState.js +16 -0
  64. package/dist/src/domain/model/withdraw/constants/WithdrawalState.js.map +1 -0
  65. package/dist/src/domain/model/withdraw/constants/{WithdrawTransactionDirection.d.ts → WithdrawalTransactionDirection.d.ts} +1 -1
  66. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionDirection.js +10 -0
  67. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionDirection.js.map +1 -0
  68. package/dist/src/domain/model/withdraw/constants/{WithdrawTransactionStatus.d.ts → WithdrawalTransactionStatus.d.ts} +1 -1
  69. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionStatus.js +10 -0
  70. package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionStatus.js.map +1 -0
  71. package/dist/src/domain/model/withdraw/constants/index.d.ts +5 -5
  72. package/dist/src/domain/model/withdraw/constants/index.js +5 -5
  73. package/dist/src/domain/model/withdraw/constants/index.js.map +1 -1
  74. package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.d.ts → baseWithdrawalConfig.dto.d.ts} +3 -3
  75. package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.js → baseWithdrawalConfig.dto.js} +9 -9
  76. package/dist/src/domain/model/withdraw/dtos/baseWithdrawalConfig.dto.js.map +1 -0
  77. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.d.ts +7 -0
  78. package/dist/src/domain/model/withdraw/dtos/{createWithdraw.dto.js → createWithdrawalConfig.dto.js} +10 -10
  79. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.js.map +1 -0
  80. package/dist/src/domain/model/withdraw/dtos/index.d.ts +11 -13
  81. package/dist/src/domain/model/withdraw/dtos/index.js +11 -13
  82. package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
  83. package/dist/src/domain/model/withdraw/dtos/preparedTransaction.dto.d.ts +2 -2
  84. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts +6 -0
  85. package/dist/src/domain/model/withdraw/dtos/{preparedWithdraw.dto.js → preparedWithdrawal.dto.js} +11 -20
  86. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js.map +1 -0
  87. package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawCall.dto.d.ts → preparedWithdrawalCall.dto.d.ts} +1 -1
  88. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.js +7 -0
  89. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.js.map +1 -0
  90. package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawSummary.dto.d.ts → preparedWithdrawalSummary.dto.d.ts} +1 -1
  91. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js +7 -0
  92. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js.map +1 -0
  93. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.d.ts +8 -0
  94. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.js +7 -0
  95. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.js.map +1 -0
  96. package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawTypedDataDomain.dto.d.ts → preparedWithdrawalTypedDataDomain.dto.d.ts} +1 -1
  97. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.js +7 -0
  98. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.js.map +1 -0
  99. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.d.ts +4 -0
  100. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.js +7 -0
  101. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.js.map +1 -0
  102. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.d.ts +5 -0
  103. package/dist/src/domain/model/withdraw/dtos/{submitWithdraw.dto.js → submitWithdrawal.dto.js} +9 -9
  104. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.js.map +1 -0
  105. package/dist/src/domain/model/withdraw/dtos/{submitWithdrawSignedTx.dto.d.ts → submitWithdrawalSignedTx.dto.d.ts} +1 -1
  106. package/dist/src/domain/model/withdraw/dtos/{submitWithdrawSignedTx.dto.js → submitWithdrawalSignedTx.dto.js} +6 -6
  107. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalSignedTx.dto.js.map +1 -0
  108. package/dist/src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.d.ts +5 -0
  109. package/dist/src/domain/model/withdraw/dtos/{updateWithdraw.dto.js → updateWithdrawalConfig.dto.js} +7 -7
  110. package/dist/src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.js.map +1 -0
  111. package/dist/src/domain/model/withdraw/entities/PreparedWithdrawal.entity.d.ts +9 -0
  112. package/dist/src/domain/model/withdraw/entities/PreparedWithdrawal.entity.js +8 -0
  113. package/dist/src/domain/model/withdraw/entities/PreparedWithdrawal.entity.js.map +1 -0
  114. package/dist/src/domain/model/withdraw/entities/SubmitWithdrawal.entity.d.ts +9 -0
  115. package/dist/src/domain/model/withdraw/entities/SubmitWithdrawal.entity.js +8 -0
  116. package/dist/src/domain/model/withdraw/entities/SubmitWithdrawal.entity.js.map +1 -0
  117. package/dist/src/domain/model/withdraw/entities/WithdrawalBalancesResponse.entity.d.ts +4 -0
  118. package/dist/src/domain/model/withdraw/entities/WithdrawalBalancesResponse.entity.js +7 -0
  119. package/dist/src/domain/model/withdraw/entities/WithdrawalBalancesResponse.entity.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 +7 -4
  133. package/dist/src/domain/model/withdraw/entities/index.js +7 -4
  134. package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
  135. package/dist/src/domain/model/withdraw/index.d.ts +1 -0
  136. package/dist/src/domain/model/withdraw/index.js +1 -0
  137. package/dist/src/domain/model/withdraw/index.js.map +1 -1
  138. package/dist/src/domain/model/withdraw/query/getWithdrawalBalances.dto.d.ts +3 -0
  139. package/dist/src/domain/model/withdraw/query/getWithdrawalBalances.dto.js +22 -0
  140. package/dist/src/domain/model/withdraw/query/getWithdrawalBalances.dto.js.map +1 -0
  141. package/dist/src/domain/model/withdraw/query/index.d.ts +1 -0
  142. package/dist/src/domain/model/withdraw/query/index.js +18 -0
  143. package/dist/src/domain/model/withdraw/query/index.js.map +1 -0
  144. package/dist/tsconfig.tsbuildinfo +1 -1
  145. package/package.json +2 -2
  146. package/dist/src/domain/model/withdraw/constants/WithdrawFeature.js +0 -9
  147. package/dist/src/domain/model/withdraw/constants/WithdrawFeature.js.map +0 -1
  148. package/dist/src/domain/model/withdraw/constants/WithdrawKind.d.ts +0 -3
  149. package/dist/src/domain/model/withdraw/constants/WithdrawKind.js +0 -8
  150. package/dist/src/domain/model/withdraw/constants/WithdrawKind.js.map +0 -1
  151. package/dist/src/domain/model/withdraw/constants/WithdrawState.js +0 -16
  152. package/dist/src/domain/model/withdraw/constants/WithdrawState.js.map +0 -1
  153. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js +0 -10
  154. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js.map +0 -1
  155. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js +0 -10
  156. package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js.map +0 -1
  157. package/dist/src/domain/model/withdraw/dtos/baseWithdraw.dto.js.map +0 -1
  158. package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.d.ts +0 -7
  159. package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js.map +0 -1
  160. package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.d.ts +0 -8
  161. package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.js.map +0 -1
  162. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js +0 -7
  163. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js.map +0 -1
  164. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.d.ts +0 -7
  165. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js +0 -7
  166. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js.map +0 -1
  167. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js +0 -7
  168. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js.map +0 -1
  169. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.d.ts +0 -8
  170. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js +0 -7
  171. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js.map +0 -1
  172. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js +0 -7
  173. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js.map +0 -1
  174. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.d.ts +0 -4
  175. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js +0 -7
  176. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js.map +0 -1
  177. package/dist/src/domain/model/withdraw/dtos/submitWithdraw.dto.d.ts +0 -5
  178. package/dist/src/domain/model/withdraw/dtos/submitWithdraw.dto.js.map +0 -1
  179. package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.d.ts +0 -8
  180. package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.js +0 -7
  181. package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.js.map +0 -1
  182. package/dist/src/domain/model/withdraw/dtos/submitWithdrawSignedTx.dto.js.map +0 -1
  183. package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.d.ts +0 -5
  184. package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.js.map +0 -1
  185. package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js +0 -8
  186. package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js.map +0 -1
  187. package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js +0 -7
  188. package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js.map +0 -1
  189. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js +0 -7
  190. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js.map +0 -1
  191. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.d.ts +0 -4
  192. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js +0 -7
  193. package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export declare enum WithdrawTransactionDirection {
1
+ export declare enum WithdrawalTransactionDirection {
2
2
  SUBMIT = "submit",
3
3
  BRIDGE = "bridge",
4
4
  DESTINATION = "destination"
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalTransactionDirection = void 0;
4
+ var WithdrawalTransactionDirection;
5
+ (function (WithdrawalTransactionDirection) {
6
+ WithdrawalTransactionDirection["SUBMIT"] = "submit";
7
+ WithdrawalTransactionDirection["BRIDGE"] = "bridge";
8
+ WithdrawalTransactionDirection["DESTINATION"] = "destination";
9
+ })(WithdrawalTransactionDirection || (exports.WithdrawalTransactionDirection = WithdrawalTransactionDirection = {}));
10
+ //# sourceMappingURL=WithdrawalTransactionDirection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalTransactionDirection.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawalTransactionDirection.ts"],"names":[],"mappings":";;;AAAA,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;IACjB,mDAAiB,CAAA;IACjB,6DAA2B,CAAA;AAC7B,CAAC,EAJW,8BAA8B,8CAA9B,8BAA8B,QAIzC"}
@@ -1,4 +1,4 @@
1
- export declare enum WithdrawTransactionStatus {
1
+ export declare enum WithdrawalTransactionStatus {
2
2
  PENDING = "pending",
3
3
  CONFIRMED = "confirmed",
4
4
  FAILED = "failed"
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalTransactionStatus = void 0;
4
+ var WithdrawalTransactionStatus;
5
+ (function (WithdrawalTransactionStatus) {
6
+ WithdrawalTransactionStatus["PENDING"] = "pending";
7
+ WithdrawalTransactionStatus["CONFIRMED"] = "confirmed";
8
+ WithdrawalTransactionStatus["FAILED"] = "failed";
9
+ })(WithdrawalTransactionStatus || (exports.WithdrawalTransactionStatus = WithdrawalTransactionStatus = {}));
10
+ //# sourceMappingURL=WithdrawalTransactionStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalTransactionStatus.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawalTransactionStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACrC,kDAAmB,CAAA;IACnB,sDAAuB,CAAA;IACvB,gDAAiB,CAAA;AACnB,CAAC,EAJW,2BAA2B,2CAA3B,2BAA2B,QAItC"}
@@ -1,8 +1,8 @@
1
1
  export * from './BroadcastAck';
2
2
  export * from './SmartWalletKind';
3
3
  export * from './SourceWalletKind';
4
- export * from './WithdrawFeature';
5
- export * from './WithdrawState';
6
- export * from './WithdrawTransactionDirection';
7
- export * from './WithdrawTransactionStatus';
8
- export * from './WithdrawKind';
4
+ export * from './WithdrawalFeature';
5
+ export * from './WithdrawalState';
6
+ export * from './WithdrawalTransactionDirection';
7
+ export * from './WithdrawalTransactionStatus';
8
+ export * from './WithdrawalKind';
@@ -17,9 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BroadcastAck"), exports);
18
18
  __exportStar(require("./SmartWalletKind"), exports);
19
19
  __exportStar(require("./SourceWalletKind"), exports);
20
- __exportStar(require("./WithdrawFeature"), exports);
21
- __exportStar(require("./WithdrawState"), exports);
22
- __exportStar(require("./WithdrawTransactionDirection"), exports);
23
- __exportStar(require("./WithdrawTransactionStatus"), exports);
24
- __exportStar(require("./WithdrawKind"), exports);
20
+ __exportStar(require("./WithdrawalFeature"), exports);
21
+ __exportStar(require("./WithdrawalState"), exports);
22
+ __exportStar(require("./WithdrawalTransactionDirection"), exports);
23
+ __exportStar(require("./WithdrawalTransactionStatus"), exports);
24
+ __exportStar(require("./WithdrawalKind"), exports);
25
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,kDAAgC;AAChC,iEAA+C;AAC/C,8DAA4C;AAC5C,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,oDAAkC;AAClC,mEAAiD;AACjD,gEAA8C;AAC9C,mDAAiC"}
@@ -1,7 +1,7 @@
1
1
  import { BlockchainSymbol } from '../../blockchain/constants/BlockchainSymbol';
2
- import { WithdrawFeature } from '../constants/WithdrawFeature';
3
- export declare class BaseWithdrawDto {
2
+ import { WithdrawalFeature } from '../constants/WithdrawalFeature';
3
+ export declare class BaseWithdrawalConfigDto {
4
4
  disabled?: boolean;
5
5
  disabledBlockchainSymbols?: BlockchainSymbol[];
6
- enabledFeatures?: WithdrawFeature[];
6
+ enabledFeatures?: WithdrawalFeature[];
7
7
  }
@@ -9,28 +9,28 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.BaseWithdrawDto = void 0;
12
+ exports.BaseWithdrawalConfigDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const BlockchainSymbol_1 = require("../../blockchain/constants/BlockchainSymbol");
15
- const WithdrawFeature_1 = require("../constants/WithdrawFeature");
16
- class BaseWithdrawDto {
15
+ const WithdrawalFeature_1 = require("../constants/WithdrawalFeature");
16
+ class BaseWithdrawalConfigDto {
17
17
  }
18
- exports.BaseWithdrawDto = BaseWithdrawDto;
18
+ exports.BaseWithdrawalConfigDto = BaseWithdrawalConfigDto;
19
19
  __decorate([
20
20
  (0, class_validator_1.IsBoolean)(),
21
21
  (0, class_validator_1.IsOptional)(),
22
22
  __metadata("design:type", Boolean)
23
- ], BaseWithdrawDto.prototype, "disabled", void 0);
23
+ ], BaseWithdrawalConfigDto.prototype, "disabled", void 0);
24
24
  __decorate([
25
25
  (0, class_validator_1.IsArray)(),
26
26
  (0, class_validator_1.IsEnum)(BlockchainSymbol_1.BlockchainSymbol, { each: true }),
27
27
  (0, class_validator_1.IsOptional)(),
28
28
  __metadata("design:type", Array)
29
- ], BaseWithdrawDto.prototype, "disabledBlockchainSymbols", void 0);
29
+ ], BaseWithdrawalConfigDto.prototype, "disabledBlockchainSymbols", void 0);
30
30
  __decorate([
31
31
  (0, class_validator_1.IsArray)(),
32
- (0, class_validator_1.IsEnum)(WithdrawFeature_1.WithdrawFeature, { each: true }),
32
+ (0, class_validator_1.IsEnum)(WithdrawalFeature_1.WithdrawalFeature, { each: true }),
33
33
  (0, class_validator_1.IsOptional)(),
34
34
  __metadata("design:type", Array)
35
- ], BaseWithdrawDto.prototype, "enabledFeatures", void 0);
36
- //# sourceMappingURL=baseWithdraw.dto.js.map
35
+ ], BaseWithdrawalConfigDto.prototype, "enabledFeatures", void 0);
36
+ //# sourceMappingURL=baseWithdrawalConfig.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseWithdrawalConfig.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/baseWithdrawalConfig.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,kFAA+E;AAC/E,sEAAmE;AAEnE,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAXC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACM;AAKnB;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,mCAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,4BAAU,GAAE;;0EACkC;AAK/C;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,qCAAiB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,4BAAU,GAAE;;gEACyB"}
@@ -0,0 +1,7 @@
1
+ import { WithdrawalKind } from '../constants/WithdrawalKind';
2
+ import { BaseWithdrawalConfigDto } from './baseWithdrawalConfig.dto';
3
+ export declare class CreateWithdrawalConfigDto extends BaseWithdrawalConfigDto {
4
+ kind: WithdrawalKind;
5
+ name: string;
6
+ currencyIds: string[];
7
+ }
@@ -9,27 +9,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateWithdrawDto = void 0;
12
+ exports.CreateWithdrawalConfigDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const WithdrawKind_1 = require("../constants/WithdrawKind");
15
- const baseWithdraw_dto_1 = require("./baseWithdraw.dto");
16
- class CreateWithdrawDto extends baseWithdraw_dto_1.BaseWithdrawDto {
14
+ const WithdrawalKind_1 = require("../constants/WithdrawalKind");
15
+ const baseWithdrawalConfig_dto_1 = require("./baseWithdrawalConfig.dto");
16
+ class CreateWithdrawalConfigDto extends baseWithdrawalConfig_dto_1.BaseWithdrawalConfigDto {
17
17
  }
18
- exports.CreateWithdrawDto = CreateWithdrawDto;
18
+ exports.CreateWithdrawalConfigDto = CreateWithdrawalConfigDto;
19
19
  __decorate([
20
- (0, class_validator_1.IsEnum)(WithdrawKind_1.WithdrawKind),
20
+ (0, class_validator_1.IsEnum)(WithdrawalKind_1.WithdrawalKind),
21
21
  __metadata("design:type", String)
22
- ], CreateWithdrawDto.prototype, "kind", void 0);
22
+ ], CreateWithdrawalConfigDto.prototype, "kind", void 0);
23
23
  __decorate([
24
24
  (0, class_validator_1.IsString)(),
25
25
  (0, class_validator_1.IsNotEmpty)(),
26
26
  (0, class_validator_1.MaxLength)(200),
27
27
  __metadata("design:type", String)
28
- ], CreateWithdrawDto.prototype, "name", void 0);
28
+ ], CreateWithdrawalConfigDto.prototype, "name", void 0);
29
29
  __decorate([
30
30
  (0, class_validator_1.IsArray)(),
31
31
  (0, class_validator_1.IsString)({ each: true }),
32
32
  (0, class_validator_1.ArrayMinSize)(1),
33
33
  __metadata("design:type", Array)
34
- ], CreateWithdrawDto.prototype, "currencyIds", void 0);
35
- //# sourceMappingURL=createWithdraw.dto.js.map
34
+ ], CreateWithdrawalConfigDto.prototype, "currencyIds", void 0);
35
+ //# sourceMappingURL=createWithdrawalConfig.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createWithdrawalConfig.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,gEAA6D;AAC7D,yEAAqE;AAErE,MAAa,yBAA0B,SAAQ,kDAAuB;CAarE;AAbD,8DAaC;AAXC;IADC,IAAA,wBAAM,EAAC,+BAAc,CAAC;;uDACF;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;uDACF;AAKb;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;;8DACM"}
@@ -1,14 +1,12 @@
1
- export * from './baseWithdraw.dto';
2
- export * from './createWithdraw.dto';
1
+ export * from './baseWithdrawalConfig.dto';
2
+ export * from './createWithdrawalConfig.dto';
3
3
  export * from './preparedTransaction.dto';
4
- export * from './preparedWithdraw.dto';
5
- export * from './preparedWithdrawCall.dto';
6
- export * from './preparedWithdrawResponse.dto';
7
- export * from './preparedWithdrawSummary.dto';
8
- export * from './preparedWithdrawTypedData.dto';
9
- export * from './preparedWithdrawTypedDataDomain.dto';
10
- export * from './preparedWithdrawTypedDataField.dto';
11
- export * from './submitWithdraw.dto';
12
- export * from './submitWithdrawResponse.dto';
13
- export * from './submitWithdrawSignedTx.dto';
14
- export * from './updateWithdraw.dto';
4
+ export * from './preparedWithdrawal.dto';
5
+ export * from './preparedWithdrawalCall.dto';
6
+ export * from './preparedWithdrawalSummary.dto';
7
+ export * from './preparedWithdrawalTypedData.dto';
8
+ export * from './preparedWithdrawalTypedDataDomain.dto';
9
+ export * from './preparedWithdrawalTypedDataField.dto';
10
+ export * from './submitWithdrawal.dto';
11
+ export * from './submitWithdrawalSignedTx.dto';
12
+ export * from './updateWithdrawalConfig.dto';
@@ -14,18 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./baseWithdraw.dto"), exports);
18
- __exportStar(require("./createWithdraw.dto"), exports);
17
+ __exportStar(require("./baseWithdrawalConfig.dto"), exports);
18
+ __exportStar(require("./createWithdrawalConfig.dto"), exports);
19
19
  __exportStar(require("./preparedTransaction.dto"), exports);
20
- __exportStar(require("./preparedWithdraw.dto"), exports);
21
- __exportStar(require("./preparedWithdrawCall.dto"), exports);
22
- __exportStar(require("./preparedWithdrawResponse.dto"), exports);
23
- __exportStar(require("./preparedWithdrawSummary.dto"), exports);
24
- __exportStar(require("./preparedWithdrawTypedData.dto"), exports);
25
- __exportStar(require("./preparedWithdrawTypedDataDomain.dto"), exports);
26
- __exportStar(require("./preparedWithdrawTypedDataField.dto"), exports);
27
- __exportStar(require("./submitWithdraw.dto"), exports);
28
- __exportStar(require("./submitWithdrawResponse.dto"), exports);
29
- __exportStar(require("./submitWithdrawSignedTx.dto"), exports);
30
- __exportStar(require("./updateWithdraw.dto"), exports);
20
+ __exportStar(require("./preparedWithdrawal.dto"), exports);
21
+ __exportStar(require("./preparedWithdrawalCall.dto"), exports);
22
+ __exportStar(require("./preparedWithdrawalSummary.dto"), exports);
23
+ __exportStar(require("./preparedWithdrawalTypedData.dto"), exports);
24
+ __exportStar(require("./preparedWithdrawalTypedDataDomain.dto"), exports);
25
+ __exportStar(require("./preparedWithdrawalTypedDataField.dto"), exports);
26
+ __exportStar(require("./submitWithdrawal.dto"), exports);
27
+ __exportStar(require("./submitWithdrawalSignedTx.dto"), exports);
28
+ __exportStar(require("./updateWithdrawalConfig.dto"), exports);
31
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC;AACrC,4DAA0C;AAC1C,yDAAuC;AACvC,6DAA2C;AAC3C,iEAA+C;AAC/C,gEAA8C;AAC9C,kEAAgD;AAChD,wEAAsD;AACtD,uEAAqD;AACrD,uDAAqC;AACrC,+DAA6C;AAC7C,+DAA6C;AAC7C,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,+DAA6C;AAC7C,4DAA0C;AAC1C,2DAAyC;AACzC,+DAA6C;AAC7C,kEAAgD;AAChD,oEAAkD;AAClD,0EAAwD;AACxD,yEAAuD;AACvD,yDAAuC;AACvC,iEAA+C;AAC/C,+DAA6C"}
@@ -1,10 +1,10 @@
1
1
  import { BlockchainSymbol } from '../../blockchain/constants/BlockchainSymbol';
2
2
  import { SignedTransactionKind } from '../../broadcast/constants/SignedTransactionKind';
3
- import { PreparedWithdrawTypedDataDto } from './preparedWithdrawTypedData.dto';
3
+ import { PreparedWithdrawalTypedDataDto } from './preparedWithdrawalTypedData.dto';
4
4
  export type PreparedTransaction = PolymarketWalletPreparedTransaction | RawPreparedTransaction | UserOpPreparedTransaction;
5
5
  export interface PolymarketWalletPreparedTransaction {
6
6
  kind: SignedTransactionKind.POLYMARKET_WALLET;
7
- typedData: PreparedWithdrawTypedDataDto;
7
+ typedData: PreparedWithdrawalTypedDataDto;
8
8
  }
9
9
  export interface RawPreparedTransaction {
10
10
  kind: SignedTransactionKind.RAW;
@@ -0,0 +1,6 @@
1
+ export declare class PreparedWithdrawalDto {
2
+ ownerAddress: string;
3
+ recipient: string;
4
+ amount: string;
5
+ toCurrencyId: string;
6
+ }
@@ -9,36 +9,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.PreparedWithdrawDto = void 0;
12
+ exports.PreparedWithdrawalDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class PreparedWithdrawDto {
14
+ class PreparedWithdrawalDto {
15
15
  }
16
- exports.PreparedWithdrawDto = PreparedWithdrawDto;
16
+ exports.PreparedWithdrawalDto = PreparedWithdrawalDto;
17
17
  __decorate([
18
- (0, class_validator_1.IsEthereumAddress)(),
19
- __metadata("design:type", String)
20
- ], PreparedWithdrawDto.prototype, "eoa", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsEthereumAddress)(),
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
23
20
  __metadata("design:type", String)
24
- ], PreparedWithdrawDto.prototype, "depositWallet", void 0);
21
+ ], PreparedWithdrawalDto.prototype, "ownerAddress", void 0);
25
22
  __decorate([
26
23
  (0, class_validator_1.IsString)(),
27
24
  (0, class_validator_1.IsNotEmpty)(),
28
25
  __metadata("design:type", String)
29
- ], PreparedWithdrawDto.prototype, "recipient", void 0);
26
+ ], PreparedWithdrawalDto.prototype, "recipient", void 0);
30
27
  __decorate([
31
28
  (0, class_validator_1.Matches)(/^\d+$/),
32
29
  __metadata("design:type", String)
33
- ], PreparedWithdrawDto.prototype, "amount", void 0);
30
+ ], PreparedWithdrawalDto.prototype, "amount", void 0);
34
31
  __decorate([
35
- (0, class_validator_1.IsInt)(),
36
- (0, class_validator_1.IsPositive)(),
37
- __metadata("design:type", Number)
38
- ], PreparedWithdrawDto.prototype, "dstChainId", void 0);
39
- __decorate([
40
- (0, class_validator_1.IsString)(),
41
- (0, class_validator_1.IsNotEmpty)(),
32
+ (0, class_validator_1.IsMongoId)(),
42
33
  __metadata("design:type", String)
43
- ], PreparedWithdrawDto.prototype, "dstToken", void 0);
44
- //# sourceMappingURL=preparedWithdraw.dto.js.map
34
+ ], PreparedWithdrawalDto.prototype, "toCurrencyId", void 0);
35
+ //# sourceMappingURL=preparedWithdrawal.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawal.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawal.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAE3E,MAAa,qBAAqB;CA0BjC;AA1BD,sDA0BC;AAlBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACQ;AAOrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACK;AAKlB;IADC,IAAA,yBAAO,EAAC,OAAO,CAAC;;qDACF;AAKf;IADC,IAAA,2BAAS,GAAE;;2DACS"}
@@ -1,4 +1,4 @@
1
- export declare class PreparedWithdrawCallDto {
1
+ export declare class PreparedWithdrawalCallDto {
2
2
  target: string;
3
3
  value: string;
4
4
  data: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalCallDto = void 0;
4
+ class PreparedWithdrawalCallDto {
5
+ }
6
+ exports.PreparedWithdrawalCallDto = PreparedWithdrawalCallDto;
7
+ //# sourceMappingURL=preparedWithdrawalCall.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawalCall.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,yBAAyB;CAMrC;AAND,8DAMC"}
@@ -1,4 +1,4 @@
1
- export declare class PreparedWithdrawSummaryDto {
1
+ export declare class PreparedWithdrawalSummaryDto {
2
2
  sourceToken: string;
3
3
  sourceAmount: string;
4
4
  destinationToken: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalSummaryDto = void 0;
4
+ class PreparedWithdrawalSummaryDto {
5
+ }
6
+ exports.PreparedWithdrawalSummaryDto = PreparedWithdrawalSummaryDto;
7
+ //# sourceMappingURL=preparedWithdrawalSummary.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawalSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,4BAA4B;CAYxC;AAZD,oEAYC"}
@@ -0,0 +1,8 @@
1
+ import { PreparedWithdrawalTypedDataDomainDto } from './preparedWithdrawalTypedDataDomain.dto';
2
+ import { PreparedWithdrawalTypedDataFieldDto } from './preparedWithdrawalTypedDataField.dto';
3
+ export declare class PreparedWithdrawalTypedDataDto {
4
+ domain: PreparedWithdrawalTypedDataDomainDto;
5
+ types: Record<string, PreparedWithdrawalTypedDataFieldDto[]>;
6
+ primaryType: string;
7
+ message: Record<string, unknown>;
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalTypedDataDto = void 0;
4
+ class PreparedWithdrawalTypedDataDto {
5
+ }
6
+ exports.PreparedWithdrawalTypedDataDto = PreparedWithdrawalTypedDataDto;
7
+ //# sourceMappingURL=preparedWithdrawalTypedData.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawalTypedData.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,8BAA8B;CAQ1C;AARD,wEAQC"}
@@ -1,4 +1,4 @@
1
- export declare class PreparedWithdrawTypedDataDomainDto {
1
+ export declare class PreparedWithdrawalTypedDataDomainDto {
2
2
  name: string;
3
3
  version: string;
4
4
  chainId: number;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalTypedDataDomainDto = void 0;
4
+ class PreparedWithdrawalTypedDataDomainDto {
5
+ }
6
+ exports.PreparedWithdrawalTypedDataDomainDto = PreparedWithdrawalTypedDataDomainDto;
7
+ //# sourceMappingURL=preparedWithdrawalTypedDataDomain.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawalTypedDataDomain.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,oCAAoC;CAQhD;AARD,oFAQC"}
@@ -0,0 +1,4 @@
1
+ export declare class PreparedWithdrawalTypedDataFieldDto {
2
+ name: string;
3
+ type: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalTypedDataFieldDto = void 0;
4
+ class PreparedWithdrawalTypedDataFieldDto {
5
+ }
6
+ exports.PreparedWithdrawalTypedDataFieldDto = PreparedWithdrawalTypedDataFieldDto;
7
+ //# sourceMappingURL=preparedWithdrawalTypedDataField.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawalTypedDataField.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,mCAAmC;CAI/C;AAJD,kFAIC"}
@@ -0,0 +1,5 @@
1
+ import { SubmitWithdrawalSignedTxDto } from './submitWithdrawalSignedTx.dto';
2
+ export declare class SubmitWithdrawalDto {
3
+ token: string;
4
+ signedTx: SubmitWithdrawalSignedTxDto;
5
+ }
@@ -9,20 +9,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SubmitWithdrawDto = void 0;
12
+ exports.SubmitWithdrawalDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
14
  const class_validator_1 = require("class-validator");
15
- const submitWithdrawSignedTx_dto_1 = require("./submitWithdrawSignedTx.dto");
16
- class SubmitWithdrawDto {
15
+ const submitWithdrawalSignedTx_dto_1 = require("./submitWithdrawalSignedTx.dto");
16
+ class SubmitWithdrawalDto {
17
17
  }
18
- exports.SubmitWithdrawDto = SubmitWithdrawDto;
18
+ exports.SubmitWithdrawalDto = SubmitWithdrawalDto;
19
19
  __decorate([
20
20
  (0, class_validator_1.IsJWT)(),
21
21
  __metadata("design:type", String)
22
- ], SubmitWithdrawDto.prototype, "token", void 0);
22
+ ], SubmitWithdrawalDto.prototype, "token", void 0);
23
23
  __decorate([
24
24
  (0, class_validator_1.ValidateNested)(),
25
- (0, class_transformer_1.Type)(() => submitWithdrawSignedTx_dto_1.SubmitWithdrawSignedTxDto),
26
- __metadata("design:type", submitWithdrawSignedTx_dto_1.SubmitWithdrawSignedTxDto)
27
- ], SubmitWithdrawDto.prototype, "signedTx", void 0);
28
- //# sourceMappingURL=submitWithdraw.dto.js.map
25
+ (0, class_transformer_1.Type)(() => submitWithdrawalSignedTx_dto_1.SubmitWithdrawalSignedTxDto),
26
+ __metadata("design:type", submitWithdrawalSignedTx_dto_1.SubmitWithdrawalSignedTxDto)
27
+ ], SubmitWithdrawalDto.prototype, "signedTx", void 0);
28
+ //# sourceMappingURL=submitWithdrawal.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submitWithdrawal.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/submitWithdrawal.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAwD;AACxD,iFAA6E;AAE7E,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AALC;IADC,IAAA,uBAAK,GAAE;;kDACM;AAId;IAFC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0DAA2B,CAAC;8BAC9B,0DAA2B;qDAAC"}
@@ -1,5 +1,5 @@
1
1
  import { SignedTransactionKind } from '../../broadcast/constants/SignedTransactionKind';
2
- export declare class SubmitWithdrawSignedTxDto {
2
+ export declare class SubmitWithdrawalSignedTxDto {
3
3
  kind: SignedTransactionKind;
4
4
  signature: string;
5
5
  }
@@ -9,21 +9,21 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SubmitWithdrawSignedTxDto = void 0;
12
+ exports.SubmitWithdrawalSignedTxDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const SignedTransactionKind_1 = require("../../broadcast/constants/SignedTransactionKind");
15
- class SubmitWithdrawSignedTxDto {
15
+ class SubmitWithdrawalSignedTxDto {
16
16
  }
17
- exports.SubmitWithdrawSignedTxDto = SubmitWithdrawSignedTxDto;
17
+ exports.SubmitWithdrawalSignedTxDto = SubmitWithdrawalSignedTxDto;
18
18
  __decorate([
19
19
  (0, class_validator_1.IsEnum)(SignedTransactionKind_1.SignedTransactionKind),
20
20
  __metadata("design:type", String)
21
- ], SubmitWithdrawSignedTxDto.prototype, "kind", void 0);
21
+ ], SubmitWithdrawalSignedTxDto.prototype, "kind", void 0);
22
22
  __decorate([
23
23
  (0, class_validator_1.IsString)(),
24
24
  (0, class_validator_1.Matches)(/^0x[0-9a-fA-F]{130}$/, {
25
25
  message: 'signature must be a 0x-prefixed 65-byte (130 hex char) secp256k1 signature',
26
26
  }),
27
27
  __metadata("design:type", String)
28
- ], SubmitWithdrawSignedTxDto.prototype, "signature", void 0);
29
- //# sourceMappingURL=submitWithdrawSignedTx.dto.js.map
28
+ ], SubmitWithdrawalSignedTxDto.prototype, "signature", void 0);
29
+ //# sourceMappingURL=submitWithdrawalSignedTx.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submitWithdrawalSignedTx.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/submitWithdrawalSignedTx.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,2FAAwF;AAWxF,MAAa,2BAA2B;CAcvC;AAdD,kEAcC;AAZC;IADC,IAAA,wBAAM,EAAC,6CAAqB,CAAC;;yDACF;AAW5B;IALC,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,sBAAsB,EAAE;QAC/B,OAAO,EACL,4EAA4E;KAC/E,CAAC;;8DACgB"}
@@ -0,0 +1,5 @@
1
+ import { BaseWithdrawalConfigDto } from './baseWithdrawalConfig.dto';
2
+ export declare class UpdateWithdrawalConfigDto extends BaseWithdrawalConfigDto {
3
+ name?: string;
4
+ currencyIds?: string[];
5
+ }
@@ -9,24 +9,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateWithdrawDto = void 0;
12
+ exports.UpdateWithdrawalConfigDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const baseWithdraw_dto_1 = require("./baseWithdraw.dto");
15
- class UpdateWithdrawDto extends baseWithdraw_dto_1.BaseWithdrawDto {
14
+ const baseWithdrawalConfig_dto_1 = require("./baseWithdrawalConfig.dto");
15
+ class UpdateWithdrawalConfigDto extends baseWithdrawalConfig_dto_1.BaseWithdrawalConfigDto {
16
16
  }
17
- exports.UpdateWithdrawDto = UpdateWithdrawDto;
17
+ exports.UpdateWithdrawalConfigDto = UpdateWithdrawalConfigDto;
18
18
  __decorate([
19
19
  (0, class_validator_1.IsString)(),
20
20
  (0, class_validator_1.IsNotEmpty)(),
21
21
  (0, class_validator_1.IsOptional)(),
22
22
  (0, class_validator_1.MaxLength)(200),
23
23
  __metadata("design:type", String)
24
- ], UpdateWithdrawDto.prototype, "name", void 0);
24
+ ], UpdateWithdrawalConfigDto.prototype, "name", void 0);
25
25
  __decorate([
26
26
  (0, class_validator_1.IsArray)(),
27
27
  (0, class_validator_1.IsString)({ each: true }),
28
28
  (0, class_validator_1.ArrayMinSize)(1),
29
29
  (0, class_validator_1.IsOptional)(),
30
30
  __metadata("design:type", Array)
31
- ], UpdateWithdrawDto.prototype, "currencyIds", void 0);
32
- //# sourceMappingURL=updateWithdraw.dto.js.map
31
+ ], UpdateWithdrawalConfigDto.prototype, "currencyIds", void 0);
32
+ //# sourceMappingURL=updateWithdrawalConfig.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateWithdrawalConfig.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yEAAqE;AAErE,MAAa,yBAA0B,SAAQ,kDAAuB;CAYrE;AAZD,8DAYC;AAPC;IAJC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;uDACD;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;;8DACU"}
@@ -0,0 +1,9 @@
1
+ import { Entity } from '../../entity';
2
+ import { PreparedTransaction } from '../dtos/preparedTransaction.dto';
3
+ import { PreparedWithdrawalSummaryDto } from '../dtos/preparedWithdrawalSummary.dto';
4
+ export declare class PreparedWithdrawalEntity extends Entity {
5
+ withdrawalDetailId: string;
6
+ token: string;
7
+ prepared: PreparedTransaction;
8
+ summary: PreparedWithdrawalSummaryDto;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalEntity = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PreparedWithdrawalEntity extends entity_1.Entity {
6
+ }
7
+ exports.PreparedWithdrawalEntity = PreparedWithdrawalEntity;
8
+ //# sourceMappingURL=PreparedWithdrawal.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreparedWithdrawal.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/PreparedWithdrawal.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,wBAAyB,SAAQ,eAAM;CAQnD;AARD,4DAQC"}
@@ -0,0 +1,9 @@
1
+ import { Entity } from '../../entity';
2
+ import { BroadcastAck } from '../constants/BroadcastAck';
3
+ import { WithdrawalState } from '../constants/WithdrawalState';
4
+ export declare class SubmitWithdrawalEntity extends Entity {
5
+ withdrawalDetailId: string;
6
+ txHash: string | null;
7
+ state: WithdrawalState;
8
+ broadcastAck: BroadcastAck | null;
9
+ }