@likewatt/models 1.141.0 → 1.143.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.
|
@@ -244,6 +244,15 @@ __decorate([
|
|
|
244
244
|
(0, mongoose_1.Prop)({ required: false }),
|
|
245
245
|
__metadata("design:type", String)
|
|
246
246
|
], CollectiveSite.prototype, "demoTemplateSourceId", void 0);
|
|
247
|
+
__decorate([
|
|
248
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
249
|
+
description: 'Import de consentement PDF autorisé pour ce projet collectif (admin) ; vaut pour tous ses compteurs',
|
|
250
|
+
}),
|
|
251
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|
|
252
|
+
(0, class_validator_1.IsOptional)(),
|
|
253
|
+
(0, class_validator_1.IsBoolean)(),
|
|
254
|
+
__metadata("design:type", Boolean)
|
|
255
|
+
], CollectiveSite.prototype, "consentUploadEnabled", void 0);
|
|
247
256
|
__decorate([
|
|
248
257
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
249
258
|
(0, class_validator_1.IsOptional)(),
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ export declare class Site {
|
|
|
92
92
|
connectingPower: number;
|
|
93
93
|
consentFileUrl?: string;
|
|
94
94
|
consentId?: string;
|
|
95
|
+
consentFraudConsentId?: string;
|
|
96
|
+
consentUploadEnabled?: boolean;
|
|
95
97
|
isValidateConsent?: boolean;
|
|
96
98
|
dateConsentCheck?: Date | string;
|
|
97
99
|
consumptionIndexes: number[][];
|
package/dist/core/Site.js
CHANGED
|
@@ -409,6 +409,24 @@ __decorate([
|
|
|
409
409
|
(0, class_validator_1.IsString)(),
|
|
410
410
|
__metadata("design:type", String)
|
|
411
411
|
], Site.prototype, "consentId", void 0);
|
|
412
|
+
__decorate([
|
|
413
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
414
|
+
description: 'Fiche de consentement marquée Fraude par un admin ; présent = projet bloqué jusqu’à revue Légitime',
|
|
415
|
+
}),
|
|
416
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
417
|
+
(0, class_validator_1.IsOptional)(),
|
|
418
|
+
(0, class_validator_1.IsString)(),
|
|
419
|
+
__metadata("design:type", String)
|
|
420
|
+
], Site.prototype, "consentFraudConsentId", void 0);
|
|
421
|
+
__decorate([
|
|
422
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
423
|
+
description: 'Import de consentement PDF autorisé pour ce projet (admin) ; sur un compteur ACC, c’est l’option du projet collectif qui compte',
|
|
424
|
+
}),
|
|
425
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|
|
426
|
+
(0, class_validator_1.IsOptional)(),
|
|
427
|
+
(0, class_validator_1.IsBoolean)(),
|
|
428
|
+
__metadata("design:type", Boolean)
|
|
429
|
+
], Site.prototype, "consentUploadEnabled", void 0);
|
|
412
430
|
__decorate([
|
|
413
431
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
414
432
|
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|