@likewatt/models 1.145.0 → 1.146.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.
@@ -93,6 +93,7 @@ export declare class Site {
93
93
  consentFileUrl?: string;
94
94
  consentId?: string;
95
95
  consentFraudConsentId?: string;
96
+ consentResentAfterFraudAt?: Date | null;
96
97
  consentUploadEnabled?: boolean;
97
98
  isValidateConsent?: boolean;
98
99
  dateConsentCheck?: Date | string;
package/dist/core/Site.js CHANGED
@@ -418,6 +418,16 @@ __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: 'Date du dernier renvoi de la demande de consentement par e-mail sur un projet bloqué pour fraude ; absente ou null = aucun renvoi. Posée par la gateway, effacée au déblocage.',
424
+ }),
425
+ (0, mongoose_1.Prop)({ type: Date, required: false, default: undefined }),
426
+ (0, class_validator_1.IsOptional)(),
427
+ (0, class_validator_1.IsDate)(),
428
+ (0, class_transformer_1.Type)(() => Date),
429
+ __metadata("design:type", Object)
430
+ ], Site.prototype, "consentResentAfterFraudAt", void 0);
421
431
  __decorate([
422
432
  (0, swagger_1.ApiPropertyOptional)({
423
433
  description: 'Import de consentement PDF autorisé pour ce projet (admin) ; sur un compteur ACC, c’est l’option du projet collectif qui compte',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.145.0",
3
+ "version": "1.146.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {