@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
@@ -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,14 @@
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 './preparedWithdrawalResponse.dto';
7
+ export * from './preparedWithdrawalSummary.dto';
8
+ export * from './preparedWithdrawalTypedData.dto';
9
+ export * from './preparedWithdrawalTypedDataDomain.dto';
10
+ export * from './preparedWithdrawalTypedDataField.dto';
11
+ export * from './submitWithdrawal.dto';
12
+ export * from './submitWithdrawalResponse.dto';
13
+ export * from './submitWithdrawalSignedTx.dto';
14
+ export * from './updateWithdrawalConfig.dto';
@@ -14,18 +14,18 @@ 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("./preparedWithdrawalResponse.dto"), exports);
23
+ __exportStar(require("./preparedWithdrawalSummary.dto"), exports);
24
+ __exportStar(require("./preparedWithdrawalTypedData.dto"), exports);
25
+ __exportStar(require("./preparedWithdrawalTypedDataDomain.dto"), exports);
26
+ __exportStar(require("./preparedWithdrawalTypedDataField.dto"), exports);
27
+ __exportStar(require("./submitWithdrawal.dto"), exports);
28
+ __exportStar(require("./submitWithdrawalResponse.dto"), exports);
29
+ __exportStar(require("./submitWithdrawalSignedTx.dto"), exports);
30
+ __exportStar(require("./updateWithdrawalConfig.dto"), exports);
31
31
  //# 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,mEAAiD;AACjD,kEAAgD;AAChD,oEAAkD;AAClD,0EAAwD;AACxD,yEAAuD;AACvD,yDAAuC;AACvC,iEAA+C;AAC/C,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"}
@@ -0,0 +1,7 @@
1
+ import { PreparedTransaction } from './preparedTransaction.dto';
2
+ import { PreparedWithdrawalSummaryDto } from './preparedWithdrawalSummary.dto';
3
+ export declare class PreparedWithdrawalResponseDto {
4
+ token: string;
5
+ prepared: PreparedTransaction;
6
+ summary: PreparedWithdrawalSummaryDto;
7
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreparedWithdrawalResponseDto = void 0;
4
+ class PreparedWithdrawalResponseDto {
5
+ }
6
+ exports.PreparedWithdrawalResponseDto = PreparedWithdrawalResponseDto;
7
+ //# sourceMappingURL=preparedWithdrawalResponse.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparedWithdrawalResponse.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalResponse.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,6BAA6B;CAMzC;AAND,sEAMC"}
@@ -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"}
@@ -0,0 +1,8 @@
1
+ import { BroadcastAck } from '../constants/BroadcastAck';
2
+ import { WithdrawalState } from '../constants/WithdrawalState';
3
+ export declare class SubmitWithdrawalResponseDto {
4
+ withdrawalDetailId: string;
5
+ txHash: string | null;
6
+ state: WithdrawalState;
7
+ broadcastAck: BroadcastAck | null;
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubmitWithdrawalResponseDto = void 0;
4
+ class SubmitWithdrawalResponseDto {
5
+ }
6
+ exports.SubmitWithdrawalResponseDto = SubmitWithdrawalResponseDto;
7
+ //# sourceMappingURL=submitWithdrawalResponse.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submitWithdrawalResponse.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/submitWithdrawalResponse.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,2BAA2B;CAsBvC;AAtBD,kEAsBC"}
@@ -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"}
@@ -1,14 +1,14 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { Platform } from '../../../constants';
3
3
  import { BlockchainSymbol } from '../../blockchain/constants/BlockchainSymbol';
4
- import { WithdrawFeature } from '../constants/WithdrawFeature';
5
- export declare class WithdrawEntity extends Entity {
4
+ import { WithdrawalFeature } from '../constants/WithdrawalFeature';
5
+ export declare class WithdrawalConfigEntity extends Entity {
6
6
  id: string;
7
7
  name: string;
8
8
  platform: Platform;
9
9
  disabled: boolean;
10
10
  disabledBlockchainSymbols: BlockchainSymbol[];
11
- enabledFeatures: WithdrawFeature[];
11
+ enabledFeatures: WithdrawalFeature[];
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
14
  }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalConfigEntity = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class WithdrawalConfigEntity extends entity_1.Entity {
6
+ }
7
+ exports.WithdrawalConfigEntity = WithdrawalConfigEntity;
8
+ //# sourceMappingURL=WithdrawalConfig.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalConfig.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,sBAAuB,SAAQ,eAAM;CAgBjD;AAhBD,wDAgBC"}
@@ -1,4 +1,4 @@
1
- export declare class WithdrawCostBreakdown {
1
+ export declare class WithdrawalCostBreakdown {
2
2
  networkGasSource: bigint;
3
3
  ataFunding: bigint | null;
4
4
  decentBridgeFee: bigint;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalCostBreakdown = void 0;
4
+ class WithdrawalCostBreakdown {
5
+ }
6
+ exports.WithdrawalCostBreakdown = WithdrawalCostBreakdown;
7
+ //# sourceMappingURL=WithdrawalCostBreakdown.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalCostBreakdown.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalCostBreakdown.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,uBAAuB;CAcnC;AAdD,0DAcC"}
@@ -1,5 +1,5 @@
1
1
  import { SlimCurrencyWithBlockchain } from '../../currency/entities/SlimCurrencyWithBlockchain.entity';
2
- export declare class WithdrawCustomerSwapRoute {
2
+ export declare class WithdrawalCustomerSwapRoute {
3
3
  id: string;
4
4
  fromCurrencyId: string;
5
5
  toCurrency: SlimCurrencyWithBlockchain;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalCustomerSwapRoute = void 0;
4
+ class WithdrawalCustomerSwapRoute {
5
+ }
6
+ exports.WithdrawalCustomerSwapRoute = WithdrawalCustomerSwapRoute;
7
+ //# sourceMappingURL=WithdrawalCustomerSwapRoute.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalCustomerSwapRoute.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoute.entity.ts"],"names":[],"mappings":";;;AAYA,MAAa,2BAA2B;CAQvC;AARD,kEAQC"}
@@ -0,0 +1,4 @@
1
+ import { WithdrawalCustomerSwapRoute } from './WithdrawalCustomerSwapRoute.entity';
2
+ export declare class WithdrawalCustomerSwapRoutesResponse {
3
+ routes: WithdrawalCustomerSwapRoute[];
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalCustomerSwapRoutesResponse = void 0;
4
+ class WithdrawalCustomerSwapRoutesResponse {
5
+ }
6
+ exports.WithdrawalCustomerSwapRoutesResponse = WithdrawalCustomerSwapRoutesResponse;
7
+ //# sourceMappingURL=WithdrawalCustomerSwapRoutesResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalCustomerSwapRoutesResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.ts"],"names":[],"mappings":";;;AAMA,MAAa,oCAAoC;CAEhD;AAFD,oFAEC"}
@@ -1,4 +1,4 @@
1
- export * from './Withdraw.entity';
2
- export * from './WithdrawCostBreakdown.entity';
3
- export * from './WithdrawCustomerSwapRoute.entity';
4
- export * from './WithdrawCustomerSwapRoutesResponse.entity';
1
+ export * from './WithdrawalConfig.entity';
2
+ export * from './WithdrawalCostBreakdown.entity';
3
+ export * from './WithdrawalCustomerSwapRoute.entity';
4
+ export * from './WithdrawalCustomerSwapRoutesResponse.entity';
@@ -14,8 +14,8 @@ 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("./Withdraw.entity"), exports);
18
- __exportStar(require("./WithdrawCostBreakdown.entity"), exports);
19
- __exportStar(require("./WithdrawCustomerSwapRoute.entity"), exports);
20
- __exportStar(require("./WithdrawCustomerSwapRoutesResponse.entity"), exports);
17
+ __exportStar(require("./WithdrawalConfig.entity"), exports);
18
+ __exportStar(require("./WithdrawalCostBreakdown.entity"), exports);
19
+ __exportStar(require("./WithdrawalCustomerSwapRoute.entity"), exports);
20
+ __exportStar(require("./WithdrawalCustomerSwapRoutesResponse.entity"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iEAA+C;AAC/C,qEAAmD;AACnD,8EAA4D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,mEAAiD;AACjD,uEAAqD;AACrD,gFAA8D"}