cecon-interfaces 1.0.96 → 1.0.99

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/dist/app/entities/app.entity.d.ts +8 -8
  2. package/dist/app/entities/app.entity.js +3 -3
  3. package/dist/app/enums/app-category.enum.d.ts +1 -1
  4. package/dist/app/enums/app-category.enum.js +32 -32
  5. package/dist/app/enums/app-type.enum.d.ts +1 -1
  6. package/dist/app/enums/app-type.enum.js +8 -8
  7. package/dist/app/enums/header-type.enum.d.ts +1 -1
  8. package/dist/app/enums/header-type.enum.js +6 -6
  9. package/dist/app/enums/index.d.ts +4 -4
  10. package/dist/app/enums/index.js +5 -5
  11. package/dist/app/enums/mode.enum.d.ts +1 -1
  12. package/dist/app/enums/mode.enum.js +12 -12
  13. package/dist/app/interfaces/i-app.d.ts +8 -8
  14. package/dist/company/enums/index.d.ts +2 -2
  15. package/dist/company/enums/index.js +3 -3
  16. package/dist/company/enums/keys.enum.d.ts +1 -1
  17. package/dist/company/enums/keys.enum.js +9 -9
  18. package/dist/company/enums/message-type.enum.d.ts +1 -1
  19. package/dist/company/enums/message-type.enum.js +7 -7
  20. package/dist/esm2022/app/entities/app.entity.mjs +7 -7
  21. package/dist/esm2022/app/enums/app-category.enum.mjs +32 -32
  22. package/dist/esm2022/app/enums/app-type.enum.mjs +8 -8
  23. package/dist/esm2022/app/enums/header-type.enum.mjs +6 -6
  24. package/dist/esm2022/app/enums/index.mjs +5 -5
  25. package/dist/esm2022/app/enums/mode.enum.mjs +12 -12
  26. package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
  27. package/dist/esm2022/company/enums/index.mjs +3 -3
  28. package/dist/esm2022/company/enums/keys.enum.mjs +9 -9
  29. package/dist/esm2022/company/enums/message-type.enum.mjs +7 -7
  30. package/dist/esm2022/feature/entities/feature.entity.mjs +1 -1
  31. package/dist/esm2022/feature/interfaces/i-feature.mjs +1 -1
  32. package/dist/esm2022/installation/entities/installation-app.entity.mjs +3 -3
  33. package/dist/esm2022/installation/interfaces/i-installation-app.mjs +1 -1
  34. package/dist/esm2022/plan/entities/feature.entity.mjs +6 -6
  35. package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
  36. package/dist/esm2022/plan/enums/index.mjs +3 -2
  37. package/dist/esm2022/plan/enums/plans-feature-type.enum.mjs +6 -0
  38. package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +6 -6
  39. package/dist/esm2022/plan/interfaces/i-feature.mjs +1 -1
  40. package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
  41. package/dist/feature/entities/feature.entity.d.ts +2 -2
  42. package/dist/feature/interfaces/i-feature.d.ts +2 -2
  43. package/dist/fesm2022/cecon-interfaces.mjs +93 -88
  44. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  45. package/dist/installation/entities/installation-app.entity.d.ts +2 -2
  46. package/dist/installation/entities/installation-app.entity.js +1 -1
  47. package/dist/installation/interfaces/i-installation-app.d.ts +2 -2
  48. package/dist/package.json +1 -1
  49. package/dist/plan/entities/feature.entity.d.ts +3 -3
  50. package/dist/plan/entities/feature.entity.js +5 -5
  51. package/dist/plan/entities/plan.entity.d.ts +2 -2
  52. package/dist/plan/entities/plan.entity.js +1 -1
  53. package/dist/plan/enums/index.d.ts +2 -1
  54. package/dist/plan/enums/index.js +4 -2
  55. package/dist/plan/enums/plans-feature-type.enum.d.ts +4 -0
  56. package/dist/plan/enums/plans-feature-type.enum.js +8 -0
  57. package/dist/plan/enums/plans-identifier.enum.d.ts +1 -1
  58. package/dist/plan/enums/plans-identifier.enum.js +6 -6
  59. package/dist/plan/interfaces/i-feature.d.ts +3 -3
  60. package/dist/plan/interfaces/i-plan.d.ts +2 -2
  61. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { AppModeEnum } from '../../app';
1
+ import { EAppMode } from '../../app';
2
2
  import { IInstallationApp } from '../interfaces/i-installation-app';
3
3
  export declare class InstallationAppEntity implements IInstallationApp {
4
4
  iconUrl: string;
5
5
  id: string;
6
- mode: AppModeEnum;
6
+ mode: EAppMode;
7
7
  name: string;
8
8
  version: string;
9
9
  constructor(data?: Partial<InstallationAppEntity>);
@@ -9,7 +9,7 @@ var InstallationAppEntity = /** @class */ (function () {
9
9
  // #region Properties (5)
10
10
  this.iconUrl = '';
11
11
  this.id = '';
12
- this.mode = app_1.AppModeEnum.NATI_GO;
12
+ this.mode = app_1.EAppMode.NATI_GO;
13
13
  this.name = '';
14
14
  this.version = '';
15
15
  if (data) {
@@ -1,8 +1,8 @@
1
- import { AppModeEnum } from '../../app';
1
+ import { EAppMode } from '../../app';
2
2
  export interface IInstallationApp {
3
3
  iconUrl: string;
4
4
  id: string;
5
- mode: AppModeEnum;
5
+ mode: EAppMode;
6
6
  name: string;
7
7
  version: string;
8
8
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.96",
3
+ "version": "1.0.99",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,13 +1,13 @@
1
+ import { EPlanFeatureType } from "../enums";
1
2
  import { IPlanFeature } from "../interfaces";
2
3
  export declare class PlanFeatureEntity implements IPlanFeature {
3
4
  appId: string;
4
5
  createdAt: Date;
6
+ featureType: EPlanFeatureType;
5
7
  id: string;
6
- identifier: string;
7
- isFeature: boolean;
8
+ index: number;
8
9
  name: string;
9
10
  planId: string;
10
- index: number;
11
11
  price: number;
12
12
  quantity: number;
13
13
  updatedAt: Date;
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PlanFeatureEntity = void 0;
4
+ var enums_1 = require("../enums");
4
5
  var PlanFeatureEntity = /** @class */ (function () {
5
- // #endregion Properties (12)
6
+ // #endregion Properties (10)
6
7
  // #region Constructors (1)
7
8
  function PlanFeatureEntity(data) {
8
- // #region Properties (12)
9
+ // #region Properties (10)
9
10
  this.appId = "";
10
11
  this.createdAt = new Date();
12
+ this.featureType = enums_1.EPlanFeatureType.FEATURE;
11
13
  this.id = "";
12
- this.identifier = "";
13
- this.isFeature = false;
14
+ this.index = 0;
14
15
  this.name = "";
15
16
  this.planId = "";
16
- this.index = 0;
17
17
  this.price = 0;
18
18
  this.quantity = 0;
19
19
  this.updatedAt = new Date();
@@ -1,5 +1,5 @@
1
1
  import { IntervalTypeEnum } from '../../general/enums';
2
- import { PlanIdentifierEnum } from '../enums/plans-identifier.enum';
2
+ import { EPlanIdentifier } from '../enums/plans-identifier.enum';
3
3
  import { IPlan } from '../interfaces';
4
4
  import { PlanFeatureEntity } from './feature.entity';
5
5
  export declare class PlanEntity implements IPlan {
@@ -8,7 +8,7 @@ export declare class PlanEntity implements IPlan {
8
8
  id: string;
9
9
  tags: string[];
10
10
  index: number;
11
- identifier: PlanIdentifierEnum;
11
+ identifier: EPlanIdentifier;
12
12
  interval: number;
13
13
  intervalType: IntervalTypeEnum;
14
14
  name: string;
@@ -13,7 +13,7 @@ var PlanEntity = /** @class */ (function () {
13
13
  this.id = '';
14
14
  this.tags = [];
15
15
  this.index = 0;
16
- this.identifier = plans_identifier_enum_1.PlanIdentifierEnum.NATIGO;
16
+ this.identifier = plans_identifier_enum_1.EPlanIdentifier.NATIGO;
17
17
  this.interval = 12;
18
18
  this.intervalType = enums_1.IntervalTypeEnum.MONTHS;
19
19
  this.name = '';
@@ -1 +1,2 @@
1
- export { PlanIdentifierEnum } from './plans-identifier.enum';
1
+ export { EPlanFeatureType } from './plans-feature-type.enum';
2
+ export { EPlanIdentifier } from './plans-identifier.enum';
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlanIdentifierEnum = void 0;
3
+ exports.EPlanIdentifier = exports.EPlanFeatureType = void 0;
4
+ var plans_feature_type_enum_1 = require("./plans-feature-type.enum");
5
+ Object.defineProperty(exports, "EPlanFeatureType", { enumerable: true, get: function () { return plans_feature_type_enum_1.EPlanFeatureType; } });
4
6
  var plans_identifier_enum_1 = require("./plans-identifier.enum");
5
- Object.defineProperty(exports, "PlanIdentifierEnum", { enumerable: true, get: function () { return plans_identifier_enum_1.PlanIdentifierEnum; } });
7
+ Object.defineProperty(exports, "EPlanIdentifier", { enumerable: true, get: function () { return plans_identifier_enum_1.EPlanIdentifier; } });
@@ -0,0 +1,4 @@
1
+ export declare enum EPlanFeatureType {
2
+ FEATURE = "FEATURE",
3
+ DESCRIPTION = "DESCRIPTION"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPlanFeatureType = void 0;
4
+ var EPlanFeatureType;
5
+ (function (EPlanFeatureType) {
6
+ EPlanFeatureType["FEATURE"] = "FEATURE";
7
+ EPlanFeatureType["DESCRIPTION"] = "DESCRIPTION";
8
+ })(EPlanFeatureType || (exports.EPlanFeatureType = EPlanFeatureType = {}));
@@ -1,4 +1,4 @@
1
- export declare enum PlanIdentifierEnum {
1
+ export declare enum EPlanIdentifier {
2
2
  NATIGO = "NATIGO-UNO",
3
3
  SAT_MANAGER_NAPOLEON = "SAT-MANAGER-NAPOLEON"
4
4
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlanIdentifierEnum = void 0;
4
- var PlanIdentifierEnum;
5
- (function (PlanIdentifierEnum) {
6
- PlanIdentifierEnum["NATIGO"] = "NATIGO-UNO";
7
- PlanIdentifierEnum["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
8
- })(PlanIdentifierEnum || (exports.PlanIdentifierEnum = PlanIdentifierEnum = {}));
3
+ exports.EPlanIdentifier = void 0;
4
+ var EPlanIdentifier;
5
+ (function (EPlanIdentifier) {
6
+ EPlanIdentifier["NATIGO"] = "NATIGO-UNO";
7
+ EPlanIdentifier["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
8
+ })(EPlanIdentifier || (exports.EPlanIdentifier = EPlanIdentifier = {}));
@@ -1,12 +1,12 @@
1
+ import { EPlanFeatureType } from "../enums";
1
2
  export interface IPlanFeature {
2
3
  appId: string;
3
4
  createdAt: Date;
5
+ featureType: EPlanFeatureType;
4
6
  id: string;
5
- identifier: string;
6
- isFeature: boolean;
7
+ index: number;
7
8
  name: string;
8
9
  planId: string;
9
- index: number;
10
10
  price: number;
11
11
  quantity: number;
12
12
  updatedAt: Date;
@@ -1,11 +1,11 @@
1
1
  import { IntervalTypeEnum } from '../../general/enums';
2
- import { PlanIdentifierEnum } from '../enums/plans-identifier.enum';
2
+ import { EPlanIdentifier } from '../enums';
3
3
  import { IPlanFeature } from './i-feature';
4
4
  export interface IPlan {
5
5
  createdAt: Date;
6
6
  features: IPlanFeature[];
7
7
  id: string;
8
- identifier: PlanIdentifierEnum;
8
+ identifier: EPlanIdentifier;
9
9
  index: number;
10
10
  interval: number;
11
11
  intervalType: IntervalTypeEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.96",
3
+ "version": "1.0.99",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",