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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.81",
3
+ "version": "1.5.82",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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 (23)
7
+ // #endregion Properties (25)
8
8
  // #region Constructors (1)
9
9
  function SubscriptionBaseEntity(data) {
10
- // #region Properties (23)
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();
@@ -19,6 +19,8 @@ export interface ISubscriptionBase {
19
19
  payment: IPayment;
20
20
  paymentType: EPaymentType;
21
21
  phoneNumbersNotification: string[];
22
+ planId: string;
23
+ planName: string;
22
24
  recentInvoices: IInvoice[];
23
25
  renewPaymentDate: Date;
24
26
  renovatedAt: 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.81",
3
+ "version": "1.5.82",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",