@likewatt/models 1.144.2 → 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.
|
@@ -37,6 +37,7 @@ export declare class CollectiveSite {
|
|
|
37
37
|
auroraProjectId?: string | null;
|
|
38
38
|
demoTemplateSourceId?: string;
|
|
39
39
|
consentUploadEnabled?: boolean;
|
|
40
|
+
consentFraudConsentId?: string | null;
|
|
40
41
|
deletedAt?: Date | null;
|
|
41
42
|
createdAt?: Date | string;
|
|
42
43
|
updatedAt?: Date | string;
|
|
@@ -254,6 +254,15 @@ __decorate([
|
|
|
254
254
|
(0, class_validator_1.IsBoolean)(),
|
|
255
255
|
__metadata("design:type", Boolean)
|
|
256
256
|
], CollectiveSite.prototype, "consentUploadEnabled", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
259
|
+
description: "Demande de consentement groupée jugée Fraude avant toute création de compteur : bloque le collectif jusqu'à revue Légitime",
|
|
260
|
+
}),
|
|
261
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
262
|
+
(0, class_validator_1.IsOptional)(),
|
|
263
|
+
(0, class_validator_1.IsString)(),
|
|
264
|
+
__metadata("design:type", Object)
|
|
265
|
+
], CollectiveSite.prototype, "consentFraudConsentId", void 0);
|
|
257
266
|
__decorate([
|
|
258
267
|
(0, swagger_1.ApiPropertyOptional)({
|
|
259
268
|
description: 'Date de suppression (passage au compte support) ; absente ou null = projet actif. Posée et effacée par la gateway.',
|
package/dist/core/Consent.d.ts
CHANGED
package/dist/core/Consent.js
CHANGED
|
@@ -262,7 +262,12 @@ __decorate([
|
|
|
262
262
|
], Consent.prototype, "pdls", void 0);
|
|
263
263
|
__decorate([
|
|
264
264
|
(0, swagger_1.ApiPropertyOptional)({ description: 'Projet collectif couvert (cas ACC)' }),
|
|
265
|
-
(0, mongoose_1.Prop)({
|
|
265
|
+
(0, mongoose_1.Prop)({
|
|
266
|
+
type: String,
|
|
267
|
+
ref: 'CollectiveSite',
|
|
268
|
+
required: false,
|
|
269
|
+
index: true,
|
|
270
|
+
}),
|
|
266
271
|
(0, class_validator_1.IsOptional)(),
|
|
267
272
|
(0, class_validator_1.IsString)(),
|
|
268
273
|
__metadata("design:type", String)
|
|
@@ -288,6 +293,17 @@ __decorate([
|
|
|
288
293
|
(0, class_validator_1.IsDate)(),
|
|
289
294
|
__metadata("design:type", Date)
|
|
290
295
|
], Consent.prototype, "metersGeneratedAt", void 0);
|
|
296
|
+
__decorate([
|
|
297
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
298
|
+
description: "Gestionnaire de réseau des PDL d'une demande ACC groupée, " +
|
|
299
|
+
'déduit de leur format (une demande ne mélange jamais les deux).',
|
|
300
|
+
enum: ['ENEDIS', 'STRASBOURG'],
|
|
301
|
+
}),
|
|
302
|
+
(0, mongoose_1.Prop)({ type: String, enum: ['ENEDIS', 'STRASBOURG'], required: false }),
|
|
303
|
+
(0, class_validator_1.IsOptional)(),
|
|
304
|
+
(0, class_validator_1.IsIn)(['ENEDIS', 'STRASBOURG']),
|
|
305
|
+
__metadata("design:type", String)
|
|
306
|
+
], Consent.prototype, "network", void 0);
|
|
291
307
|
__decorate([
|
|
292
308
|
(0, swagger_1.ApiPropertyOptional)({
|
|
293
309
|
description: 'Clé du fichier de consentement (voie upload)',
|
package/dist/core/Site.d.ts
CHANGED
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',
|