cecon-interfaces 1.4.15 → 1.4.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/transaction/entities/index.mjs +5 -3
- package/dist/esm2022/transaction/entities/transaction-info-resume.entity.mjs +18 -0
- package/dist/esm2022/transaction/entities/transaction-resume.entity.mjs +23 -0
- package/dist/esm2022/transaction/interfaces/i-transaction-info-resume.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-transaction-resume.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +85 -46
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/transaction/entities/index.d.ts +4 -2
- package/dist/transaction/entities/index.js +9 -5
- package/dist/transaction/entities/transaction-info-resume.entity.d.ts +7 -0
- package/dist/transaction/entities/transaction-info-resume.entity.js +22 -0
- package/dist/transaction/entities/transaction-resume.entity.d.ts +12 -0
- package/dist/transaction/entities/transaction-resume.entity.js +27 -0
- package/dist/transaction/interfaces/i-transaction-info-resume.d.ts +5 -0
- package/dist/transaction/interfaces/i-transaction-info-resume.js +2 -0
- package/dist/transaction/interfaces/i-transaction-resume.d.ts +10 -0
- package/dist/transaction/interfaces/i-transaction-resume.js +2 -0
- package/dist/transaction/interfaces/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
export { TransactionEntity } from './transaction.entity';
|
2
1
|
export { FeeDetailEntity } from './fee-detail.entity';
|
3
2
|
export { TransactionBalanceEntity } from './transaction-balance.entity';
|
4
|
-
export {
|
3
|
+
export { TransactionInfoResumeEntity } from './transaction-info-resume.entity';
|
5
4
|
export { TransactionPaymentMethodEntity } from './transaction-payment-method.entity';
|
5
|
+
export { TransactionResumeEntity } from './transaction-resume.entity';
|
6
|
+
export { TransactionTotalEntity } from './transaction-total.entity';
|
7
|
+
export { TransactionEntity } from './transaction.entity';
|
@@ -1,13 +1,17 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var transaction_entity_1 = require("./transaction.entity");
|
5
|
-
Object.defineProperty(exports, "TransactionEntity", { enumerable: true, get: function () { return transaction_entity_1.TransactionEntity; } });
|
3
|
+
exports.TransactionEntity = exports.TransactionTotalEntity = exports.TransactionResumeEntity = exports.TransactionPaymentMethodEntity = exports.TransactionInfoResumeEntity = exports.TransactionBalanceEntity = exports.FeeDetailEntity = void 0;
|
6
4
|
var fee_detail_entity_1 = require("./fee-detail.entity");
|
7
5
|
Object.defineProperty(exports, "FeeDetailEntity", { enumerable: true, get: function () { return fee_detail_entity_1.FeeDetailEntity; } });
|
8
6
|
var transaction_balance_entity_1 = require("./transaction-balance.entity");
|
9
7
|
Object.defineProperty(exports, "TransactionBalanceEntity", { enumerable: true, get: function () { return transaction_balance_entity_1.TransactionBalanceEntity; } });
|
10
|
-
var
|
11
|
-
Object.defineProperty(exports, "
|
8
|
+
var transaction_info_resume_entity_1 = require("./transaction-info-resume.entity");
|
9
|
+
Object.defineProperty(exports, "TransactionInfoResumeEntity", { enumerable: true, get: function () { return transaction_info_resume_entity_1.TransactionInfoResumeEntity; } });
|
12
10
|
var transaction_payment_method_entity_1 = require("./transaction-payment-method.entity");
|
13
11
|
Object.defineProperty(exports, "TransactionPaymentMethodEntity", { enumerable: true, get: function () { return transaction_payment_method_entity_1.TransactionPaymentMethodEntity; } });
|
12
|
+
var transaction_resume_entity_1 = require("./transaction-resume.entity");
|
13
|
+
Object.defineProperty(exports, "TransactionResumeEntity", { enumerable: true, get: function () { return transaction_resume_entity_1.TransactionResumeEntity; } });
|
14
|
+
var transaction_total_entity_1 = require("./transaction-total.entity");
|
15
|
+
Object.defineProperty(exports, "TransactionTotalEntity", { enumerable: true, get: function () { return transaction_total_entity_1.TransactionTotalEntity; } });
|
16
|
+
var transaction_entity_1 = require("./transaction.entity");
|
17
|
+
Object.defineProperty(exports, "TransactionEntity", { enumerable: true, get: function () { return transaction_entity_1.TransactionEntity; } });
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ITransactionInfoResume } from '../interfaces/i-transaction-info-resume';
|
2
|
+
export declare class TransactionInfoResumeEntity implements ITransactionInfoResume {
|
3
|
+
companyId: string;
|
4
|
+
companyName: string;
|
5
|
+
containerId: string;
|
6
|
+
constructor(data?: Partial<TransactionInfoResumeEntity>);
|
7
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TransactionInfoResumeEntity = void 0;
|
4
|
+
var TransactionInfoResumeEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (3)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function TransactionInfoResumeEntity(data) {
|
8
|
+
// #region Properties (3)
|
9
|
+
this.companyId = '';
|
10
|
+
this.companyName = '';
|
11
|
+
this.containerId = '';
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return TransactionInfoResumeEntity;
|
21
|
+
}());
|
22
|
+
exports.TransactionInfoResumeEntity = TransactionInfoResumeEntity;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { EResumeIntervalType } from '../../resume';
|
2
|
+
import { ITransactionResume } from '../interfaces/i-transaction-resume';
|
3
|
+
import { TransactionInfoResumeEntity } from './transaction-info-resume.entity';
|
4
|
+
export declare class TransactionResumeEntity implements ITransactionResume {
|
5
|
+
balance: number;
|
6
|
+
createdAt: Date;
|
7
|
+
id: string;
|
8
|
+
info: TransactionInfoResumeEntity;
|
9
|
+
interval: EResumeIntervalType;
|
10
|
+
updatedAt: Date;
|
11
|
+
constructor(data?: Partial<TransactionResumeEntity>);
|
12
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TransactionResumeEntity = void 0;
|
4
|
+
var resume_1 = require("../../resume");
|
5
|
+
var transaction_info_resume_entity_1 = require("./transaction-info-resume.entity");
|
6
|
+
var TransactionResumeEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (6)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function TransactionResumeEntity(data) {
|
10
|
+
// #region Properties (6)
|
11
|
+
this.balance = 0;
|
12
|
+
this.createdAt = new Date();
|
13
|
+
this.id = '';
|
14
|
+
this.info = new transaction_info_resume_entity_1.TransactionInfoResumeEntity();
|
15
|
+
this.interval = resume_1.EResumeIntervalType.DAY;
|
16
|
+
this.updatedAt = new Date();
|
17
|
+
if (data) {
|
18
|
+
for (var key in data) {
|
19
|
+
if (data.hasOwnProperty(key) && key in this) {
|
20
|
+
this[key] = data[key];
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
return TransactionResumeEntity;
|
26
|
+
}());
|
27
|
+
exports.TransactionResumeEntity = TransactionResumeEntity;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { EResumeIntervalType } from '../../resume';
|
2
|
+
import { ITransactionInfoResume } from './i-transaction-info-resume';
|
3
|
+
export interface ITransactionResume {
|
4
|
+
balance: number;
|
5
|
+
createdAt: Date;
|
6
|
+
id: string;
|
7
|
+
info: ITransactionInfoResume;
|
8
|
+
interval: EResumeIntervalType;
|
9
|
+
updatedAt: Date;
|
10
|
+
}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
export { ITransactionBalance } from './i-balance';
|
2
|
-
export { IFeeDetail } from './i-fee-detail';
|
3
2
|
export { IFee } from './i-fee';
|
3
|
+
export { IFeeDetail } from './i-fee-detail';
|
4
4
|
export { ITransactionPaymentMethod } from './i-payment-method';
|
5
5
|
export { ITransactionTotal } from './i-total';
|
6
6
|
export { ITransaction } from './i-transaction';
|
7
|
+
export { ITransactionInfoResume } from './i-transaction-info-resume';
|
8
|
+
export { ITransactionResume } from './i-transaction-resume';
|