@heliofi/common 0.2.132 → 0.2.134
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/deposit/entities/Deposit.entity.d.ts +1 -1
- package/dist/src/domain/model/deposit/entities/DepositSearchResult.entity.d.ts +28 -0
- package/dist/src/domain/model/deposit/entities/DepositSearchResult.entity.js +7 -0
- package/dist/src/domain/model/deposit/entities/DepositSearchResult.entity.js.map +1 -0
- package/dist/src/domain/model/deposit/entities/DepositWalletEnriched.entity.d.ts +3 -0
- package/dist/src/domain/model/deposit/entities/DepositWalletEnriched.entity.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/index.d.ts +1 -0
- package/dist/src/domain/model/deposit/entities/index.js +1 -0
- package/dist/src/domain/model/deposit/entities/index.js.map +1 -1
- package/dist/src/domain/model/email/dtos/emailSuccessfulSweep.dto.d.ts +11 -0
- package/dist/src/domain/model/email/dtos/emailSuccessfulSweep.dto.js +58 -0
- package/dist/src/domain/model/email/dtos/emailSuccessfulSweep.dto.js.map +1 -0
- package/dist/src/domain/model/email/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/email/dtos/index.js +1 -0
- package/dist/src/domain/model/email/dtos/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.d.ts +0 -3
- package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.js +0 -12
- package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.js.map +0 -1
- package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.d.ts +0 -4
- package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.js +0 -24
- package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyChart.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyChart.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyChart.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js.map +0 -1
- package/dist/src/domain/model/decent-swap/entities/DeceptAppFee.d.ts +0 -5
- package/dist/src/domain/model/decent-swap/entities/DeceptAppFee.js +0 -3
- package/dist/src/domain/model/decent-swap/entities/DeceptAppFee.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +0 -13
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +0 -69
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.d.ts +0 -9
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js +0 -8
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.d.ts +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js +0 -18
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/index.d.ts +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/index.js +0 -18
- package/dist/src/domain/model/recent-sweep-attempt/index.js.map +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.d.ts +0 -4
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.js +0 -27
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Currency } from '../../currency';
|
|
2
|
+
import { DepositEnrichedEntity } from './DepositEnriched.entity';
|
|
3
|
+
import { DepositWalletEnrichedEntity } from './DepositWalletEnriched.entity';
|
|
4
|
+
import { TransactionStatus } from '../../transaction-meta/constants/TransactionStatus';
|
|
5
|
+
export interface WalletBalanceItem {
|
|
6
|
+
currency: Currency;
|
|
7
|
+
balance: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DepositWalletWithBalance {
|
|
10
|
+
wallet: DepositWalletEnrichedEntity;
|
|
11
|
+
balances: WalletBalanceItem[];
|
|
12
|
+
}
|
|
13
|
+
export interface TransactionStatsByStatus {
|
|
14
|
+
status: TransactionStatus;
|
|
15
|
+
count: number;
|
|
16
|
+
totalAmount: string;
|
|
17
|
+
}
|
|
18
|
+
export interface DepositTransactionStats {
|
|
19
|
+
successfulTransactionsCount: number;
|
|
20
|
+
totalAmount: string;
|
|
21
|
+
transactionsByStatus: TransactionStatsByStatus[];
|
|
22
|
+
}
|
|
23
|
+
export declare class DepositSearchResultEntity {
|
|
24
|
+
deposit: DepositEnrichedEntity;
|
|
25
|
+
wallets: DepositWalletEnrichedEntity[];
|
|
26
|
+
balances: DepositWalletWithBalance[];
|
|
27
|
+
transactionStats: DepositTransactionStats;
|
|
28
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositSearchResultEntity = void 0;
|
|
4
|
+
class DepositSearchResultEntity {
|
|
5
|
+
}
|
|
6
|
+
exports.DepositSearchResultEntity = DepositSearchResultEntity;
|
|
7
|
+
//# sourceMappingURL=DepositSearchResult.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositSearchResult.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositSearchResult.entity.ts"],"names":[],"mappings":";;;AA2BA,MAAa,yBAAyB;CAQrC;AARD,8DAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositWalletEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositWalletEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,2BAA4B,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"DepositWalletEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositWalletEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,2BAA4B,SAAQ,eAAM;CAYtD;AAZD,kEAYC"}
|
|
@@ -23,4 +23,5 @@ __exportStar(require("./DepositCustomerEnriched.entity"), exports);
|
|
|
23
23
|
__exportStar(require("./DepositWallet.entity"), exports);
|
|
24
24
|
__exportStar(require("./DepositWithStats.entity"), exports);
|
|
25
25
|
__exportStar(require("./PlainDeposit"), exports);
|
|
26
|
+
__exportStar(require("./DepositSearchResult.entity"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Cluster } from '../../blockchain';
|
|
2
|
+
export declare class EmailSuccessfulSweepDto {
|
|
3
|
+
transactionSignature: string;
|
|
4
|
+
email: string;
|
|
5
|
+
amount: string;
|
|
6
|
+
currency: string;
|
|
7
|
+
blockchain: string;
|
|
8
|
+
cluster: Cluster;
|
|
9
|
+
transactionId: string;
|
|
10
|
+
transactionLink: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.EmailSuccessfulSweepDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const blockchain_1 = require("../../blockchain");
|
|
15
|
+
class EmailSuccessfulSweepDto {
|
|
16
|
+
}
|
|
17
|
+
exports.EmailSuccessfulSweepDto = EmailSuccessfulSweepDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], EmailSuccessfulSweepDto.prototype, "transactionSignature", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsEmail)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EmailSuccessfulSweepDto.prototype, "email", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EmailSuccessfulSweepDto.prototype, "amount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], EmailSuccessfulSweepDto.prototype, "currency", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], EmailSuccessfulSweepDto.prototype, "blockchain", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], EmailSuccessfulSweepDto.prototype, "cluster", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], EmailSuccessfulSweepDto.prototype, "transactionId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], EmailSuccessfulSweepDto.prototype, "transactionLink", void 0);
|
|
58
|
+
//# sourceMappingURL=emailSuccessfulSweep.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailSuccessfulSweep.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/email/dtos/emailSuccessfulSweep.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,iDAA2C;AAE3C,MAAa,uBAAuB;CAgCnC;AAhCD,0DAgCC;AA7BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACgB;AAI7B;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;sDACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACW"}
|
|
@@ -25,4 +25,5 @@ __exportStar(require("./emailCompanyInvite.dto"), exports);
|
|
|
25
25
|
__exportStar(require("./emailSubscriptionEventDto"), exports);
|
|
26
26
|
__exportStar(require("./emailTelegramGroupInvite.dto"), exports);
|
|
27
27
|
__exportStar(require("./telegramGroupInvite.dto"), exports);
|
|
28
|
+
__exportStar(require("./emailSuccessfulSweep.dto"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/email/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,qDAAmC;AACnC,0DAAwC;AACxC,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,4DAA0C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/email/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,qDAAmC;AACnC,0DAAwC;AACxC,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,4DAA0C;AAC1C,6DAA2C"}
|