cecon-interfaces 1.5.81 → 1.5.82
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/subscription-base/entities/subscription-base.entity.mjs +5 -3
- package/dist/esm2022/subscription-base/interfaces/i-subscription-base.mjs +1 -1
- package/dist/esm2022/subscription-company/entities/subscription.entity.mjs +1 -3
- package/dist/esm2022/subscription-company/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription-base/entities/subscription-base.entity.d.ts +2 -0
- package/dist/subscription-base/entities/subscription-base.entity.js +4 -2
- package/dist/subscription-base/interfaces/i-subscription-base.d.ts +2 -0
- package/dist/subscription-company/entities/subscription.entity.d.ts +0 -2
- package/dist/subscription-company/entities/subscription.entity.js +0 -2
- package/dist/subscription-company/interfaces/i-subscription.d.ts +0 -2
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -20,6 +20,8 @@ export declare class SubscriptionBaseEntity implements ISubscriptionBase {
|
|
20
20
|
payment: PaymentEntity;
|
21
21
|
paymentType: EPaymentType;
|
22
22
|
phoneNumbersNotification: string[];
|
23
|
+
planId: string;
|
24
|
+
planName: string;
|
23
25
|
recentInvoices: IInvoice[];
|
24
26
|
renewPaymentDate: Date;
|
25
27
|
renovatedAt: Date;
|
@@ -4,10 +4,10 @@ exports.SubscriptionBaseEntity = void 0;
|
|
4
4
|
var general_1 = require("../../general");
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var SubscriptionBaseEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (25)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function SubscriptionBaseEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (25)
|
11
11
|
this.amount = 0;
|
12
12
|
this.cancellationReason = '';
|
13
13
|
this.createdAt = new Date();
|
@@ -23,6 +23,8 @@ var SubscriptionBaseEntity = /** @class */ (function () {
|
|
23
23
|
this.payment = new general_1.PaymentEntity();
|
24
24
|
this.paymentType = general_1.EPaymentType.NONE;
|
25
25
|
this.phoneNumbersNotification = [];
|
26
|
+
this.planId = '';
|
27
|
+
this.planName = '';
|
26
28
|
this.recentInvoices = [];
|
27
29
|
this.renewPaymentDate = new Date();
|
28
30
|
this.renovatedAt = new Date();
|
@@ -5,8 +5,6 @@ import { SubscriptionCompanyProfileEntity } from './subscription-profile.entity'
|
|
5
5
|
export declare class SubscriptionCompanyEntity extends SubscriptionBaseEntity implements ISubscriptionCompany {
|
6
6
|
features: FeatureEntity[];
|
7
7
|
partnerId: string | null;
|
8
|
-
planId: string;
|
9
|
-
planName: string;
|
10
8
|
profile: SubscriptionCompanyProfileEntity;
|
11
9
|
constructor(data?: Partial<SubscriptionCompanyEntity>);
|
12
10
|
}
|
@@ -27,8 +27,6 @@ var SubscriptionCompanyEntity = /** @class */ (function (_super) {
|
|
27
27
|
// #region Properties (9)
|
28
28
|
_this.features = [];
|
29
29
|
_this.partnerId = '';
|
30
|
-
_this.planId = '';
|
31
|
-
_this.planName = '';
|
32
30
|
_this.profile = new subscription_profile_entity_1.SubscriptionCompanyProfileEntity();
|
33
31
|
if (data) {
|
34
32
|
for (var key in data) {
|
@@ -4,7 +4,5 @@ import { ISubscriptionCompanyProfile } from './i-subscription-profile';
|
|
4
4
|
export interface ISubscriptionCompany extends ISubscriptionBase {
|
5
5
|
features: IFeature[];
|
6
6
|
partnerId: string | null;
|
7
|
-
planId: string;
|
8
|
-
planName: string;
|
9
7
|
profile: ISubscriptionCompanyProfile;
|
10
8
|
}
|