@likewatt/models 1.142.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.
@@ -36,6 +36,7 @@ export declare class CollectiveSite {
36
36
  buildingDataStatus?: BuildingDataStatus | null;
37
37
  auroraProjectId?: string | null;
38
38
  demoTemplateSourceId?: string;
39
+ consentUploadEnabled?: boolean;
39
40
  createdAt?: Date | string;
40
41
  updatedAt?: Date | string;
41
42
  }
@@ -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)(),
@@ -93,6 +93,7 @@ export declare class Site {
93
93
  consentFileUrl?: string;
94
94
  consentId?: string;
95
95
  consentFraudConsentId?: string;
96
+ consentUploadEnabled?: boolean;
96
97
  isValidateConsent?: boolean;
97
98
  dateConsentCheck?: Date | string;
98
99
  consumptionIndexes: number[][];
package/dist/core/Site.js CHANGED
@@ -418,6 +418,15 @@ __decorate([
418
418
  (0, class_validator_1.IsString)(),
419
419
  __metadata("design:type", String)
420
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);
421
430
  __decorate([
422
431
  (0, swagger_1.ApiPropertyOptional)(),
423
432
  (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.142.0",
3
+ "version": "1.143.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {