cecon-interfaces 1.5.35 → 1.5.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/transaction/entities/transaction-resume.entity.mjs +6 -6
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +2 -1
- package/dist/esm2022/transaction/enums/index.mjs +2 -1
- package/dist/esm2022/transaction/enums/transaction-resumes-target-type.enum.mjs +8 -0
- package/dist/esm2022/transaction/interfaces/i-resume-item-detail.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-transaction-resume.mjs +1 -1
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +1 -1
- package/dist/esm2022/transaction/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +15 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/transaction/entities/transaction-resume.entity.d.ts +15 -5
- package/dist/transaction/entities/transaction-resume.entity.js +5 -5
- package/dist/transaction/entities/transaction.entity.d.ts +1 -0
- package/dist/transaction/entities/transaction.entity.js +1 -0
- package/dist/transaction/enums/index.d.ts +1 -0
- package/dist/transaction/enums/index.js +3 -1
- package/dist/transaction/enums/transaction-resumes-target-type.enum.d.ts +6 -0
- package/dist/transaction/enums/transaction-resumes-target-type.enum.js +10 -0
- package/dist/transaction/interfaces/i-resume-item-detail.d.ts +4 -0
- package/dist/transaction/interfaces/i-resume-item-detail.js +2 -0
- package/dist/transaction/interfaces/i-transaction-resume.d.ts +13 -3
- package/dist/transaction/interfaces/i-transaction.d.ts +1 -0
- package/dist/transaction/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -1,12 +1,22 @@
|
|
1
1
|
import { EResumeIntervalType } from '../../resume';
|
2
|
+
import { ETransactionResumesTargetType } from '../enums/transaction-resumes-target-type.enum';
|
3
|
+
import { ITransactionInfoResume } from '../interfaces';
|
4
|
+
import { ITransactionResumeItemDetail } from '../interfaces/i-resume-item-detail';
|
2
5
|
import { ITransactionResume } from '../interfaces/i-transaction-resume';
|
3
|
-
import { TransactionInfoResumeEntity } from './transaction-info-resume.entity';
|
4
6
|
export declare class TransactionResumeEntity implements ITransactionResume {
|
5
|
-
|
6
|
-
createdAt: Date;
|
7
|
-
id: string;
|
8
|
-
info: TransactionInfoResumeEntity;
|
7
|
+
info: ITransactionInfoResume;
|
9
8
|
interval: EResumeIntervalType;
|
9
|
+
id: string;
|
10
|
+
createdAt: Date;
|
10
11
|
updatedAt: Date;
|
12
|
+
totalTarget: {
|
13
|
+
target: ETransactionResumesTargetType;
|
14
|
+
item: ITransactionResumeItemDetail;
|
15
|
+
}[];
|
16
|
+
items: {
|
17
|
+
id: string;
|
18
|
+
target: ETransactionResumesTargetType;
|
19
|
+
item: ITransactionResumeItemDetail;
|
20
|
+
}[];
|
11
21
|
constructor(data?: Partial<TransactionResumeEntity>);
|
12
22
|
}
|
@@ -7,13 +7,13 @@ var TransactionResumeEntity = /** @class */ (function () {
|
|
7
7
|
// #endregion Properties (6)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function TransactionResumeEntity(data) {
|
10
|
-
// #region Properties (6)
|
11
|
-
this.balance = 0;
|
12
|
-
this.createdAt = new Date();
|
13
|
-
this.id = '';
|
14
10
|
this.info = new transaction_info_resume_entity_1.TransactionInfoResumeEntity();
|
15
|
-
this.interval = resume_1.EResumeIntervalType.
|
11
|
+
this.interval = resume_1.EResumeIntervalType.YEAR;
|
12
|
+
this.id = '';
|
13
|
+
this.createdAt = new Date();
|
16
14
|
this.updatedAt = new Date();
|
15
|
+
this.totalTarget = [];
|
16
|
+
this.items = [];
|
17
17
|
if (data) {
|
18
18
|
for (var key in data) {
|
19
19
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -39,6 +39,7 @@ var TransactionEntity = /** @class */ (function () {
|
|
39
39
|
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
|
40
40
|
this.natiInfo = new general_1.NatiInfoEntity();
|
41
41
|
this.mobyoInfo = new general_1.MobyoInfoEntity();
|
42
|
+
this.resumeVersion = '';
|
42
43
|
if (data) {
|
43
44
|
for (var key in data) {
|
44
45
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -6,3 +6,4 @@ export { EOperationType } from './operation-type.enum';
|
|
6
6
|
export { ESponsorIdentifier } from './operation-type.enum';
|
7
7
|
export { EPaymentMethodId } from './payment-method-id.enum';
|
8
8
|
export { EPaymentTypeId } from './payment-type-id.enum';
|
9
|
+
export { ETransactionResumesTargetType } from './transaction-resumes-target-type.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = exports.EOperationType = exports.EMpStatusDetail = exports.EMpStatus = exports.ETransactionStatus = exports.EReleaseStatus = void 0;
|
3
|
+
exports.ETransactionResumesTargetType = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = exports.EOperationType = exports.EMpStatusDetail = exports.EMpStatus = exports.ETransactionStatus = exports.EReleaseStatus = void 0;
|
4
4
|
var release_status_enum_1 = require("./release-status.enum");
|
5
5
|
Object.defineProperty(exports, "EReleaseStatus", { enumerable: true, get: function () { return release_status_enum_1.EReleaseStatus; } });
|
6
6
|
var transaction_status_enum_1 = require("./transaction-status.enum");
|
@@ -17,3 +17,5 @@ var payment_method_id_enum_1 = require("./payment-method-id.enum");
|
|
17
17
|
Object.defineProperty(exports, "EPaymentMethodId", { enumerable: true, get: function () { return payment_method_id_enum_1.EPaymentMethodId; } });
|
18
18
|
var payment_type_id_enum_1 = require("./payment-type-id.enum");
|
19
19
|
Object.defineProperty(exports, "EPaymentTypeId", { enumerable: true, get: function () { return payment_type_id_enum_1.EPaymentTypeId; } });
|
20
|
+
var transaction_resumes_target_type_enum_1 = require("./transaction-resumes-target-type.enum");
|
21
|
+
Object.defineProperty(exports, "ETransactionResumesTargetType", { enumerable: true, get: function () { return transaction_resumes_target_type_enum_1.ETransactionResumesTargetType; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ETransactionResumesTargetType = void 0;
|
4
|
+
var ETransactionResumesTargetType;
|
5
|
+
(function (ETransactionResumesTargetType) {
|
6
|
+
ETransactionResumesTargetType["BALANCE"] = "BALANCE";
|
7
|
+
ETransactionResumesTargetType["TAX"] = "TAX";
|
8
|
+
ETransactionResumesTargetType["WITHDRAW"] = "WITHDRAW";
|
9
|
+
ETransactionResumesTargetType["EARNED"] = "EARNED";
|
10
|
+
})(ETransactionResumesTargetType || (exports.ETransactionResumesTargetType = ETransactionResumesTargetType = {}));
|
@@ -1,10 +1,20 @@
|
|
1
1
|
import { EResumeIntervalType } from '../../resume';
|
2
|
+
import { ETransactionResumesTargetType } from '../enums/transaction-resumes-target-type.enum';
|
3
|
+
import { ITransactionResumeItemDetail } from './i-resume-item-detail';
|
2
4
|
import { ITransactionInfoResume } from './i-transaction-info-resume';
|
3
5
|
export interface ITransactionResume {
|
4
|
-
balance: number;
|
5
|
-
createdAt: Date;
|
6
|
-
id: string;
|
7
6
|
info: ITransactionInfoResume;
|
8
7
|
interval: EResumeIntervalType;
|
8
|
+
id: string;
|
9
|
+
createdAt: Date;
|
9
10
|
updatedAt: Date;
|
11
|
+
totalTarget: {
|
12
|
+
target: ETransactionResumesTargetType;
|
13
|
+
item: ITransactionResumeItemDetail;
|
14
|
+
}[];
|
15
|
+
items: {
|
16
|
+
id: string;
|
17
|
+
target: ETransactionResumesTargetType;
|
18
|
+
item: ITransactionResumeItemDetail;
|
19
|
+
}[];
|
10
20
|
}
|
@@ -6,3 +6,4 @@ export { ITransactionTotal } from './i-total';
|
|
6
6
|
export { ITransaction } from './i-transaction';
|
7
7
|
export { ITransactionInfoResume } from './i-transaction-info-resume';
|
8
8
|
export { ITransactionResume } from './i-transaction-resume';
|
9
|
+
export { ITransactionResumeItemDetail } from './i-resume-item-detail';
|