@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.
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.d.ts +2 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js +2 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js.map +1 -1
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js +2 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js.map +1 -1
- package/dist/src/domain/model/company/dtos/index.d.ts +11 -8
- package/dist/src/domain/model/company/dtos/index.js +11 -8
- package/dist/src/domain/model/company/dtos/index.js.map +1 -1
- package/dist/src/domain/model/company/dtos/updateIronApiKey.dto.d.ts +6 -0
- package/dist/src/domain/model/company/dtos/updateIronApiKey.dto.js +37 -0
- package/dist/src/domain/model/company/dtos/updateIronApiKey.dto.js.map +1 -0
- package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.d.ts +3 -0
- package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js +23 -0
- package/dist/src/domain/model/company/dtos/updateMinimalDepositAmount.dto.js.map +1 -0
- package/dist/src/domain/model/company/dtos/{UpdateMoonpayApiKey.dto.js → updateMoonpayApiKey.dto.js} +1 -1
- package/dist/src/domain/model/company/dtos/{UpdateMoonpayApiKey.dto.js.map → updateMoonpayApiKey.dto.js.map} +1 -1
- package/dist/src/domain/model/company/dtos/updateOneToOneSwapRoutes.dto.d.ts +3 -0
- package/dist/src/domain/model/company/dtos/updateOneToOneSwapRoutes.dto.js +21 -0
- package/dist/src/domain/model/company/dtos/updateOneToOneSwapRoutes.dto.js.map +1 -0
- package/dist/src/domain/model/company/dtos/{UpdateOnramperApiKey.dto.js → updateOnramperApiKey.dto.js} +1 -1
- package/dist/src/domain/model/company/dtos/{UpdateOnramperApiKey.dto.js.map → updateOnramperApiKey.dto.js.map} +1 -1
- package/dist/src/domain/model/company/entities/BaseCompany.entity.d.ts +1 -0
- package/dist/src/domain/model/company/entities/BaseCompany.entity.js.map +1 -1
- 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/company/entities/IronApiKeyConfig.entity.d.ts +6 -0
- package/dist/src/domain/model/company/entities/IronApiKeyConfig.entity.js +7 -0
- package/dist/src/domain/model/company/entities/IronApiKeyConfig.entity.js.map +1 -0
- package/dist/src/domain/model/company/entities/index.d.ts +1 -0
- package/dist/src/domain/model/company/entities/index.js +1 -0
- package/dist/src/domain/model/company/entities/index.js.map +1 -1
- package/dist/src/domain/model/decent-swap/index.d.ts +1 -0
- package/dist/src/domain/model/decent-swap/index.js +1 -0
- package/dist/src/domain/model/decent-swap/index.js.map +1 -1
- package/dist/src/domain/model/decent-swap/utils/index.d.ts +1 -0
- package/dist/src/domain/model/decent-swap/utils/index.js +18 -0
- package/dist/src/domain/model/decent-swap/utils/index.js.map +1 -0
- package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.d.ts +7 -0
- package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.js +134 -0
- package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.js.map +1 -0
- package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.spec.d.ts +1 -0
- package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.spec.js +251 -0
- package/dist/src/domain/model/decent-swap/utils/selectBestDecentRoute.spec.js.map +1 -0
- 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/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 +1 -0
- package/dist/src/domain/model/on-ramps/entities/index.js +1 -0
- package/dist/src/domain/model/on-ramps/entities/index.js.map +1 -1
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.d.ts +1 -0
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js +1 -0
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js.map +1 -1
- 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 +13 -13
- package/dist/src/domain/model/withdraw/dtos/index.js +13 -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/preparedWithdrawalResponse.dto.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalResponse.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalResponse.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/submitWithdrawalResponse.dto.d.ts +8 -0
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawalResponse.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/submitWithdrawalResponse.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/{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 +4 -4
- package/dist/src/domain/model/withdraw/entities/index.js +4 -4
- package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
- 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
- /package/dist/src/domain/model/company/dtos/{UpdateMoonpayApiKey.dto.d.ts → updateMoonpayApiKey.dto.d.ts} +0 -0
- /package/dist/src/domain/model/company/dtos/{UpdateOnramperApiKey.dto.d.ts → updateOnramperApiKey.dto.d.ts} +0 -0
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,14 @@
|
|
|
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 './
|
|
14
|
-
export * from './
|
|
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("./
|
|
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("./
|
|
30
|
-
__exportStar(require("./
|
|
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,
|
|
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 {
|
|
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
|
+
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"}
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -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 {
|
|
5
|
-
export declare class
|
|
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:
|
|
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"}
|
|
@@ -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
|
|
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"}
|
package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js
ADDED
|
@@ -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
|
package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js.map
ADDED
|
@@ -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 './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
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("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
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,
|
|
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"}
|