cecon-interfaces 1.1.39 → 1.1.40
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 +2 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -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 (30)
|
9
9
|
// #region Constructors (1)
|
10
10
|
function SubscriptionEntity(data) {
|
11
|
-
// #region Properties (
|
11
|
+
// #region Properties (30)
|
12
12
|
this.amount = 0;
|
13
13
|
this.appId = '';
|
14
14
|
this.appName = '';
|
@@ -36,6 +36,7 @@ var SubscriptionEntity = /** @class */ (function () {
|
|
36
36
|
this.renovatedAt = new Date();
|
37
37
|
this.startsAt = new Date();
|
38
38
|
this.status = enums_1.ESubscriptionStatus.PENDING;
|
39
|
+
this.suspendedTimes = 0;
|
39
40
|
this.tags = [];
|
40
41
|
this.updatedAt = new Date();
|
41
42
|
if (data) {
|
@@ -27,13 +27,14 @@ 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
|
-
phoneNumberNotification: string;
|
33
33
|
renewPaymentDate: Date;
|
34
34
|
renovatedAt: Date;
|
35
35
|
startsAt: Date;
|
36
36
|
status: ESubscriptionStatus;
|
37
|
+
suspendedTimes: number;
|
37
38
|
tags: string[];
|
38
39
|
updatedAt: Date;
|
39
40
|
}
|