cecon-interfaces 1.1.50 → 1.1.56
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +7 -5
- package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
- 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/fesm2022/cecon-interfaces.mjs +11 -8
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/global-settings/entities/global-setting-master.entity.d.ts +4 -2
- package/dist/global-settings/entities/global-setting-master.entity.js +5 -4
- package/dist/global-settings/interfaces/i-global-setting-master.d.ts +3 -2
- 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/package.json +1 -1
@@ -1,21 +1,22 @@
|
|
1
1
|
export class GlobalSettingMasterEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (6)
|
3
3
|
/**
|
4
4
|
* Prazo de dias para o vencimento da fatura.
|
5
5
|
*/
|
6
|
-
billingDays = 10;
|
7
6
|
deleteInvoicesPlacedDays = 10;
|
8
7
|
deleteSubscriptionsPlacedDays = 10;
|
9
8
|
/**
|
10
9
|
* Dias em que a fatura expira após o vencimento
|
11
10
|
*
|
12
11
|
* */
|
13
|
-
|
12
|
+
subscriptionsCancelDays = 3;
|
13
|
+
subscriptionsExpireDays = 1;
|
14
|
+
subscriptionsSuspendDays = 1;
|
14
15
|
/**
|
15
16
|
* Dias em que a fatura é suspensa após o vencimento
|
16
17
|
*/
|
17
18
|
suspendDays = 3;
|
18
|
-
// #endregion Properties (
|
19
|
+
// #endregion Properties (6)
|
19
20
|
// #region Constructors (1)
|
20
21
|
constructor(data) {
|
21
22
|
if (data) {
|
@@ -26,5 +27,6 @@ export class GlobalSettingMasterEntity {
|
|
26
27
|
}
|
27
28
|
}
|
28
29
|
}
|
30
|
+
billingDays;
|
29
31
|
}
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFsLXNldHRpbmctbWFzdGVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nbG9iYWwtc2V0dGluZ3MvZW50aXRpZXMvZ2xvYmFsLXNldHRpbmctbWFzdGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8seUJBQXlCO0lBQ3BDLHlCQUF5QjtJQUV6Qjs7T0FFRztJQUNJLHdCQUF3QixHQUFXLEVBQUUsQ0FBQztJQUN0Qyw2QkFBNkIsR0FBVyxFQUFFLENBQUM7SUFDbEQ7OztTQUdLO0lBQ0UsdUJBQXVCLEdBQVcsQ0FBQyxDQUFDO0lBQ3BDLHVCQUF1QixHQUFXLENBQUMsQ0FBQztJQUNwQyx3QkFBd0IsR0FBVyxDQUFDLENBQUM7SUFDNUM7O09BRUc7SUFDSSxXQUFXLEdBQVcsQ0FBQyxDQUFDO0lBRS9CLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUF5QztRQUNuRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFB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vcGVydGllcyAoNilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxHbG9iYWxTZXR0aW5nTWFzdGVyRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG4gIGJpbGxpbmdEYXlzOiBudW1iZXI7XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nbG9iYWwtc2V0dGluZy1tYXN0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2xvYmFsLXNldHRpbmdzL2ludGVyZmFjZXMvaS1nbG9iYWwtc2V0dGluZy1tYXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUdsb2JhbFNldHRpbmdNYXN0ZXIge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMilcclxuXHJcbiAgYmlsbGluZ0RheXM6IG51bWJlcjtcclxuICBkZWxldGVJbnZvaWNlc1BsYWNlZERheXM6IG51bWJlcjtcclxuICBkZWxldGVTdWJzY3JpcHRpb25zUGxhY2VkRGF5czogbnVtYmVyO1xyXG4gIHN1YnNjcmlwdGlvbnNDYW5jZWxEYXlzOiBudW1iZXI7XHJcbiAgc3Vic2NyaXB0aW9uc1N1c3BlbmREYXlzOiBudW1iZXI7XHJcbiAgc3Vic2NyaXB0aW9uc0V4cGlyZURheXM6IG51bWJlcjtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyKVxyXG59XHJcbiJdfQ==
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnRpdGllcy9zdWJzY3JpcHRpb24taXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JCLFNBQVMsR0FBWSxJQUFJLENBQUM7SUFDMUIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCL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HtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQXdCLFlBQVksRUFBRSxnQkFBZ0IsRUFBRSxhQUFhLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFcEcsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRS9DLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBSTFFLE1BQU0sT0FBTyxrQkFBa0I7SUFDN0IsMEJBQTBCO0lBRW5CLE1BQU0sR0FBVyx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AoMzEpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8U3Vic2NyaXB0aW9uRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElGZWF0dXJlIH0gZnJvbSAnLi4vLi4vZmVhdHVyZSc7XG5pbXBvcnQgeyBFUGF5bWVudFR5cGUsIElDdXN0b21WYXJpYWJsZSwgSW50ZXJ2YWxUeXBlRW51bSB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xuaW1wb3J0IHsgSVBheW1lbnQgfSBmcm9tICcuLi8uLi9nZW5lcmFsL2ludGVyZmFjZXMnO1xuaW1wb3J0IHsgSUludm9pY2UgfSBmcm9tICcuLi8uLi9pbnZvaWNlJztcbmltcG9ydCB7IEVTdWJzY3JpcHRpb25TdGF0dXMgfSBmcm9tICcuLi9lbnVtcyc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uQ29tcGFueSB9IGZyb20gJy4vaS1zdWJzY3JpcHRpb24tY29tcGFueSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uSXRlbSB9IGZyb20gJy4vaS1zdWJzY3JpcHRpb24taXRlbSc7XG5pbXBvcnQgeyBJU3Vic2NyaXB0aW9uTG9nIH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1sb2cnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb24ge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDMwKVxuXG4gIGFtb3VudDogbnVtYmVyO1xu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guEntity {
|
|
1068
1068
|
}
|
1069
1069
|
|
1070
1070
|
class GlobalSettingMasterEntity {
|
1071
|
-
// #region Properties (
|
1071
|
+
// #region Properties (6)
|
1072
1072
|
/**
|
1073
1073
|
* Prazo de dias para o vencimento da fatura.
|
1074
1074
|
*/
|
1075
|
-
billingDays = 10;
|
1076
1075
|
deleteInvoicesPlacedDays = 10;
|
1077
1076
|
deleteSubscriptionsPlacedDays = 10;
|
1078
1077
|
/**
|
1079
1078
|
* Dias em que a fatura expira após o vencimento
|
1080
1079
|
*
|
1081
1080
|
* */
|
1082
|
-
|
1081
|
+
subscriptionsCancelDays = 3;
|
1082
|
+
subscriptionsExpireDays = 1;
|
1083
|
+
subscriptionsSuspendDays = 1;
|
1083
1084
|
/**
|
1084
1085
|
* Dias em que a fatura é suspensa após o vencimento
|
1085
1086
|
*/
|
1086
1087
|
suspendDays = 3;
|
1087
|
-
// #endregion Properties (
|
1088
|
+
// #endregion Properties (6)
|
1088
1089
|
// #region Constructors (1)
|
1089
1090
|
constructor(data) {
|
1090
1091
|
if (data) {
|
@@ -1095,6 +1096,7 @@ class GlobalSettingMasterEntity {
|
|
1095
1096
|
}
|
1096
1097
|
}
|
1097
1098
|
}
|
1099
|
+
billingDays;
|
1098
1100
|
}
|
1099
1101
|
|
1100
1102
|
class GlobalSettingEntity {
|
@@ -2948,13 +2950,14 @@ class SubscriptionCompanyEntity {
|
|
2948
2950
|
}
|
2949
2951
|
|
2950
2952
|
class SubscriptionItemEntity {
|
2951
|
-
// #region Properties (
|
2952
|
-
description =
|
2953
|
+
// #region Properties (6)
|
2954
|
+
description = '';
|
2953
2955
|
quantity = 1;
|
2954
2956
|
recurrent = true;
|
2955
2957
|
totalPrice = 0;
|
2956
2958
|
unitPrice = 0;
|
2957
|
-
|
2959
|
+
voucherId = null;
|
2960
|
+
// #endregion Properties (6)
|
2958
2961
|
// #region Constructors (1)
|
2959
2962
|
constructor(data) {
|
2960
2963
|
if (data) {
|
@@ -3011,7 +3014,7 @@ class SubscriptionEntity {
|
|
3011
3014
|
phoneNumberNotification = '';
|
3012
3015
|
planId = '';
|
3013
3016
|
planName = '';
|
3014
|
-
|
3017
|
+
recentInvoices = [];
|
3015
3018
|
renewPaymentDate = new Date();
|
3016
3019
|
renovatedAt = new Date();
|
3017
3020
|
startsAt = new Date();
|