@heliofi/common 0.2.283 → 0.2.284
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/blockchain/constants/decentChainIdToBlockchainSymbol.d.ts +2 -0
- package/dist/src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.js +13 -0
- package/dist/src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.js.map +1 -0
- package/dist/src/domain/model/blockchain/constants/index.d.ts +1 -0
- package/dist/src/domain/model/blockchain/constants/index.js +1 -0
- package/dist/src/domain/model/blockchain/constants/index.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/IronIdentificationResponse.entity.d.ts +1 -0
- package/dist/src/domain/model/deposit/entities/IronIdentificationResponse.entity.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.d.ts +2 -1
- package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.js +1 -0
- package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.d.ts +2 -1
- package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.js +1 -0
- package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.js.map +1 -1
- package/dist/src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.d.ts +2 -0
- package/dist/src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.js +39 -0
- package/dist/src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/withdraw/dtos/index.js +1 -0
- package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js +6 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js.map +1 -1
- package/dist/src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.d.ts +4 -0
- package/dist/src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.js.map +1 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.d.ts +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.js.map +1 -1
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.d.ts +20 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.d.ts +30 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.d.ts +8 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.js +13 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.d.ts +6 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalReportItem.entity.d.ts +26 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalReportItem.entity.js +8 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawalReportItem.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/index.d.ts +5 -0
- package/dist/src/domain/model/withdraw/entities/index.js +5 -0
- package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.decentChainIdToBlockchainSymbol = decentChainIdToBlockchainSymbol;
|
|
4
|
+
const BlockchainSymbolToDecentChainId_1 = require("./BlockchainSymbolToDecentChainId");
|
|
5
|
+
function decentChainIdToBlockchainSymbol(chainId) {
|
|
6
|
+
for (const [symbol, clusters] of Object.entries(BlockchainSymbolToDecentChainId_1.BlockchainSymbolToDecentChainId)) {
|
|
7
|
+
if (clusters && Object.values(clusters).includes(chainId)) {
|
|
8
|
+
return symbol;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=decentChainIdToBlockchainSymbol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decentChainIdToBlockchainSymbol.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.ts"],"names":[],"mappings":";;AAKA,0EAWC;AAfD,uFAAoF;AAIpF,SAAgB,+BAA+B,CAC7C,OAAe;IAEf,KAAK,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAC7C,iEAA+B,CAChC,EAAE,CAAC;QACF,IAAI,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1D,OAAO,MAAoD,CAAC;QAC9D,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -3,4 +3,5 @@ export * from './BlockchainSymbol';
|
|
|
3
3
|
export * from './BlockchainEngineToBlockchain';
|
|
4
4
|
export * from './BlockchainToBlockchainEngine';
|
|
5
5
|
export * from './BlockchainSymbolToDecentChainId';
|
|
6
|
+
export * from './decentChainIdToBlockchainSymbol';
|
|
6
7
|
export * from './ConfirmTimeoutSec';
|
|
@@ -19,5 +19,6 @@ __exportStar(require("./BlockchainSymbol"), exports);
|
|
|
19
19
|
__exportStar(require("./BlockchainEngineToBlockchain"), exports);
|
|
20
20
|
__exportStar(require("./BlockchainToBlockchainEngine"), exports);
|
|
21
21
|
__exportStar(require("./BlockchainSymbolToDecentChainId"), exports);
|
|
22
|
+
__exportStar(require("./decentChainIdToBlockchainSymbol"), exports);
|
|
22
23
|
__exportStar(require("./ConfirmTimeoutSec"), exports);
|
|
23
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC;AACnC,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC;AACnC,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,oEAAkD;AAClD,sDAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IronIdentificationResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/IronIdentificationResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,0BAA2B,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"IronIdentificationResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/IronIdentificationResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,0BAA2B,SAAQ,eAAM;CAiBrD;AAjBD,gEAiBC"}
|
|
@@ -44,5 +44,6 @@ var VirtualAccountStep;
|
|
|
44
44
|
VirtualAccountStep["TERMS"] = "TERMS";
|
|
45
45
|
VirtualAccountStep["BANK_DETAILS_PENDING"] = "BANK_DETAILS_PENDING";
|
|
46
46
|
VirtualAccountStep["READY"] = "READY";
|
|
47
|
+
VirtualAccountStep["BANK_COUNTRY_BANNED"] = "BANK_COUNTRY_BANNED";
|
|
47
48
|
})(VirtualAccountStep || (exports.VirtualAccountStep = VirtualAccountStep = {}));
|
|
48
49
|
//# sourceMappingURL=VirtualAccount.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualAccount.enums.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/VirtualAccount.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,sDAA2B,CAAA;IAC3B,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC;AAGD,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,kEAA8B,CAAA;IAC9B,0EAAsC,CAAA;IACtC,sFAAkD,CAAA;IAClD,qDAAiB,CAAA;IACjB,2DAAuB,CAAA;AACzB,CAAC,EANW,gCAAgC,gDAAhC,gCAAgC,QAM3C;AAED,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;IACrB,wDAAqB,CAAA;IACrB,kDAAe,CAAA;AACjB,CAAC,EANW,+BAA+B,+CAA/B,+BAA+B,QAM1C;AAED,IAAY,+BASX;AATD,WAAY,+BAA+B;IACzC,qFAAkD,CAAA;IAClD,kFAA+C,CAAA;IAC/C,0EAAuC,CAAA;IACvC,0DAAuB,CAAA;IACvB,oDAAiB,CAAA;IACjB,+DAA4B,CAAA;IAC5B,mEAAgC,CAAA;IAChC,4EAAyC,CAAA;AAC3C,CAAC,EATW,+BAA+B,+CAA/B,+BAA+B,QAS1C;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"VirtualAccount.enums.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/VirtualAccount.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,sDAA2B,CAAA;IAC3B,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC;AAGD,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,kEAA8B,CAAA;IAC9B,0EAAsC,CAAA;IACtC,sFAAkD,CAAA;IAClD,qDAAiB,CAAA;IACjB,2DAAuB,CAAA;AACzB,CAAC,EANW,gCAAgC,gDAAhC,gCAAgC,QAM3C;AAED,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;IACrB,wDAAqB,CAAA;IACrB,kDAAe,CAAA;AACjB,CAAC,EANW,+BAA+B,+CAA/B,+BAA+B,QAM1C;AAED,IAAY,+BASX;AATD,WAAY,+BAA+B;IACzC,qFAAkD,CAAA;IAClD,kFAA+C,CAAA;IAC/C,0EAAuC,CAAA;IACvC,0DAAuB,CAAA;IACvB,oDAAiB,CAAA;IACjB,+DAA4B,CAAA;IAC5B,mEAAgC,CAAA;IAChC,4EAAyC,CAAA;AAC3C,CAAC,EATW,+BAA+B,+CAA/B,+BAA+B,QAS1C;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,qDAA+B,CAAA;IAC/B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;IACX,qCAAe,CAAA;IACf,mEAA6C,CAAA;IAC7C,qCAAe,CAAA;IAEf,iEAA2C,CAAA;AAC7C,CAAC,EAVW,kBAAkB,kCAAlB,kBAAkB,QAU7B"}
|
|
@@ -7,5 +7,6 @@ var ExportTransactionType;
|
|
|
7
7
|
ExportTransactionType["PAYLINK"] = "PAYLINK";
|
|
8
8
|
ExportTransactionType["STREAM"] = "STREAM";
|
|
9
9
|
ExportTransactionType["DEPOSIT"] = "DEPOSIT";
|
|
10
|
+
ExportTransactionType["WITHDRAWAL"] = "WITHDRAWAL";
|
|
10
11
|
})(ExportTransactionType || (exports.ExportTransactionType = ExportTransactionType = {}));
|
|
11
12
|
//# sourceMappingURL=ExportTransactionType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportTransactionType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/constants/ExportTransactionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ExportTransactionType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/constants/ExportTransactionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;AAC3B,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WalletCurrencyBalance.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"WalletCurrencyBalance.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;CAiBjC;AAjBD,sDAiBC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.GetWithdrawalTransactionsQueryDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const baseQuery_dto_1 = require("../../shared/queries/baseQuery.dto");
|
|
15
|
+
class GetWithdrawalTransactionsQueryDto extends baseQuery_dto_1.BaseQueryDto {
|
|
16
|
+
}
|
|
17
|
+
exports.GetWithdrawalTransactionsQueryDto = GetWithdrawalTransactionsQueryDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsArray)(),
|
|
20
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], GetWithdrawalTransactionsQueryDto.prototype, "state", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], GetWithdrawalTransactionsQueryDto.prototype, "sourceChain", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], GetWithdrawalTransactionsQueryDto.prototype, "destinationChain", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], GetWithdrawalTransactionsQueryDto.prototype, "withdrawalConfigId", void 0);
|
|
39
|
+
//# sourceMappingURL=getWithdrawalTransactionsQuery.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWithdrawalTransactionsQuery.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,sEAAkE;AAElE,MAAa,iCAAkC,SAAQ,4BAAY;CAiBlE;AAjBD,8EAiBC;AAbC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;gEACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sEACQ;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2EACa;AAI1B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6EACe"}
|
|
@@ -8,4 +8,5 @@ export * from './preparedWithdrawalTypedData.dto';
|
|
|
8
8
|
export * from './preparedWithdrawalTypedDataDomain.dto';
|
|
9
9
|
export * from './preparedWithdrawalTypedDataField.dto';
|
|
10
10
|
export * from './submitWithdrawal.dto';
|
|
11
|
+
export * from './getWithdrawalTransactionsQuery.dto';
|
|
11
12
|
export * from './updateWithdrawalConfig.dto';
|
|
@@ -24,5 +24,6 @@ __exportStar(require("./preparedWithdrawalTypedData.dto"), exports);
|
|
|
24
24
|
__exportStar(require("./preparedWithdrawalTypedDataDomain.dto"), exports);
|
|
25
25
|
__exportStar(require("./preparedWithdrawalTypedDataField.dto"), exports);
|
|
26
26
|
__exportStar(require("./submitWithdrawal.dto"), exports);
|
|
27
|
+
__exportStar(require("./getWithdrawalTransactionsQuery.dto"), exports);
|
|
27
28
|
__exportStar(require("./updateWithdrawalConfig.dto"), exports);
|
|
28
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,6DAA2C;AAC3C,+DAA6C;AAC7C,4DAA0C;AAC1C,2DAAyC;AACzC,+DAA6C;AAC7C,kEAAgD;AAChD,oEAAkD;AAClD,0EAAwD;AACxD,yEAAuD;AACvD,yDAAuC;AACvC,+DAA6C"}
|
|
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,uEAAqD;AACrD,+DAA6C"}
|
|
@@ -36,4 +36,10 @@ __decorate([
|
|
|
36
36
|
(0, class_validator_1.IsMongoId)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
38
|
], PreparedWithdrawalDto.prototype, "sourceCurrencyId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.MaxLength)(255),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], PreparedWithdrawalDto.prototype, "customerId", void 0);
|
|
39
45
|
//# sourceMappingURL=preparedWithdrawal.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preparedWithdrawal.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawal.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"preparedWithdrawal.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawal.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AAEzB,MAAa,qBAAqB;CAuCjC;AAvCD,sDAuCC;AA/BC;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;AAMrB;IADC,IAAA,2BAAS,GAAE;;+DACa;AAOzB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;yDACK"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import { WithdrawalQuoteFeeEntity } from '../entities/WithdrawalQuoteFee.entity';
|
|
1
2
|
export declare class PreparedWithdrawalSummaryDto {
|
|
2
3
|
sourceToken: string;
|
|
3
4
|
sourceAmount: string;
|
|
4
5
|
destinationToken: string;
|
|
5
6
|
destinationAmount: string;
|
|
6
7
|
destinationAmountMin: string;
|
|
8
|
+
maxSlippageBps: number;
|
|
9
|
+
estimatedPriceImpact?: number;
|
|
10
|
+
bridgeFee: WithdrawalQuoteFeeEntity;
|
|
11
|
+
applicationFee: WithdrawalQuoteFeeEntity;
|
|
12
|
+
protocolFee: WithdrawalQuoteFeeEntity;
|
|
13
|
+
totalFee: WithdrawalQuoteFeeEntity;
|
|
7
14
|
expiresAt: string;
|
|
8
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preparedWithdrawalSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"preparedWithdrawalSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,4BAA4B;CAwBxC;AAxBD,oEAwBC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { WithdrawalConfigEntity } from './WithdrawalConfig.entity';
|
|
2
2
|
import { SlimCurrencyWithPopulatedBlockchain } from '../../currency/entities/SlimCurrencyWithPopulatedBlockchain.entity';
|
|
3
3
|
import { WithdrawalCurrenciesExchangeRate } from './WithdrawalCurrenciesExchangeRate.entity';
|
|
4
|
+
import { WithdrawalMinSupportedVersions } from './WithdrawalMinSupportedVersions.entity';
|
|
5
|
+
import { BaseCompany } from '../../company';
|
|
4
6
|
export declare class PublicWithdrawalConfigEntity extends WithdrawalConfigEntity {
|
|
5
7
|
fromCurrencies: SlimCurrencyWithPopulatedBlockchain[];
|
|
6
8
|
exchangeRates: WithdrawalCurrenciesExchangeRate[];
|
|
9
|
+
minSupportedVersions: WithdrawalMinSupportedVersions;
|
|
10
|
+
company: BaseCompany;
|
|
7
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicWithdrawalConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;
|
|
1
|
+
{"version":3,"file":"PublicWithdrawalConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;AAMnE,MAAa,4BAA6B,SAAQ,gDAAsB;CAYvE;AAZD,oEAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawalDetail.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetail.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,sBAAuB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"WithdrawalDetail.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetail.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,sBAAuB,SAAQ,eAAM;CAYjD;AAZD,wDAYC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
import { BroadcastAck } from '../constants/BroadcastAck';
|
|
3
|
+
import { WithdrawalState } from '../constants/WithdrawalState';
|
|
4
|
+
export declare class WithdrawalDetailEnriched extends Entity {
|
|
5
|
+
withdrawalDetailId: string;
|
|
6
|
+
state: WithdrawalState;
|
|
7
|
+
sourceChain: string;
|
|
8
|
+
sourceToken: string;
|
|
9
|
+
sourceAmount: string;
|
|
10
|
+
destinationChain: string;
|
|
11
|
+
destinationToken: string;
|
|
12
|
+
destinationAmount: string;
|
|
13
|
+
destinationWallet: string;
|
|
14
|
+
txHash: string | null;
|
|
15
|
+
broadcastAck: BroadcastAck | null;
|
|
16
|
+
errorReason: string | null;
|
|
17
|
+
customerId: string | null;
|
|
18
|
+
createdAt: Date;
|
|
19
|
+
updatedAt: Date;
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawalDetailEnriched = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class WithdrawalDetailEnriched extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.WithdrawalDetailEnriched = WithdrawalDetailEnriched;
|
|
8
|
+
//# sourceMappingURL=WithdrawalDetailEnriched.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawalDetailEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,wBAAyB,SAAQ,eAAM;CA8BnD;AA9BD,4DA8BC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BlockchainSymbol, DepositBlockchainSymbol } from '../../blockchain';
|
|
2
|
+
import { Entity } from '../../entity';
|
|
3
|
+
import { BroadcastAck } from '../constants/BroadcastAck';
|
|
4
|
+
import { WithdrawalState } from '../constants/WithdrawalState';
|
|
5
|
+
export declare class WithdrawalDetailReceipt extends Entity {
|
|
6
|
+
withdrawalDetailId: string;
|
|
7
|
+
state: WithdrawalState;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
sourceChain: BlockchainSymbol | DepositBlockchainSymbol;
|
|
11
|
+
sourceToken: string;
|
|
12
|
+
sourceAmount: string;
|
|
13
|
+
destinationChain: BlockchainSymbol | DepositBlockchainSymbol;
|
|
14
|
+
destinationToken: string;
|
|
15
|
+
destinationAmount: string;
|
|
16
|
+
sourceWalletAddress: string;
|
|
17
|
+
destinationWallet: string;
|
|
18
|
+
sourceTxHash: string | null;
|
|
19
|
+
sourceTxExplorerLink: string | null;
|
|
20
|
+
destinationTxHash: string | null;
|
|
21
|
+
destinationTxExplorerLink: string | null;
|
|
22
|
+
platformFee: string;
|
|
23
|
+
affiliateFee: string;
|
|
24
|
+
decentBridgeFee: string;
|
|
25
|
+
networkGasSource: string;
|
|
26
|
+
networkGasDest: string | null;
|
|
27
|
+
errorReason: string | null;
|
|
28
|
+
broadcastAck: BroadcastAck | null;
|
|
29
|
+
customerId: string | null;
|
|
30
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawalDetailReceipt = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class WithdrawalDetailReceipt extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.WithdrawalDetailReceipt = WithdrawalDetailReceipt;
|
|
8
|
+
//# sourceMappingURL=WithdrawalDetailReceipt.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawalDetailReceipt.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAItC,MAAa,uBAAwB,SAAQ,eAAM;CAgDlD;AAhDD,0DAgDC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
export declare enum WithdrawalPackage {
|
|
3
|
+
HELIOFI_WITHDRAW_CORE = "@heliofi/withdraw-core",
|
|
4
|
+
HELIOFI_WITHDRAW_REACT = "@heliofi/withdraw-react"
|
|
5
|
+
}
|
|
6
|
+
export declare class WithdrawalMinSupportedVersions extends Entity {
|
|
7
|
+
packages: Partial<Record<WithdrawalPackage, string>>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawalMinSupportedVersions = exports.WithdrawalPackage = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
var WithdrawalPackage;
|
|
6
|
+
(function (WithdrawalPackage) {
|
|
7
|
+
WithdrawalPackage["HELIOFI_WITHDRAW_CORE"] = "@heliofi/withdraw-core";
|
|
8
|
+
WithdrawalPackage["HELIOFI_WITHDRAW_REACT"] = "@heliofi/withdraw-react";
|
|
9
|
+
})(WithdrawalPackage || (exports.WithdrawalPackage = WithdrawalPackage = {}));
|
|
10
|
+
class WithdrawalMinSupportedVersions extends entity_1.Entity {
|
|
11
|
+
}
|
|
12
|
+
exports.WithdrawalMinSupportedVersions = WithdrawalMinSupportedVersions;
|
|
13
|
+
//# sourceMappingURL=WithdrawalMinSupportedVersions.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawalMinSupportedVersions.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,qEAAgD,CAAA;IAChD,uEAAkD,CAAA;AACpD,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,MAAa,8BAA+B,SAAQ,eAAM;CAEzD;AAFD,wEAEC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawalQuoteFeeEntity = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class WithdrawalQuoteFeeEntity extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.WithdrawalQuoteFeeEntity = WithdrawalQuoteFeeEntity;
|
|
8
|
+
//# sourceMappingURL=WithdrawalQuoteFee.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawalQuoteFee.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,wBAAyB,SAAQ,eAAM;CAOnD;AAPD,4DAOC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BlockchainSymbol, DepositBlockchainSymbol } from '../../blockchain';
|
|
2
|
+
import { Entity } from '../../entity';
|
|
3
|
+
import { ExportTransactionType } from '../../transaction-meta';
|
|
4
|
+
import { WithdrawalState } from '../constants/WithdrawalState';
|
|
5
|
+
export declare class WithdrawalReportItem extends Entity {
|
|
6
|
+
id: string;
|
|
7
|
+
state: WithdrawalState;
|
|
8
|
+
time: string;
|
|
9
|
+
sourceChain: BlockchainSymbol | DepositBlockchainSymbol;
|
|
10
|
+
sourceToken: string;
|
|
11
|
+
sourceAmount: string;
|
|
12
|
+
destinationChain: BlockchainSymbol | DepositBlockchainSymbol;
|
|
13
|
+
destinationToken: string;
|
|
14
|
+
destinationAmount: string;
|
|
15
|
+
destinationWallet: string;
|
|
16
|
+
sourceTxHash: string | null;
|
|
17
|
+
sourceTxExplorerLink: string | null;
|
|
18
|
+
destinationTxHash: string | null;
|
|
19
|
+
destinationTxExplorerLink: string | null;
|
|
20
|
+
platformFee: string;
|
|
21
|
+
affiliateFee: string;
|
|
22
|
+
decentBridgeFee: string;
|
|
23
|
+
networkGasSource: string;
|
|
24
|
+
networkGasDest: string | null;
|
|
25
|
+
transactionType: ExportTransactionType;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawalReportItem = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class WithdrawalReportItem extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.WithdrawalReportItem = WithdrawalReportItem;
|
|
8
|
+
//# sourceMappingURL=WithdrawalReportItem.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawalReportItem.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalReportItem.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAItC,MAAa,oBAAqB,SAAQ,eAAM;CAwC/C;AAxCD,oDAwCC"}
|
|
@@ -8,3 +8,8 @@ export * from './WithdrawalCostBreakdown.entity';
|
|
|
8
8
|
export * from './WithdrawalCurrenciesExchangeRate.entity';
|
|
9
9
|
export * from './WithdrawalCustomerSwapRoute.entity';
|
|
10
10
|
export * from './WithdrawalCustomerSwapRoutesResponse.entity';
|
|
11
|
+
export * from './WithdrawalMinSupportedVersions.entity';
|
|
12
|
+
export * from './WithdrawalQuoteFee.entity';
|
|
13
|
+
export * from './WithdrawalDetailEnriched.entity';
|
|
14
|
+
export * from './WithdrawalReportItem.entity';
|
|
15
|
+
export * from './WithdrawalDetailReceipt.entity';
|
|
@@ -24,4 +24,9 @@ __exportStar(require("./WithdrawalCostBreakdown.entity"), exports);
|
|
|
24
24
|
__exportStar(require("./WithdrawalCurrenciesExchangeRate.entity"), exports);
|
|
25
25
|
__exportStar(require("./WithdrawalCustomerSwapRoute.entity"), exports);
|
|
26
26
|
__exportStar(require("./WithdrawalCustomerSwapRoutesResponse.entity"), exports);
|
|
27
|
+
__exportStar(require("./WithdrawalMinSupportedVersions.entity"), exports);
|
|
28
|
+
__exportStar(require("./WithdrawalQuoteFee.entity"), exports);
|
|
29
|
+
__exportStar(require("./WithdrawalDetailEnriched.entity"), exports);
|
|
30
|
+
__exportStar(require("./WithdrawalReportItem.entity"), exports);
|
|
31
|
+
__exportStar(require("./WithdrawalDetailReceipt.entity"), exports);
|
|
27
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,sEAAoD;AACpD,4DAA0C;AAC1C,kEAAgD;AAChD,mEAAiD;AACjD,4EAA0D;AAC1D,uEAAqD;AACrD,gFAA8D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,sEAAoD;AACpD,4DAA0C;AAC1C,kEAAgD;AAChD,mEAAiD;AACjD,4EAA0D;AAC1D,uEAAqD;AACrD,gFAA8D;AAC9D,0EAAwD;AACxD,8DAA4C;AAC5C,oEAAkD;AAClD,gEAA8C;AAC9C,mEAAiD"}
|