cecon-interfaces 1.1.40 → 1.1.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +4 -3
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription/entities/subscription.entity.d.ts +1 -0
- package/dist/subscription/entities/subscription.entity.js +3 -2
- package/dist/subscription/interfaces/i-subscription.d.ts +1 -0
- package/package.json +1 -1
@@ -2,7 +2,7 @@ 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 (31)
|
6
6
|
amount = 0;
|
7
7
|
appId = '';
|
8
8
|
appName = '';
|
@@ -26,6 +26,7 @@ export class SubscriptionEntity {
|
|
26
26
|
phoneNumberNotification = '';
|
27
27
|
planId = '';
|
28
28
|
planName = '';
|
29
|
+
recentInvoice = [];
|
29
30
|
renewPaymentDate = new Date();
|
30
31
|
renovatedAt = new Date();
|
31
32
|
startsAt = new Date();
|
@@ -33,7 +34,7 @@ export class SubscriptionEntity {
|
|
33
34
|
suspendedTimes = 0;
|
34
35
|
tags = [];
|
35
36
|
updatedAt = new Date();
|
36
|
-
// #endregion Properties (
|
37
|
+
// #endregion Properties (31)
|
37
38
|
// #region Constructors (1)
|
38
39
|
constructor(data) {
|
39
40
|
if (data) {
|
@@ -45,4 +46,4 @@ export class SubscriptionEntity {
|
|
45
46
|
}
|
46
47
|
}
|
47
48
|
}
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdX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RlOiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIHJlbm92YXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIHN0YXJ0c0F0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIHN0YXR1czogRVN1YnNjcmlwdGlvblN0YXR1cyA9IEVTdWJzY3JpcHRpb25TdGF0dXMuUEVORElORztcbiAgcHVibGljIHN1c3BlbmRlZFRpbWVzOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgdGFnczogc3RyaW5nW10gPSBbXTtcbiAgcHVibGljIHVwZGF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgzMSlcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25FbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3J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ogSUZlYXR1cmVbXTtcbiAgaWQ6IHN0cmluZztcbiAgaW50ZXJ2YWw6IG51bWJlcjtcbiAgaW50ZXJ2YWxUeXBlOiBJbnRlcnZhbFR5cGVFbnVtO1xuICBpbnZvaWNlczogSUludm9pY2VbXTtcbiAgaXRlbXM6IElTdWJzY3JpcHRpb25JdGVtW107XG4gIGxvZ3M6IElTdWJzY3JpcHRpb25Mb2dbXTtcbiAgbm90ZXM6IHN0cmluZztcbiAgcGFydG5lcklkOiBzdHJpbmcgfCBudWxsO1xuICBwYXltZW50OiBJUGF5bWVudDtcbiAgcGF5bWVudFR5cGU6IEVQYXltZW50VHlwZTtcbiAgcGhvbmVOdW1iZXJOb3RpZmljYXRpb246IHN0cmluZztcbiAgcGxhbklkOiBzdHJpbmc7XG4gIHBsYW5OYW1lOiBzdHJpbmc7XG4gIHJlY2VudEludm9pY2U6IElJbnZvaWNlW107XG4gIHJlbmV3UGF5bWVudERhdGU6IERhdGU7XG4gIHJlbm92YXRlZEF0OiBEYXRlO1xuICBzdGFydHNBdDogRGF0ZTtcbiAgc3RhdHVzOiBFU3Vic2NyaXB0aW9uU3RhdHVzO1xuICBzdXNwZW5kZWRUaW1lczogbnVtYmVyO1xuICB0YWdzOiBzdHJpbmdbXTtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMzApXG59XG4iXX0=
|
@@ -2827,7 +2827,7 @@ class SubscriptionLogEntity {
|
|
2827
2827
|
}
|
2828
2828
|
|
2829
2829
|
class SubscriptionEntity {
|
2830
|
-
// #region Properties (
|
2830
|
+
// #region Properties (31)
|
2831
2831
|
amount = 0;
|
2832
2832
|
appId = '';
|
2833
2833
|
appName = '';
|
@@ -2851,6 +2851,7 @@ class SubscriptionEntity {
|
|
2851
2851
|
phoneNumberNotification = '';
|
2852
2852
|
planId = '';
|
2853
2853
|
planName = '';
|
2854
|
+
recentInvoice = [];
|
2854
2855
|
renewPaymentDate = new Date();
|
2855
2856
|
renovatedAt = new Date();
|
2856
2857
|
startsAt = new Date();
|
@@ -2858,7 +2859,7 @@ class SubscriptionEntity {
|
|
2858
2859
|
suspendedTimes = 0;
|
2859
2860
|
tags = [];
|
2860
2861
|
updatedAt = new Date();
|
2861
|
-
// #endregion Properties (
|
2862
|
+
// #endregion Properties (31)
|
2862
2863
|
// #region Constructors (1)
|
2863
2864
|
constructor(data) {
|
2864
2865
|
if (data) {
|