cecon-interfaces 1.1.39 → 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 +5 -3
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription/entities/subscription.entity.d.ts +2 -0
- package/dist/subscription/entities/subscription.entity.js +4 -2
- package/dist/subscription/interfaces/i-subscription.d.ts +3 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -30,10 +30,12 @@ export declare class SubscriptionEntity implements ISubscription {
|
|
30
30
|
phoneNumberNotification: string;
|
31
31
|
planId: string;
|
32
32
|
planName: string;
|
33
|
+
recentInvoice: InvoiceEntity[];
|
33
34
|
renewPaymentDate: Date;
|
34
35
|
renovatedAt: Date;
|
35
36
|
startsAt: Date;
|
36
37
|
status: ESubscriptionStatus;
|
38
|
+
suspendedTimes: number;
|
37
39
|
tags: string[];
|
38
40
|
updatedAt: Date;
|
39
41
|
constructor(data?: Partial<SubscriptionEntity>);
|
@@ -5,10 +5,10 @@ var general_1 = require("../../general");
|
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var subscription_company_entity_1 = require("./subscription-company.entity");
|
7
7
|
var SubscriptionEntity = /** @class */ (function () {
|
8
|
-
// #endregion Properties (
|
8
|
+
// #endregion Properties (31)
|
9
9
|
// #region Constructors (1)
|
10
10
|
function SubscriptionEntity(data) {
|
11
|
-
// #region Properties (
|
11
|
+
// #region Properties (31)
|
12
12
|
this.amount = 0;
|
13
13
|
this.appId = '';
|
14
14
|
this.appName = '';
|
@@ -32,10 +32,12 @@ var SubscriptionEntity = /** @class */ (function () {
|
|
32
32
|
this.phoneNumberNotification = '';
|
33
33
|
this.planId = '';
|
34
34
|
this.planName = '';
|
35
|
+
this.recentInvoice = [];
|
35
36
|
this.renewPaymentDate = new Date();
|
36
37
|
this.renovatedAt = new Date();
|
37
38
|
this.startsAt = new Date();
|
38
39
|
this.status = enums_1.ESubscriptionStatus.PENDING;
|
40
|
+
this.suspendedTimes = 0;
|
39
41
|
this.tags = [];
|
40
42
|
this.updatedAt = new Date();
|
41
43
|
if (data) {
|
@@ -27,13 +27,15 @@ export interface ISubscription {
|
|
27
27
|
partnerId: string | null;
|
28
28
|
payment: IPayment;
|
29
29
|
paymentType: EPaymentType;
|
30
|
+
phoneNumberNotification: string;
|
30
31
|
planId: string;
|
31
32
|
planName: string;
|
32
|
-
|
33
|
+
recentInvoice: IInvoice[];
|
33
34
|
renewPaymentDate: Date;
|
34
35
|
renovatedAt: Date;
|
35
36
|
startsAt: Date;
|
36
37
|
status: ESubscriptionStatus;
|
38
|
+
suspendedTimes: number;
|
37
39
|
tags: string[];
|
38
40
|
updatedAt: Date;
|
39
41
|
}
|