cecon-interfaces 1.1.21 → 1.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { AppConfigType } from '../../app';
2
- import { EInstallationStatus } from '../enums';
2
+ import { ESubscriptionStatus } from '../../subscription/enums/subscription-status.enum';
3
3
  import { IInstallation } from '../interfaces/i-installation';
4
4
  import { InstallationAppEntity } from './installation-app.entity';
5
5
  export declare class InstallationEntity implements IInstallation {
@@ -10,7 +10,7 @@ export declare class InstallationEntity implements IInstallation {
10
10
  featureId: string;
11
11
  id: string;
12
12
  lastCheckAt: Date;
13
- status: EInstallationStatus;
13
+ status: ESubscriptionStatus;
14
14
  subscriptionId: string;
15
15
  tags: string[];
16
16
  trialEndDate: Date;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InstallationEntity = void 0;
4
- var enums_1 = require("../enums");
4
+ var subscription_status_enum_1 = require("../../subscription/enums/subscription-status.enum");
5
5
  var installation_app_entity_1 = require("./installation-app.entity");
6
6
  var InstallationEntity = /** @class */ (function () {
7
7
  // #endregion Properties (13)
@@ -15,7 +15,7 @@ var InstallationEntity = /** @class */ (function () {
15
15
  this.featureId = '';
16
16
  this.id = '';
17
17
  this.lastCheckAt = new Date();
18
- this.status = enums_1.EInstallationStatus.PENDING;
18
+ this.status = subscription_status_enum_1.ESubscriptionStatus.PLACED;
19
19
  this.subscriptionId = '';
20
20
  this.tags = [];
21
21
  this.trialEndDate = new Date();
@@ -1,10 +1,11 @@
1
1
  export declare enum EInstallationStatus {
2
- TRIAL = "TRIAL",
2
+ INSTALLED = "INSTALLED",
3
3
  ACTIVE = "ACTIVE",
4
- SUSPENDED = "SUSPENDED",
5
- EXPIRED = "EXPIRED",
6
4
  CANCELLED = "CANCELLED",
5
+ PLACED = "PLACED",
6
+ EXPIRED = "EXPIRED",
7
7
  PENDING = "PENDING",
8
- INACTIVE = "INACTIVE",
9
- INSTALLED = "INSTALLED"
8
+ TRIAL = "TRIAL",
9
+ FREE = "FREE",
10
+ SUSPENDED = "SUSPENDED"
10
11
  }
@@ -3,12 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EInstallationStatus = void 0;
4
4
  var EInstallationStatus;
5
5
  (function (EInstallationStatus) {
6
- EInstallationStatus["TRIAL"] = "TRIAL";
6
+ EInstallationStatus["INSTALLED"] = "INSTALLED";
7
7
  EInstallationStatus["ACTIVE"] = "ACTIVE";
8
- EInstallationStatus["SUSPENDED"] = "SUSPENDED";
9
- EInstallationStatus["EXPIRED"] = "EXPIRED";
10
8
  EInstallationStatus["CANCELLED"] = "CANCELLED";
9
+ EInstallationStatus["PLACED"] = "PLACED";
10
+ EInstallationStatus["EXPIRED"] = "EXPIRED";
11
11
  EInstallationStatus["PENDING"] = "PENDING";
12
- EInstallationStatus["INACTIVE"] = "INACTIVE";
13
- EInstallationStatus["INSTALLED"] = "INSTALLED";
12
+ EInstallationStatus["TRIAL"] = "TRIAL";
13
+ EInstallationStatus["FREE"] = "FREE";
14
+ EInstallationStatus["SUSPENDED"] = "SUSPENDED";
14
15
  })(EInstallationStatus || (exports.EInstallationStatus = EInstallationStatus = {}));
@@ -1,5 +1,5 @@
1
1
  import { AppConfigType } from '../../app';
2
- import { EInstallationStatus } from '../enums';
2
+ import { ESubscriptionStatus } from '../../subscription/enums/subscription-status.enum';
3
3
  import { IInstallationApp } from './i-installation-app';
4
4
  export interface IInstallation {
5
5
  app: IInstallationApp;
@@ -9,7 +9,7 @@ export interface IInstallation {
9
9
  featureId: string;
10
10
  id: string;
11
11
  lastCheckAt: Date;
12
- status: EInstallationStatus;
12
+ status: ESubscriptionStatus;
13
13
  subscriptionId: string;
14
14
  tags: string[];
15
15
  trialEndDate: Date;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1 @@
1
- export { SubscriptionStatusEnum } from './subscription-status.enum';
1
+ export { ESubscriptionStatus as SubscriptionStatusEnum } from './subscription-status.enum';
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionStatusEnum = void 0;
4
4
  var subscription_status_enum_1 = require("./subscription-status.enum");
5
- Object.defineProperty(exports, "SubscriptionStatusEnum", { enumerable: true, get: function () { return subscription_status_enum_1.SubscriptionStatusEnum; } });
5
+ Object.defineProperty(exports, "SubscriptionStatusEnum", { enumerable: true, get: function () { return subscription_status_enum_1.ESubscriptionStatus; } });
@@ -1,4 +1,4 @@
1
- export declare enum SubscriptionStatusEnum {
1
+ export declare enum ESubscriptionStatus {
2
2
  ACTIVE = "ACTIVE",
3
3
  CANCELLED = "CANCELLED",
4
4
  PLACED = "PLACED",
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscriptionStatusEnum = void 0;
4
- var SubscriptionStatusEnum;
5
- (function (SubscriptionStatusEnum) {
6
- SubscriptionStatusEnum["ACTIVE"] = "ACTIVE";
7
- SubscriptionStatusEnum["CANCELLED"] = "CANCELLED";
8
- SubscriptionStatusEnum["PLACED"] = "PLACED";
9
- SubscriptionStatusEnum["EXPIRED"] = "EXPIRED";
10
- SubscriptionStatusEnum["PENDING"] = "PENDING";
11
- SubscriptionStatusEnum["TRIAL"] = "TRIAL";
12
- SubscriptionStatusEnum["FREE"] = "FREE";
13
- SubscriptionStatusEnum["SUSPENDED"] = "SUSPENDED";
14
- })(SubscriptionStatusEnum || (exports.SubscriptionStatusEnum = SubscriptionStatusEnum = {}));
3
+ exports.ESubscriptionStatus = void 0;
4
+ var ESubscriptionStatus;
5
+ (function (ESubscriptionStatus) {
6
+ ESubscriptionStatus["ACTIVE"] = "ACTIVE";
7
+ ESubscriptionStatus["CANCELLED"] = "CANCELLED";
8
+ ESubscriptionStatus["PLACED"] = "PLACED";
9
+ ESubscriptionStatus["EXPIRED"] = "EXPIRED";
10
+ ESubscriptionStatus["PENDING"] = "PENDING";
11
+ ESubscriptionStatus["TRIAL"] = "TRIAL";
12
+ ESubscriptionStatus["FREE"] = "FREE";
13
+ ESubscriptionStatus["SUSPENDED"] = "SUSPENDED";
14
+ })(ESubscriptionStatus || (exports.ESubscriptionStatus = ESubscriptionStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",