@likewatt/models 1.28.0 → 1.30.0
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.
|
@@ -154,6 +154,15 @@ __decorate([
|
|
|
154
154
|
(0, class_validator_1.IsEnum)(BillingCycle),
|
|
155
155
|
__metadata("design:type", String)
|
|
156
156
|
], Subscription.prototype, "billingCycle", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, swagger_1.ApiProperty)({
|
|
159
|
+
description: 'Domaine du plan (BTINF ou BTSUP)',
|
|
160
|
+
example: 'BTINF',
|
|
161
|
+
}),
|
|
162
|
+
(0, mongoose_1.Prop)({ type: String, required: true }),
|
|
163
|
+
(0, class_validator_1.IsString)(),
|
|
164
|
+
__metadata("design:type", String)
|
|
165
|
+
], Subscription.prototype, "domain", void 0);
|
|
157
166
|
__decorate([
|
|
158
167
|
(0, swagger_1.ApiProperty)({
|
|
159
168
|
description: 'Début de la période courante',
|
|
@@ -7,6 +7,7 @@ export declare class VSParams {
|
|
|
7
7
|
vsPVRate: number;
|
|
8
8
|
vsMaxCapacity: number;
|
|
9
9
|
vsTurpe: number;
|
|
10
|
+
vsConnectingRate: number;
|
|
10
11
|
}
|
|
11
12
|
export declare const VSParamsSchema: import("mongoose").Schema<VSParams, import("mongoose").Model<VSParams, any, any, any, import("mongoose").Document<unknown, any, VSParams, any, {}> & VSParams & {
|
|
12
13
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -55,6 +55,11 @@ __decorate([
|
|
|
55
55
|
(0, class_validator_1.IsNumber)(),
|
|
56
56
|
__metadata("design:type", Number)
|
|
57
57
|
], VSParams.prototype, "vsTurpe", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
60
|
+
(0, class_validator_1.IsNumber)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], VSParams.prototype, "vsConnectingRate", void 0);
|
|
58
63
|
exports.VSParams = VSParams = __decorate([
|
|
59
64
|
(0, mongoose_1.Schema)({ _id: false })
|
|
60
65
|
], VSParams);
|