cecon-interfaces 1.2.22 → 1.2.24

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.
@@ -4,17 +4,18 @@ import { IInstallation } from '../interfaces/i-installation';
4
4
  import { InstallationAppEntity } from './installation-app.entity';
5
5
  export declare class InstallationEntity implements IInstallation {
6
6
  app: InstallationAppEntity;
7
+ companyId: string;
8
+ containerId: string;
7
9
  createdAt: Date;
8
10
  customConfig: AppConfigType;
9
- expirationDate: Date;
11
+ customerId: string;
12
+ deviceId: string;
10
13
  featureId: string;
11
14
  id: string;
12
- lastCheckAt: Date;
15
+ partnerId: string;
13
16
  status: ESubscriptionStatus;
14
17
  subscriptionId: string;
15
18
  tags: string[];
16
- trialEndDate: Date;
17
- trialStartDate: Date;
18
19
  updatedAt: Date;
19
20
  constructor(data?: Partial<InstallationEntity>);
20
21
  }
@@ -4,22 +4,23 @@ exports.InstallationEntity = void 0;
4
4
  var subscription_base_1 = require("../../subscription-base");
5
5
  var installation_app_entity_1 = require("./installation-app.entity");
6
6
  var InstallationEntity = /** @class */ (function () {
7
- // #endregion Properties (13)
7
+ // #endregion Properties (14)
8
8
  // #region Constructors (1)
9
9
  function InstallationEntity(data) {
10
- // #region Properties (13)
10
+ // #region Properties (14)
11
11
  this.app = new installation_app_entity_1.InstallationAppEntity();
12
+ this.companyId = '';
13
+ this.containerId = '';
12
14
  this.createdAt = new Date();
13
15
  this.customConfig = null;
14
- this.expirationDate = new Date();
16
+ this.customerId = '';
17
+ this.deviceId = '';
15
18
  this.featureId = '';
16
19
  this.id = '';
17
- this.lastCheckAt = new Date();
20
+ this.partnerId = '';
18
21
  this.status = subscription_base_1.ESubscriptionStatus.PLACED;
19
22
  this.subscriptionId = '';
20
23
  this.tags = [];
21
- this.trialEndDate = new Date();
22
- this.trialStartDate = new Date();
23
24
  this.updatedAt = new Date();
24
25
  if (data) {
25
26
  for (var key in data) {
@@ -5,14 +5,15 @@ export interface IInstallation {
5
5
  app: IInstallationApp;
6
6
  createdAt: Date;
7
7
  customConfig: AppConfigType;
8
- expirationDate: Date;
9
8
  featureId: string;
9
+ containerId: string;
10
+ companyId: string;
11
+ partnerId: string;
12
+ customerId: string;
13
+ deviceId: string;
10
14
  id: string;
11
- lastCheckAt: Date;
12
15
  status: ESubscriptionStatus;
13
16
  subscriptionId: string;
14
17
  tags: string[];
15
- trialEndDate: Date;
16
- trialStartDate: Date;
17
18
  updatedAt: Date;
18
19
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -4,9 +4,9 @@ import { ISubscriptionCompanyProfile } from './i-subscription-company';
4
4
  export interface ISubscriptionCompany extends ISubscriptionBase {
5
5
  appId: string;
6
6
  appName: string;
7
- profile: ISubscriptionCompanyProfile;
8
7
  features: IFeature[];
9
8
  partnerId: string | null;
10
9
  planId: string;
11
10
  planName: string;
11
+ profile: ISubscriptionCompanyProfile;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",