@likewatt/models 1.25.1 → 1.27.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.
@@ -11,7 +11,7 @@ export declare class CollectiveSite {
11
11
  name: string;
12
12
  isC_AND_I: boolean;
13
13
  currency: string;
14
- autoCO2: boolean;
14
+ autoCo2: boolean;
15
15
  co2rate?: number | null;
16
16
  folder?: string;
17
17
  TCSPE?: number;
@@ -82,7 +82,7 @@ __decorate([
82
82
  (0, mongoose_1.Prop)({ type: Boolean, required: true, default: false }),
83
83
  (0, class_validator_1.IsBoolean)(),
84
84
  __metadata("design:type", Boolean)
85
- ], CollectiveSite.prototype, "autoCO2", void 0);
85
+ ], CollectiveSite.prototype, "autoCo2", void 0);
86
86
  __decorate([
87
87
  (0, swagger_1.ApiProperty)(),
88
88
  (0, mongoose_1.Prop)({ type: Number, required: false }),
@@ -55,7 +55,7 @@ export declare class Site {
55
55
  analysisYear?: number;
56
56
  buildingData?: BuildingData | null;
57
57
  buildingDataStatus?: BuildingDataStatus | null;
58
- autoCO2: boolean;
58
+ autoCo2: boolean;
59
59
  co2rate?: number | null;
60
60
  connectingPower: number;
61
61
  consentFileUrl?: string;
package/dist/core/Site.js CHANGED
@@ -308,7 +308,7 @@ __decorate([
308
308
  (0, mongoose_1.Prop)({ type: Boolean, required: true, default: false }),
309
309
  (0, class_validator_1.IsBoolean)(),
310
310
  __metadata("design:type", Boolean)
311
- ], Site.prototype, "autoCO2", void 0);
311
+ ], Site.prototype, "autoCo2", void 0);
312
312
  __decorate([
313
313
  (0, swagger_1.ApiProperty)(),
314
314
  (0, mongoose_1.Prop)({ type: Number, required: false }),
@@ -4,15 +4,14 @@ export declare enum SiteType {
4
4
  CONSUMER_PLUS = "CONSUMER_PLUS"
5
5
  }
6
6
  export declare enum Profiles {
7
- 'NONE' = "NONE",
7
+ 'NONE' = "",
8
8
  'RES_BASE_INF_6' = "RES_BASE_INF_6",
9
9
  'RES_BASE_SUP_6' = "RES_BASE_SUP_6",
10
10
  RES_HP_HC = "RES_HP_HC",
11
11
  PRO_BASE = "PRO_BASE",
12
12
  PRO_HP_HC = "PRO_HP_HC",
13
13
  ENT_BT_SUP = "ENT_BT_SUP",
14
- ENT_HTA = "ENT_HTA",
15
- BBR = "BBR"
14
+ ENT_HTA = "ENT_HTA"
16
15
  }
17
16
  export declare enum FinancingTypeEnum {
18
17
  INVESTMENT = "Investissement",
@@ -9,7 +9,7 @@ var SiteType;
9
9
  })(SiteType || (exports.SiteType = SiteType = {}));
10
10
  var Profiles;
11
11
  (function (Profiles) {
12
- Profiles["NONE"] = "NONE";
12
+ Profiles["NONE"] = "";
13
13
  Profiles["RES_BASE_INF_6"] = "RES_BASE_INF_6";
14
14
  Profiles["RES_BASE_SUP_6"] = "RES_BASE_SUP_6";
15
15
  Profiles["RES_HP_HC"] = "RES_HP_HC";
@@ -17,7 +17,6 @@ var Profiles;
17
17
  Profiles["PRO_HP_HC"] = "PRO_HP_HC";
18
18
  Profiles["ENT_BT_SUP"] = "ENT_BT_SUP";
19
19
  Profiles["ENT_HTA"] = "ENT_HTA";
20
- Profiles["BBR"] = "BBR";
21
20
  })(Profiles || (exports.Profiles = Profiles = {}));
22
21
  var FinancingTypeEnum;
23
22
  (function (FinancingTypeEnum) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.25.1",
3
+ "version": "1.27.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {