cecon-interfaces 1.6.25 → 1.6.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/general/entities/index.mjs +2 -2
- package/dist/esm2022/general/entities/info.entity.mjs +16 -0
- package/dist/esm2022/general/entities/payment-method.entity.mjs +4 -5
- package/dist/esm2022/general/interfaces/i-info.mjs +2 -0
- package/dist/esm2022/general/interfaces/i-payment-method.mjs +1 -1
- package/dist/esm2022/general/interfaces/index.mjs +1 -1
- package/dist/esm2022/global-settings/entities/global-setting-nati.entity.mjs +3 -3
- package/dist/esm2022/global-settings/interfaces/i-global-setting-nati-pay.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/customers/entities/resume.entity.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/customers/interfaces/i-resume.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/orders/entities/resume.entity.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/orders/interfaces/i-resume.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/products/entities/resume.entity.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/products/interfaces/i-resume.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume.entity.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume.mjs +1 -1
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/esm2022/payio/resume-queues/entities/index.mjs +3 -0
- package/dist/esm2022/payio/resume-queues/entities/resume-queue-payload.entity.mjs +5 -0
- package/dist/esm2022/payio/resume-queues/entities/resume-queue.entity.mjs +17 -0
- package/dist/esm2022/payio/resume-queues/enums/entities-type.enum.mjs +14 -0
- package/dist/esm2022/payio/resume-queues/enums/index.mjs +4 -0
- package/dist/esm2022/payio/resume-queues/enums/resume-queue-action.enum.mjs +7 -0
- package/dist/esm2022/payio/resume-queues/enums/resume-queue-status.enum.mjs +8 -0
- package/dist/esm2022/payio/resume-queues/index.mjs +4 -0
- package/dist/esm2022/payio/resume-queues/interfaces/i-resume-queue-payload.mjs +2 -0
- package/dist/esm2022/payio/resume-queues/interfaces/i-resume-queue.mjs +2 -0
- package/dist/esm2022/payio/resume-queues/interfaces/index.mjs +2 -0
- package/dist/esm2022/resume/entities/resume.entity.mjs +1 -1
- package/dist/esm2022/resume/interfaces/i-resume.mjs +1 -1
- package/dist/esm2022/sponsor/entities/sponsor.entity.mjs +3 -3
- package/dist/esm2022/sponsor/interfaces/i-sponsor.mjs +1 -1
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +3 -3
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +1 -1
- package/dist/esm2022/transfer-request/entities/transfer-request.entity.mjs +3 -3
- package/dist/esm2022/transfer-request/interfaces/i-transfer-request.mjs +1 -1
- package/dist/esm2022/voucher/entities/voucher.entity.mjs +1 -1
- package/dist/esm2022/voucher/interfaces/i-voucher.mjs +1 -1
- package/dist/esm2022/withdraw/entities/withdraw-request.entity.mjs +3 -3
- package/dist/esm2022/withdraw/interfaces/i-withdraw-request.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +73 -26
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/index.d.ts +1 -1
- package/dist/general/entities/index.js +3 -3
- package/dist/general/entities/info.entity.d.ts +6 -0
- package/dist/general/entities/{nati-info.entity.js → info.entity.js} +5 -5
- package/dist/general/entities/payment-method.entity.d.ts +1 -2
- package/dist/general/entities/payment-method.entity.js +3 -4
- package/dist/general/interfaces/{i-nati-info.d.ts → i-info.d.ts} +1 -1
- package/dist/general/interfaces/i-payment-method.d.ts +0 -1
- package/dist/general/interfaces/index.d.ts +1 -1
- package/dist/global-settings/entities/global-setting-nati.entity.d.ts +2 -2
- package/dist/global-settings/entities/global-setting-nati.entity.js +1 -1
- package/dist/global-settings/interfaces/i-global-setting-nati-pay.d.ts +2 -2
- package/dist/mobyo/resumes/customers/entities/resume.entity.d.ts +2 -2
- package/dist/mobyo/resumes/customers/interfaces/i-resume.d.ts +2 -2
- package/dist/mobyo/resumes/orders/entities/resume.entity.d.ts +2 -2
- package/dist/mobyo/resumes/orders/interfaces/i-resume.d.ts +2 -2
- package/dist/mobyo/resumes/products/entities/resume.entity.d.ts +2 -2
- package/dist/mobyo/resumes/products/interfaces/i-resume.d.ts +2 -2
- package/dist/mobyo/resumes/vouchers/entities/resume.entity.d.ts +2 -2
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/dist/payio/resume-queues/entities/index.d.ts +2 -0
- package/dist/payio/resume-queues/entities/index.js +7 -0
- package/dist/payio/resume-queues/entities/resume-queue-payload.entity.d.ts +4 -0
- package/dist/payio/resume-queues/entities/resume-queue-payload.entity.js +12 -0
- package/dist/payio/resume-queues/entities/resume-queue.entity.d.ts +16 -0
- package/dist/payio/resume-queues/entities/resume-queue.entity.js +24 -0
- package/dist/payio/resume-queues/enums/entities-type.enum.d.ts +12 -0
- package/dist/payio/resume-queues/enums/entities-type.enum.js +16 -0
- package/dist/payio/resume-queues/enums/index.d.ts +3 -0
- package/dist/payio/resume-queues/enums/index.js +9 -0
- package/dist/payio/resume-queues/enums/resume-queue-action.enum.d.ts +5 -0
- package/dist/payio/resume-queues/enums/resume-queue-action.enum.js +9 -0
- package/dist/payio/resume-queues/enums/resume-queue-status.enum.d.ts +6 -0
- package/dist/payio/resume-queues/enums/resume-queue-status.enum.js +10 -0
- package/dist/payio/resume-queues/index.d.ts +3 -0
- package/dist/payio/resume-queues/index.js +19 -0
- package/dist/payio/resume-queues/interfaces/i-resume-queue-payload.d.ts +3 -0
- package/dist/payio/resume-queues/interfaces/i-resume-queue-payload.js +2 -0
- package/dist/payio/resume-queues/interfaces/i-resume-queue.d.ts +15 -0
- package/dist/payio/resume-queues/interfaces/i-resume-queue.js +2 -0
- package/dist/payio/resume-queues/interfaces/index.d.ts +2 -0
- package/dist/payio/resume-queues/interfaces/index.js +2 -0
- package/dist/resume/entities/resume.entity.d.ts +2 -2
- package/dist/resume/interfaces/i-resume.d.ts +2 -2
- package/dist/sponsor/entities/sponsor.entity.d.ts +2 -2
- package/dist/sponsor/entities/sponsor.entity.js +1 -1
- package/dist/sponsor/interfaces/i-sponsor.d.ts +2 -2
- package/dist/transaction/entities/transaction.entity.d.ts +2 -2
- package/dist/transaction/entities/transaction.entity.js +1 -1
- package/dist/transaction/interfaces/i-transaction.d.ts +2 -2
- package/dist/transfer-request/entities/transfer-request.entity.d.ts +2 -2
- package/dist/transfer-request/entities/transfer-request.entity.js +1 -1
- package/dist/transfer-request/interfaces/i-transfer-request.d.ts +2 -2
- package/dist/voucher/entities/voucher.entity.d.ts +2 -2
- package/dist/voucher/interfaces/i-voucher.d.ts +2 -2
- package/dist/withdraw/entities/withdraw-request.entity.d.ts +2 -2
- package/dist/withdraw/entities/withdraw-request.entity.js +1 -1
- package/dist/withdraw/interfaces/i-withdraw-request.d.ts +2 -2
- package/package.json +1 -1
- package/dist/esm2022/general/entities/nati-info.entity.mjs +0 -16
- package/dist/esm2022/general/interfaces/i-nati-info.mjs +0 -2
- package/dist/general/entities/nati-info.entity.d.ts +0 -6
- /package/dist/general/interfaces/{i-nati-info.js → i-info.js} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EDesenfilaFrom, IDesenfilaInfo, IMobyoInfo,
|
1
|
+
import { EDesenfilaFrom, IDesenfilaInfo, IMobyoInfo, IInfo } from '../../general';
|
2
2
|
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
3
3
|
import { ITransaction } from '../interfaces';
|
4
4
|
import { FeeDetailEntity } from './fee-detail.entity';
|
@@ -35,7 +35,7 @@ export declare class TransactionEntity implements ITransaction {
|
|
35
35
|
transactionStatus: ETransactionStatus;
|
36
36
|
updatedAt: Date;
|
37
37
|
desenfilaInfo: IDesenfilaInfo | null;
|
38
|
-
natiInfo:
|
38
|
+
natiInfo: IInfo | null;
|
39
39
|
mobyoInfo: IMobyoInfo | null;
|
40
40
|
resumeVersion: string;
|
41
41
|
constructor(data?: Partial<TransactionEntity>);
|
@@ -37,7 +37,7 @@ var TransactionEntity = /** @class */ (function () {
|
|
37
37
|
this.transactionStatus = enums_1.ETransactionStatus.PROCESSING;
|
38
38
|
this.updatedAt = new Date();
|
39
39
|
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
|
40
|
-
this.natiInfo = new general_1.
|
40
|
+
this.natiInfo = new general_1.InfoEntity();
|
41
41
|
this.mobyoInfo = new general_1.MobyoInfoEntity();
|
42
42
|
this.resumeVersion = '';
|
43
43
|
if (data) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EDesenfilaFrom, IDesenfilaInfo,
|
1
|
+
import { EDesenfilaFrom, IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
3
3
|
import { ITransactionBalance } from './i-balance';
|
4
4
|
import { IFeeDetail } from './i-fee-detail';
|
@@ -20,7 +20,7 @@ export interface ITransaction {
|
|
20
20
|
installments: number;
|
21
21
|
liveMode: boolean;
|
22
22
|
desenfilaInfo: IDesenfilaInfo | null;
|
23
|
-
natiInfo:
|
23
|
+
natiInfo: IInfo | null;
|
24
24
|
mobyoInfo: IMobyoInfo | null;
|
25
25
|
moneyReleaseDate: Date | null;
|
26
26
|
moneyReleaseStatus: EReleaseStatus;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IDesenfilaInfo,
|
1
|
+
import { IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { IInvoicePix } from '../../invoice';
|
3
3
|
import { EWithdrawRequestStatus } from '../../withdraw/enums';
|
4
4
|
import { ITransferRequest } from '../interfaces/i-transfer-request';
|
@@ -17,7 +17,7 @@ export declare class TransferRequestEntity implements ITransferRequest {
|
|
17
17
|
transactionReferenceId: string | null;
|
18
18
|
naiRefId: string;
|
19
19
|
pix: IInvoicePix | null;
|
20
|
-
natiInfo:
|
20
|
+
natiInfo: IInfo;
|
21
21
|
mobyoInfo: IMobyoInfo;
|
22
22
|
desenfilaInfo: IDesenfilaInfo;
|
23
23
|
constructor(data?: Partial<TransferRequestEntity>);
|
@@ -20,7 +20,7 @@ var TransferRequestEntity = /** @class */ (function () {
|
|
20
20
|
this.transactionReferenceId = null;
|
21
21
|
this.naiRefId = '';
|
22
22
|
this.pix = null;
|
23
|
-
this.natiInfo = new general_1.
|
23
|
+
this.natiInfo = new general_1.InfoEntity();
|
24
24
|
this.mobyoInfo = new general_1.MobyoInfoEntity();
|
25
25
|
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
|
26
26
|
if (data) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { IInvoicePix } from '../../invoice';
|
3
3
|
import { EWithdrawRequestStatus } from '../../withdraw/enums';
|
4
4
|
export interface ITransferRequest {
|
@@ -13,7 +13,7 @@ export interface ITransferRequest {
|
|
13
13
|
transferDocumentUrl: string | null;
|
14
14
|
updatedAt: Date;
|
15
15
|
pix: IInvoicePix | null;
|
16
|
-
natiInfo:
|
16
|
+
natiInfo: IInfo;
|
17
17
|
mobyoInfo: IMobyoInfo;
|
18
18
|
desenfilaInfo: IDesenfilaInfo;
|
19
19
|
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { EDiscountType,
|
1
|
+
import { EDiscountType, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { EVoucherStatus, EVoucherTargetTypes } from '../enums';
|
3
3
|
import { IVoucher, IVoucherRule, IVoucherSponsorship } from '../interfaces';
|
4
4
|
export declare class VoucherEntity implements IVoucher {
|
5
|
-
info: IMobyoInfo |
|
5
|
+
info: IMobyoInfo | IInfo;
|
6
6
|
concludedAt: Date | null;
|
7
7
|
createdAt: Date;
|
8
8
|
id: string;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { EDiscountType,
|
1
|
+
import { EDiscountType, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { EVoucherStatus } from '../enums';
|
3
3
|
import { EVoucherTargetTypes } from '../enums/target-types.enum';
|
4
4
|
import { IVoucherRule } from './i-voucher-rule';
|
5
5
|
import { IVoucherSponsorship } from './i-voucher-sponsorship';
|
6
6
|
export interface IVoucher {
|
7
|
-
info: IMobyoInfo |
|
7
|
+
info: IMobyoInfo | IInfo;
|
8
8
|
concludedAt: Date | null;
|
9
9
|
createdAt: Date;
|
10
10
|
id: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IDesenfilaInfo,
|
1
|
+
import { IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { EWithdrawRequestStatus } from '../enums';
|
3
3
|
import { IWithdrawRequest } from '../interfaces/i-withdraw-request';
|
4
4
|
export declare class WithDrawRequestEntity implements IWithdrawRequest {
|
@@ -11,7 +11,7 @@ export declare class WithDrawRequestEntity implements IWithdrawRequest {
|
|
11
11
|
transactionId: string | null;
|
12
12
|
transferDocumentUrl: string | null;
|
13
13
|
updatedAt: Date;
|
14
|
-
natiInfo:
|
14
|
+
natiInfo: IInfo;
|
15
15
|
mobyoInfo: IMobyoInfo;
|
16
16
|
desenfilaInfo: IDesenfilaInfo;
|
17
17
|
name: string;
|
@@ -17,7 +17,7 @@ var WithDrawRequestEntity = /** @class */ (function () {
|
|
17
17
|
this.transactionId = null;
|
18
18
|
this.transferDocumentUrl = null;
|
19
19
|
this.updatedAt = new Date();
|
20
|
-
this.natiInfo = new general_1.
|
20
|
+
this.natiInfo = new general_1.InfoEntity();
|
21
21
|
this.mobyoInfo = new general_1.MobyoInfoEntity();
|
22
22
|
this.desenfilaInfo = new general_1.DesenfilaInfoEntity();
|
23
23
|
this.name = '';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { EWithdrawRequestStatus } from '../enums';
|
3
3
|
export interface IWithdrawRequest {
|
4
4
|
amount: number;
|
@@ -11,7 +11,7 @@ export interface IWithdrawRequest {
|
|
11
11
|
transferDocumentUrl: string | null;
|
12
12
|
updatedAt: Date;
|
13
13
|
name: string;
|
14
|
-
natiInfo:
|
14
|
+
natiInfo: IInfo;
|
15
15
|
mobyoInfo: IMobyoInfo;
|
16
16
|
desenfilaInfo: IDesenfilaInfo;
|
17
17
|
}
|
package/package.json
CHANGED
@@ -1,16 +0,0 @@
|
|
1
|
-
// src/models/base.entity.ts
|
2
|
-
export class NatiInfoEntity {
|
3
|
-
// #region Properties (6)
|
4
|
-
companyId = '';
|
5
|
-
containerId = '';
|
6
|
-
constructor(data) {
|
7
|
-
if (data) {
|
8
|
-
for (let key in data) {
|
9
|
-
if (data.hasOwnProperty(key) && key in this) {
|
10
|
-
this[key] = data[key];
|
11
|
-
}
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aS1pbmZvLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL25hdGktaW5mby5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNEJBQTRCO0FBSTVCLE1BQU0sT0FBTyxjQUFjO0lBQ3ZCLHlCQUF5QjtJQUN0QixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFHNUIsWUFBWSxJQUE4QjtRQUN0QyxJQUFJLElBQUksRUFBRTtZQUNOLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNsQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDeEMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDM0M7YUFDSjtTQUNKO0lBQ0wsQ0FBQztDQUdKIiwic291cmNlc0NvbnRlbnQiOlsiLy8gc3JjL21vZGVscy9iYXNlLmVudGl0eS50c1xyXG5cclxuaW1wb3J0IHsgSU5hdGlJbmZvIH0gZnJvbSBcIi4uL2ludGVyZmFjZXNcIjtcclxuXHJcbmV4cG9ydCBjbGFzcyBOYXRpSW5mb0VudGl0eSBpbXBsZW1lbnRzIElOYXRpSW5mbyB7XHJcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDYpXHJcbnB1YmxpYyBjb21wYW55SWQ6IHN0cmluZyA9ICcnO1xyXG5wdWJsaWMgY29udGFpbmVySWQ6IHN0cmluZyA9ICcnO1xyXG5cclxuXHJcbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxOYXRpSW5mb0VudGl0eT4pIHtcclxuICAgICAgICBpZiAoZGF0YSkge1xyXG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgICAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1uYXRpLWluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktbmF0aS1pbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElOYXRpSW5mbyAge1xyXG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgzKVxyXG4gICAgY29tcGFueUlkOiBzdHJpbmc7XHJcbiAgICBjb250YWluZXJJZDogc3RyaW5nO1xyXG59Il19
|
File without changes
|