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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,6 +34,7 @@ export declare class SubscriptionEntity implements ISubscription {
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
  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 (30)
9
9
  // #region Constructors (1)
10
10
  function SubscriptionEntity(data) {
11
- // #region Properties (29)
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",