cecon-interfaces 1.1.19 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { IPaymentMethod } from './i-payment-method';
1
+ import { IPaymentMethod } from '../../general';
2
2
  export interface IPayment {
3
3
  methods: IPaymentMethod[];
4
4
  pending: number;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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 = {}));
@@ -9,6 +9,7 @@ import { ISubscriptionLog } from './i-subscription-log';
9
9
  export interface ISubscription {
10
10
  amount: number;
11
11
  appId: string;
12
+ appName: string;
12
13
  cancellationReason: string;
13
14
  company: ISubscriptionCompany;
14
15
  createdAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",