cecon-interfaces 1.2.77 → 1.2.79
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/transaction/entities/fee-detail.entity.mjs +15 -0
- package/dist/esm2022/transaction/entities/index.mjs +6 -0
- package/dist/esm2022/transaction/entities/transaction-balance.entity.mjs +14 -0
- package/dist/esm2022/transaction/entities/transaction-payment-method.entity.mjs +16 -0
- package/dist/esm2022/transaction/entities/transaction-total.entity.mjs +15 -0
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +41 -0
- package/dist/esm2022/transaction/index.mjs +3 -1
- package/dist/esm2022/transaction/interfaces/i-fee-detail.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 +236 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/transaction/entities/fee-detail.entity.d.ts +7 -0
- package/dist/transaction/entities/fee-detail.entity.js +19 -0
- package/dist/transaction/entities/index.d.ts +5 -0
- package/dist/transaction/entities/index.js +13 -0
- package/dist/transaction/entities/transaction-balance.entity.d.ts +6 -0
- package/dist/transaction/entities/transaction-balance.entity.js +18 -0
- package/dist/transaction/entities/transaction-payment-method.entity.d.ts +8 -0
- package/dist/transaction/entities/transaction-payment-method.entity.js +20 -0
- package/dist/transaction/entities/transaction-total.entity.d.ts +7 -0
- package/dist/transaction/entities/transaction-total.entity.js +19 -0
- package/dist/transaction/entities/transaction.entity.d.ts +36 -0
- package/dist/transaction/entities/transaction.entity.js +45 -0
- package/dist/transaction/index.d.ts +2 -0
- package/dist/transaction/index.js +2 -0
- package/dist/transaction/interfaces/i-fee-detail.d.ts +1 -1
- package/dist/transaction/interfaces/i-transaction.d.ts +12 -12
- package/dist/transaction/interfaces/index.d.ts +2 -2
- package/package.json +1 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
export class FeeDetailEntity {
|
2
|
+
amount = 0;
|
3
|
+
feePayer = '';
|
4
|
+
type = '';
|
5
|
+
constructor(data) {
|
6
|
+
if (data) {
|
7
|
+
for (let key in data) {
|
8
|
+
if (data.hasOwnProperty(key) && key in this) {
|
9
|
+
this[key] = data[key];
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlLWRldGFpbC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vZW50aXRpZXMvZmVlLWRldGFpbC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGVBQWU7SUFFbkIsTUFBTSxHQUFXLENBQUMsQ0FBQztJQUNuQixRQUFRLEdBQXlCLEVBQUUsQ0FBQztJQUNwQyxJQUFJLEdBQW1ELEVBQUUsQ0FBQztJQUdqRSxZQUFZLElBQStCO1FBQ3pDLElBQUksSUFBSSxFQUFFO1lBQ1IsS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ3BCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUMxQyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUN6QzthQUNGO1NBQ0Y7SUFDSCxDQUFDO0NBR0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRmVlRGV0YWlsIH0gZnJvbSAnLi4vaW50ZXJmYWNlcyc7XHJcblxyXG5leHBvcnQgY2xhc3MgRmVlRGV0YWlsRW50aXR5IGltcGxlbWVudHMgSUZlZURldGFpbCB7XHJcblxyXG4gIHB1YmxpYyBhbW91bnQ6IG51bWJlciA9IDA7XHJcbiAgcHVibGljIGZlZVBheWVyOiAnY29sbGVjdG9yJyB8IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyB0eXBlOiAnbWVyY2Fkb3BhZ29fZmVlJyB8ICdhcHBsaWNhdGlvbl9mZWUnIHwgc3RyaW5nID0gJyc7XHJcbiAgXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEZlZURldGFpbEVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { TransactionEntity } from './transaction.entity';
|
2
|
+
export { FeeDetailEntity } from './fee-detail.entity';
|
3
|
+
export { TransactionBalanceEntity } from './transaction-balance.entity';
|
4
|
+
export { TransactionTotalEntity } from './transaction-total.entity';
|
5
|
+
export { TransactionPaymentMethodEntity } from './transaction-payment-method.entity';
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDekQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3RELE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3BFLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgVHJhbnNhY3Rpb25FbnRpdHkgfSBmcm9tICcuL3RyYW5zYWN0aW9uLmVudGl0eSc7XG5leHBvcnQgeyBGZWVEZXRhaWxFbnRpdHkgfSBmcm9tICcuL2ZlZS1kZXRhaWwuZW50aXR5JztcbmV4cG9ydCB7IFRyYW5zYWN0aW9uQmFsYW5jZUVudGl0eSB9IGZyb20gJy4vdHJhbnNhY3Rpb24tYmFsYW5jZS5lbnRpdHknO1xuZXhwb3J0IHsgVHJhbnNhY3Rpb25Ub3RhbEVudGl0eSB9IGZyb20gJy4vdHJhbnNhY3Rpb24tdG90YWwuZW50aXR5JztcbmV4cG9ydCB7IFRyYW5zYWN0aW9uUGF5bWVudE1ldGhvZEVudGl0eSB9IGZyb20gJy4vdHJhbnNhY3Rpb24tcGF5bWVudC1tZXRob2QuZW50aXR5JztcblxuXG5cbiJdfQ==
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export class TransactionBalanceEntity {
|
2
|
+
before = 0;
|
3
|
+
after = 0;
|
4
|
+
constructor(data) {
|
5
|
+
if (data) {
|
6
|
+
for (let key in data) {
|
7
|
+
if (data.hasOwnProperty(key) && key in this) {
|
8
|
+
this[key] = data[key];
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFsYW5jZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8u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YXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { EPaymentMethodId, EPaymentTypeId } from '../enums';
|
2
|
+
export class TransactionPaymentMethodEntity {
|
3
|
+
id = EPaymentMethodId.ACCOUNT_MONEY;
|
4
|
+
issuerId = '';
|
5
|
+
type = EPaymentTypeId.BANK_TRANSFER;
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tcGF5bWVudC1tZXRob2QuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyYW5zYWN0aW9uL2VudGl0aWVzL3RyYW5zYWN0aW9uLXBheW1lbnQtbWV0aG9kLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzVELE1BQU0sT0FBTyw4QkFBOEI7SUFFbEMsRUFBRSxHQUFxQixnQkFBZ0IsQ0FBQyxhQUFhLENBQUM7SUFDdEQsUUFBUSxHQUFXLEVBQUUsQ0FBQztJQUN0QixJQUFJLEdBQW1CLGNBQWMsQ0FBQyxhQUFhLENBQUM7SUFHM0QsWUFBWSxJQUE4QztRQUN4RCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQ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rZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export class TransactionTotalEntity {
|
2
|
+
subTotal = 0;
|
3
|
+
fees = 0;
|
4
|
+
orderAmount = 0;
|
5
|
+
constructor(data) {
|
6
|
+
if (data) {
|
7
|
+
for (let key in data) {
|
8
|
+
if (data.hasOwnProperty(key) && key in this) {
|
9
|
+
this[key] = data[key];
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdG90YWwuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyYW5zYWN0aW9uL2VudGl0aWVzL3RyYW5zYWN0aW9uLXRvdGFsLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sc0JBQXNCO0lBRTFCLFFBQVEsR0FBVyxDQUFDLENBQUM7SUFDckIsSUFBSSxHQUFXLENBQUMsQ0FBQztJQUNqQixXQUFXLEdBQVcsQ0FBQyxDQUFDO0lBSS9CLFlBQVksSUFBc0M7UUFDaEQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FHRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVQYXltZW50TWV0aG9kSWQsIEVQYXltZW50VHlwZUlkIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBJVHJhbnNhY3Rpb25QYXltZW50TWV0aG9kLCBJVHJhbnNhY3Rpb25Ub3RhbCB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFRyYW5zYWN0aW9uVG90YWxFbnRpdHkgaW1wbGVtZW50cyBJVHJhbnNhY3Rpb25Ub3RhbCB7XHJcblxyXG4gIHB1YmxpYyBzdWJUb3RhbDogbnVtYmVyID0gMDtcclxuICBwdWJsaWMgZmVlczogbnVtYmVyID0gMDtcclxuICBwdWJsaWMgb3JkZXJBbW91bnQ6IG51bWJlciA9IDA7XHJcblxyXG5cclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8VHJhbnNhY3Rpb25Ub3RhbEVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
2
|
+
export class TransactionEntity {
|
3
|
+
id = '';
|
4
|
+
referenceId = '';
|
5
|
+
card = {};
|
6
|
+
merchantId = '';
|
7
|
+
containerId = '';
|
8
|
+
dateApproved = null;
|
9
|
+
dateOfExpiration = null;
|
10
|
+
dateCreated = new Date();
|
11
|
+
dateLastUpdated = new Date();
|
12
|
+
description = '';
|
13
|
+
externalOrderReference = '';
|
14
|
+
feeDetails = [];
|
15
|
+
installments = 0;
|
16
|
+
liveMode = true;
|
17
|
+
moneyReleaseDate = null;
|
18
|
+
moneyReleaseStatus = EReleaseStatus.PENDING;
|
19
|
+
operationType = EOperationType.REGULAR_PAYMENT;
|
20
|
+
paymentMethod = null;
|
21
|
+
paymentMethodId = EPaymentMethodId.ACCOUNT_MONEY;
|
22
|
+
posId = '';
|
23
|
+
status = EMpStatus.PENDING;
|
24
|
+
statusDetail = EMpStatusDetail.ACCREDITED;
|
25
|
+
transactionAmount = 0;
|
26
|
+
transactionAmountRefunded = 0;
|
27
|
+
total = null;
|
28
|
+
balance = null;
|
29
|
+
transactionStatus = ETransactionStatus.PROCESSING;
|
30
|
+
// #region Properties (14;
|
31
|
+
constructor(data) {
|
32
|
+
if (data) {
|
33
|
+
for (let key in data) {
|
34
|
+
if (data.hasOwnProperty(key) && key in this) {
|
35
|
+
this[key] = data[key];
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyYW5zYWN0aW9uL2VudGl0aWVzL3RyYW5zYWN0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGVBQWUsRUFBRSxjQUFjLEVBQUUsZ0JBQWdCLEVBQUUsY0FBYyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBUTVILE1BQU0sT0FBTyxpQkFBaUI7SUFDckIsRUFBRSx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hIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,4 @@
|
|
1
|
+
export * from './enums';
|
1
2
|
export * from './interfaces';
|
2
|
-
|
3
|
+
export * from './entities';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mZWUtZGV0YWlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyYW5zYWN0aW9uL2ludGVyZmFjZXMvaS1mZWUtZGV0YWlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElGZWVEZXRhaWwge1xyXG4gIGFtb3VudDogbnVtYmVyO1xyXG4gIGZlZVBheWVyOiAnY29sbGVjdG9yJyB8IHN0cmluZztcclxuICB0eXBlOiAnbWVyY2Fkb3BhZ29fZmVlJyB8ICdhcHBsaWNhdGlvbl9mZWUnIHwgc3RyaW5nO1xyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS10cmFuc2FjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmFuc2FjdGlvbi9pbnRlcmZhY2VzL2ktdHJhbnNhY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVNcFN0YXR1cywgRU1wU3RhdHVzRGV0YWlsLCBFT3BlcmF0aW9uVHlwZSwgRVBheW1lbnRNZXRob2RJZCwgRVJlbGVhc2VTdGF0dXMsIEVUcmFuc2FjdGlvblN0YXR1cyB9IGZyb20gJy4uL2VudW1zJztcclxuaW1wb3J0IHsgSVRyYW5zYWN0aW9uQmFsYW5jZSB9IGZyb20gJy4vaS1iYWxhbmNlJztcclxuaW1wb3J0IHsgSUZlZURldGFpbCB9IGZyb20gJy4vaS1mZWUtZGV0YWlsJztcclxuaW1wb3J0IHsgSVRyYW5zYWN0aW9uUGF5bWVudE1ldGhvZCB9IGZyb20gJy4vaS1wYXltZW50LW1ldGhvZCc7XHJcbmltcG9ydCB7IElUcmFuc2FjdGlvblRvdGFsIH0gZnJvbSAnLi9pLXRvdGFsJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSVRyYW5zYWN0aW9uIHtcclxuICBpZDogc3RyaW5nO1xyXG4gIHJlZmVyZW5jZUlkOiBzdHJpbmc7XHJcbiAgY2FyZDoge307XHJcbiAgbWVyY2hhbnRJZDogc3RyaW5nO1xyXG4gIGNvbnRhaW5lcklkOiBzdHJpbmc7XHJcbiAgZGF0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//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSVRyYW5zYWN0aW9uQmFsYW5jZSB9IGZyb20gJy4vaS1iYWxhbmNlJztcbmV4cG9ydCB7IElGZWVEZXRhaWwgfSBmcm9tICcuL2ktZmVlLWRldGFpbCc7XG5leHBvcnQgeyBJVHJhbnNhY3Rpb25QYXltZW50TWV0aG9kIH0gZnJvbSAnLi9pLXBheW1lbnQtbWV0aG9kJztcbmV4cG9ydCB7IElUcmFuc2FjdGlvblRvdGFsIH0gZnJvbSAnLi9pLXRvdGFsJztcbmV4cG9ydCB7IElUcmFuc2FjdGlvbiB9IGZyb20gJy4vaS10cmFuc2FjdGlvbic7XG4iXX0=
|
@@ -4577,6 +4577,241 @@ class TokenEntity {
|
|
4577
4577
|
}
|
4578
4578
|
}
|
4579
4579
|
|
4580
|
+
var EReleaseStatus;
|
4581
|
+
(function (EReleaseStatus) {
|
4582
|
+
EReleaseStatus["RELEASED"] = "released";
|
4583
|
+
EReleaseStatus["PENDING"] = "pending";
|
4584
|
+
})(EReleaseStatus || (EReleaseStatus = {}));
|
4585
|
+
// Data em que o pagamento é liquidado e o dinheiro é disponibilizado na conta Mercado Pago do Collector (aquele que recebe o pagamento). O campo pode assumir os valores “pending” ou “released”, sendo que o primeiro indica que o pagamento ainda não foi liberado (dinheiro retido por tempo) e “released” significa que o dinheiro já foi liberado para o saldo disponível do usuário.
|
4586
|
+
|
4587
|
+
var ETransactionStatus;
|
4588
|
+
(function (ETransactionStatus) {
|
4589
|
+
ETransactionStatus["BLOCKED"] = "BLOCKED";
|
4590
|
+
ETransactionStatus["PROCESSED"] = "PROCESSED";
|
4591
|
+
ETransactionStatus["PROCESSING"] = "PROCESSING";
|
4592
|
+
})(ETransactionStatus || (ETransactionStatus = {}));
|
4593
|
+
|
4594
|
+
var EMpStatus;
|
4595
|
+
(function (EMpStatus) {
|
4596
|
+
EMpStatus["PENDING"] = "pending";
|
4597
|
+
EMpStatus["APPROVED"] = "approved";
|
4598
|
+
EMpStatus["AUTHORIZED"] = "authorized";
|
4599
|
+
EMpStatus["IN_PROCESS"] = "in_process";
|
4600
|
+
EMpStatus["IN_MEDIATION"] = "in_mediation";
|
4601
|
+
EMpStatus["REJECTED"] = "rejected";
|
4602
|
+
EMpStatus["CANCELLED"] = "cancelled";
|
4603
|
+
EMpStatus["REFUNDED"] = "refunded";
|
4604
|
+
EMpStatus["CHARGED_BACK"] = "charged_back";
|
4605
|
+
})(EMpStatus || (EMpStatus = {}));
|
4606
|
+
// É o estado atual do pagamento. Podem ser ser dos seguintes tipos.
|
4607
|
+
// pending: The user has not concluded the payment process (for example, by generating a payment by boleto, it will be concluded at the moment in which the user makes the payment in the selected place).
|
4608
|
+
// approved: The payment has been approved and credited.
|
4609
|
+
// authorized: The payment has been authorized but not captured yet.
|
4610
|
+
// in_process: The payment is in analysis.
|
4611
|
+
// in_mediation: The user started a dispute.
|
4612
|
+
// rejected: The payment was rejected (the user can try to pay again).
|
4613
|
+
// cancelled: Either the payment was canceled by one of the parties or expired.
|
4614
|
+
// refunded: The payment was returned to the user.
|
4615
|
+
// charged_back: A chargeback was placed on the buyer's credit card.
|
4616
|
+
|
4617
|
+
var EMpStatusDetail;
|
4618
|
+
(function (EMpStatusDetail) {
|
4619
|
+
EMpStatusDetail["ACCREDITED"] = "accredited";
|
4620
|
+
EMpStatusDetail["PENDING_CONTINGENCY"] = "pending_contingency";
|
4621
|
+
EMpStatusDetail["PENDING_REVIEW_MANUAL"] = "pending_review_manual";
|
4622
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_DATE"] = "cc_rejected_bad_filled_date";
|
4623
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_OTHER"] = "cc_rejected_bad_filled_other";
|
4624
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_SECURITY_CODE"] = "cc_rejected_bad_filled_security_code";
|
4625
|
+
EMpStatusDetail["CC_REJECTED_BLACKLIST"] = "cc_rejected_blacklist";
|
4626
|
+
EMpStatusDetail["CC_REJECTED_CALL_FOR_AUTHORIZE"] = "cc_rejected_call_for_authorize";
|
4627
|
+
EMpStatusDetail["CC_REJECTED_CARD_DISABLED"] = "cc_rejected_card_disabled";
|
4628
|
+
EMpStatusDetail["CC_REJECTED_DUPLICATED_PAYMENT"] = "cc_rejected_duplicated_payment";
|
4629
|
+
EMpStatusDetail["CC_REJECTED_HIGH_RISK"] = "cc_rejected_high_risk";
|
4630
|
+
EMpStatusDetail["CC_REJECTED_INSUFFICIENT_AMOUNT"] = "cc_rejected_insufficient_amount";
|
4631
|
+
EMpStatusDetail["CC_REJECTED_INVALID_INSTALLMENTS"] = "cc_rejected_invalid_installments";
|
4632
|
+
EMpStatusDetail["CC_REJECTED_MAX_ATTEMPTS"] = "cc_rejected_max_attempts";
|
4633
|
+
EMpStatusDetail["CC_REJECTED_OTHER_REASON"] = "cc_rejected_other_reason";
|
4634
|
+
})(EMpStatusDetail || (EMpStatusDetail = {}));
|
4635
|
+
// Accredited: credited payment.
|
4636
|
+
// pending_contingency: the payment is being processed.
|
4637
|
+
// pending_review_manual: the payment is under review to determine its approval or rejection.
|
4638
|
+
// cc_rejected_bad_filled_date: incorrect expiration date.
|
4639
|
+
// cc_rejected_bad_filled_other: incorrect card details.
|
4640
|
+
// cc_rejected_bad_filled_security_code: incorrect CVV.
|
4641
|
+
// cc_rejected_blacklist: the card is in the denial list, being present in problems related to theft/complaints/fraud.
|
4642
|
+
// cc_rejected_call_for_authorize: the payment method requires prior authorization of the transaction value.
|
4643
|
+
// cc_rejected_card_disabled: the card is inactive.
|
4644
|
+
// cc_rejected_duplicated_payment: duplicated transaction.
|
4645
|
+
// cc_rejected_high_risk: rejected by Fraud Prevention.
|
4646
|
+
// cc_rejected_insufficient_amount: insufficient amount.
|
4647
|
+
// cc_rejected_invalid_installments: invalid number of installments.
|
4648
|
+
// cc_rejected_max_attempts: maximum number of attempts exceeded.
|
4649
|
+
// cc_rejected_other_reason: generic error.
|
4650
|
+
|
4651
|
+
var EOperationType;
|
4652
|
+
(function (EOperationType) {
|
4653
|
+
EOperationType["INVESTMENT"] = "investment";
|
4654
|
+
EOperationType["REGULAR_PAYMENT"] = "regular_payment";
|
4655
|
+
EOperationType["MONEY_TRANSFER"] = "money_transfer";
|
4656
|
+
EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
|
4657
|
+
EOperationType["ACCOUNT_FUND"] = "account_fund";
|
4658
|
+
EOperationType["PAYMENT_ADDITION"] = "payment_addition";
|
4659
|
+
EOperationType["CELLPHONE_RECHARGE"] = "cellphone_recharge";
|
4660
|
+
EOperationType["POS_PAYMENT"] = "pos_payment";
|
4661
|
+
EOperationType["MONEY_EXCHANGE"] = "money_exchange";
|
4662
|
+
})(EOperationType || (EOperationType = {}));
|
4663
|
+
// É o tipo de pagamento. Os tipos disponíveis são os seguintes.
|
4664
|
+
// investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
|
4665
|
+
// regular_payment: Typification by default of a purchase being paid using Mercado Pago.
|
4666
|
+
// money_transfer: Funds transfer between two users.
|
4667
|
+
// recurring_payment: Automatic recurring payment due to an active user subscription.
|
4668
|
+
// account_fund: Money income in the user's account.
|
4669
|
+
// payment_addition: Addition of money to an existing payment, made through a Mercado Pago account.
|
4670
|
+
// cellphone_recharge: Recharge of a user's cellphone account.
|
4671
|
+
// pos_payment: Payment done through a Point of Sale.
|
4672
|
+
// money_exchange: Payment to exchange currency for a user.
|
4673
|
+
|
4674
|
+
var EPaymentMethodId;
|
4675
|
+
(function (EPaymentMethodId) {
|
4676
|
+
EPaymentMethodId["ACCOUNT_MONEY"] = "account_money";
|
4677
|
+
EPaymentMethodId["PIX"] = "pix";
|
4678
|
+
EPaymentMethodId["TED"] = "ted";
|
4679
|
+
// casos internacionais
|
4680
|
+
EPaymentMethodId["DEBIN_TRANSFER"] = "debin_transfer";
|
4681
|
+
EPaymentMethodId["CVU"] = "cvu";
|
4682
|
+
EPaymentMethodId["PSE"] = "pse";
|
4683
|
+
})(EPaymentMethodId || (EPaymentMethodId = {}));
|
4684
|
+
// Indica o identificador do meio de pagamento selecionado para efetuar o pagamento. A seguir, apresentamos alguns exemplos. Obtenha todos os meios de pagamento disponíveis consultando a API de 'Obter meios de pagamento'.
|
4685
|
+
// Pix: Método de pagamento digital instantâneo utilizado no Brasil.
|
4686
|
+
// Debin_transfer: Método de pagamento digital utilizado na Argentina que debita imediatamente um valor da conta, solicitando autorização prévia.
|
4687
|
+
// Ted: É o pagamento por Transferência Eletrônica Disponível, usado no Brasil, que possui taxas de utilização. O pagamento é realizado no mesmo dia da transação, mas para isso, é necessário realizar a transferência dentro do período estipulado.
|
4688
|
+
// CVU: Método de pagamento utilizado na Argentina.
|
4689
|
+
// PSE: Método de pagamento digital utilizado na Colômbia, no qual os usuários autorizam o débito de fundos de seu banco por meio da banca virtual, seja de suas contas de poupança, corrente ou depósito eletrônico.
|
4690
|
+
|
4691
|
+
var EPaymentTypeId;
|
4692
|
+
(function (EPaymentTypeId) {
|
4693
|
+
EPaymentTypeId["TICKET"] = "ticket";
|
4694
|
+
EPaymentTypeId["BANK_TRANSFER"] = "bank_transfer";
|
4695
|
+
EPaymentTypeId["ATM"] = "atm";
|
4696
|
+
EPaymentTypeId["CREDIT_CARD"] = "credit_card";
|
4697
|
+
EPaymentTypeId["DEBIT_CARD"] = "debit_card";
|
4698
|
+
EPaymentTypeId["PREPAID_CARD"] = "prepaid_card";
|
4699
|
+
EPaymentTypeId["DIGITAL_CURRENCY"] = "digital_currency";
|
4700
|
+
EPaymentTypeId["DIGITAL_WALLET"] = "digital_wallet";
|
4701
|
+
EPaymentTypeId["VOUCHER_CARD"] = "voucher_card";
|
4702
|
+
EPaymentTypeId["CRYPTO_TRANSFER"] = "crypto_transfer";
|
4703
|
+
})(EPaymentTypeId || (EPaymentTypeId = {}));
|
4704
|
+
// É o tipo da forma de pagamento (cartão, transferência bancária, boleto, caixa eletrônico, etc). Podem ser dos seguintes tipos.
|
4705
|
+
// ticket: Boletos, Caixa Electronica Payment, PayCash, Efecty, Oxxo, etc.
|
4706
|
+
// bank_transfer: Pix e PSE (Pagos Seguros en Línea).
|
4707
|
+
// atm: Pagamento em caixa eletrônico (amplamente utilizado no México através do BBVA Bancomer).
|
4708
|
+
// credit_card: Pagamento com cartão de crédito.
|
4709
|
+
// debit_card: Pagamento com cartão de débito.
|
4710
|
+
// prepaid_card: Pagamento com cartão pré-pago.
|
4711
|
+
// digital_currency: Compras com Mercado Crédito.
|
4712
|
+
// digital_wallet: Paypal.
|
4713
|
+
// voucher_card: Benefícios Alelo e Sodexo.
|
4714
|
+
// crypto_transfer: Pagamento com criptomoedas como Ethereum e Bitcoin.
|
4715
|
+
|
4716
|
+
class TransactionEntity {
|
4717
|
+
id = '';
|
4718
|
+
referenceId = '';
|
4719
|
+
card = {};
|
4720
|
+
merchantId = '';
|
4721
|
+
containerId = '';
|
4722
|
+
dateApproved = null;
|
4723
|
+
dateOfExpiration = null;
|
4724
|
+
dateCreated = new Date();
|
4725
|
+
dateLastUpdated = new Date();
|
4726
|
+
description = '';
|
4727
|
+
externalOrderReference = '';
|
4728
|
+
feeDetails = [];
|
4729
|
+
installments = 0;
|
4730
|
+
liveMode = true;
|
4731
|
+
moneyReleaseDate = null;
|
4732
|
+
moneyReleaseStatus = EReleaseStatus.PENDING;
|
4733
|
+
operationType = EOperationType.REGULAR_PAYMENT;
|
4734
|
+
paymentMethod = null;
|
4735
|
+
paymentMethodId = EPaymentMethodId.ACCOUNT_MONEY;
|
4736
|
+
posId = '';
|
4737
|
+
status = EMpStatus.PENDING;
|
4738
|
+
statusDetail = EMpStatusDetail.ACCREDITED;
|
4739
|
+
transactionAmount = 0;
|
4740
|
+
transactionAmountRefunded = 0;
|
4741
|
+
total = null;
|
4742
|
+
balance = null;
|
4743
|
+
transactionStatus = ETransactionStatus.PROCESSING;
|
4744
|
+
// #region Properties (14;
|
4745
|
+
constructor(data) {
|
4746
|
+
if (data) {
|
4747
|
+
for (let key in data) {
|
4748
|
+
if (data.hasOwnProperty(key) && key in this) {
|
4749
|
+
this[key] = data[key];
|
4750
|
+
}
|
4751
|
+
}
|
4752
|
+
}
|
4753
|
+
}
|
4754
|
+
}
|
4755
|
+
|
4756
|
+
class FeeDetailEntity {
|
4757
|
+
amount = 0;
|
4758
|
+
feePayer = '';
|
4759
|
+
type = '';
|
4760
|
+
constructor(data) {
|
4761
|
+
if (data) {
|
4762
|
+
for (let key in data) {
|
4763
|
+
if (data.hasOwnProperty(key) && key in this) {
|
4764
|
+
this[key] = data[key];
|
4765
|
+
}
|
4766
|
+
}
|
4767
|
+
}
|
4768
|
+
}
|
4769
|
+
}
|
4770
|
+
|
4771
|
+
class TransactionBalanceEntity {
|
4772
|
+
before = 0;
|
4773
|
+
after = 0;
|
4774
|
+
constructor(data) {
|
4775
|
+
if (data) {
|
4776
|
+
for (let key in data) {
|
4777
|
+
if (data.hasOwnProperty(key) && key in this) {
|
4778
|
+
this[key] = data[key];
|
4779
|
+
}
|
4780
|
+
}
|
4781
|
+
}
|
4782
|
+
}
|
4783
|
+
}
|
4784
|
+
|
4785
|
+
class TransactionTotalEntity {
|
4786
|
+
subTotal = 0;
|
4787
|
+
fees = 0;
|
4788
|
+
orderAmount = 0;
|
4789
|
+
constructor(data) {
|
4790
|
+
if (data) {
|
4791
|
+
for (let key in data) {
|
4792
|
+
if (data.hasOwnProperty(key) && key in this) {
|
4793
|
+
this[key] = data[key];
|
4794
|
+
}
|
4795
|
+
}
|
4796
|
+
}
|
4797
|
+
}
|
4798
|
+
}
|
4799
|
+
|
4800
|
+
class TransactionPaymentMethodEntity {
|
4801
|
+
id = EPaymentMethodId.ACCOUNT_MONEY;
|
4802
|
+
issuerId = '';
|
4803
|
+
type = EPaymentTypeId.BANK_TRANSFER;
|
4804
|
+
constructor(data) {
|
4805
|
+
if (data) {
|
4806
|
+
for (let key in data) {
|
4807
|
+
if (data.hasOwnProperty(key) && key in this) {
|
4808
|
+
this[key] = data[key];
|
4809
|
+
}
|
4810
|
+
}
|
4811
|
+
}
|
4812
|
+
}
|
4813
|
+
}
|
4814
|
+
|
4580
4815
|
class VerifierTokenEntity {
|
4581
4816
|
// #region Properties (9)
|
4582
4817
|
appId = null;
|
@@ -4702,5 +4937,5 @@ class WaServerEntity {
|
|
4702
4937
|
* Generated bundle index. Do not edit.
|
4703
4938
|
*/
|
4704
4939
|
|
4705
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, EWaServerStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, EGtintype as GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MasterEntity, MasterV1Entity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VerifierTokenEntity, VoucherEntity, WaServerEntity };
|
4940
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EMpStatus, EMpStatusDetail, EOperationType, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPaymentTypeId, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, ESponsorshipValues, ESubscriptionStatus, ETransactionStatus, EVoucherStatus, EWaServerStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, EGtintype as GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MasterEntity, MasterV1Entity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionPaymentMethodEntity, TransactionTotalEntity, VerifierTokenEntity, VoucherEntity, WaServerEntity };
|
4706
4941
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|