cecon-interfaces 1.1.51 → 1.1.57
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/subscription/entities/subscription-item.entity.mjs +5 -4
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +2 -2
- package/dist/esm2022/subscription/interfaces/i-subscription-item.mjs +1 -1
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/esm2022/voucher/entities/voucher.entity.mjs +4 -3
- package/dist/esm2022/voucher/interfaces/i-voucher.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +8 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription/entities/subscription-item.entity.d.ts +2 -1
- package/dist/subscription/entities/subscription-item.entity.js +4 -3
- package/dist/subscription/entities/subscription.entity.d.ts +1 -1
- package/dist/subscription/entities/subscription.entity.js +1 -1
- package/dist/subscription/interfaces/i-subscription-item.d.ts +1 -0
- package/dist/subscription/interfaces/i-subscription.d.ts +1 -1
- package/dist/voucher/entities/voucher.entity.d.ts +1 -0
- package/dist/voucher/entities/voucher.entity.js +3 -2
- package/dist/voucher/interfaces/i-voucher.d.ts +1 -0
- package/package.json +1 -1
@@ -1,11 +1,12 @@
|
|
1
1
|
export class SubscriptionItemEntity {
|
2
|
-
// #region Properties (
|
3
|
-
description =
|
2
|
+
// #region Properties (6)
|
3
|
+
description = '';
|
4
4
|
quantity = 1;
|
5
5
|
recurrent = true;
|
6
6
|
totalPrice = 0;
|
7
7
|
unitPrice = 0;
|
8
|
-
|
8
|
+
voucherId = null;
|
9
|
+
// #endregion Properties (6)
|
9
10
|
// #region Constructors (1)
|
10
11
|
constructor(data) {
|
11
12
|
if (data) {
|
@@ -17,4 +18,4 @@ export class SubscriptionItemEntity {
|
|
17
18
|
}
|
18
19
|
}
|
19
20
|
}
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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yA9ICcnO1xuICBwdWJsaWMgcXVhbnRpdHk6IG51bWJlciA9IDE7XG4gIHB1YmxpYyByZWN1cnJlbnQ6IGJvb2xlYW4gPSB0cnVlO1xuICBwdWJsaWMgdG90YWxQcmljZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHVuaXRQcmljZTogbnVtYmVyID0gMDtcbiAgcHVibGljIHZvdWNoZXJJZDogc3RyaW5nIHwgbnVsbCA9IG51bGw7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg2KVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFN1YnNjcmlwdGlvbkl0ZW1FbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -26,7 +26,7 @@ export class SubscriptionEntity {
|
|
26
26
|
phoneNumberNotification = '';
|
27
27
|
planId = '';
|
28
28
|
planName = '';
|
29
|
-
|
29
|
+
recentInvoices = [];
|
30
30
|
renewPaymentDate = new Date();
|
31
31
|
renovatedAt = new Date();
|
32
32
|
startsAt = new Date();
|
@@ -46,4 +46,4 @@ export class SubscriptionEntity {
|
|
46
46
|
}
|
47
47
|
}
|
48
48
|
}
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5q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ZXdQYXltZW50RGF0ZTogRGF0ZSA9IG5ldyBEYXRlKCk7XG4gIHB1YmxpYyByZW5vdmF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XG4gIHB1YmxpYyBzdGFydHNBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XG4gIHB1YmxpYyBzdGF0dXM6IEVTdWJzY3JpcHRpb25TdGF0dXMgPSBFU3Vic2NyaXB0aW9uU3RhdHVzLlBFTkRJTkc7XG4gIHB1YmxpYyBzdXNwZW5kZWRUaW1lczogbnVtYmVyID0gMDtcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMzEpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24taXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vaW50ZXJmYWNlcy9pLXN1YnNjcmlwdGlvbi1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25JdGVtIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg1KVxuXG4gIGRlc2NyaXB0aW9uOiBzdHJpbmc7XG4gIHF1YW50aXR5OiBudW1iZXI7XG4gIHJlY3VycmVudDogYm9vbGVhbjtcbiAgdm91Y2hlcklkOiBzdHJpbmcgfCBudWxsO1xuICB0b3RhbFByaWNlOiBudW1iZXI7XG4gIHVuaXRQcmljZTogbnVtYmVyO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElGZWF0dXJlIH0gZnJvbSAnLi4vLi4vZmVhdHVyZSc7XG5pbXBvcnQgeyBFUGF5bWVudFR5cGUsIElDdXN0b21WYXJpYWJsZSwgSW50ZXJ2YWxUeXBlRW51bSB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgSVBheW1lbnQgfSBmcm9tICcuLi8uLi9nZW5lcmFsL2ludGVyZmFjZXMnO1xuaW1wb3J0IHsgSUludm9pY2UgfSBmcm9tICcuLi8uLi9pbnZv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GhvbmVOdW1iZXJOb3RpZmljYXRpb246IHN0cmluZztcbiAgcGxhbklkOiBzdHJpbmc7XG4gIHBsYW5OYW1lOiBzdHJpbmc7XG4gIHJlY2VudEludm9pY2VzOiBJSW52b2ljZVtdO1xuICByZW5ld1BheW1lbnREYXRlOiBEYXRlO1xuICByZW5vdmF0ZWRBdDogRGF0ZTtcbiAgc3RhcnRzQXQ6IERhdGU7XG4gIHN0YXR1czogRVN1YnNjcmlwdGlvblN0YXR1cztcbiAgc3VzcGVuZGVkVGltZXM6IG51bWJlcjtcbiAgdGFnczogc3RyaW5nW107XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDMwKVxufVxuIl19
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { EDiscountType } from '../../general';
|
2
2
|
import { EVoucherStatus } from '../enums';
|
3
3
|
export class VoucherEntity {
|
4
|
-
// #region Properties (
|
4
|
+
// #region Properties (21)
|
5
5
|
// se permite ou não a alteração do nome do cupom pelo parceiro
|
6
6
|
allowsKeyChange = false;
|
7
7
|
// valor do desconto (soma do valor de todos os patrocínios - sponsorship)
|
@@ -30,6 +30,7 @@ export class VoucherEntity {
|
|
30
30
|
maxUses = -1;
|
31
31
|
// ID do parceiro associado ao cupom (opcional)
|
32
32
|
partnerId = [];
|
33
|
+
recurrent = false;
|
33
34
|
// informação de patrocínio (opcional)
|
34
35
|
sponsorship = [];
|
35
36
|
// status do cupom
|
@@ -39,7 +40,7 @@ export class VoucherEntity {
|
|
39
40
|
updatedAt = new Date();
|
40
41
|
// contador de quantas vezes o cupom foi usado
|
41
42
|
usedCount = 0;
|
42
|
-
// #endregion Properties (
|
43
|
+
// #endregion Properties (21)
|
43
44
|
// #region Constructors (1)
|
44
45
|
constructor(data) {
|
45
46
|
if (data) {
|
@@ -51,4 +52,4 @@ export class VoucherEntity {
|
|
51
52
|
}
|
52
53
|
}
|
53
54
|
}
|
54
|
-
//# sourceMapping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AgLy8gSUQgZG8gcGFyY2Vpcm8gYXNzb2NpYWRvIGFvIGN1cG9tIChvcGNpb25hbClcclxuICBwYXJ0bmVySWQ6IHN0cmluZ1tdO1xyXG4gIC8vIGluZm9ybWHDp8OjbyBkZSBwYXRyb2PDrW5pbyAob3BjaW9uYWwpXHJcbiAgc3BvbnNvcnNoaXA6IElTcG9uc29yc2hpcFZhbHVlW107XHJcbiAgLy8gc3RhdHVzIGRvIGN1cG9tXHJcbiAgc3RhdHVzOiBFVm91Y2hlclN0YXR1cztcclxuICB0YWdzOiBzdHJpbmdbXTtcclxuICAvLyBkYXRhIGRhIMO6bHRpbWEgYXR1YWxpemHDp8OjbyBkbyBjdXBvbVxyXG4gIHVwZGF0ZWRBdDogRGF0ZTtcclxuICAvLyBjb250YWRvciBkZSBxdWFudGFzIHZlemVzIG8gY3Vwb20gZm9pIHVzYWRvXHJcbiAgdXNlZENvdW50OiBudW1iZXI7XHJcbiAgcmVjdXJyZW50OiBib29sZWFuO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIwKVxyXG4gIC8vIGRhdGEgZGEgw7psdGltYSBhdHVhbGl6YcOnw6NvIGRhIGNhbXBhbmhhXHJcbn1cclxuIl19
|
@@ -2950,13 +2950,14 @@ class SubscriptionCompanyEntity {
|
|
2950
2950
|
}
|
2951
2951
|
|
2952
2952
|
class SubscriptionItemEntity {
|
2953
|
-
// #region Properties (
|
2954
|
-
description =
|
2953
|
+
// #region Properties (6)
|
2954
|
+
description = '';
|
2955
2955
|
quantity = 1;
|
2956
2956
|
recurrent = true;
|
2957
2957
|
totalPrice = 0;
|
2958
2958
|
unitPrice = 0;
|
2959
|
-
|
2959
|
+
voucherId = null;
|
2960
|
+
// #endregion Properties (6)
|
2960
2961
|
// #region Constructors (1)
|
2961
2962
|
constructor(data) {
|
2962
2963
|
if (data) {
|
@@ -3013,7 +3014,7 @@ class SubscriptionEntity {
|
|
3013
3014
|
phoneNumberNotification = '';
|
3014
3015
|
planId = '';
|
3015
3016
|
planName = '';
|
3016
|
-
|
3017
|
+
recentInvoices = [];
|
3017
3018
|
renewPaymentDate = new Date();
|
3018
3019
|
renovatedAt = new Date();
|
3019
3020
|
startsAt = new Date();
|
@@ -3072,7 +3073,7 @@ var EVoucherStatus;
|
|
3072
3073
|
})(EVoucherStatus || (EVoucherStatus = {}));
|
3073
3074
|
|
3074
3075
|
class VoucherEntity {
|
3075
|
-
// #region Properties (
|
3076
|
+
// #region Properties (21)
|
3076
3077
|
// se permite ou não a alteração do nome do cupom pelo parceiro
|
3077
3078
|
allowsKeyChange = false;
|
3078
3079
|
// valor do desconto (soma do valor de todos os patrocínios - sponsorship)
|
@@ -3101,6 +3102,7 @@ class VoucherEntity {
|
|
3101
3102
|
maxUses = -1;
|
3102
3103
|
// ID do parceiro associado ao cupom (opcional)
|
3103
3104
|
partnerId = [];
|
3105
|
+
recurrent = false;
|
3104
3106
|
// informação de patrocínio (opcional)
|
3105
3107
|
sponsorship = [];
|
3106
3108
|
// status do cupom
|
@@ -3110,7 +3112,7 @@ class VoucherEntity {
|
|
3110
3112
|
updatedAt = new Date();
|
3111
3113
|
// contador de quantas vezes o cupom foi usado
|
3112
3114
|
usedCount = 0;
|
3113
|
-
// #endregion Properties (
|
3115
|
+
// #endregion Properties (21)
|
3114
3116
|
// #region Constructors (1)
|
3115
3117
|
constructor(data) {
|
3116
3118
|
if (data) {
|