cecon-interfaces 1.0.96 → 1.0.98
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.
- 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/fesm2022/cecon-interfaces.mjs +18 -13
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- 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
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 { EPlanIdentifierType } 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: EPlanIdentifierType;
|
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.EPlanIdentifierType.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 { EPlanIdentifierType } 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.EPlanIdentifierType = 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, "EPlanIdentifierType", { enumerable: true, get: function () { return plans_identifier_enum_1.EPlanIdentifierType; } });
|
@@ -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.EPlanIdentifierType = void 0;
|
4
|
+
var EPlanIdentifierType;
|
5
|
+
(function (EPlanIdentifierType) {
|
6
|
+
EPlanIdentifierType["NATIGO"] = "NATIGO-UNO";
|
7
|
+
EPlanIdentifierType["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
|
8
|
+
})(EPlanIdentifierType || (exports.EPlanIdentifierType = EPlanIdentifierType = {}));
|
@@ -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 { EPlanIdentifierType } from '../enums/plans-identifier.enum';
|
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: EPlanIdentifierType;
|
9
9
|
index: number;
|
10
10
|
interval: number;
|
11
11
|
intervalType: IntervalTypeEnum;
|