cecon-interfaces 1.1.19 → 1.1.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/general/interfaces/i-payment.mjs +1 -1
- package/dist/esm2022/subscription/entities/subscription.entity.mjs +2 -1
- package/dist/esm2022/subscription/enums/subscription-status.enum.mjs +2 -5
- package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/interfaces/i-payment.d.ts +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 +1 -0
- package/dist/subscription/enums/subscription-status.enum.d.ts +1 -4
- package/dist/subscription/enums/subscription-status.enum.js +1 -4
- package/dist/subscription/interfaces/i-subscription.d.ts +1 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -9,6 +9,7 @@ import { SubscriptionLogEntity } from './subscription-log.entity';
|
|
9
9
|
export declare class SubscriptionEntity implements ISubscription {
|
10
10
|
amount: number;
|
11
11
|
appId: string;
|
12
|
+
appName: string;
|
12
13
|
cancellationReason: string;
|
13
14
|
company: SubscriptionCompanyEntity;
|
14
15
|
createdAt: Date;
|
@@ -11,6 +11,7 @@ var SubscriptionEntity = /** @class */ (function () {
|
|
11
11
|
// #region Properties (27)
|
12
12
|
this.amount = 0;
|
13
13
|
this.appId = '';
|
14
|
+
this.appName = '';
|
14
15
|
this.cancellationReason = '';
|
15
16
|
this.company = new subscription_company_entity_1.SubscriptionCompanyEntity();
|
16
17
|
this.createdAt = new Date();
|
@@ -1,13 +1,10 @@
|
|
1
1
|
export declare enum SubscriptionStatusEnum {
|
2
2
|
ACTIVE = "ACTIVE",
|
3
3
|
CANCELLED = "CANCELLED",
|
4
|
+
PLACED = "PLACED",
|
4
5
|
EXPIRED = "EXPIRED",
|
5
6
|
PENDING = "PENDING",
|
6
|
-
PENDING_PAYMENT = "PENDING_PAYMENT",
|
7
|
-
PENDING_RENEWAL = "PENDING_RENEWAL",
|
8
7
|
TRIAL = "TRIAL",
|
9
8
|
FREE = "FREE",
|
10
|
-
FREE_TRIAL = "FREE_TRIAL",
|
11
|
-
FREE_TRIAL_EXPIRED = "FREE_TRIAL_EXPIRED",
|
12
9
|
SUSPENDED = "SUSPENDED"
|
13
10
|
}
|
@@ -5,13 +5,10 @@ var SubscriptionStatusEnum;
|
|
5
5
|
(function (SubscriptionStatusEnum) {
|
6
6
|
SubscriptionStatusEnum["ACTIVE"] = "ACTIVE";
|
7
7
|
SubscriptionStatusEnum["CANCELLED"] = "CANCELLED";
|
8
|
+
SubscriptionStatusEnum["PLACED"] = "PLACED";
|
8
9
|
SubscriptionStatusEnum["EXPIRED"] = "EXPIRED";
|
9
10
|
SubscriptionStatusEnum["PENDING"] = "PENDING";
|
10
|
-
SubscriptionStatusEnum["PENDING_PAYMENT"] = "PENDING_PAYMENT";
|
11
|
-
SubscriptionStatusEnum["PENDING_RENEWAL"] = "PENDING_RENEWAL";
|
12
11
|
SubscriptionStatusEnum["TRIAL"] = "TRIAL";
|
13
12
|
SubscriptionStatusEnum["FREE"] = "FREE";
|
14
|
-
SubscriptionStatusEnum["FREE_TRIAL"] = "FREE_TRIAL";
|
15
|
-
SubscriptionStatusEnum["FREE_TRIAL_EXPIRED"] = "FREE_TRIAL_EXPIRED";
|
16
13
|
SubscriptionStatusEnum["SUSPENDED"] = "SUSPENDED";
|
17
14
|
})(SubscriptionStatusEnum || (exports.SubscriptionStatusEnum = SubscriptionStatusEnum = {}));
|