@heliofi/common 0.2.133 → 0.2.135
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/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/deposit-sweep-details/entities/DepositSweepDetails.entity.d.ts +0 -2
- package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js.map +1 -1
- package/dist/src/domain/model/deposit-tx/entities/DepositTxWithMetaWithCurrencyInfo.entity.d.ts +5 -0
- package/dist/src/domain/model/deposit-tx/entities/DepositTxWithMetaWithCurrencyInfo.entity.js +23 -0
- package/dist/src/domain/model/deposit-tx/entities/DepositTxWithMetaWithCurrencyInfo.entity.js.map +1 -0
- package/dist/src/domain/model/deposit-tx/entities/index.d.ts +1 -0
- package/dist/src/domain/model/deposit-tx/entities/index.js +1 -0
- package/dist/src/domain/model/deposit-tx/entities/index.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.entity.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -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"}
|
package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositSweepDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,mBAAoB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"DepositSweepDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,mBAAoB,SAAQ,eAAM;CAwB9C;AAxBD,kDAwBC;AAtBC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;kEACV;AAG9B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;gEACZ;AAG5B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;+DACZ;AAG5B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6DACf"}
|
|
@@ -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.DepositTxWithMetaWithCurrencyInfo = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const BaseDepositTx_1 = require("./BaseDepositTx");
|
|
15
|
+
const transaction_meta_1 = require("../../transaction-meta");
|
|
16
|
+
class DepositTxWithMetaWithCurrencyInfo extends BaseDepositTx_1.BaseDepositTx {
|
|
17
|
+
}
|
|
18
|
+
exports.DepositTxWithMetaWithCurrencyInfo = DepositTxWithMetaWithCurrencyInfo;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Type)(() => transaction_meta_1.TransactionMetaWithCurrencyInfo),
|
|
21
|
+
__metadata("design:type", transaction_meta_1.TransactionMetaWithCurrencyInfo)
|
|
22
|
+
], DepositTxWithMetaWithCurrencyInfo.prototype, "meta", void 0);
|
|
23
|
+
//# sourceMappingURL=DepositTxWithMetaWithCurrencyInfo.entity.js.map
|
package/dist/src/domain/model/deposit-tx/entities/DepositTxWithMetaWithCurrencyInfo.entity.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositTxWithMetaWithCurrencyInfo.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/DepositTxWithMetaWithCurrencyInfo.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,mDAAgD;AAChD,6DAAyE;AAEzE,MAAa,iCAAkC,SAAQ,6BAAa;CAGnE;AAHD,8EAGC;AADC;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kDAA+B,CAAC;8BACtC,kDAA+B;+DAAC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./BaseDepositTx"), exports);
|
|
18
18
|
__exportStar(require("./DepositTx"), exports);
|
|
19
19
|
__exportStar(require("./DepositTxWithSweepDetails"), exports);
|
|
20
|
+
__exportStar(require("./DepositTxWithMetaWithCurrencyInfo.entity"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,8CAA4B;AAC5B,8DAA4C;AAC5C,6EAA2D"}
|
|
@@ -16,8 +16,8 @@ export declare class BaseTransactionMeta extends Entity {
|
|
|
16
16
|
customerDetails: CustomerDetails;
|
|
17
17
|
productDetails: ProductDetails;
|
|
18
18
|
additionalProductDetails?: ProductDetails[];
|
|
19
|
-
splitRevenue
|
|
20
|
-
remainingAccounts
|
|
19
|
+
splitRevenue?: boolean;
|
|
20
|
+
remainingAccounts?: SplitAccount[];
|
|
21
21
|
transactionStatus?: TransactionStatus;
|
|
22
22
|
transactionDataHash?: string;
|
|
23
23
|
transactionType?: TransactionType;
|