cecon-interfaces 1.1.38 → 1.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/general/entities/payment-method-option.entity.mjs +3 -3
- package/dist/esm2022/general/entities/payment-method.entity.mjs +3 -3
- package/dist/esm2022/general/enums/index.mjs +2 -2
- package/dist/esm2022/general/enums/payment-type.enum.mjs +24 -24
- package/dist/esm2022/general/interfaces/i-payment-method-option.mjs +1 -1
- package/dist/esm2022/general/interfaces/i-payment-method.mjs +1 -1
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +3 -3
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/esm2022/order/entities/payment-method.entity.mjs +3 -3
- package/dist/esm2022/order/interfaces/i-payment-method.mjs +1 -1
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +6 -4
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +32 -30
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/payment-method-option.entity.d.ts +2 -2
- package/dist/general/entities/payment-method-option.entity.js +1 -1
- package/dist/general/entities/payment-method.entity.d.ts +2 -2
- package/dist/general/entities/payment-method.entity.js +1 -1
- package/dist/general/enums/index.d.ts +1 -1
- package/dist/general/enums/index.js +2 -2
- package/dist/general/enums/payment-type.enum.d.ts +1 -1
- package/dist/general/enums/payment-type.enum.js +24 -24
- package/dist/general/interfaces/i-payment-method-option.d.ts +2 -2
- package/dist/general/interfaces/i-payment-method.d.ts +2 -2
- package/dist/invoice/entities/invoice.entity.d.ts +2 -2
- package/dist/invoice/entities/invoice.entity.js +1 -1
- package/dist/invoice/interfaces/i-invoice.d.ts +2 -2
- package/dist/order/entities/payment-method.entity.d.ts +2 -2
- package/dist/order/entities/payment-method.entity.js +1 -1
- package/dist/order/interfaces/i-payment-method.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/subscription/entities/subscription.entity.d.ts +3 -1
- package/dist/subscription/entities/subscription.entity.js +4 -2
- package/dist/subscription/interfaces/i-subscription.d.ts +4 -2
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PaymentChannelEnum } from '../enums/payment-channel.enum';
|
2
2
|
import { PaymentModeEnum } from '../enums/payment-mode.enum';
|
3
|
-
import {
|
3
|
+
import { EPaymentType } from '../enums/payment-type.enum';
|
4
4
|
export class PaymentMethodOptionEntity {
|
5
5
|
// #region Properties (13)
|
6
6
|
active = false;
|
@@ -14,7 +14,7 @@ export class PaymentMethodOptionEntity {
|
|
14
14
|
mode = PaymentModeEnum.MANUAL;
|
15
15
|
name = '';
|
16
16
|
token = '';
|
17
|
-
type =
|
17
|
+
type = EPaymentType.CREDIT_CARD;
|
18
18
|
updatedAt = new Date();
|
19
19
|
// #endregion Properties (13)
|
20
20
|
// #region Constructors (1)
|
@@ -28,4 +28,4 @@ export class PaymentMethodOptionEntity {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
}
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2Qtb3B0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudGl0aWVzL3BheW1lbnQtbWV0aG9kLW9wdGlvbi5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDbkUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzdELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUcxRCxNQUFNLE9BQU8seUJBQXlCO0lBQ3BDLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksS0FBSyxDQUFDO0lB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FbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EPaymentType } from '..';
|
2
2
|
export class PaymentMethodEntity {
|
3
3
|
// #region Properties (11)
|
4
4
|
card = null;
|
@@ -6,7 +6,7 @@ export class PaymentMethodEntity {
|
|
6
6
|
code = '';
|
7
7
|
currency = 'BRL';
|
8
8
|
id = '';
|
9
|
-
method =
|
9
|
+
method = EPaymentType.CASH;
|
10
10
|
pix = null;
|
11
11
|
prepaid = false;
|
12
12
|
type = 'OFFLINE';
|
@@ -24,4 +24,4 @@ export class PaymentMethodEntity {
|
|
24
24
|
}
|
25
25
|
}
|
26
26
|
}
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2QuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dlbmVyYWwvZW50aXRpZXMvcGF5bWVudC1tZXRob2QuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxJQUFJLENBQUM7QUFPbEMsTUFBTSxPQUFPLG1CQUFtQjtJQUM5QiwwQkFBMEI7SUFFMUIsSUFBSSxHQUE4QixJQUFJLENBQUM7SUFDdk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AgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -9,9 +9,9 @@ export { OsEnum } from './os.enum';
|
|
9
9
|
export { PaymentChannelEnum } from './payment-channel.enum';
|
10
10
|
export { PaymentModeEnum } from './payment-mode.enum';
|
11
11
|
export { PaymentStatusEnum } from './payment-status.enum';
|
12
|
-
export {
|
12
|
+
export { EPaymentType } from './payment-type.enum';
|
13
13
|
export { LegalEntiyEnum } from './person-type.enum';
|
14
14
|
export { PlatfomrEnum } from './platform.enum';
|
15
15
|
export { PaymentProviderEnum } from './providers.enum';
|
16
16
|
export { ESponsorshipValues } from './sponsorship-values.enum';
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDMUQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzlDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN4RCxPQUFPLEVB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wb3J0IHsgTGVhZE9yaWdpbkVudW0gfSBmcm9tICcuL2xlYWQtb3JpZ2luLmVudW0nO1xuZXhwb3J0IHsgT3NFbnVtIH0gZnJvbSAnLi9vcy5lbnVtJztcbmV4cG9ydCB7IFBheW1lbnRDaGFubmVsRW51bSB9IGZyb20gJy4vcGF5bWVudC1jaGFubmVsLmVudW0nO1xuZXhwb3J0IHsgUGF5bWVudE1vZGVFbnVtIH0gZnJvbSAnLi9wYXltZW50LW1vZGUuZW51bSc7XG5leHBvcnQgeyBQYXltZW50U3RhdHVzRW51bSB9IGZyb20gJy4vcGF5bWVudC1zdGF0dXMuZW51bSc7XG5leHBvcnQgeyBFUGF5bWVudFR5cGUgfSBmcm9tICcuL3BheW1lbnQtdHlwZS5lbnVtJztcbmV4cG9ydCB7IExlZ2FsRW50aXlFbnVtIH0gZnJvbSAnLi9wZXJzb24tdHlwZS5lbnVtJztcbmV4cG9ydCB7IFBsYXRmb21yRW51bSB9IGZyb20gJy4vcGxhdGZvcm0uZW51bSc7XG5leHBvcnQgeyBQYXltZW50UHJvdmlkZXJFbnVtIH0gZnJvbSAnLi9wcm92aWRlcnMuZW51bSc7XG5leHBvcnQgeyBFU3BvbnNvcnNoaXBWYWx1ZXMgfSBmcm9tICcuL3Nwb25zb3JzaGlwLXZhbHVlcy5lbnVtJztcbiJdfQ==
|
@@ -1,24 +1,24 @@
|
|
1
|
-
export var
|
2
|
-
(function (
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
})(
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export var EPaymentType;
|
2
|
+
(function (EPaymentType) {
|
3
|
+
EPaymentType["CREDIT_CARD"] = "CREDIT_CARD";
|
4
|
+
EPaymentType["DEBIT_CARD"] = "DEBIT_CARD";
|
5
|
+
EPaymentType["CASH"] = "CASH";
|
6
|
+
EPaymentType["PIX"] = "PIX";
|
7
|
+
EPaymentType["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
|
8
|
+
EPaymentType["CHECK"] = "CHECK";
|
9
|
+
EPaymentType["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
|
10
|
+
EPaymentType["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
|
11
|
+
EPaymentType["MONEY_ORDER"] = "MONEY_ORDER";
|
12
|
+
EPaymentType["PREPAID_CARD"] = "PREPAID_CARD";
|
13
|
+
EPaymentType["E_WALLET"] = "E_WALLET";
|
14
|
+
EPaymentType["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
15
|
+
EPaymentType["PAYPAL"] = "PAYPAL";
|
16
|
+
EPaymentType["CHECKOUT_PRO"] = "CHECKOUT_PRO";
|
17
|
+
EPaymentType["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
18
|
+
EPaymentType["GIFT_CARD"] = "GIFT_CARD";
|
19
|
+
EPaymentType["VOUCHER"] = "VOUCHER";
|
20
|
+
EPaymentType["BILLING"] = "BILLING";
|
21
|
+
EPaymentType["BANK_SLIP"] = "BANK_SLIP";
|
22
|
+
EPaymentType["NONE"] = "NONE";
|
23
|
+
})(EPaymentType || (EPaymentType = {}));
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnVtcy9wYXltZW50LXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxZQXFCWDtBQXJCRCxXQUFZLFlBQVk7SUFDdEIsMkNBQTJCLENBQUE7SUFDM0IseUNBQXlCLENBQUE7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nQ0hFQ0tPVVRfUFJPJyxcbiAgV0lSRV9UUkFOU0ZFUiA9ICdXSVJFX1RSQU5TRkVSJyxcbiAgR0lGVF9DQVJEID0gJ0dJRlRfQ0FSRCcsXG4gIFZPVUNIRVIgPSAnVk9VQ0hFUicsXG4gIEJJTExJTkcgPSAnQklMTElORycsXG4gIEJBTktfU0xJUCA9ICdCQU5LX1NMSVAnLFxuICBOT05FID0gJ05PTkUnLFxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LW1ldGhvZC1vcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktcGF5bWVudC1tZXRob2Qtb3B0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQYXltZW50Q2hhbm5lbEVudW0gfSBmcm9tICcuLi9lbnVtcy9wYXltZW50LWNoYW5uZWwuZW51bSc7XG5pbXBvcnQgeyBQYXltZW50TW9kZUVudW0gfSBmcm9tICcuLi9lbnVtcy9wYXltZW50LW1vZGUuZW51bSc7XG5pbXBvcnQgeyBFUGF5bWVudFR5cGUgfSBmcm9tICcuLi9lbnVtcy9wYXltZW50LXR5cGUuZW51bSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVBheW1lbnRNZXRob2RPcHRpb24ge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxuXG4gIGFjdGl2ZTogYm9vbGVhbjtcbiAgY2hhbm5lbDogUGF5bWVudENoYW5uZWxFbnVtO1xuICBjcmVhdGVkQXQ6IERhdGU7XG4gIGZlZTogbnVtYmVyO1xuICBpZDogc3RyaW5nO1xuICBpbmRleDogbnVtYmVyO1xuICBtYXhBbW91bnQ6IG51bWJlcjtcbiAgbWluQW1vdW50OiBudW1iZXI7XG4gIG1vZGU6IFBheW1lbnRNb2RlRW51bTtcbiAgbmFtZTogc3RyaW5nO1xuICB0b2tlbjogc3RyaW5nO1xuICB0eXBlOiBFUGF5bWVudFR5cGU7XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEzKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LW1ldGhvZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2ludGVyZmFjZXMvaS1wYXltZW50LW1ldGhvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRVBheW1lbnRUeXBlIH0gZnJvbSAnLi4nO1xyXG5pbXBvcnQgeyBJUGF5bWVudENhcmQgfSBmcm9tICcuL2ktcGF5bWVudC1jYXJkJztcclxuaW1wb3J0IHsgSVBheW1lbnRDYXNoIH0gZnJvbSAnLi9pLXBheW1lbnQtY2FzaCc7XHJcbmltcG9ydCB7IElQYXltZW50UGl4IH0gZnJvbSAnLi9pLXBheW1lbnQtcGl4JztcclxuaW1wb3J0IHsgSVBheW1lbnRXYWxsZXQgfSBmcm9tICcuL2ktcGF5bWVudC13YWxsZXQnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJUGF5bWVudE1ldGhvZCB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxMSlcclxuXHJcbiAgY2FyZD86IElQYXltZW50Q2FyZCB8IG51bGw7XHJcbiAgY2FzaD86IElQYXltZW50Q2FzaCB8IG51bGw7XHJcbiAgY29kZTogc3RyaW5nO1xyXG4gIGN1cnJlbmN5OiAnQlJMJztcclxuICBpZDogc3RyaW5nO1xyXG4gIG1ldGhvZDogRVBheW1lbnRUeXBlO1xyXG4gIHBpeD86IElQYXltZW50UGl4IHwgbnVsbDtcclxuICBwcmVwYWlkOiBib29sZWFuO1xyXG4gIHR5cGU6ICdPTkxJTkUnIHwgJ09GRkxJTkUnO1xyXG4gIHZhbHVlOiBudW1iZXI7XHJcbiAgd2FsbGV0PzogSVBheW1lbnRXYWxsZXQgfCBudWxsO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDExKVxyXG59XHJcbiJdfQ==
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EPaymentType } from '../../general';
|
2
2
|
import { EInvoiceStatus } from '../enums';
|
3
3
|
import { InvoicePayerEntity } from './invoice-payer.entity';
|
4
4
|
export class InvoiceEntity {
|
@@ -30,7 +30,7 @@ export class InvoiceEntity {
|
|
30
30
|
partnerId = '';
|
31
31
|
password = null;
|
32
32
|
payer = new InvoicePayerEntity();
|
33
|
-
paymentMethod =
|
33
|
+
paymentMethod = EPaymentType.NONE;
|
34
34
|
paymentProvider = null;
|
35
35
|
phoneNumberNotification = null;
|
36
36
|
pix = null;
|
@@ -57,4 +57,4 @@ export class InvoiceEntity {
|
|
57
57
|
}
|
58
58
|
}
|
59
59
|
}
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUF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cblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDQ0KVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEludm9pY2VFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVQYXltZW50VHlwZSwgSVBheW1lbnRQcm92aWRlciB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgRUludm9pY2VTdGF0dXMgfSBmcm9tICcuLi9lbnVtcyc7XG5pbXBvcnQgeyBJSW52b2ljZUJhbmtTbGlwIH0gZnJvbSAnLi9pLWludm9pY2UtYmFuay1zbGlwJztcbmltcG9ydCB7IElJbnZvaWNlQ3JlZGl0Q2FyZCB9IGZyb20gJy4vaS1pbnZvaWNlLWNyZWRpdC1jYXJkJztcbmltcG9ydCB7IElJb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O1xuICBwYWlkQXQ6IERhdGUgfCBudWxsO1xuICBwYXJ0bmVySWQ6IHN0cmluZyB8IG51bGw7XG4gIHBhc3N3b3JkOiBzdHJpbmcgfCBudWxsO1xuICBwYXllcjogSUludm9pY2VQYXllcjtcbiAgcGF5bWVudE1ldGhvZDogRVBheW1lbnRUeXBlO1xuICBwYXltZW50UHJvdmlkZXI6IElQYXltZW50UHJvdmlkZXIgfCBudWxsO1xuICBwaG9uZU51bWJlck5vdGlmaWNhdGlvbjogc3RyaW5nIHwgbnVsbDtcbiAgcGl4OiBJSW52b2ljZVBpeCB8IG51bGw7XG4gIHJldHVybkV4cGlyZWRVcmw6IHN0cmluZztcbiAgcmV0dXJuVXJsOiBzdHJpbmc7XG4gIHN0YXR1czogRUludm9pY2VTdGF0dXM7XG4gIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gIHN1YnRvdGFsOiBudW1iZXI7XG4gIHRvdGFsQW1vdW50OiBudW1iZXI7XG4gIHRvdGFsRmVlOiBudW1iZXI7XG4gIHRvdGFsT3ZlclBhaWQ6IG51bWJlcjtcbiAgdG90YWxQYWlkOiBudW1iZXI7XG4gIHRvdGFsUmVmdW5kZWQ6IG51bWJlcjtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNDIpXG59XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EPaymentType } from '../../general';
|
2
2
|
export class OrderPaymentMethodEntity {
|
3
3
|
// #region Properties (11)
|
4
4
|
card = null;
|
@@ -6,7 +6,7 @@ export class OrderPaymentMethodEntity {
|
|
6
6
|
code = '';
|
7
7
|
currency = 'BRL';
|
8
8
|
id = '';
|
9
|
-
method =
|
9
|
+
method = EPaymentType.CASH;
|
10
10
|
pix = null;
|
11
11
|
prepaid = false;
|
12
12
|
type = 'OFFLINE';
|
@@ -24,4 +24,4 @@ export class OrderPaymentMethodEntity {
|
|
24
24
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wgPSBudWxsO1xuICBwdWJsaWMgcHJlcGFpZDogYm9vbGVhbiA9IGZhbHNlO1xuICBwdWJsaWMgdHlwZTogJ09OTElORScgfCAnT0ZGTElORScgPSAnT0ZGTElORSc7XG4gIHB1YmxpYyB2YWx1ZTogbnVtYmVyID0gMDtcbiAgd2FsbGV0PzogT3JkZXJQYXltZW50V2FsbGV0RW50aXR5IHwgbnVsbCA9IG51bGw7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxMSlcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxPcmRlclBheW1lbnRNZXRob2RFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LW1ldGhvZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktcGF5bWVudC1tZXRob2QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVQYXltZW50VHlwZSB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5pbXBvcnQgeyBJT3JkZXJQYXltZW50Q2FyZCB9IGZyb20gJy4vaS1wYXltZW50LWNhcmQnO1xyXG5pbXBvcnQgeyBJT3JkZXJQYXltZW50Q2FzaCB9IGZyb20gJy4vaS1wYXltZW50LWNhc2gnO1xyXG5pbXBvcnQgeyBJT3JkZXJQYXltZW50UGl4IH0gZnJvbSAnLi9pLXBheW1lbnQtcGl4JztcclxuaW1wb3J0IHsgSU9yZGVyUGF5bWVudFdhbGxldCB9IGZyb20gJy4vaS1wYXltZW50LXdhbGxldCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElPcmRlclBheW1lbnRNZXRob2Qge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTEpXHJcblxyXG4gIGNhcmQ/OiBJT3JkZXJQYXltZW50Q2FyZCB8IG51bGw7XHJcbiAgY2FzaD86IElPcmRlclBheW1lbnRDYXNoIHwgbnVsbDtcclxuICBjb2RlOiBzdHJpbmc7XHJcbiAgY3VycmVuY3k6ICdCUkwnO1xyXG4gIGlkOiBzdHJpbmc7XHJcbiAgbWV0aG9kOiBFUGF5bWVudFR5cGU7XHJcbiAgcGl4PzogSU9yZGVyUGF5bWVudFBpeCB8IG51bGw7XHJcbiAgcHJlcGFpZDogYm9vbGVhbjtcclxuICB0eXBlOiAnT05MSU5FJyB8ICdPRkZMSU5FJztcclxuICB2YWx1ZTogbnVtYmVyO1xyXG4gIHdhbGxldD86IElPcmRlclBheW1lbnRXYWxsZXQgfCBudWxsO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDExKVxyXG59XHJcbiJdfQ==
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { IntervalTypeEnum, PaymentEntity } from '../../general';
|
1
|
+
import { EPaymentType, IntervalTypeEnum, PaymentEntity } from '../../general';
|
2
2
|
import { ESubscriptionStatus } from '../enums';
|
3
3
|
import { SubscriptionCompanyEntity } from './subscription-company.entity';
|
4
4
|
export class SubscriptionEntity {
|
5
|
-
// #region Properties (
|
5
|
+
// #region Properties (30)
|
6
6
|
amount = 0;
|
7
7
|
appId = '';
|
8
8
|
appName = '';
|
@@ -22,6 +22,7 @@ export class SubscriptionEntity {
|
|
22
22
|
notes = '';
|
23
23
|
partnerId = '';
|
24
24
|
payment = new PaymentEntity();
|
25
|
+
paymentType = EPaymentType.NONE;
|
25
26
|
phoneNumberNotification = '';
|
26
27
|
planId = '';
|
27
28
|
planName = '';
|
@@ -29,9 +30,10 @@ export class SubscriptionEntity {
|
|
29
30
|
renovatedAt = new Date();
|
30
31
|
startsAt = new Date();
|
31
32
|
status = ESubscriptionStatus.PENDING;
|
33
|
+
suspendedTimes = 0;
|
32
34
|
tags = [];
|
33
35
|
updatedAt = new Date();
|
34
|
-
// #endregion Properties (
|
36
|
+
// #endregion Properties (30)
|
35
37
|
// #region Constructors (1)
|
36
38
|
constructor(data) {
|
37
39
|
if (data) {
|
@@ -43,4 +45,4 @@ export class SubscriptionEntity {
|
|
43
45
|
}
|
44
46
|
}
|
45
47
|
}
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQXdCLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxhQUFhLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFcEcsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRS9DLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBSTFFLE1BQU0sT0FBTyxr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MgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElGZWF0dXJlIH0gZnJvbSAnLi4vLi4vZmVhdHVyZSc7XG5pbXBvcnQgeyBFUGF5bWVudFR5cGUsIElDdXN0b21WYXJpYWJsZSwgSW50ZXJ2YWxUeXBlRW51bSB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgSVBheW1lbnQgfSBmcm9tICcuLi8uLi9nZW5lcmFsL2ludGVyZmFjZXMnO1xuaW1wb3J0IHsgSUludm9pY2UgfSBmcm9tICcuLi8uLi9pbnZvaWNlJztcbmltcG9ydCB7IEVTdWJzY3JpcHRpb25TdGF0dXMgfSBmcm9tICcuLi9lbnVtcyc7XG5pbXBvcnQgeyBJU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bmc7XG4gIHJlbmV3UGF5bWVudERhdGU6IERhdGU7XG4gIHJlbm92YXRlZEF0OiBEYXRlO1xuICBzdGFydHNBdDogRGF0ZTtcbiAgc3RhdHVzOiBFU3Vic2NyaXB0aW9uU3RhdHVzO1xuICBzdXNwZW5kZWRUaW1lczogbnVtYmVyO1xuICB0YWdzOiBzdHJpbmdbXTtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMzApXG59XG4iXX0=
|
@@ -262,29 +262,29 @@ var PaymentModeEnum;
|
|
262
262
|
PaymentModeEnum["DIGITAL"] = "DIGITAL";
|
263
263
|
})(PaymentModeEnum || (PaymentModeEnum = {}));
|
264
264
|
|
265
|
-
var
|
266
|
-
(function (
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
})(
|
265
|
+
var EPaymentType;
|
266
|
+
(function (EPaymentType) {
|
267
|
+
EPaymentType["CREDIT_CARD"] = "CREDIT_CARD";
|
268
|
+
EPaymentType["DEBIT_CARD"] = "DEBIT_CARD";
|
269
|
+
EPaymentType["CASH"] = "CASH";
|
270
|
+
EPaymentType["PIX"] = "PIX";
|
271
|
+
EPaymentType["MOBILE_PAYMENT"] = "MOBILE_PAYMENT";
|
272
|
+
EPaymentType["CHECK"] = "CHECK";
|
273
|
+
EPaymentType["CRYPTOCURRENCY"] = "CRYPTOCURRENCY";
|
274
|
+
EPaymentType["ELECTRONIC_BANKING"] = "ELECTRONIC_BANKING";
|
275
|
+
EPaymentType["MONEY_ORDER"] = "MONEY_ORDER";
|
276
|
+
EPaymentType["PREPAID_CARD"] = "PREPAID_CARD";
|
277
|
+
EPaymentType["E_WALLET"] = "E_WALLET";
|
278
|
+
EPaymentType["DIRECT_DEBIT"] = "DIRECT_DEBIT";
|
279
|
+
EPaymentType["PAYPAL"] = "PAYPAL";
|
280
|
+
EPaymentType["CHECKOUT_PRO"] = "CHECKOUT_PRO";
|
281
|
+
EPaymentType["WIRE_TRANSFER"] = "WIRE_TRANSFER";
|
282
|
+
EPaymentType["GIFT_CARD"] = "GIFT_CARD";
|
283
|
+
EPaymentType["VOUCHER"] = "VOUCHER";
|
284
|
+
EPaymentType["BILLING"] = "BILLING";
|
285
|
+
EPaymentType["BANK_SLIP"] = "BANK_SLIP";
|
286
|
+
EPaymentType["NONE"] = "NONE";
|
287
|
+
})(EPaymentType || (EPaymentType = {}));
|
288
288
|
|
289
289
|
class PaymentMethodOptionEntity {
|
290
290
|
// #region Properties (13)
|
@@ -299,7 +299,7 @@ class PaymentMethodOptionEntity {
|
|
299
299
|
mode = PaymentModeEnum.MANUAL;
|
300
300
|
name = '';
|
301
301
|
token = '';
|
302
|
-
type =
|
302
|
+
type = EPaymentType.CREDIT_CARD;
|
303
303
|
updatedAt = new Date();
|
304
304
|
// #endregion Properties (13)
|
305
305
|
// #region Constructors (1)
|
@@ -321,7 +321,7 @@ class PaymentMethodEntity {
|
|
321
321
|
code = '';
|
322
322
|
currency = 'BRL';
|
323
323
|
id = '';
|
324
|
-
method =
|
324
|
+
method = EPaymentType.CASH;
|
325
325
|
pix = null;
|
326
326
|
prepaid = false;
|
327
327
|
type = 'OFFLINE';
|
@@ -1279,7 +1279,7 @@ class InvoiceEntity {
|
|
1279
1279
|
partnerId = '';
|
1280
1280
|
password = null;
|
1281
1281
|
payer = new InvoicePayerEntity();
|
1282
|
-
paymentMethod =
|
1282
|
+
paymentMethod = EPaymentType.NONE;
|
1283
1283
|
paymentProvider = null;
|
1284
1284
|
phoneNumberNotification = null;
|
1285
1285
|
pix = null;
|
@@ -2428,7 +2428,7 @@ class OrderPaymentMethodEntity {
|
|
2428
2428
|
code = '';
|
2429
2429
|
currency = 'BRL';
|
2430
2430
|
id = '';
|
2431
|
-
method =
|
2431
|
+
method = EPaymentType.CASH;
|
2432
2432
|
pix = null;
|
2433
2433
|
prepaid = false;
|
2434
2434
|
type = 'OFFLINE';
|
@@ -2827,7 +2827,7 @@ class SubscriptionLogEntity {
|
|
2827
2827
|
}
|
2828
2828
|
|
2829
2829
|
class SubscriptionEntity {
|
2830
|
-
// #region Properties (
|
2830
|
+
// #region Properties (30)
|
2831
2831
|
amount = 0;
|
2832
2832
|
appId = '';
|
2833
2833
|
appName = '';
|
@@ -2847,6 +2847,7 @@ class SubscriptionEntity {
|
|
2847
2847
|
notes = '';
|
2848
2848
|
partnerId = '';
|
2849
2849
|
payment = new PaymentEntity();
|
2850
|
+
paymentType = EPaymentType.NONE;
|
2850
2851
|
phoneNumberNotification = '';
|
2851
2852
|
planId = '';
|
2852
2853
|
planName = '';
|
@@ -2854,9 +2855,10 @@ class SubscriptionEntity {
|
|
2854
2855
|
renovatedAt = new Date();
|
2855
2856
|
startsAt = new Date();
|
2856
2857
|
status = ESubscriptionStatus.PENDING;
|
2858
|
+
suspendedTimes = 0;
|
2857
2859
|
tags = [];
|
2858
2860
|
updatedAt = new Date();
|
2859
|
-
// #endregion Properties (
|
2861
|
+
// #endregion Properties (30)
|
2860
2862
|
// #region Constructors (1)
|
2861
2863
|
constructor(data) {
|
2862
2864
|
if (data) {
|
@@ -2962,5 +2964,5 @@ class VoucherEntity {
|
|
2962
2964
|
* Generated bundle index. Do not edit.
|
2963
2965
|
*/
|
2964
2966
|
|
2965
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, EDiscountType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPlanFeatureType, EPlanIdentifier, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity,
|
2967
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BooleanStringEnum, CampaignEntity, CarouselImageEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, ECampaignStatus, ECompanyKeys, ECompanyMessageType, EDiscountType, EFiscalDocModelCode, EInstallationStatus, EInvoiceStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, FeatureEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentChannelEnum, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentModeEnum, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, PlatfomrEnum, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionCompanyEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, TokenEntity, VoucherEntity };
|
2966
2968
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|