cecon-interfaces 1.1.16 → 1.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  export class FeatureEntity {
2
- // #region Properties (10)
2
+ // #region Properties (11)
3
3
  appId = '';
4
4
  appMode = null;
5
5
  companyId = '';
@@ -8,9 +8,10 @@ export class FeatureEntity {
8
8
  deviceId = '';
9
9
  id = '';
10
10
  installationId = '';
11
+ name = '';
11
12
  planId = null;
12
13
  subscriptionId = '';
13
- // #endregion Properties (10)
14
+ // #endregion Properties (11)
14
15
  // #region Constructors (1)
15
16
  constructor(data) {
16
17
  if (data) {
@@ -22,4 +23,4 @@ export class FeatureEntity {
22
23
  }
23
24
  }
24
25
  }
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZmVhdHVyZS9lbnRpdGllcy9mZWF0dXJlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sYUFBYTtJQUN0QiwwQkFBMEI7SUFFbkIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixPQUFPLEdBQW9CLElBQUksQ0FBQztJQUNoQyxTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsUUFBUSxHQUFXLEVBQUUsQ0FBQztJQUN0QixFQUFFLEdBQVcsRUFBRSxDQUFDO0lBQ2hCLGNBQWMsR0FBVyxFQUFFLENBQUM7SUFDNUIsTUFBTSxHQUFrQixJQUFJLENBQUM7SUFDN0IsY0FBYyxHQUFXLEVBQUUsQ0FBQztJQUVuQyw2QkFBNkI7SUFFN0IsMkJBQTJCO0lBRTNCLFlBQVksSUFBNkI7UUFDckMsS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AjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEZlYXR1cmVFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZmVhdHVyZS9lbnRpdGllcy9mZWF0dXJlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sYUFBYTtJQUN4QiwwQkFBMEI7SUFFbkIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixPQUFPLEdBQW9CLElBQUksQ0FBQztJQUNoQyxTQUFTLEdBQVcsRUFBRSxDQUFDO0lBQ3ZCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsUUFBUSxHQUFXLEVBQUUsQ0FBQztJQUN0QixFQUFFLEdBQVcsRUFBRSxDQUFDO0lBQ2hCLGNBQWMsR0FBVyxFQUFFLENBQUM7SUFDNUIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUNsQixNQUFNLEdBQWtCLElBQUksQ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bnVsbDtcbiAgcHVibGljIHN1YnNjcmlwdGlvbklkOiBzdHJpbmcgPSAnJztcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDExKVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEZlYXR1cmVFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mZWF0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ZlYXR1cmUvaW50ZXJmYWNlcy9pLWZlYXR1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVBcHBNb2RlIH0gZnJvbSAnLi4vLi4vYXBwJztcblxuZXhwb3J0IGludGVyZmFjZSBJRmVhdHVyZSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxMClcblxuICAgIGFwcElkOiBzdHJpbmc7XG4gICAgYXBwTW9kZTogRUFwcE1vZGUgfCBudWxsO1xuICAgIGNvbXBhbnlJZDogc3RyaW5nO1xuICAgIGNvbnRhaW5lcklkOiBzdHJpbmc7XG4gICAgY3JlYXRlZEF0OiBEYXRlO1xuICAgIGRldmljZUlkOiBzdHJpbmc7XG4gICAgaWQ6IHN0cmluZztcbiAgICBpbnN0YWxsYXRpb25JZDogc3RyaW5nO1xuICAgIHBsYW5JZDogc3RyaW5nIHwgbnVsbDtcbiAgICBzdWJzY3JpcHRpb25JZDogc3RyaW5nO1xuXG4gICAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxMClcbn1cbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mZWF0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ZlYXR1cmUvaW50ZXJmYWNlcy9pLWZlYXR1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVBcHBNb2RlIH0gZnJvbSAnLi4vLi4vYXBwJztcblxuZXhwb3J0IGludGVyZmFjZSBJRmVhdHVyZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTEpXG5cbiAgYXBwSWQ6IHN0cmluZztcbiAgYXBwTW9kZTogRUFwcE1vZGUgfCBudWxsO1xuICBjb21wYW55SWQ6IHN0cmluZztcbiAgY29udGFpbmVySWQ6IHN0cmluZztcbiAgY3JlYXRlZEF0OiBEYXRlO1xuICBkZXZpY2VJZDogc3RyaW5nO1xuICBpZDogc3RyaW5nO1xuICBpbnN0YWxsYXRpb25JZDogc3RyaW5nO1xuICBuYW1lOiBzdHJpbmc7XG4gIHBsYW5JZDogc3RyaW5nIHwgbnVsbDtcbiAgc3Vic2NyaXB0aW9uSWQ6IHN0cmluZztcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDExKVxufVxuIl19
@@ -3,17 +3,19 @@ import { SubscriptionStatusEnum } from '../enums';
3
3
  import { SubscriptionCompanyEntity } from './subscription-company.entity';
4
4
  export class SubscriptionEntity {
5
5
  // #region Properties (25)
6
- cancellationReason = '';
7
6
  amount = 0;
8
7
  appId = '';
8
+ cancellationReason = '';
9
9
  company = new SubscriptionCompanyEntity();
10
10
  createdAt = new Date();
11
11
  customVariables = [];
12
+ cycledAt = new Date();
12
13
  expiresAt = new Date();
13
14
  features = [];
14
15
  id = '';
15
16
  interval = 0;
16
17
  intervalType = IntervalTypeEnum.MONTHS;
18
+ invoices = [];
17
19
  items = [];
18
20
  logs = [];
19
21
  notes = '';
@@ -38,4 +40,4 @@ export class SubscriptionEntity {
38
40
  }
39
41
  }
40
42
  }
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQXdCLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUVsRCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUkxRSxNQUFNLE9BQU8sa0JBQWtCO0lBQzdCLDBCQUEwQjtJQUVuQixrQkFBa0IsR0FBVyxFQUFFLENBQUM7SUFDaEMsTUFBTSxHQUFXLENBQUMsQ0FBQztJQUNuQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLE9BQU8sR0FBOEIsSUFBSSx5QkFBeUIsRUFBRSxDQUFDO0lBQ3JFLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLGVBQWUsR0FBMkIsRUFBRSxDQUFDO0lBQzdDLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lB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SBTdWJzY3JpcHRpb25TdGF0dXNFbnVtLlBFTkRJTkc7XG4gIHB1YmxpYyB0YWdzOiBzdHJpbmdbXSA9IFtdO1xuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDI1KVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFN1YnNjcmlwdGlvbkVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElGZWF0dXJlIH0gZnJvbSAnLi4vLi4vZmVhdHVyZSc7XG5pbXBvcnQgeyBJQ3VzdG9tVmFyaWFibGUsIEludGVydmFsVHlwZUVudW0gfSBmcm9tICcuLi8uLi9nZW5lcmFsJztcbmltcG9ydCB7IFN1YnNjcmlwdGlvblN0YXR1c0VudW0gfSBmcm9tICcuLi9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wYW55O1xuICBjcmVhdGVkQXQ6IERhdGU7XG4gIGN1c3RvbVZhcmlhYmxlczogSUN1c3RvbVZhcmlhYmxlW107XG4gIGN5Y2xlZEF0OiBEYXRlO1xuICBleHBpcmVzQXQ6IERhdGU7XG4gIGZlYXR1cmVzOiBJRmVhdHVyZVtdO1xuICBpZDogc3RyaW5nO1xuICBpbnRlcnZhbDogbnVtYmVyO1xuICBpbnRlcnZhbFR5cGU6IEludGVydmFsVHlwZUVudW07XG4gIGludm9pY2VzOiBJSW52b2ljZVtdO1xuICBpdGVtczogSVN1YnNjcmlwdGlvbkl0ZW1bXTtcbiAgbG9nczogSVN1YnNjcmlwdGlvbkxvZ1tdO1xuICBub3Rlczogc3RyaW5nO1xuICBwYXJ0bmVySWQ6IHN0cmluZyB8IG51bGw7XG4gIHBsYW5JZDogc3RyaW5nO1xuICBwbGFuTmFtZTogc3RyaW5nO1xuICByZW5ld1BheW1lbnREYXRlOiBEYXRlO1xuICByZW5vdmF0ZWRBdDogRGF0ZTtcbiAgc3RhcnRzQXQ6IERhdGU7XG4gIHN0YXR1czogU3Vic2NyaXB0aW9uU3RhdHVzRW51bTtcbiAgdGFnczogc3RyaW5nW107XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDI1KVxufVxuIl19
@@ -9,6 +9,7 @@ export declare class FeatureEntity implements IFeature {
9
9
  deviceId: string;
10
10
  id: string;
11
11
  installationId: string;
12
+ name: string;
12
13
  planId: string | null;
13
14
  subscriptionId: string;
14
15
  constructor(data?: Partial<FeatureEntity>);
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FeatureEntity = void 0;
4
4
  var FeatureEntity = /** @class */ (function () {
5
- // #endregion Properties (10)
5
+ // #endregion Properties (11)
6
6
  // #region Constructors (1)
7
7
  function FeatureEntity(data) {
8
- // #region Properties (10)
8
+ // #region Properties (11)
9
9
  this.appId = '';
10
10
  this.appMode = null;
11
11
  this.companyId = '';
@@ -14,6 +14,7 @@ var FeatureEntity = /** @class */ (function () {
14
14
  this.deviceId = '';
15
15
  this.id = '';
16
16
  this.installationId = '';
17
+ this.name = '';
17
18
  this.planId = null;
18
19
  this.subscriptionId = '';
19
20
  if (data) {
@@ -8,6 +8,7 @@ export interface IFeature {
8
8
  deviceId: string;
9
9
  id: string;
10
10
  installationId: string;
11
+ name: string;
11
12
  planId: string | null;
12
13
  subscriptionId: string;
13
14
  }
@@ -844,7 +844,7 @@ class MetadataEntity {
844
844
  // index.ts
845
845
 
846
846
  class FeatureEntity {
847
- // #region Properties (10)
847
+ // #region Properties (11)
848
848
  appId = '';
849
849
  appMode = null;
850
850
  companyId = '';
@@ -853,9 +853,10 @@ class FeatureEntity {
853
853
  deviceId = '';
854
854
  id = '';
855
855
  installationId = '';
856
+ name = '';
856
857
  planId = null;
857
858
  subscriptionId = '';
858
- // #endregion Properties (10)
859
+ // #endregion Properties (11)
859
860
  // #region Constructors (1)
860
861
  constructor(data) {
861
862
  if (data) {
@@ -2611,17 +2612,19 @@ var SubscriptionStatusEnum;
2611
2612
 
2612
2613
  class SubscriptionEntity {
2613
2614
  // #region Properties (25)
2614
- cancellationReason = '';
2615
2615
  amount = 0;
2616
2616
  appId = '';
2617
+ cancellationReason = '';
2617
2618
  company = new SubscriptionCompanyEntity();
2618
2619
  createdAt = new Date();
2619
2620
  customVariables = [];
2621
+ cycledAt = new Date();
2620
2622
  expiresAt = new Date();
2621
2623
  features = [];
2622
2624
  id = '';
2623
2625
  interval = 0;
2624
2626
  intervalType = IntervalTypeEnum.MONTHS;
2627
+ invoices = [];
2625
2628
  items = [];
2626
2629
  logs = [];
2627
2630
  notes = '';