@likewatt/models 1.141.0 → 1.142.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.
@@ -92,6 +92,7 @@ export declare class Site {
92
92
  connectingPower: number;
93
93
  consentFileUrl?: string;
94
94
  consentId?: string;
95
+ consentFraudConsentId?: string;
95
96
  isValidateConsent?: boolean;
96
97
  dateConsentCheck?: Date | string;
97
98
  consumptionIndexes: number[][];
package/dist/core/Site.js CHANGED
@@ -409,6 +409,15 @@ __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);
412
421
  __decorate([
413
422
  (0, swagger_1.ApiPropertyOptional)(),
414
423
  (0, mongoose_1.Prop)({ type: Boolean, required: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.141.0",
3
+ "version": "1.142.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {