easywork-common-lib 1.0.1071 → 1.0.1074
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/entities/index.d.ts +2 -0
- package/dist/entities/index.js +2 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/subscriptions/feature.entity.d.ts +25 -0
- package/dist/entities/subscriptions/feature.entity.js +75 -0
- package/dist/entities/subscriptions/feature.entity.js.map +1 -0
- package/dist/entities/subscriptions/plan-feature.entity.d.ts +8 -0
- package/dist/entities/subscriptions/plan-feature.entity.js +44 -0
- package/dist/entities/subscriptions/plan-feature.entity.js.map +1 -0
- package/dist/entities/subscriptions/plan.entity.d.ts +2 -7
- package/dist/entities/subscriptions/plan.entity.js +8 -40
- package/dist/entities/subscriptions/plan.entity.js.map +1 -1
- package/dist/entities/subscriptions/subscription.entity.js +1 -1
- package/dist/entities/subscriptions/subscription.entity.js.map +1 -1
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export * from './thirdparty/oauth.entity';
|
|
|
37
37
|
export * from './thirdparty/diio-integration.entity';
|
|
38
38
|
export * from './thirdparty/wati';
|
|
39
39
|
export * from './subscriptions/plan.entity';
|
|
40
|
+
export * from './subscriptions/feature.entity';
|
|
41
|
+
export * from './subscriptions/plan-feature.entity';
|
|
40
42
|
export * from './subscriptions/subscription.entity';
|
|
41
43
|
export * from './subscriptions/payment-history.entity';
|
|
42
44
|
export * from './helpers';
|
package/dist/entities/index.js
CHANGED
|
@@ -53,6 +53,8 @@ __exportStar(require("./thirdparty/oauth.entity"), exports);
|
|
|
53
53
|
__exportStar(require("./thirdparty/diio-integration.entity"), exports);
|
|
54
54
|
__exportStar(require("./thirdparty/wati"), exports);
|
|
55
55
|
__exportStar(require("./subscriptions/plan.entity"), exports);
|
|
56
|
+
__exportStar(require("./subscriptions/feature.entity"), exports);
|
|
57
|
+
__exportStar(require("./subscriptions/plan-feature.entity"), exports);
|
|
56
58
|
__exportStar(require("./subscriptions/subscription.entity"), exports);
|
|
57
59
|
__exportStar(require("./subscriptions/payment-history.entity"), exports);
|
|
58
60
|
__exportStar(require("./helpers"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oDAAkC;AAClC,0CAAwB;AACxB,+DAA6C;AAC7C,iDAA+B;AAC/B,iDAA+B;AAC/B,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,4DAA0C;AAC1C,gDAA8B;AAC9B,mDAAiC;AAGjC,iDAA+B;AAG/B,0CAAwB;AAGxB,uDAAqC;AAGrC,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AAGzC,0DAAwC;AAGxC,6EAA2D;AAC3D,gFAA8D;AAC9D,4DAA0C;AAC1C,uEAAqD;AACrD,oDAAkC;AAGlC,8DAA4C;AAC5C,sEAAoD;AACpD,yEAAuD;AAGvD,4CAA0B;AAG1B,iDAA+B;AAC/B,0DAAwC;AAGxC,2DAAyC;AAGzC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oDAAkC;AAClC,0CAAwB;AACxB,+DAA6C;AAC7C,iDAA+B;AAC/B,iDAA+B;AAC/B,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,4DAA0C;AAC1C,gDAA8B;AAC9B,mDAAiC;AAGjC,iDAA+B;AAG/B,0CAAwB;AAGxB,uDAAqC;AAGrC,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AAGzC,0DAAwC;AAGxC,6EAA2D;AAC3D,gFAA8D;AAC9D,4DAA0C;AAC1C,uEAAqD;AACrD,oDAAkC;AAGlC,8DAA4C;AAC5C,iEAA+C;AAC/C,sEAAoD;AACpD,sEAAoD;AACpD,yEAAuD;AAGvD,4CAA0B;AAG1B,iDAA+B;AAC/B,0DAAwC;AAGxC,2DAAyC;AAGzC,oDAAkC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseEntityOnlyEssential } from '../../common/database/base.entity';
|
|
2
|
+
import { PlanFeature } from './plan-feature.entity';
|
|
3
|
+
export declare enum FeatureType {
|
|
4
|
+
BOOLEAN = "boolean",
|
|
5
|
+
LIMIT = "limit",
|
|
6
|
+
TEXT = "text"
|
|
7
|
+
}
|
|
8
|
+
export declare enum FeatureCategory {
|
|
9
|
+
CORE_MANAGEMENT = "Gesti\u00F3n central",
|
|
10
|
+
SALES_CRM = "Ventas y CRM",
|
|
11
|
+
COLLECTIONS_RENEWALS = "Cobranza y renovaciones",
|
|
12
|
+
REPORTS_AND_KPI = "Reportes e indicadores",
|
|
13
|
+
AUTOMATION_AND_TOOLS = "Automatizaci\u00F3n y herramientas",
|
|
14
|
+
INTEGRATIONS = "Integraciones",
|
|
15
|
+
TEAM_MANAGEMENT = "Gesti\u00F3n de equipo",
|
|
16
|
+
SUPPORT_AND_ADVISORY = "Soporte y asesor\u00EDa"
|
|
17
|
+
}
|
|
18
|
+
export declare class Feature extends BaseEntityOnlyEssential {
|
|
19
|
+
key: string;
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
category: string;
|
|
23
|
+
type: FeatureType;
|
|
24
|
+
planFeatures: PlanFeature[];
|
|
25
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Feature = exports.FeatureCategory = exports.FeatureType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const plan_feature_entity_1 = require("./plan-feature.entity");
|
|
17
|
+
var FeatureType;
|
|
18
|
+
(function (FeatureType) {
|
|
19
|
+
FeatureType["BOOLEAN"] = "boolean";
|
|
20
|
+
FeatureType["LIMIT"] = "limit";
|
|
21
|
+
FeatureType["TEXT"] = "text";
|
|
22
|
+
})(FeatureType || (exports.FeatureType = FeatureType = {}));
|
|
23
|
+
var FeatureCategory;
|
|
24
|
+
(function (FeatureCategory) {
|
|
25
|
+
FeatureCategory["CORE_MANAGEMENT"] = "Gesti\u00F3n central";
|
|
26
|
+
FeatureCategory["SALES_CRM"] = "Ventas y CRM";
|
|
27
|
+
FeatureCategory["COLLECTIONS_RENEWALS"] = "Cobranza y renovaciones";
|
|
28
|
+
FeatureCategory["REPORTS_AND_KPI"] = "Reportes e indicadores";
|
|
29
|
+
FeatureCategory["AUTOMATION_AND_TOOLS"] = "Automatizaci\u00F3n y herramientas";
|
|
30
|
+
FeatureCategory["INTEGRATIONS"] = "Integraciones";
|
|
31
|
+
FeatureCategory["TEAM_MANAGEMENT"] = "Gesti\u00F3n de equipo";
|
|
32
|
+
FeatureCategory["SUPPORT_AND_ADVISORY"] = "Soporte y asesor\u00EDa";
|
|
33
|
+
})(FeatureCategory || (exports.FeatureCategory = FeatureCategory = {}));
|
|
34
|
+
let Feature = class Feature extends base_entity_1.BaseEntityOnlyEssential {
|
|
35
|
+
key;
|
|
36
|
+
name;
|
|
37
|
+
description;
|
|
38
|
+
category;
|
|
39
|
+
type;
|
|
40
|
+
planFeatures;
|
|
41
|
+
};
|
|
42
|
+
exports.Feature = Feature;
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({ description: 'Nombre único y programático de la característica', example: 'PRO_POLICY_READER' }),
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, unique: true, nullable: false }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Feature.prototype, "key", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, swagger_1.ApiProperty)({ description: 'Nombre de la característica para mostrar al usuario', example: 'Lector de Pólizas Pro' }),
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Feature.prototype, "name", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({ description: 'Descripción detallada de lo que hace la característica', example: 'Permite analizar y extraer datos de pólizas en formato PDF.' }),
|
|
55
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Feature.prototype, "description", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({ description: 'Categoría para agrupar en la UI', example: 'Reportes' }),
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], Feature.prototype, "category", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, swagger_1.ApiProperty)({ description: 'El tipo de valor que esta característica almacena', enum: FeatureType, example: FeatureType.BOOLEAN }),
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: FeatureType, nullable: false }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], Feature.prototype, "type", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.OneToMany)(() => plan_feature_entity_1.PlanFeature, planFeature => planFeature.feature),
|
|
70
|
+
__metadata("design:type", Array)
|
|
71
|
+
], Feature.prototype, "planFeatures", void 0);
|
|
72
|
+
exports.Feature = Feature = __decorate([
|
|
73
|
+
(0, typeorm_1.Entity)('features')
|
|
74
|
+
], Feature);
|
|
75
|
+
//# sourceMappingURL=feature.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.entity.js","sourceRoot":"","sources":["../../../src/entities/subscriptions/feature.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAoD;AACpD,mEAA4E;AAC5E,6CAA8C;AAC9C,+DAAoD;AAEpD,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,4BAAa,CAAA;AACf,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AAED,IAAY,eASX;AATD,WAAY,eAAe;IACzB,2DAAmC,CAAA;IACnC,6CAA0B,CAAA;IAC1B,mEAAgD,CAAA;IAChD,6DAA0C,CAAA;IAC1C,8EAAsD,CAAA;IACtD,iDAA8B,CAAA;IAC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AAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;IAClI,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;qCAC3C;AAGlB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;;6CACrC;kBAtBjB,OAAO;IADnB,IAAA,gBAAM,EAAC,UAAU,CAAC;GACN,OAAO,CAuBnB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PlanFeature = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const plan_entity_1 = require("./plan.entity");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const feature_entity_1 = require("./feature.entity");
|
|
17
|
+
let PlanFeature = class PlanFeature {
|
|
18
|
+
id;
|
|
19
|
+
value;
|
|
20
|
+
plan;
|
|
21
|
+
feature;
|
|
22
|
+
};
|
|
23
|
+
exports.PlanFeature = PlanFeature;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], PlanFeature.prototype, "id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ description: 'Valor de la característica para este plan. Puede ser "true", "100", "ilimitado", etc.', example: 'true' }),
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], PlanFeature.prototype, "value", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.ManyToOne)(() => plan_entity_1.Plan, plan => plan.planFeatures, { onDelete: 'CASCADE' }),
|
|
35
|
+
__metadata("design:type", plan_entity_1.Plan)
|
|
36
|
+
], PlanFeature.prototype, "plan", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => feature_entity_1.Feature, feature => feature.planFeatures, { onDelete: 'CASCADE', eager: true }),
|
|
39
|
+
__metadata("design:type", feature_entity_1.Feature)
|
|
40
|
+
], PlanFeature.prototype, "feature", void 0);
|
|
41
|
+
exports.PlanFeature = PlanFeature = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)('plan_features')
|
|
43
|
+
], PlanFeature);
|
|
44
|
+
//# sourceMappingURL=plan-feature.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-feature.entity.js","sourceRoot":"","sources":["../../../src/entities/subscriptions/plan-feature.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4E;AAC5E,+CAAqC;AACrC,6CAA8C;AAC9C,qDAA2C;AAGpC,IAAM,WAAW,GAAjB,MAAM,WAAW;IAEtB,EAAE,CAAS;IAIX,KAAK,CAAS;IAGd,IAAI,CAAO;IAGX,OAAO,CAAU;CAClB,CAAA;AAbY,kCAAW;AAEtB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;uCACpB;AAIX;IAFC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,uFAAuF,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACtI,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC5C;AAGd;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACpE,kBAAI;yCAAC;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACvF,wBAAO;4CAAC;sBAZN,WAAW;IADvB,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,WAAW,CAavB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BaseEntityOnlyEssential } from '../../common/database/base.entity';
|
|
2
|
-
import {
|
|
3
|
-
import { PlanFeature } from './plan-feature';
|
|
2
|
+
import { PlanFeature } from './plan-feature.entity';
|
|
4
3
|
export declare enum BillingCycle {
|
|
5
4
|
MONTHLY = "monthly",
|
|
6
5
|
ANNUALLY = "annually",
|
|
@@ -8,13 +7,9 @@ export declare enum BillingCycle {
|
|
|
8
7
|
}
|
|
9
8
|
export declare class Plan extends BaseEntityOnlyEssential {
|
|
10
9
|
name: string;
|
|
11
|
-
description: string;
|
|
12
10
|
price: number;
|
|
13
11
|
currency: string;
|
|
14
12
|
billingCycle: BillingCycle;
|
|
15
|
-
userLimit: number | null;
|
|
16
|
-
storageLimitGb: number | null;
|
|
17
|
-
planFeatures: PlanFeature[];
|
|
18
13
|
isActive: boolean;
|
|
19
|
-
|
|
14
|
+
planFeatures: PlanFeature[];
|
|
20
15
|
}
|
|
@@ -13,8 +13,7 @@ exports.Plan = exports.BillingCycle = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const base_entity_1 = require("../../common/database/base.entity");
|
|
16
|
-
const
|
|
17
|
-
const plan_feature_1 = require("./plan-feature");
|
|
16
|
+
const plan_feature_entity_1 = require("./plan-feature.entity");
|
|
18
17
|
var BillingCycle;
|
|
19
18
|
(function (BillingCycle) {
|
|
20
19
|
BillingCycle["MONTHLY"] = "monthly";
|
|
@@ -23,15 +22,11 @@ var BillingCycle;
|
|
|
23
22
|
})(BillingCycle || (exports.BillingCycle = BillingCycle = {}));
|
|
24
23
|
let Plan = class Plan extends base_entity_1.BaseEntityOnlyEssential {
|
|
25
24
|
name;
|
|
26
|
-
description;
|
|
27
25
|
price;
|
|
28
26
|
currency;
|
|
29
27
|
billingCycle;
|
|
30
|
-
userLimit;
|
|
31
|
-
storageLimitGb;
|
|
32
|
-
planFeatures;
|
|
33
28
|
isActive;
|
|
34
|
-
|
|
29
|
+
planFeatures;
|
|
35
30
|
};
|
|
36
31
|
exports.Plan = Plan;
|
|
37
32
|
__decorate([
|
|
@@ -39,18 +34,13 @@ __decorate([
|
|
|
39
34
|
(0, swagger_1.ApiProperty)({ description: 'Nombre del plan (ej. "Free", "Basic Monthly", "Pro Annual")', example: 'Basic Monthly' }),
|
|
40
35
|
__metadata("design:type", String)
|
|
41
36
|
], Plan.prototype, "name", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
44
|
-
(0, swagger_1.ApiProperty)({ description: 'Descripción detallada del plan', example: 'Plan mensual con características básicas.' }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], Plan.prototype, "description", void 0);
|
|
47
37
|
__decorate([
|
|
48
38
|
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: false }),
|
|
49
39
|
(0, swagger_1.ApiProperty)({ description: 'Precio del plan', example: 9.99 }),
|
|
50
40
|
__metadata("design:type", Number)
|
|
51
41
|
], Plan.prototype, "price", void 0);
|
|
52
42
|
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 3, nullable: false, default: '
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 3, nullable: false, default: 'MXN' }),
|
|
54
44
|
(0, swagger_1.ApiProperty)({ description: 'Moneda del precio (ej. "USD", "EUR")', example: 'USD' }),
|
|
55
45
|
__metadata("design:type", String)
|
|
56
46
|
], Plan.prototype, "currency", void 0);
|
|
@@ -64,41 +54,19 @@ __decorate([
|
|
|
64
54
|
__metadata("design:type", String)
|
|
65
55
|
], Plan.prototype, "billingCycle", void 0);
|
|
66
56
|
__decorate([
|
|
67
|
-
(0, typeorm_1.Column)({ type: '
|
|
68
|
-
(0, swagger_1.ApiProperty)({
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
nullable: true,
|
|
72
|
-
}),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], Plan.prototype, "userLimit", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
77
|
-
(0, swagger_1.ApiProperty)({
|
|
78
|
-
description: 'Límite máximo de almacenamiento en GB (null para ilimitado)',
|
|
79
|
-
example: 100,
|
|
80
|
-
nullable: true,
|
|
81
|
-
}),
|
|
82
|
-
__metadata("design:type", Number)
|
|
83
|
-
], Plan.prototype, "storageLimitGb", void 0);
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
58
|
+
(0, swagger_1.ApiProperty)({ description: 'Indica si el plan está activo (true) o ha sido deprecado (false)', example: true }),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], Plan.prototype, "isActive", void 0);
|
|
84
61
|
__decorate([
|
|
85
62
|
(0, swagger_1.ApiProperty)({
|
|
86
63
|
description: 'JSON para otros límites/flags de características específicas',
|
|
87
64
|
example: { featureA: true, featureB_limit: 1000 },
|
|
88
65
|
nullable: true,
|
|
89
66
|
}),
|
|
90
|
-
(0, typeorm_1.OneToMany)(() =>
|
|
67
|
+
(0, typeorm_1.OneToMany)(() => plan_feature_entity_1.PlanFeature, planFeature => planFeature.plan, { cascade: true, eager: true }),
|
|
91
68
|
__metadata("design:type", Array)
|
|
92
69
|
], Plan.prototype, "planFeatures", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
95
|
-
(0, swagger_1.ApiProperty)({ description: 'Indica si el plan está activo (true) o ha sido deprecado (false)', example: true }),
|
|
96
|
-
__metadata("design:type", Boolean)
|
|
97
|
-
], Plan.prototype, "isActive", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, typeorm_1.OneToOne)(() => subscription_entity_1.Subscription, subscription => subscription.group),
|
|
100
|
-
__metadata("design:type", subscription_entity_1.Subscription)
|
|
101
|
-
], Plan.prototype, "subscription", void 0);
|
|
102
70
|
exports.Plan = Plan = __decorate([
|
|
103
71
|
(0, typeorm_1.Entity)('plans')
|
|
104
72
|
], Plan);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.entity.js","sourceRoot":"","sources":["../../../src/entities/subscriptions/plan.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"plan.entity.js","sourceRoot":"","sources":["../../../src/entities/subscriptions/plan.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,6CAA8C;AAC9C,mEAA4E;AAC5E,+DAAoD;AAEpD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,4BAAZ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,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,kEAAkE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sCAC9F;AAQlB;IANC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE;QACjD,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;;0CAClE;eA/BjB,IAAI;IADhB,IAAA,gBAAM,EAAC,OAAO,CAAC;GACH,IAAI,CAgChB"}
|
|
@@ -145,7 +145,7 @@ __decorate([
|
|
|
145
145
|
__metadata("design:type", group_entity_1.Group)
|
|
146
146
|
], Subscription.prototype, "group", void 0);
|
|
147
147
|
__decorate([
|
|
148
|
-
(0, typeorm_1.ManyToOne)(() => plan_entity_1.Plan,
|
|
148
|
+
(0, typeorm_1.ManyToOne)(() => plan_entity_1.Plan, { onDelete: 'RESTRICT' }),
|
|
149
149
|
(0, typeorm_1.JoinColumn)({ name: 'plan_id' }),
|
|
150
150
|
__metadata("design:type", plan_entity_1.Plan)
|
|
151
151
|
], Subscription.prototype, "plan", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.entity.js","sourceRoot":"","sources":["../../../src/entities/subscriptions/subscription.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2E;AAC3E,6CAA8C;AAC9C,+CAAqC;AACrC,mEAA4E;AAC5E,kDAAwC;AACxC,qEAA0D;AAC1D,gDAAsC;AAEtC,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;I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