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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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 (29)
8
+ // #endregion Properties (31)
9
9
  // #region Constructors (1)
10
10
  function SubscriptionEntity(data) {
11
- // #region Properties (29)
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
- phoneNumberNotification: string;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",