@heliofi/common 0.2.249-alpha.1779985891 → 0.2.251
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/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/updateDisabledSwapCurrencies.dto.d.ts +3 -0
- package/dist/src/domain/model/company/dtos/updateDisabledSwapCurrencies.dto.js +23 -0
- package/dist/src/domain/model/company/dtos/updateDisabledSwapCurrencies.dto.js.map +1 -0
- package/dist/src/domain/model/deposit/dtos/requestVirtualAccountOtp.dto.d.ts +1 -1
- package/dist/src/domain/model/deposit/dtos/requestVirtualAccountOtp.dto.js +0 -1
- package/dist/src/domain/model/deposit/dtos/requestVirtualAccountOtp.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/dtos/verifyVirtualAccountOtp.dto.d.ts +1 -1
- package/dist/src/domain/model/deposit/dtos/verifyVirtualAccountOtp.dto.js +0 -1
- package/dist/src/domain/model/deposit/dtos/verifyVirtualAccountOtp.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/VirtualAccountPublic.entity.d.ts +4 -0
- package/dist/src/domain/model/deposit/entities/VirtualAccountPublic.entity.js +7 -0
- package/dist/src/domain/model/deposit/entities/VirtualAccountPublic.entity.js.map +1 -0
- package/dist/src/domain/model/deposit/entities/index.d.ts +1 -1
- package/dist/src/domain/model/deposit/entities/index.js +1 -1
- package/dist/src/domain/model/deposit/entities/index.js.map +1 -1
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.d.ts +5 -0
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js +5 -0
- package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js.map +1 -1
- package/dist/src/domain/model/withdraw/constants/BroadcastAck.d.ts +5 -0
- package/dist/src/domain/model/withdraw/constants/BroadcastAck.js +10 -0
- package/dist/src/domain/model/withdraw/constants/BroadcastAck.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/SmartWalletKind.d.ts +8 -0
- package/dist/src/domain/model/withdraw/constants/SmartWalletKind.js +13 -0
- package/dist/src/domain/model/withdraw/constants/SmartWalletKind.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/SourceWalletKind.d.ts +4 -0
- package/dist/src/domain/model/withdraw/constants/SourceWalletKind.js +9 -0
- package/dist/src/domain/model/withdraw/constants/SourceWalletKind.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawState.d.ts +10 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawState.js +15 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawState.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.d.ts +5 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js +10 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionDirection.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.d.ts +5 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js +10 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawTransactionStatus.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/index.d.ts +6 -0
- package/dist/src/domain/model/withdraw/constants/index.js +6 -0
- package/dist/src/domain/model/withdraw/constants/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/baseWithdraw.dto.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/baseWithdraw.dto.js +36 -0
- package/dist/src/domain/model/withdraw/dtos/baseWithdraw.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.d.ts +5 -0
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js +30 -0
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/index.d.ts +3 -0
- package/dist/src/domain/model/withdraw/dtos/index.js +20 -0
- package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.d.ts +5 -0
- package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.js +32 -0
- package/dist/src/domain/model/withdraw/dtos/updateWithdraw.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/Withdraw.entity.d.ts +14 -0
- package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/Withdraw.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/index.d.ts +1 -0
- package/dist/src/domain/model/withdraw/entities/index.js +18 -0
- package/dist/src/domain/model/withdraw/entities/index.js.map +1 -0
- package/dist/src/domain/model/withdraw/index.d.ts +2 -0
- package/dist/src/domain/model/withdraw/index.js +2 -0
- package/dist/src/domain/model/withdraw/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/deposit/entities/VirtualAccountPreAuthView.entity.d.ts +0 -3
- package/dist/src/domain/model/deposit/entities/VirtualAccountPreAuthView.entity.js +0 -7
- package/dist/src/domain/model/deposit/entities/VirtualAccountPreAuthView.entity.js.map +0 -1
|
@@ -26,4 +26,5 @@ __exportStar(require("./deleteCustomDepositPathFee.dto"), exports);
|
|
|
26
26
|
__exportStar(require("./createDepositPathFeeRule.dto"), exports);
|
|
27
27
|
__exportStar(require("./updateDepositPathFeeRule.dto"), exports);
|
|
28
28
|
__exportStar(require("./deleteDepositPathFeeRule.dto"), exports);
|
|
29
|
+
__exportStar(require("./updateDisabledSwapCurrencies.dto"), exports);
|
|
29
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,wEAAsD;AACtD,mEAAiD;AACjD,mEAAiD;AACjD,mEAAiD;AACjD,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,wEAAsD;AACtD,mEAAiD;AACjD,mEAAiD;AACjD,mEAAiD;AACjD,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateDisabledSwapCurrenciesDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class UpdateDisabledSwapCurrenciesDto {
|
|
15
|
+
}
|
|
16
|
+
exports.UpdateDisabledSwapCurrenciesDto = UpdateDisabledSwapCurrenciesDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsArray)(),
|
|
19
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
20
|
+
(0, class_validator_1.ArrayUnique)(),
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
|
+
], UpdateDisabledSwapCurrenciesDto.prototype, "disabledSwapCurrencyIds", void 0);
|
|
23
|
+
//# sourceMappingURL=updateDisabledSwapCurrencies.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateDisabledSwapCurrencies.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/updateDisabledSwapCurrencies.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,6BAAW,GAAE;;gFACoB"}
|
|
@@ -16,7 +16,6 @@ class RequestVirtualAccountOtpDto {
|
|
|
16
16
|
exports.RequestVirtualAccountOtpDto = RequestVirtualAccountOtpDto;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsEmail)(),
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
19
|
__metadata("design:type", String)
|
|
21
20
|
], RequestVirtualAccountOtpDto.prototype, "email", void 0);
|
|
22
21
|
//# sourceMappingURL=requestVirtualAccountOtp.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestVirtualAccountOtp.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/requestVirtualAccountOtp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"requestVirtualAccountOtp.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/requestVirtualAccountOtp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0C;AAE1C,MAAa,2BAA2B;CAGvC;AAHD,kEAGC;AADC;IADC,IAAA,yBAAO,GAAE;;0DACI"}
|
|
@@ -16,7 +16,6 @@ class VerifyVirtualAccountOtpDto {
|
|
|
16
16
|
exports.VerifyVirtualAccountOtpDto = VerifyVirtualAccountOtpDto;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsEmail)(),
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
19
|
__metadata("design:type", String)
|
|
21
20
|
], VerifyVirtualAccountOtpDto.prototype, "email", void 0);
|
|
22
21
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyVirtualAccountOtp.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/verifyVirtualAccountOtp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"verifyVirtualAccountOtp.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/verifyVirtualAccountOtp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AAExE,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AANC;IADC,IAAA,yBAAO,GAAE;;yDACI;AAKd;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,CAAC,EAAE,CAAC,CAAC;;2DACG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualAccountPublic.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/VirtualAccountPublic.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;CAIhC;AAJD,oDAIC"}
|
|
@@ -22,7 +22,7 @@ export * from './VirtualAccount.enums';
|
|
|
22
22
|
export * from './VirtualAccountBankDetailsInfo.entity';
|
|
23
23
|
export * from './VirtualAccountTransaction.entity';
|
|
24
24
|
export * from './VirtualAccountView.entity';
|
|
25
|
-
export * from './
|
|
25
|
+
export * from './VirtualAccountPublic.entity';
|
|
26
26
|
export * from './depositOptions.entity';
|
|
27
27
|
export * from './depositOptionsForCard.entity';
|
|
28
28
|
export * from './KycLink.entity';
|
|
@@ -38,7 +38,7 @@ __exportStar(require("./VirtualAccount.enums"), exports);
|
|
|
38
38
|
__exportStar(require("./VirtualAccountBankDetailsInfo.entity"), exports);
|
|
39
39
|
__exportStar(require("./VirtualAccountTransaction.entity"), exports);
|
|
40
40
|
__exportStar(require("./VirtualAccountView.entity"), exports);
|
|
41
|
-
__exportStar(require("./
|
|
41
|
+
__exportStar(require("./VirtualAccountPublic.entity"), exports);
|
|
42
42
|
__exportStar(require("./depositOptions.entity"), exports);
|
|
43
43
|
__exportStar(require("./depositOptionsForCard.entity"), exports);
|
|
44
44
|
__exportStar(require("./KycLink.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD;AACzD,sEAAoD;AACpD,gFAA8D;AAC9D,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,iEAA+C;AAC/C,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C;AAC7C,yEAAuD;AACvD,oEAAkD;AAClD,oFAAkE;AAClE,4EAA0D;AAC1D,6EAA2D;AAC3D,yDAAuC;AACvC,yEAAuD;AACvD,qEAAmD;AACnD,8DAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD;AACzD,sEAAoD;AACpD,gFAA8D;AAC9D,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,iEAA+C;AAC/C,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C;AAC7C,yEAAuD;AACvD,oEAAkD;AAClD,oFAAkE;AAClE,4EAA0D;AAC1D,6EAA2D;AAC3D,yDAAuC;AACvC,yEAAuD;AACvD,qEAAmD;AACnD,8DAA4C;AAC5C,gEAA8C;AAC9C,0DAAwC;AACxC,iEAA+C;AAC/C,mDAAiC;AACjC,2DAAyC;AACzC,qEAAmD;AACnD,+EAA6D;AAC7D,oEAAkD;AAClD,qDAAmC;AACnC,gEAA8C;AAC9C,sEAAoD;AACpD,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0EAAwD"}
|
|
@@ -34,6 +34,11 @@ export declare enum UserGroupPermission {
|
|
|
34
34
|
DEPOSITS_CREATE = "DEPOSITS_CREATE",
|
|
35
35
|
DEPOSITS_READ = "DEPOSITS_READ",
|
|
36
36
|
DEPOSITS_UPDATE = "DEPOSITS_UPDATE",
|
|
37
|
+
WITHDRAWS_ADMIN = "WITHDRAWS_ADMIN",
|
|
38
|
+
WITHDRAWS_WRITE = "WITHDRAWS_WRITE",
|
|
39
|
+
WITHDRAWS_CREATE = "WITHDRAWS_CREATE",
|
|
40
|
+
WITHDRAWS_READ = "WITHDRAWS_READ",
|
|
41
|
+
WITHDRAWS_UPDATE = "WITHDRAWS_UPDATE",
|
|
37
42
|
DEPOSIT_CUSTOMERS_ADMIN = "DEPOSIT_CUSTOMERS_ADMIN",
|
|
38
43
|
DEPOSIT_CUSTOMERS_WRITE = "DEPOSIT_CUSTOMERS_WRITE",
|
|
39
44
|
DEPOSIT_CUSTOMERS_CREATE = "DEPOSIT_CUSTOMERS_CREATE",
|
|
@@ -38,6 +38,11 @@ var UserGroupPermission;
|
|
|
38
38
|
UserGroupPermission["DEPOSITS_CREATE"] = "DEPOSITS_CREATE";
|
|
39
39
|
UserGroupPermission["DEPOSITS_READ"] = "DEPOSITS_READ";
|
|
40
40
|
UserGroupPermission["DEPOSITS_UPDATE"] = "DEPOSITS_UPDATE";
|
|
41
|
+
UserGroupPermission["WITHDRAWS_ADMIN"] = "WITHDRAWS_ADMIN";
|
|
42
|
+
UserGroupPermission["WITHDRAWS_WRITE"] = "WITHDRAWS_WRITE";
|
|
43
|
+
UserGroupPermission["WITHDRAWS_CREATE"] = "WITHDRAWS_CREATE";
|
|
44
|
+
UserGroupPermission["WITHDRAWS_READ"] = "WITHDRAWS_READ";
|
|
45
|
+
UserGroupPermission["WITHDRAWS_UPDATE"] = "WITHDRAWS_UPDATE";
|
|
41
46
|
UserGroupPermission["DEPOSIT_CUSTOMERS_ADMIN"] = "DEPOSIT_CUSTOMERS_ADMIN";
|
|
42
47
|
UserGroupPermission["DEPOSIT_CUSTOMERS_WRITE"] = "DEPOSIT_CUSTOMERS_WRITE";
|
|
43
48
|
UserGroupPermission["DEPOSIT_CUSTOMERS_CREATE"] = "DEPOSIT_CUSTOMERS_CREATE";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserGroupPermissions.js","sourceRoot":"","sources":["../../../../../../src/domain/model/userGroups/entities/UserGroupPermissions.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"UserGroupPermissions.js","sourceRoot":"","sources":["../../../../../../src/domain/model/userGroups/entities/UserGroupPermissions.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BroadcastAck = void 0;
|
|
4
|
+
var BroadcastAck;
|
|
5
|
+
(function (BroadcastAck) {
|
|
6
|
+
BroadcastAck["ACKNOWLEDGED"] = "acknowledged";
|
|
7
|
+
BroadcastAck["UNACKNOWLEDGED"] = "unacknowledged";
|
|
8
|
+
BroadcastAck["REJECTED"] = "rejected";
|
|
9
|
+
})(BroadcastAck || (exports.BroadcastAck = BroadcastAck = {}));
|
|
10
|
+
//# sourceMappingURL=BroadcastAck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BroadcastAck.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/BroadcastAck.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,iDAAiC,CAAA;IACjC,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmartWalletKind = void 0;
|
|
4
|
+
var SmartWalletKind;
|
|
5
|
+
(function (SmartWalletKind) {
|
|
6
|
+
SmartWalletKind["SAFE"] = "safe";
|
|
7
|
+
SmartWalletKind["KERNEL"] = "kernel";
|
|
8
|
+
SmartWalletKind["LIGHT_ACCOUNT"] = "lightAccount";
|
|
9
|
+
SmartWalletKind["POLYMARKET"] = "polymarket";
|
|
10
|
+
SmartWalletKind["COINBASE"] = "coinbase";
|
|
11
|
+
SmartWalletKind["UNKNOWN"] = "unknown";
|
|
12
|
+
})(SmartWalletKind || (exports.SmartWalletKind = SmartWalletKind = {}));
|
|
13
|
+
//# sourceMappingURL=SmartWalletKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartWalletKind.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/SmartWalletKind.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,iDAA8B,CAAA;IAC9B,4CAAyB,CAAA;IACzB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;AACrB,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SourceWalletKind = void 0;
|
|
4
|
+
var SourceWalletKind;
|
|
5
|
+
(function (SourceWalletKind) {
|
|
6
|
+
SourceWalletKind["SMART_CONTRACT"] = "smart_contract";
|
|
7
|
+
SourceWalletKind["EMBEDDED_EOA"] = "embedded_eoa";
|
|
8
|
+
})(SourceWalletKind || (exports.SourceWalletKind = SourceWalletKind = {}));
|
|
9
|
+
//# sourceMappingURL=SourceWalletKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceWalletKind.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/SourceWalletKind.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,qDAAiC,CAAA;IACjC,iDAA6B,CAAA;AAC/B,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum WithdrawState {
|
|
2
|
+
QUOTED = "QUOTED",
|
|
3
|
+
SUBMITTED = "SUBMITTED",
|
|
4
|
+
BRIDGING = "BRIDGING",
|
|
5
|
+
COMPLETED = "COMPLETED",
|
|
6
|
+
FAILED = "FAILED",
|
|
7
|
+
FAILED_EXPIRED = "FAILED_EXPIRED",
|
|
8
|
+
EXPIRED = "EXPIRED",
|
|
9
|
+
REFUNDED_BY_PROVIDER = "REFUNDED_BY_PROVIDER"
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawState = void 0;
|
|
4
|
+
var WithdrawState;
|
|
5
|
+
(function (WithdrawState) {
|
|
6
|
+
WithdrawState["QUOTED"] = "QUOTED";
|
|
7
|
+
WithdrawState["SUBMITTED"] = "SUBMITTED";
|
|
8
|
+
WithdrawState["BRIDGING"] = "BRIDGING";
|
|
9
|
+
WithdrawState["COMPLETED"] = "COMPLETED";
|
|
10
|
+
WithdrawState["FAILED"] = "FAILED";
|
|
11
|
+
WithdrawState["FAILED_EXPIRED"] = "FAILED_EXPIRED";
|
|
12
|
+
WithdrawState["EXPIRED"] = "EXPIRED";
|
|
13
|
+
WithdrawState["REFUNDED_BY_PROVIDER"] = "REFUNDED_BY_PROVIDER";
|
|
14
|
+
})(WithdrawState || (exports.WithdrawState = WithdrawState = {}));
|
|
15
|
+
//# sourceMappingURL=WithdrawState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawState.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawState.ts"],"names":[],"mappings":";;;AAAA,IAAY,aASX;AATD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,kDAAiC,CAAA;IACjC,oCAAmB,CAAA;IACnB,8DAA6C,CAAA;AAC/C,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawTransactionDirection = void 0;
|
|
4
|
+
var WithdrawTransactionDirection;
|
|
5
|
+
(function (WithdrawTransactionDirection) {
|
|
6
|
+
WithdrawTransactionDirection["SUBMIT"] = "submit";
|
|
7
|
+
WithdrawTransactionDirection["BRIDGE"] = "bridge";
|
|
8
|
+
WithdrawTransactionDirection["DESTINATION"] = "destination";
|
|
9
|
+
})(WithdrawTransactionDirection || (exports.WithdrawTransactionDirection = WithdrawTransactionDirection = {}));
|
|
10
|
+
//# sourceMappingURL=WithdrawTransactionDirection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawTransactionDirection.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawTransactionDirection.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACtC,iDAAiB,CAAA;IACjB,iDAAiB,CAAA;IACjB,2DAA2B,CAAA;AAC7B,CAAC,EAJW,4BAA4B,4CAA5B,4BAA4B,QAIvC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawTransactionStatus = void 0;
|
|
4
|
+
var WithdrawTransactionStatus;
|
|
5
|
+
(function (WithdrawTransactionStatus) {
|
|
6
|
+
WithdrawTransactionStatus["PENDING"] = "pending";
|
|
7
|
+
WithdrawTransactionStatus["CONFIRMED"] = "confirmed";
|
|
8
|
+
WithdrawTransactionStatus["FAILED"] = "failed";
|
|
9
|
+
})(WithdrawTransactionStatus || (exports.WithdrawTransactionStatus = WithdrawTransactionStatus = {}));
|
|
10
|
+
//# sourceMappingURL=WithdrawTransactionStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawTransactionStatus.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawTransactionStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,gDAAmB,CAAA;IACnB,oDAAuB,CAAA;IACvB,8CAAiB,CAAA;AACnB,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC"}
|
|
@@ -1 +1,7 @@
|
|
|
1
|
+
export * from './BroadcastAck';
|
|
2
|
+
export * from './SmartWalletKind';
|
|
3
|
+
export * from './SourceWalletKind';
|
|
1
4
|
export * from './WithdrawFeature';
|
|
5
|
+
export * from './WithdrawState';
|
|
6
|
+
export * from './WithdrawTransactionDirection';
|
|
7
|
+
export * from './WithdrawTransactionStatus';
|
|
@@ -14,5 +14,11 @@ 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("./BroadcastAck"), exports);
|
|
18
|
+
__exportStar(require("./SmartWalletKind"), exports);
|
|
19
|
+
__exportStar(require("./SourceWalletKind"), exports);
|
|
17
20
|
__exportStar(require("./WithdrawFeature"), exports);
|
|
21
|
+
__exportStar(require("./WithdrawState"), exports);
|
|
22
|
+
__exportStar(require("./WithdrawTransactionDirection"), exports);
|
|
23
|
+
__exportStar(require("./WithdrawTransactionStatus"), exports);
|
|
18
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,kDAAgC;AAChC,iEAA+C;AAC/C,8DAA4C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BlockchainSymbol } from '../../blockchain/constants/BlockchainSymbol';
|
|
2
|
+
import { WithdrawFeature } from '../constants/WithdrawFeature';
|
|
3
|
+
export declare class BaseWithdrawDto {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
disabledBlockchainSymbols?: BlockchainSymbol[];
|
|
6
|
+
enabledFeatures?: WithdrawFeature[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BaseWithdrawDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const BlockchainSymbol_1 = require("../../blockchain/constants/BlockchainSymbol");
|
|
15
|
+
const WithdrawFeature_1 = require("../constants/WithdrawFeature");
|
|
16
|
+
class BaseWithdrawDto {
|
|
17
|
+
}
|
|
18
|
+
exports.BaseWithdrawDto = BaseWithdrawDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsBoolean)(),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
__metadata("design:type", Boolean)
|
|
23
|
+
], BaseWithdrawDto.prototype, "disabled", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsArray)(),
|
|
26
|
+
(0, class_validator_1.IsEnum)(BlockchainSymbol_1.BlockchainSymbol, { each: true }),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], BaseWithdrawDto.prototype, "disabledBlockchainSymbols", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsArray)(),
|
|
32
|
+
(0, class_validator_1.IsEnum)(WithdrawFeature_1.WithdrawFeature, { each: true }),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], BaseWithdrawDto.prototype, "enabledFeatures", void 0);
|
|
36
|
+
//# sourceMappingURL=baseWithdraw.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baseWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/baseWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,kFAA+E;AAC/E,kEAA+D;AAE/D,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAXC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACM;AAKnB;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,mCAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,4BAAU,GAAE;;kEACkC;AAK/C;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,iCAAe,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACvC,IAAA,4BAAU,GAAE;;wDACuB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateWithdrawDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const baseWithdraw_dto_1 = require("./baseWithdraw.dto");
|
|
15
|
+
class CreateWithdrawDto extends baseWithdraw_dto_1.BaseWithdrawDto {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateWithdrawDto = CreateWithdrawDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.MaxLength)(200),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateWithdrawDto.prototype, "name", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsArray)(),
|
|
26
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
27
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], CreateWithdrawDto.prototype, "currencyIds", void 0);
|
|
30
|
+
//# sourceMappingURL=createWithdraw.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/createWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAqD;AAErD,MAAa,iBAAkB,SAAQ,kCAAe;CAUrD;AAVD,8CAUC;AANC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACF;AAKb;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;;sDACM"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./baseWithdraw.dto"), exports);
|
|
18
|
+
__exportStar(require("./createWithdraw.dto"), exports);
|
|
19
|
+
__exportStar(require("./updateWithdraw.dto"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateWithdrawDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const baseWithdraw_dto_1 = require("./baseWithdraw.dto");
|
|
15
|
+
class UpdateWithdrawDto extends baseWithdraw_dto_1.BaseWithdrawDto {
|
|
16
|
+
}
|
|
17
|
+
exports.UpdateWithdrawDto = UpdateWithdrawDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
(0, class_validator_1.MaxLength)(200),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], UpdateWithdrawDto.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsArray)(),
|
|
27
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
28
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", Array)
|
|
31
|
+
], UpdateWithdrawDto.prototype, "currencyIds", void 0);
|
|
32
|
+
//# sourceMappingURL=updateWithdraw.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/updateWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAqD;AAErD,MAAa,iBAAkB,SAAQ,kCAAe;CAYrD;AAZD,8CAYC;AAPC;IAJC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACD;AAMd;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,4BAAU,GAAE;;sDACU"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
import { Platform } from '../../../constants';
|
|
3
|
+
import { BlockchainSymbol } from '../../blockchain/constants/BlockchainSymbol';
|
|
4
|
+
import { WithdrawFeature } from '../constants/WithdrawFeature';
|
|
5
|
+
export declare class WithdrawEntity extends Entity {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
platform: Platform;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
disabledBlockchainSymbols: BlockchainSymbol[];
|
|
11
|
+
enabledFeatures: WithdrawFeature[];
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawEntity = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class WithdrawEntity extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.WithdrawEntity = WithdrawEntity;
|
|
8
|
+
//# sourceMappingURL=Withdraw.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Withdraw.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/Withdraw.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,cAAe,SAAQ,eAAM;CAgBzC;AAhBD,wCAgBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Withdraw.entity';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Withdraw.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./constants"), exports);
|
|
18
|
+
__exportStar(require("./dtos"), exports);
|
|
19
|
+
__exportStar(require("./entities"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|