@likewatt/models 1.40.0 → 1.41.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.
@@ -8,9 +8,9 @@ import { BuildingData } from './internal/building-data';
8
8
  import { RestOfTheYearTarifs } from './internal/rest-of-the-years-tarif';
9
9
  import { DataSourceHistory } from './internal/data-source-history';
10
10
  import { EnergyPriceTempo } from './internal/energy-price-tempo.model';
11
- import { Rates } from './internal/rates';
12
11
  import { BuildingDataStatus } from './enums/BuildingDataStatus';
13
12
  import { Comments } from './internal/comments';
13
+ import { Rates } from './internal/rates';
14
14
  export declare class Site {
15
15
  readonly _id: string;
16
16
  country: string;
@@ -76,6 +76,7 @@ export declare class Site {
76
76
  error?: string;
77
77
  faltyPrm?: string | null | boolean;
78
78
  hasConsentData: boolean;
79
+ hasCsvData: boolean;
79
80
  hasPeakHours: boolean;
80
81
  hasWeekendPricing: boolean;
81
82
  includeTURPE: boolean;
package/dist/core/Site.js CHANGED
@@ -23,9 +23,9 @@ const building_data_1 = require("./internal/building-data");
23
23
  const rest_of_the_years_tarif_1 = require("./internal/rest-of-the-years-tarif");
24
24
  const data_source_history_1 = require("./internal/data-source-history");
25
25
  const energy_price_tempo_model_1 = require("./internal/energy-price-tempo.model");
26
- const rates_1 = require("./internal/rates");
27
26
  const BuildingDataStatus_1 = require("./enums/BuildingDataStatus");
28
27
  const comments_1 = require("./internal/comments");
28
+ const rates_1 = require("./internal/rates");
29
29
  let Site = class Site {
30
30
  };
31
31
  exports.Site = Site;
@@ -436,6 +436,12 @@ __decorate([
436
436
  (0, class_validator_1.IsBoolean)(),
437
437
  __metadata("design:type", Boolean)
438
438
  ], Site.prototype, "hasConsentData", void 0);
439
+ __decorate([
440
+ (0, swagger_1.ApiProperty)(),
441
+ (0, mongoose_1.Prop)({ required: false }),
442
+ (0, class_validator_1.IsBoolean)(),
443
+ __metadata("design:type", Boolean)
444
+ ], Site.prototype, "hasCsvData", void 0);
439
445
  __decorate([
440
446
  (0, swagger_1.ApiProperty)(),
441
447
  (0, mongoose_1.Prop)({ required: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {