cecon-interfaces 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +2 -1
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +2 -2
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/esm2022/subscription-customer/entities/subscription-customer.entity.mjs +3 -2
- package/dist/esm2022/subscription-customer/interfaces/i-subscription-customer.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice-item.entity.d.ts +1 -0
- package/dist/invoice/entities/invoice-item.entity.js +1 -0
- package/dist/invoice/entities/invoice.entity.js +1 -1
- package/dist/invoice/interfaces/i-invoice-item.d.ts +1 -0
- package/dist/package.json +1 -1
- package/dist/subscription-customer/entities/subscription-customer.entity.d.ts +2 -1
- package/dist/subscription-customer/entities/subscription-customer.entity.js +2 -1
- package/dist/subscription-customer/interfaces/i-subscription-customer.d.ts +2 -1
- package/package.json +1 -1
@@ -4,6 +4,7 @@ export class InvoiceItemEntity {
|
|
4
4
|
isRefunded = false;
|
5
5
|
quantity = 1;
|
6
6
|
unitPrice = 0;
|
7
|
+
totalPrice = 0;
|
7
8
|
// #endregion Properties (4)
|
8
9
|
// #region Constructors (1)
|
9
10
|
constructor(data) {
|
@@ -16,4 +17,4 @@ export class InvoiceItemEntity {
|
|
16
17
|
}
|
17
18
|
}
|
18
19
|
}
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1pdGVtLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnZvaWNlL2VudGl0aWVzL2ludm9pY2UtaXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6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nVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxJbnZvaWNlSXRlbUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -36,7 +36,7 @@ export class InvoiceEntity {
|
|
36
36
|
pix = null;
|
37
37
|
returnExpiredUrl = '';
|
38
38
|
returnUrl = '';
|
39
|
-
status = EInvoiceStatus.
|
39
|
+
status = EInvoiceStatus.DRAFT;
|
40
40
|
subscriptionId = '';
|
41
41
|
subtotal = 0;
|
42
42
|
totalAmount = 0;
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUF5QixNQUFNLGVBQWUsQ0FBQztBQUVwRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBTTFDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBRzVELE1BQU0s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ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxJbnZvaWNlRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2ktaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlSXRlbSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOClcblxuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBxdWFudGl0eTogbnVtYmVyO1xuICBpc1JlZnVuZGVkOiBib29sZWFuO1xuICB1bml0UHJpY2U6IG51bWJlcjtcbiAgdG90YWxQcmljZTogbnVtYmVyO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOClcbn1cbiJdfQ==
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { EDocType } from '../../general';
|
1
2
|
export class SubscriptionCustomerProfileEntity {
|
2
3
|
// #region Properties (8)
|
3
4
|
doc = '';
|
4
|
-
docType =
|
5
|
+
docType = EDocType.CNPJ;
|
5
6
|
email = '';
|
6
7
|
id = '';
|
7
8
|
imageUrl = '';
|
@@ -20,4 +21,4 @@ export class SubscriptionCustomerProfileEntity {
|
|
20
21
|
}
|
21
22
|
}
|
22
23
|
}
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWN1c3RvbWVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24tY3VzdG9tZXIvZW50aXRpZXMvc3Vic2NyaXB0aW9uLWN1c3RvbWVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR3pDLE1BQU0sT0FBTyxpQ0FBaUM7SUFDNUMseUJBQXlCO0lBRWxCLEdBQUcsR0FBa0IsRUFBRSxDQUFDO0lBQ3hCLE9BQU8sR0FBYSxRQUFRLENBQUMsSUFBSSxDQUFDO0lBQ2xDLEtBQUssR0FBa0IsRUFBRSxDQUFDO0lBQzFCLEVBQUUsR0FBa0IsRUFBRSxDQUFDO0lBQ3ZCLFFBQVEsR0FBa0IsRUFBRSxDQUFDO0lBQzdCLElBQUksR0FBa0IsRUFBRSxDQUFDO0lBQ3pCLFdBQVcsR0FBa0IsRUFBRSxDQUFDO0lBQ2hDLEdBQUcsR0FBa0IsRUFBRSxDQUFDO0lBRS9CLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFpRDtRQUMzRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBR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ZpbGVFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tY3VzdG9tZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uLWN1c3RvbWVyL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24tY3VzdG9tZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEb2NUeXBlIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVN1YnNjcmlwdGlvbkN1c3RvbWVyUHJvZmlsZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNilcblxuICBkb2M6IHN0cmluZyB8IG51bGw7XG4gIGRvY1R5cGU6IEVEb2NUeXBlO1xuICBpZDogc3RyaW5nIHwgbnVsbDtcbiAgaW1hZ2VVcmw6IHN0cmluZyB8IG51bGw7XG4gIG5hbWU6IHN0cmluZyB8IG51bGw7XG4gIGVtYWlsOiBzdHJpbmcgfCBudWxsO1xuICBwaG9uZU51bWJlcjogc3RyaW5nIHwgbnVsbDtcbiAgdWlkOiBzdHJpbmcgfCBudWxsO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcbn1cbiJdfQ==
|
@@ -2116,6 +2116,7 @@ class InvoiceItemEntity {
|
|
2116
2116
|
isRefunded = false;
|
2117
2117
|
quantity = 1;
|
2118
2118
|
unitPrice = 0;
|
2119
|
+
totalPrice = 0;
|
2119
2120
|
// #endregion Properties (4)
|
2120
2121
|
// #region Constructors (1)
|
2121
2122
|
constructor(data) {
|
@@ -2239,7 +2240,7 @@ class InvoiceEntity {
|
|
2239
2240
|
pix = null;
|
2240
2241
|
returnExpiredUrl = '';
|
2241
2242
|
returnUrl = '';
|
2242
|
-
status = EInvoiceStatus.
|
2243
|
+
status = EInvoiceStatus.DRAFT;
|
2243
2244
|
subscriptionId = '';
|
2244
2245
|
subtotal = 0;
|
2245
2246
|
totalAmount = 0;
|
@@ -3539,7 +3540,7 @@ class SubscriptionCompanyEntity extends SubscriptionBaseEntity {
|
|
3539
3540
|
class SubscriptionCustomerProfileEntity {
|
3540
3541
|
// #region Properties (8)
|
3541
3542
|
doc = '';
|
3542
|
-
docType =
|
3543
|
+
docType = EDocType.CNPJ;
|
3543
3544
|
email = '';
|
3544
3545
|
id = '';
|
3545
3546
|
imageUrl = '';
|