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.
- package/dist/app/entities/app.entity.d.ts +8 -8
- package/dist/app/entities/app.entity.js +3 -3
- package/dist/app/enums/app-category.enum.d.ts +1 -1
- package/dist/app/enums/app-category.enum.js +32 -32
- package/dist/app/enums/app-type.enum.d.ts +1 -1
- package/dist/app/enums/app-type.enum.js +8 -8
- package/dist/app/enums/header-type.enum.d.ts +1 -1
- package/dist/app/enums/header-type.enum.js +6 -6
- package/dist/app/enums/index.d.ts +4 -4
- package/dist/app/enums/index.js +5 -5
- package/dist/app/enums/mode.enum.d.ts +1 -1
- package/dist/app/enums/mode.enum.js +12 -12
- package/dist/app/interfaces/i-app.d.ts +8 -8
- package/dist/company/enums/index.d.ts +2 -2
- package/dist/company/enums/index.js +3 -3
- package/dist/company/enums/keys.enum.d.ts +1 -1
- package/dist/company/enums/keys.enum.js +9 -9
- package/dist/company/enums/message-type.enum.d.ts +1 -1
- package/dist/company/enums/message-type.enum.js +7 -7
- package/dist/esm2022/app/entities/app.entity.mjs +7 -7
- package/dist/esm2022/app/enums/app-category.enum.mjs +32 -32
- package/dist/esm2022/app/enums/app-type.enum.mjs +8 -8
- package/dist/esm2022/app/enums/header-type.enum.mjs +6 -6
- package/dist/esm2022/app/enums/index.mjs +5 -5
- package/dist/esm2022/app/enums/mode.enum.mjs +12 -12
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/company/enums/index.mjs +3 -3
- package/dist/esm2022/company/enums/keys.enum.mjs +9 -9
- package/dist/esm2022/company/enums/message-type.enum.mjs +7 -7
- package/dist/esm2022/feature/entities/feature.entity.mjs +1 -1
- package/dist/esm2022/feature/interfaces/i-feature.mjs +1 -1
- package/dist/esm2022/installation/entities/installation-app.entity.mjs +3 -3
- package/dist/esm2022/installation/interfaces/i-installation-app.mjs +1 -1
- package/dist/esm2022/plan/entities/feature.entity.mjs +6 -6
- package/dist/esm2022/plan/entities/plan.entity.mjs +3 -3
- package/dist/esm2022/plan/enums/index.mjs +3 -2
- package/dist/esm2022/plan/enums/plans-feature-type.enum.mjs +6 -0
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +6 -6
- package/dist/esm2022/plan/interfaces/i-feature.mjs +1 -1
- package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
- package/dist/feature/entities/feature.entity.d.ts +2 -2
- package/dist/feature/interfaces/i-feature.d.ts +2 -2
- package/dist/fesm2022/cecon-interfaces.mjs +93 -88
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/installation/entities/installation-app.entity.d.ts +2 -2
- package/dist/installation/entities/installation-app.entity.js +1 -1
- package/dist/installation/interfaces/i-installation-app.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/plan/entities/feature.entity.d.ts +3 -3
- package/dist/plan/entities/feature.entity.js +5 -5
- package/dist/plan/entities/plan.entity.d.ts +2 -2
- package/dist/plan/entities/plan.entity.js +1 -1
- package/dist/plan/enums/index.d.ts +2 -1
- package/dist/plan/enums/index.js +4 -2
- package/dist/plan/enums/plans-feature-type.enum.d.ts +4 -0
- package/dist/plan/enums/plans-feature-type.enum.js +8 -0
- package/dist/plan/enums/plans-identifier.enum.d.ts +1 -1
- package/dist/plan/enums/plans-identifier.enum.js +6 -6
- package/dist/plan/interfaces/i-feature.d.ts +3 -3
- package/dist/plan/interfaces/i-plan.d.ts +2 -2
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
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:
|
6
|
+
mode: EAppMode;
|
7
7
|
name: string;
|
8
8
|
version: string;
|
9
9
|
constructor(data?: Partial<InstallationAppEntity>);
|
package/dist/package.json
CHANGED
@@ -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
|
-
|
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 (
|
6
|
+
// #endregion Properties (10)
|
6
7
|
// #region Constructors (1)
|
7
8
|
function PlanFeatureEntity(data) {
|
8
|
-
// #region Properties (
|
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.
|
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 {
|
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:
|
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.
|
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 {
|
1
|
+
export { EPlanFeatureType } from './plans-feature-type.enum';
|
2
|
+
export { EPlanIdentifier } from './plans-identifier.enum';
|
package/dist/plan/enums/index.js
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
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, "
|
7
|
+
Object.defineProperty(exports, "EPlanIdentifier", { enumerable: true, get: function () { return plans_identifier_enum_1.EPlanIdentifier; } });
|
@@ -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,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
})(
|
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
|
-
|
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 {
|
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:
|
8
|
+
identifier: EPlanIdentifier;
|
9
9
|
index: number;
|
10
10
|
interval: number;
|
11
11
|
intervalType: IntervalTypeEnum;
|