@likewatt/models 1.2.0 → 1.2.2
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.
- package/dist/core/Site.d.ts +27 -27
- package/dist/core/Site.js +54 -39
- package/dist/frontend/Site.types.d.ts +51 -48
- package/package.json +1 -1
package/dist/core/Site.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare class Site {
|
|
|
26
26
|
subscriptionRates: number;
|
|
27
27
|
address: string;
|
|
28
28
|
ratesOption: string;
|
|
29
|
-
owner
|
|
29
|
+
owner?: string;
|
|
30
30
|
name: string;
|
|
31
31
|
isC_AND_I: boolean;
|
|
32
32
|
addressDepartementNum: number;
|
|
@@ -37,47 +37,47 @@ export declare class Site {
|
|
|
37
37
|
reportURL: string;
|
|
38
38
|
enedisNumber: string;
|
|
39
39
|
strasbourgNumber: string;
|
|
40
|
-
startDate: Date;
|
|
41
|
-
endDate: Date;
|
|
42
|
-
automaticUpdateError?: string;
|
|
40
|
+
startDate: Date | string;
|
|
41
|
+
endDate: Date | string;
|
|
42
|
+
automaticUpdateError?: string | null;
|
|
43
43
|
scenario?: string;
|
|
44
44
|
user: string;
|
|
45
45
|
profile: Profiles;
|
|
46
46
|
collectiveSiteId?: string;
|
|
47
|
-
folder
|
|
47
|
+
folder: string;
|
|
48
48
|
initialOwner: string;
|
|
49
49
|
isExtractingData?: boolean;
|
|
50
50
|
customerInfos?: CustomerInfos;
|
|
51
|
-
TCSPE
|
|
52
|
-
TURPE_VERSION
|
|
53
|
-
_createdAt: Date;
|
|
54
|
-
_lastModified: Date;
|
|
55
|
-
_lastUpdated: string;
|
|
56
|
-
_step3
|
|
57
|
-
_step3At
|
|
58
|
-
analysisYear
|
|
59
|
-
buildingData?: BuildingData;
|
|
60
|
-
autoCO2
|
|
61
|
-
co2rate?: number;
|
|
51
|
+
TCSPE?: number;
|
|
52
|
+
TURPE_VERSION?: number;
|
|
53
|
+
_createdAt: Date | string;
|
|
54
|
+
_lastModified: Date | string;
|
|
55
|
+
_lastUpdated: Date | string;
|
|
56
|
+
_step3?: boolean;
|
|
57
|
+
_step3At?: Date | string;
|
|
58
|
+
analysisYear?: number;
|
|
59
|
+
buildingData?: BuildingData | null;
|
|
60
|
+
autoCO2: boolean;
|
|
61
|
+
co2rate?: number | null;
|
|
62
62
|
connectingPower: number;
|
|
63
|
-
consentFileUrl
|
|
64
|
-
consumptionIndexes
|
|
63
|
+
consentFileUrl?: string;
|
|
64
|
+
consumptionIndexes?: ConsumptionIndexes;
|
|
65
65
|
creator: string;
|
|
66
66
|
currency: string;
|
|
67
67
|
customerConsentEmail: string;
|
|
68
68
|
customerConsentFirstName: string;
|
|
69
69
|
customerConsentLastName: string;
|
|
70
|
-
dataIsHybridFrom
|
|
70
|
+
dataIsHybridFrom?: string;
|
|
71
71
|
dataSourceHistory: DataSourceHistory[];
|
|
72
|
-
dataSource
|
|
72
|
+
dataSource?: string;
|
|
73
73
|
selectedDataSource?: string;
|
|
74
74
|
disabled: boolean;
|
|
75
|
-
enedisBuffer
|
|
76
|
-
enedisData
|
|
75
|
+
enedisBuffer?: string;
|
|
76
|
+
enedisData?: boolean;
|
|
77
77
|
energyPricesTempo: EnergyPriceTempo[];
|
|
78
78
|
energyPricesWe: EnergyPrice[];
|
|
79
|
-
error
|
|
80
|
-
faltyPrm?: string;
|
|
79
|
+
error?: string;
|
|
80
|
+
faltyPrm?: string | null | boolean;
|
|
81
81
|
hasConsentData: boolean;
|
|
82
82
|
hasPeakHours: boolean;
|
|
83
83
|
hasWeekendPricing: boolean;
|
|
@@ -85,8 +85,8 @@ export declare class Site {
|
|
|
85
85
|
includeTVA: boolean;
|
|
86
86
|
isConsentMailSent: boolean;
|
|
87
87
|
isFullSellOut: boolean;
|
|
88
|
-
maxEndDate
|
|
89
|
-
maxStartDate
|
|
88
|
+
maxEndDate?: Date | string;
|
|
89
|
+
maxStartDate?: Date | string;
|
|
90
90
|
meterOwner: string;
|
|
91
91
|
monthlyConsumptionIndex: boolean;
|
|
92
92
|
restOfTheYearTarifs: RestOfTheYearTarifs;
|
|
@@ -95,7 +95,7 @@ export declare class Site {
|
|
|
95
95
|
tarifs: Tarif[];
|
|
96
96
|
tempoPricing: boolean;
|
|
97
97
|
timezone: number;
|
|
98
|
-
TMYstatus
|
|
98
|
+
TMYstatus?: number;
|
|
99
99
|
}
|
|
100
100
|
export type SiteDocument = Site & Document;
|
|
101
101
|
export declare const SiteSchema: import("mongoose").Schema<Site, import("mongoose").Model<Site, any, any, any, Document<unknown, any, Site, any, {}> & Site & Required<{
|
package/dist/core/Site.js
CHANGED
|
@@ -126,8 +126,9 @@ __decorate([
|
|
|
126
126
|
__metadata("design:type", String)
|
|
127
127
|
], Site.prototype, "ratesOption", void 0);
|
|
128
128
|
__decorate([
|
|
129
|
-
(0, swagger_1.
|
|
129
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
130
130
|
(0, mongoose_1.Prop)({ required: false }),
|
|
131
|
+
(0, class_validator_1.IsOptional)(),
|
|
131
132
|
(0, class_validator_1.IsString)(),
|
|
132
133
|
__metadata("design:type", String)
|
|
133
134
|
], Site.prototype, "owner", void 0);
|
|
@@ -195,20 +196,20 @@ __decorate([
|
|
|
195
196
|
(0, swagger_1.ApiProperty)(),
|
|
196
197
|
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
197
198
|
(0, class_validator_1.IsDate)(),
|
|
198
|
-
__metadata("design:type",
|
|
199
|
+
__metadata("design:type", Object)
|
|
199
200
|
], Site.prototype, "startDate", void 0);
|
|
200
201
|
__decorate([
|
|
201
202
|
(0, swagger_1.ApiProperty)(),
|
|
202
203
|
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
203
204
|
(0, class_validator_1.IsDate)(),
|
|
204
|
-
__metadata("design:type",
|
|
205
|
+
__metadata("design:type", Object)
|
|
205
206
|
], Site.prototype, "endDate", void 0);
|
|
206
207
|
__decorate([
|
|
207
208
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
208
209
|
(0, mongoose_1.Prop)(),
|
|
209
210
|
(0, class_validator_1.IsOptional)(),
|
|
210
211
|
(0, class_validator_1.IsString)(),
|
|
211
|
-
__metadata("design:type",
|
|
212
|
+
__metadata("design:type", Object)
|
|
212
213
|
], Site.prototype, "automaticUpdateError", void 0);
|
|
213
214
|
__decorate([
|
|
214
215
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
@@ -235,9 +236,8 @@ __decorate([
|
|
|
235
236
|
__metadata("design:type", String)
|
|
236
237
|
], Site.prototype, "collectiveSiteId", void 0);
|
|
237
238
|
__decorate([
|
|
238
|
-
(0, swagger_1.
|
|
239
|
-
(0, mongoose_1.Prop)(),
|
|
240
|
-
(0, class_validator_1.IsOptional)(),
|
|
239
|
+
(0, swagger_1.ApiProperty)(),
|
|
240
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
241
241
|
(0, class_validator_1.IsString)(),
|
|
242
242
|
__metadata("design:type", String)
|
|
243
243
|
], Site.prototype, "folder", void 0);
|
|
@@ -261,14 +261,16 @@ __decorate([
|
|
|
261
261
|
__metadata("design:type", customer_infos_model_1.CustomerInfos)
|
|
262
262
|
], Site.prototype, "customerInfos", void 0);
|
|
263
263
|
__decorate([
|
|
264
|
-
(0, swagger_1.
|
|
265
|
-
(0, mongoose_1.Prop)({ required:
|
|
264
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
265
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
266
|
+
(0, class_validator_1.IsOptional)(),
|
|
266
267
|
(0, class_validator_1.IsNumber)(),
|
|
267
268
|
__metadata("design:type", Number)
|
|
268
269
|
], Site.prototype, "TCSPE", void 0);
|
|
269
270
|
__decorate([
|
|
270
|
-
(0, swagger_1.
|
|
271
|
-
(0, mongoose_1.Prop)({ required:
|
|
271
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
272
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
273
|
+
(0, class_validator_1.IsOptional)(),
|
|
272
274
|
(0, class_validator_1.IsNumber)(),
|
|
273
275
|
__metadata("design:type", Number)
|
|
274
276
|
], Site.prototype, "TURPE_VERSION", void 0);
|
|
@@ -276,47 +278,50 @@ __decorate([
|
|
|
276
278
|
(0, swagger_1.ApiProperty)(),
|
|
277
279
|
(0, mongoose_1.Prop)({ type: Date, required: true }),
|
|
278
280
|
(0, class_validator_1.IsDate)(),
|
|
279
|
-
__metadata("design:type",
|
|
281
|
+
__metadata("design:type", Object)
|
|
280
282
|
], Site.prototype, "_createdAt", void 0);
|
|
281
283
|
__decorate([
|
|
282
284
|
(0, swagger_1.ApiProperty)(),
|
|
283
285
|
(0, mongoose_1.Prop)({ type: Date, required: true }),
|
|
284
286
|
(0, class_validator_1.IsDate)(),
|
|
285
|
-
__metadata("design:type",
|
|
287
|
+
__metadata("design:type", Object)
|
|
286
288
|
], Site.prototype, "_lastModified", void 0);
|
|
287
289
|
__decorate([
|
|
288
290
|
(0, swagger_1.ApiProperty)(),
|
|
289
291
|
(0, mongoose_1.Prop)({ required: false }),
|
|
290
292
|
(0, class_validator_1.IsString)(),
|
|
291
|
-
__metadata("design:type",
|
|
293
|
+
__metadata("design:type", Object)
|
|
292
294
|
], Site.prototype, "_lastUpdated", void 0);
|
|
293
295
|
__decorate([
|
|
294
|
-
(0, swagger_1.
|
|
296
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
295
297
|
(0, mongoose_1.Prop)({ required: false }),
|
|
298
|
+
(0, class_validator_1.IsOptional)(),
|
|
296
299
|
(0, class_validator_1.IsBoolean)(),
|
|
297
300
|
__metadata("design:type", Boolean)
|
|
298
301
|
], Site.prototype, "_step3", void 0);
|
|
299
302
|
__decorate([
|
|
300
|
-
(0, swagger_1.
|
|
303
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
301
304
|
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
305
|
+
(0, class_validator_1.IsOptional)(),
|
|
302
306
|
(0, class_validator_1.IsDate)(),
|
|
303
|
-
__metadata("design:type",
|
|
307
|
+
__metadata("design:type", Object)
|
|
304
308
|
], Site.prototype, "_step3At", void 0);
|
|
305
309
|
__decorate([
|
|
306
|
-
(0, swagger_1.
|
|
310
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
307
311
|
(0, mongoose_1.Prop)({ required: false }),
|
|
312
|
+
(0, class_validator_1.IsOptional)(),
|
|
308
313
|
(0, class_validator_1.IsNumber)(),
|
|
309
314
|
__metadata("design:type", Number)
|
|
310
315
|
], Site.prototype, "analysisYear", void 0);
|
|
311
316
|
__decorate([
|
|
312
|
-
(0, swagger_1.
|
|
317
|
+
(0, swagger_1.ApiPropertyOptional)({ type: building_data_1.BuildingData }),
|
|
313
318
|
(0, mongoose_1.Prop)({ type: building_data_1.BuildingData, required: false }),
|
|
314
|
-
|
|
319
|
+
(0, class_validator_1.IsOptional)(),
|
|
320
|
+
__metadata("design:type", Object)
|
|
315
321
|
], Site.prototype, "buildingData", void 0);
|
|
316
322
|
__decorate([
|
|
317
323
|
(0, swagger_1.ApiProperty)(),
|
|
318
|
-
(0, mongoose_1.Prop)({ type: Boolean, required:
|
|
319
|
-
(0, class_validator_1.IsOptional)(),
|
|
324
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: true, default: false }),
|
|
320
325
|
(0, class_validator_1.IsBoolean)(),
|
|
321
326
|
__metadata("design:type", Boolean)
|
|
322
327
|
], Site.prototype, "autoCO2", void 0);
|
|
@@ -325,7 +330,7 @@ __decorate([
|
|
|
325
330
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
326
331
|
(0, class_validator_1.IsOptional)(),
|
|
327
332
|
(0, class_validator_1.IsNumber)(),
|
|
328
|
-
__metadata("design:type",
|
|
333
|
+
__metadata("design:type", Object)
|
|
329
334
|
], Site.prototype, "co2rate", void 0);
|
|
330
335
|
__decorate([
|
|
331
336
|
(0, swagger_1.ApiProperty)(),
|
|
@@ -334,14 +339,16 @@ __decorate([
|
|
|
334
339
|
__metadata("design:type", Number)
|
|
335
340
|
], Site.prototype, "connectingPower", void 0);
|
|
336
341
|
__decorate([
|
|
337
|
-
(0, swagger_1.
|
|
342
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
338
343
|
(0, mongoose_1.Prop)({ required: false }),
|
|
344
|
+
(0, class_validator_1.IsOptional)(),
|
|
339
345
|
(0, class_validator_1.IsString)(),
|
|
340
346
|
__metadata("design:type", String)
|
|
341
347
|
], Site.prototype, "consentFileUrl", void 0);
|
|
342
348
|
__decorate([
|
|
343
|
-
(0, swagger_1.
|
|
349
|
+
(0, swagger_1.ApiPropertyOptional)({ type: consumption_indexes_1.ConsumptionIndexes }),
|
|
344
350
|
(0, mongoose_1.Prop)({ required: false }),
|
|
351
|
+
(0, class_validator_1.IsOptional)(),
|
|
345
352
|
__metadata("design:type", consumption_indexes_1.ConsumptionIndexes)
|
|
346
353
|
], Site.prototype, "consumptionIndexes", void 0);
|
|
347
354
|
__decorate([
|
|
@@ -375,8 +382,9 @@ __decorate([
|
|
|
375
382
|
__metadata("design:type", String)
|
|
376
383
|
], Site.prototype, "customerConsentLastName", void 0);
|
|
377
384
|
__decorate([
|
|
378
|
-
(0, swagger_1.
|
|
385
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
379
386
|
(0, mongoose_1.Prop)({ required: false }),
|
|
387
|
+
(0, class_validator_1.IsOptional)(),
|
|
380
388
|
(0, class_validator_1.IsString)(),
|
|
381
389
|
__metadata("design:type", String)
|
|
382
390
|
], Site.prototype, "dataIsHybridFrom", void 0);
|
|
@@ -387,8 +395,9 @@ __decorate([
|
|
|
387
395
|
__metadata("design:type", Array)
|
|
388
396
|
], Site.prototype, "dataSourceHistory", void 0);
|
|
389
397
|
__decorate([
|
|
390
|
-
(0, swagger_1.
|
|
391
|
-
(0, mongoose_1.Prop)({ required:
|
|
398
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
399
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
400
|
+
(0, class_validator_1.IsOptional)(),
|
|
392
401
|
(0, class_validator_1.IsString)(),
|
|
393
402
|
__metadata("design:type", String)
|
|
394
403
|
], Site.prototype, "dataSource", void 0);
|
|
@@ -400,19 +409,21 @@ __decorate([
|
|
|
400
409
|
], Site.prototype, "selectedDataSource", void 0);
|
|
401
410
|
__decorate([
|
|
402
411
|
(0, swagger_1.ApiProperty)(),
|
|
403
|
-
(0, mongoose_1.Prop)({ required:
|
|
412
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
404
413
|
(0, class_validator_1.IsBoolean)(),
|
|
405
414
|
__metadata("design:type", Boolean)
|
|
406
415
|
], Site.prototype, "disabled", void 0);
|
|
407
416
|
__decorate([
|
|
408
|
-
(0, swagger_1.
|
|
417
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
409
418
|
(0, mongoose_1.Prop)({ required: false }),
|
|
419
|
+
(0, class_validator_1.IsOptional)(),
|
|
410
420
|
(0, class_validator_1.IsString)(),
|
|
411
421
|
__metadata("design:type", String)
|
|
412
422
|
], Site.prototype, "enedisBuffer", void 0);
|
|
413
423
|
__decorate([
|
|
414
|
-
(0, swagger_1.
|
|
424
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
415
425
|
(0, mongoose_1.Prop)({ required: false }),
|
|
426
|
+
(0, class_validator_1.IsOptional)(),
|
|
416
427
|
(0, class_validator_1.IsBoolean)(),
|
|
417
428
|
__metadata("design:type", Boolean)
|
|
418
429
|
], Site.prototype, "enedisData", void 0);
|
|
@@ -429,8 +440,9 @@ __decorate([
|
|
|
429
440
|
__metadata("design:type", Array)
|
|
430
441
|
], Site.prototype, "energyPricesWe", void 0);
|
|
431
442
|
__decorate([
|
|
432
|
-
(0, swagger_1.
|
|
443
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
433
444
|
(0, mongoose_1.Prop)({ required: false }),
|
|
445
|
+
(0, class_validator_1.IsOptional)(),
|
|
434
446
|
(0, class_validator_1.IsString)(),
|
|
435
447
|
__metadata("design:type", String)
|
|
436
448
|
], Site.prototype, "error", void 0);
|
|
@@ -438,8 +450,7 @@ __decorate([
|
|
|
438
450
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
439
451
|
(0, mongoose_1.Prop)(),
|
|
440
452
|
(0, class_validator_1.IsOptional)(),
|
|
441
|
-
(
|
|
442
|
-
__metadata("design:type", String)
|
|
453
|
+
__metadata("design:type", Object)
|
|
443
454
|
], Site.prototype, "faltyPrm", void 0);
|
|
444
455
|
__decorate([
|
|
445
456
|
(0, swagger_1.ApiProperty)(),
|
|
@@ -484,16 +495,18 @@ __decorate([
|
|
|
484
495
|
__metadata("design:type", Boolean)
|
|
485
496
|
], Site.prototype, "isFullSellOut", void 0);
|
|
486
497
|
__decorate([
|
|
487
|
-
(0, swagger_1.
|
|
498
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
488
499
|
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
500
|
+
(0, class_validator_1.IsOptional)(),
|
|
489
501
|
(0, class_validator_1.IsDate)(),
|
|
490
|
-
__metadata("design:type",
|
|
502
|
+
__metadata("design:type", Object)
|
|
491
503
|
], Site.prototype, "maxEndDate", void 0);
|
|
492
504
|
__decorate([
|
|
493
|
-
(0, swagger_1.
|
|
505
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
494
506
|
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
507
|
+
(0, class_validator_1.IsOptional)(),
|
|
495
508
|
(0, class_validator_1.IsDate)(),
|
|
496
|
-
__metadata("design:type",
|
|
509
|
+
__metadata("design:type", Object)
|
|
497
510
|
], Site.prototype, "maxStartDate", void 0);
|
|
498
511
|
__decorate([
|
|
499
512
|
(0, swagger_1.ApiProperty)(),
|
|
@@ -543,7 +556,9 @@ __decorate([
|
|
|
543
556
|
__metadata("design:type", Number)
|
|
544
557
|
], Site.prototype, "timezone", void 0);
|
|
545
558
|
__decorate([
|
|
546
|
-
(0, swagger_1.
|
|
559
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
560
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
561
|
+
(0, class_validator_1.IsOptional)(),
|
|
547
562
|
(0, class_validator_1.IsNumber)(),
|
|
548
563
|
__metadata("design:type", Number)
|
|
549
564
|
], Site.prototype, "TMYstatus", void 0);
|
|
@@ -14,33 +14,34 @@ export interface Site {
|
|
|
14
14
|
id?: string;
|
|
15
15
|
country: string;
|
|
16
16
|
energyPrices: EnergyPrice[];
|
|
17
|
-
purchaseAreaOfTension
|
|
17
|
+
purchaseAreaOfTension?: string;
|
|
18
18
|
addressGeocode: number[];
|
|
19
19
|
peakHours: PeakHour[];
|
|
20
20
|
offPeakHours: OffPeakHour[];
|
|
21
21
|
type: SiteType;
|
|
22
|
-
purchaseMeterOwner
|
|
23
|
-
purchaseContractType
|
|
22
|
+
purchaseMeterOwner?: string;
|
|
23
|
+
purchaseContractType?: string;
|
|
24
24
|
description?: string;
|
|
25
|
-
subscriptionRates
|
|
25
|
+
subscriptionRates?: number;
|
|
26
26
|
address: string;
|
|
27
|
-
ratesOption
|
|
28
|
-
owner
|
|
27
|
+
ratesOption?: string;
|
|
28
|
+
owner?: string;
|
|
29
29
|
name: string;
|
|
30
|
-
isC_AND_I
|
|
30
|
+
isC_AND_I?: boolean;
|
|
31
31
|
addressDepartementNum: number;
|
|
32
32
|
addressZipCode: string;
|
|
33
33
|
subscribedPowers: EnergyPrice[];
|
|
34
34
|
addressCity: string;
|
|
35
35
|
addressDepartement: string;
|
|
36
|
-
reportURL
|
|
37
|
-
enedisNumber
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
reportURL?: string;
|
|
37
|
+
enedisNumber?: string;
|
|
38
|
+
strasbourgNumber?: string;
|
|
39
|
+
startDate?: Date | string;
|
|
40
|
+
endDate?: Date | string;
|
|
41
|
+
automaticUpdateError?: string | null;
|
|
41
42
|
scenario?: string;
|
|
42
43
|
user: string;
|
|
43
|
-
profile
|
|
44
|
+
profile?: Profiles;
|
|
44
45
|
collectiveSiteId?: string;
|
|
45
46
|
folder?: string;
|
|
46
47
|
initialOwner: string;
|
|
@@ -50,46 +51,48 @@ export interface Site {
|
|
|
50
51
|
TURPE_VERSION: number;
|
|
51
52
|
_createdAt: Date | string;
|
|
52
53
|
_lastModified: Date | string;
|
|
53
|
-
_lastUpdated
|
|
54
|
-
_step3
|
|
55
|
-
_step3At
|
|
56
|
-
analysisYear
|
|
57
|
-
buildingData?: BuildingData;
|
|
58
|
-
autoCO2?: boolean;
|
|
59
|
-
co2rate?: number;
|
|
54
|
+
_lastUpdated?: string;
|
|
55
|
+
_step3?: boolean;
|
|
56
|
+
_step3At?: Date | string;
|
|
57
|
+
analysisYear?: number;
|
|
58
|
+
buildingData?: BuildingData | null;
|
|
59
|
+
autoCO2?: boolean | null;
|
|
60
|
+
co2rate?: number | null;
|
|
60
61
|
connectingPower: number;
|
|
61
|
-
consentFileUrl
|
|
62
|
-
consumptionIndexes
|
|
63
|
-
creator
|
|
62
|
+
consentFileUrl?: string;
|
|
63
|
+
consumptionIndexes?: ConsumptionIndexes;
|
|
64
|
+
creator?: string;
|
|
64
65
|
currency: string;
|
|
65
|
-
customerConsentEmail
|
|
66
|
-
customerConsentFirstName
|
|
67
|
-
customerConsentLastName
|
|
68
|
-
dataIsHybridFrom
|
|
66
|
+
customerConsentEmail?: string;
|
|
67
|
+
customerConsentFirstName?: string;
|
|
68
|
+
customerConsentLastName?: string;
|
|
69
|
+
dataIsHybridFrom?: string;
|
|
69
70
|
dataSourceHistory: DataSourceHistory[];
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
dataSource: string;
|
|
72
|
+
selectedDataSource?: string;
|
|
73
|
+
disabled?: boolean;
|
|
74
|
+
enedisBuffer?: string;
|
|
75
|
+
enedisData?: boolean;
|
|
73
76
|
energyPricesTempo: EnergyPriceTempo[];
|
|
74
77
|
energyPricesWe: EnergyPrice[];
|
|
75
|
-
error
|
|
76
|
-
faltyPrm?: string;
|
|
77
|
-
hasConsentData
|
|
78
|
-
hasPeakHours
|
|
79
|
-
hasWeekendPricing
|
|
80
|
-
includeTURPE
|
|
81
|
-
includeTVA
|
|
82
|
-
isConsentMailSent
|
|
83
|
-
isFullSellOut
|
|
84
|
-
maxEndDate
|
|
85
|
-
maxStartDate
|
|
86
|
-
meterOwner
|
|
87
|
-
monthlyConsumptionIndex
|
|
88
|
-
restOfTheYearTarifs
|
|
89
|
-
siteHasData
|
|
90
|
-
tarifBuilder
|
|
78
|
+
error?: string;
|
|
79
|
+
faltyPrm?: string | null | boolean;
|
|
80
|
+
hasConsentData?: boolean;
|
|
81
|
+
hasPeakHours?: boolean;
|
|
82
|
+
hasWeekendPricing?: boolean;
|
|
83
|
+
includeTURPE?: boolean;
|
|
84
|
+
includeTVA?: boolean;
|
|
85
|
+
isConsentMailSent?: boolean;
|
|
86
|
+
isFullSellOut?: boolean;
|
|
87
|
+
maxEndDate?: Date | string;
|
|
88
|
+
maxStartDate?: Date | string;
|
|
89
|
+
meterOwner?: string;
|
|
90
|
+
monthlyConsumptionIndex?: boolean;
|
|
91
|
+
restOfTheYearTarifs?: RestOfTheYearTarifs;
|
|
92
|
+
siteHasData?: boolean;
|
|
93
|
+
tarifBuilder?: boolean;
|
|
91
94
|
tarifs: Tarif[];
|
|
92
|
-
tempoPricing
|
|
95
|
+
tempoPricing?: boolean;
|
|
93
96
|
timezone: number;
|
|
94
|
-
TMYstatus
|
|
97
|
+
TMYstatus?: number;
|
|
95
98
|
}
|