@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.
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.d.ts +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js.map +1 -1
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js.map +1 -1
- package/dist/src/domain/model/company/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/company/dtos/index.js +1 -0
- package/dist/src/domain/model/company/dtos/index.js.map +1 -1
- package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.d.ts +6 -0
- package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js +29 -0
- package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js.map +1 -0
- package/dist/src/domain/model/company/entities/CompanyWithFees.entity.d.ts +2 -0
- package/dist/src/domain/model/company/entities/CompanyWithFees.entity.js.map +1 -1
- package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformQuote.dto.d.ts +4 -1
- package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformQuote.dto.js +11 -0
- package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformQuote.dto.js.map +1 -1
- package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.d.ts +3 -0
- package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.js +22 -0
- package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformTransaction.dto.js.map +1 -0
- package/dist/src/domain/model/on-ramps/dtos/index.d.ts +2 -1
- package/dist/src/domain/model/on-ramps/dtos/index.js +2 -1
- package/dist/src/domain/model/on-ramps/dtos/index.js.map +1 -1
- package/dist/src/domain/model/on-ramps/entities/MoonPayPaymentMethodType.d.ts +16 -0
- package/dist/src/domain/model/on-ramps/entities/MoonPayPaymentMethodType.js +21 -0
- package/dist/src/domain/model/on-ramps/entities/MoonPayPaymentMethodType.js.map +1 -0
- package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.d.ts +7 -0
- package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.js +8 -0
- package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformTransaction.entity.js.map +1 -0
- package/dist/src/domain/model/on-ramps/entities/index.d.ts +2 -0
- package/dist/src/domain/model/on-ramps/entities/index.js +2 -0
- package/dist/src/domain/model/on-ramps/entities/index.js.map +1 -1
- package/dist/src/domain/model/webhook/index.d.ts +1 -0
- package/dist/src/domain/model/webhook/index.js +1 -0
- package/dist/src/domain/model/webhook/index.js.map +1 -1
- package/dist/src/domain/model/webhook/withdrawal/index.d.ts +2 -0
- package/dist/src/domain/model/webhook/withdrawal/index.js +19 -0
- package/dist/src/domain/model/webhook/withdrawal/index.js.map +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.d.ts +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.js +3 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.js.map +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.d.ts +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.js +18 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.js.map +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvent.entity.d.ts +6 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvent.entity.js +11 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvent.entity.js.map +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventStatus.entity.d.ts +5 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventStatus.entity.js +10 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventStatus.entity.js.map +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.d.ts +2 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.js +19 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.js.map +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.d.ts +1 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.js +18 -0
- package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/{WithdrawFeature.d.ts → WithdrawalFeature.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawalFeature.js +9 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalFeature.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalKind.d.ts +3 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js +8 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/{WithdrawState.d.ts → WithdrawalState.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawalState.js +16 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalState.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/{WithdrawTransactionDirection.d.ts → WithdrawalTransactionDirection.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionDirection.js +10 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionDirection.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/{WithdrawTransactionStatus.d.ts → WithdrawalTransactionStatus.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionStatus.js +10 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawalTransactionStatus.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/index.d.ts +5 -5
- package/dist/src/domain/model/withdraw/constants/index.js +5 -5
- package/dist/src/domain/model/withdraw/constants/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.d.ts → baseWithdrawalConfig.dto.d.ts} +3 -3
- package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.js → baseWithdrawalConfig.dto.js} +9 -9
- package/dist/src/domain/model/withdraw/dtos/baseWithdrawalConfig.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/{createWithdraw.dto.js → createWithdrawalConfig.dto.js} +10 -10
- package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/index.d.ts +11 -13
- package/dist/src/domain/model/withdraw/dtos/index.js +11 -13
- package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedTransaction.dto.d.ts +2 -2
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts +6 -0
- package/dist/src/domain/model/withdraw/dtos/{preparedWithdraw.dto.js → preparedWithdrawal.dto.js} +11 -20
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawCall.dto.d.ts → preparedWithdrawalCall.dto.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalCall.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawSummary.dto.d.ts → preparedWithdrawalSummary.dto.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.d.ts +8 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedData.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/{preparedWithdrawTypedDataDomain.dto.d.ts → preparedWithdrawalTypedDataDomain.dto.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataDomain.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.d.ts +4 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalTypedDataField.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.d.ts +5 -0
- package/dist/src/domain/model/withdraw/dtos/{submitWithdraw.dto.js → submitWithdrawal.dto.js} +9 -9
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/{submitWithdrawSignedTx.dto.d.ts → submitWithdrawalSignedTx.dto.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/dtos/{submitWithdrawSignedTx.dto.js → submitWithdrawalSignedTx.dto.js} +6 -6
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawalSignedTx.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.d.ts +5 -0
- package/dist/src/domain/model/withdraw/dtos/{updateWithdraw.dto.js → updateWithdrawalConfig.dto.js} +7 -7
- package/dist/src/domain/model/withdraw/dtos/updateWithdrawalConfig.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/PreparedWithdrawal.entity.d.ts +9 -0
- package/dist/src/domain/model/withdraw/entities/PreparedWithdrawal.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/PreparedWithdrawal.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/SubmitWithdrawal.entity.d.ts +9 -0
- package/dist/src/domain/model/withdraw/entities/SubmitWithdrawal.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/SubmitWithdrawal.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalBalancesResponse.entity.d.ts +4 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalBalancesResponse.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalBalancesResponse.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/{Withdraw.entity.d.ts → WithdrawalConfig.entity.d.ts} +3 -3
- package/dist/src/domain/model/withdraw/entities/WithdrawalConfig.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalConfig.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/{WithdrawCostBreakdown.entity.d.ts → WithdrawalCostBreakdown.entity.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawalCostBreakdown.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalCostBreakdown.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/{WithdrawCustomerSwapRoute.entity.d.ts → WithdrawalCustomerSwapRoute.entity.d.ts} +1 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoute.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoute.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.d.ts +4 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/index.d.ts +7 -4
- package/dist/src/domain/model/withdraw/entities/index.js +7 -4
- package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/index.d.ts +1 -0
- package/dist/src/domain/model/withdraw/index.js +1 -0
- package/dist/src/domain/model/withdraw/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/query/getWithdrawalBalances.dto.d.ts +3 -0
- package/dist/src/domain/model/withdraw/query/getWithdrawalBalances.dto.js +22 -0
- package/dist/src/domain/model/withdraw/query/getWithdrawalBalances.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/query/index.d.ts +1 -0
- package/dist/src/domain/model/withdraw/query/index.js +18 -0
- package/dist/src/domain/model/withdraw/query/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/withdraw/constants/WithdrawFeature.js +0 -9
- package/dist/src/domain/model/withdraw/constants/WithdrawFeature.js.map +0 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawKind.d.ts +0 -3
- package/dist/src/domain/model/withdraw/constants/WithdrawKind.js +0 -8
- package/dist/src/domain/model/withdraw/constants/WithdrawKind.js.map +0 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawState.js +0 -16
- package/dist/src/domain/model/withdraw/constants/WithdrawState.js.map +0 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js +0 -10
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js.map +0 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js +0 -10
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/baseWithdraw.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.d.ts +0 -7
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.d.ts +0 -8
- package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.d.ts +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.d.ts +0 -8
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.d.ts +0 -4
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/submitWithdraw.dto.d.ts +0 -5
- package/dist/src/domain/model/withdraw/dtos/submitWithdraw.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.d.ts +0 -8
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.js +0 -7
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawResponse.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawSignedTx.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.d.ts +0 -5
- package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.js.map +0 -1
- package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js +0 -8
- package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js.map +0 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js +0 -7
- package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js.map +0 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js +0 -7
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js.map +0 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.d.ts +0 -4
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js +0 -7
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js.map +0 -1
|
@@ -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"}
|
|
@@ -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 './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
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("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
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,
|
|
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"}
|
package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.d.ts → baseWithdrawalConfig.dto.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BlockchainSymbol } from '../../blockchain/constants/BlockchainSymbol';
|
|
2
|
-
import {
|
|
3
|
-
export declare class
|
|
2
|
+
import { WithdrawalFeature } from '../constants/WithdrawalFeature';
|
|
3
|
+
export declare class BaseWithdrawalConfigDto {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
disabledBlockchainSymbols?: BlockchainSymbol[];
|
|
6
|
-
enabledFeatures?:
|
|
6
|
+
enabledFeatures?: WithdrawalFeature[];
|
|
7
7
|
}
|
package/dist/src/domain/model/withdraw/dtos/{baseWithdraw.dto.js → baseWithdrawalConfig.dto.js}
RENAMED
|
@@ -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.
|
|
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
|
|
16
|
-
class
|
|
15
|
+
const WithdrawalFeature_1 = require("../constants/WithdrawalFeature");
|
|
16
|
+
class BaseWithdrawalConfigDto {
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
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
|
-
],
|
|
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
|
-
],
|
|
29
|
+
], BaseWithdrawalConfigDto.prototype, "disabledBlockchainSymbols", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_validator_1.IsArray)(),
|
|
32
|
-
(0, class_validator_1.IsEnum)(
|
|
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
|
-
],
|
|
36
|
-
//# sourceMappingURL=
|
|
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
|
+
}
|
package/dist/src/domain/model/withdraw/dtos/{createWithdraw.dto.js → createWithdrawalConfig.dto.js}
RENAMED
|
@@ -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.
|
|
12
|
+
exports.CreateWithdrawalConfigDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
class
|
|
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.
|
|
18
|
+
exports.CreateWithdrawalConfigDto = CreateWithdrawalConfigDto;
|
|
19
19
|
__decorate([
|
|
20
|
-
(0, class_validator_1.IsEnum)(
|
|
20
|
+
(0, class_validator_1.IsEnum)(WithdrawalKind_1.WithdrawalKind),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
35
|
-
//# sourceMappingURL=
|
|
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 './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './baseWithdrawalConfig.dto';
|
|
2
|
+
export * from './createWithdrawalConfig.dto';
|
|
3
3
|
export * from './preparedTransaction.dto';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
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("./
|
|
18
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./baseWithdrawalConfig.dto"), exports);
|
|
18
|
+
__exportStar(require("./createWithdrawalConfig.dto"), exports);
|
|
19
19
|
__exportStar(require("./preparedTransaction.dto"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./
|
|
28
|
-
__exportStar(require("./
|
|
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,
|
|
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 {
|
|
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:
|
|
7
|
+
typedData: PreparedWithdrawalTypedDataDto;
|
|
8
8
|
}
|
|
9
9
|
export interface RawPreparedTransaction {
|
|
10
10
|
kind: SignedTransactionKind.RAW;
|
package/dist/src/domain/model/withdraw/dtos/{preparedWithdraw.dto.js → preparedWithdrawal.dto.js}
RENAMED
|
@@ -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.
|
|
12
|
+
exports.PreparedWithdrawalDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class PreparedWithdrawalDto {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.PreparedWithdrawalDto = PreparedWithdrawalDto;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
19
|
-
|
|
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
|
-
],
|
|
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
|
-
],
|
|
26
|
+
], PreparedWithdrawalDto.prototype, "recipient", void 0);
|
|
30
27
|
__decorate([
|
|
31
28
|
(0, class_validator_1.Matches)(/^\d+$/),
|
|
32
29
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
30
|
+
], PreparedWithdrawalDto.prototype, "amount", void 0);
|
|
34
31
|
__decorate([
|
|
35
|
-
(0, class_validator_1.
|
|
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
|
-
],
|
|
44
|
-
//# sourceMappingURL=
|
|
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"}
|
|
@@ -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
|
+
"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"}
|
|
@@ -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,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"}
|
package/dist/src/domain/model/withdraw/dtos/{submitWithdraw.dto.js → submitWithdrawal.dto.js}
RENAMED
|
@@ -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.
|
|
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
|
|
16
|
-
class
|
|
15
|
+
const submitWithdrawalSignedTx_dto_1 = require("./submitWithdrawalSignedTx.dto");
|
|
16
|
+
class SubmitWithdrawalDto {
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.SubmitWithdrawalDto = SubmitWithdrawalDto;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, class_validator_1.IsJWT)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
22
|
+
], SubmitWithdrawalDto.prototype, "token", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, class_validator_1.ValidateNested)(),
|
|
25
|
-
(0, class_transformer_1.Type)(() =>
|
|
26
|
-
__metadata("design:type",
|
|
27
|
-
],
|
|
28
|
-
//# sourceMappingURL=
|
|
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"}
|
|
@@ -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.
|
|
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
|
|
15
|
+
class SubmitWithdrawalSignedTxDto {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
17
|
+
exports.SubmitWithdrawalSignedTxDto = SubmitWithdrawalSignedTxDto;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_validator_1.IsEnum)(SignedTransactionKind_1.SignedTransactionKind),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
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
|
-
],
|
|
29
|
-
//# sourceMappingURL=
|
|
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"}
|
package/dist/src/domain/model/withdraw/dtos/{updateWithdraw.dto.js → updateWithdrawalConfig.dto.js}
RENAMED
|
@@ -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.
|
|
12
|
+
exports.UpdateWithdrawalConfigDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
15
|
-
class
|
|
14
|
+
const baseWithdrawalConfig_dto_1 = require("./baseWithdrawalConfig.dto");
|
|
15
|
+
class UpdateWithdrawalConfigDto extends baseWithdrawalConfig_dto_1.BaseWithdrawalConfigDto {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
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
|
-
],
|
|
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
|
-
],
|
|
32
|
-
//# sourceMappingURL=
|
|
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
|
+
}
|