- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
96 lines
4.2 KiB
JavaScript
96 lines
4.2 KiB
JavaScript
"use strict";
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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;
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
};
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.PlanDetailResponseDto = exports.PlanResponseDto = void 0;
|
|
const swagger_1 = require("@nestjs/swagger");
|
|
class PlanResponseDto {
|
|
}
|
|
exports.PlanResponseDto = PlanResponseDto;
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Plan unique identifier' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "id", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Plan name' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "name", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Plan slug for URL/code reference' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "slug", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Plan display name' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "display_name", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Plan description' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "description", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({ description: 'Short tagline for the plan' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "tagline", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Monthly price' }),
|
|
__metadata("design:type", Number)
|
|
], PlanResponseDto.prototype, "price_monthly", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Yearly price' }),
|
|
__metadata("design:type", Number)
|
|
], PlanResponseDto.prototype, "price_yearly", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({ description: 'Currency code (e.g., USD)' }),
|
|
__metadata("design:type", String)
|
|
], PlanResponseDto.prototype, "currency", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiProperty)({
|
|
description: 'List of feature descriptions',
|
|
type: [String],
|
|
}),
|
|
__metadata("design:type", Array)
|
|
], PlanResponseDto.prototype, "features", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({
|
|
description: 'Plan limits (e.g., max_users, storage_gb)',
|
|
additionalProperties: { type: 'number' },
|
|
}),
|
|
__metadata("design:type", Object)
|
|
], PlanResponseDto.prototype, "limits", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({ description: 'Whether this is the most popular plan' }),
|
|
__metadata("design:type", Boolean)
|
|
], PlanResponseDto.prototype, "is_popular", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({ description: 'Number of trial days' }),
|
|
__metadata("design:type", Number)
|
|
], PlanResponseDto.prototype, "trial_days", void 0);
|
|
class PlanDetailResponseDto extends PlanResponseDto {
|
|
}
|
|
exports.PlanDetailResponseDto = PlanDetailResponseDto;
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({ description: 'Whether this is an enterprise plan' }),
|
|
__metadata("design:type", Boolean)
|
|
], PlanDetailResponseDto.prototype, "is_enterprise", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({
|
|
description: 'Detailed features with name, value, and highlight flag',
|
|
type: 'array',
|
|
}),
|
|
__metadata("design:type", Array)
|
|
], PlanDetailResponseDto.prototype, "detailed_features", void 0);
|
|
__decorate([
|
|
(0, swagger_1.ApiPropertyOptional)({
|
|
description: 'Additional metadata',
|
|
additionalProperties: true,
|
|
}),
|
|
__metadata("design:type", Object)
|
|
], PlanDetailResponseDto.prototype, "metadata", void 0);
|
|
//# sourceMappingURL=plan-response.dto.js.map
|