@golemio/energetics 1.3.5-dev.1303489602 → 1.3.5-dev.1313991887

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.
@@ -1,65 +1,65 @@
1
- import { Geometry } from "@golemio/core/dist/shared/geojson";
1
+ import { IGeoCoordinatesPoint } from "@golemio/core/dist/output-gateway/Geo";
2
2
  export interface IFullTransformationSchemaItem {
3
3
  id: number;
4
4
  name: string | null;
5
- mainUse: string | null;
6
- methodOfProtection: string | null;
5
+ main_use: string | null;
6
+ method_of_protection: string | null;
7
7
  address: {
8
8
  city: string | null;
9
9
  country: string | null;
10
- houseNumber: string | null;
10
+ house_number: string | null;
11
11
  mail: string | null;
12
12
  phone: string | null;
13
13
  street: string | null;
14
- webAddress: string | null;
14
+ web_address: string | null;
15
15
  } | null;
16
- allotmentNumber: string | null;
17
- bedsCount: number | null;
18
- buildingAddressCode: string | null;
19
- buildingEnvelope: {
20
- fillingOfHole: {
16
+ allotment_number: string | null;
17
+ beds_count: number | null;
18
+ building_address_code: string | null;
19
+ building_envelope: {
20
+ filling_of_hole: {
21
21
  area: number | null;
22
22
  construction: string | null;
23
- technicalCondition: string | null;
24
- yearOfAdjustment: string | null;
23
+ technical_condition: string | null;
24
+ year_of_adjustment: string | null;
25
25
  } | null;
26
- floorOfTheLowestHeatedFloor: {
26
+ floor_of_the_lowest_heated_floor: {
27
27
  area: number | null;
28
28
  construction: string | null;
29
- yearOfAdjustment: string | null;
30
- technicalCondition: string | null;
31
- thermalInsulation: string | null;
29
+ year_of_adjustment: string | null;
30
+ technical_condition: string | null;
31
+ thermal_insulation: string | null;
32
32
  } | null;
33
33
  roof: {
34
34
  area: number | null;
35
35
  construction: string | null;
36
- technicalCondition: string | null;
37
- thermalInsulation: string | null;
38
- yearOfAdjustment: string | null;
36
+ technical_condition: string | null;
37
+ thermal_insulation: string | null;
38
+ year_of_adjustment: string | null;
39
39
  } | null;
40
- sideWall: {
40
+ side_wall: {
41
41
  area: number | null;
42
- heatInsulation: string | null;
43
- prevailingConstruction: string | null;
44
- technicalCondition: string | null;
45
- yearOfAdjustment: string | null;
42
+ heat_insulation: string | null;
43
+ prevailing_construction: string | null;
44
+ technical_condition: string | null;
45
+ year_of_adjustment: string | null;
46
46
  } | null;
47
47
  } | null;
48
48
  label: string | null;
49
- builtUpArea: number | null;
50
- classroomsCount: number | null;
51
- csuCode: string | null;
52
- currentNote: string | null;
49
+ built_up_area: number | null;
50
+ classrooms_count: number | null;
51
+ csu_code: string | null;
52
+ current_note: string | null;
53
53
  description: string | null;
54
- employeesCount: number | null;
55
- energeticManagement: string | null;
56
- energyAudits: {
57
- createdAt: string | null;
58
- eaRegistrationNumber: string | null;
59
- energyAudit: string | null;
54
+ employees_count: number | null;
55
+ energetic_management: string | null;
56
+ energy_audits: {
57
+ created_at: string | null;
58
+ ea_registration_number: string | null;
59
+ energy_audit: string | null;
60
60
  } | null;
61
- enoId: string | null;
62
- fuelAndEnergy: {
61
+ eno_id: string | null;
62
+ fuel_and_energy: {
63
63
  coal: boolean | null;
64
64
  czt: boolean | null;
65
65
  electricity: boolean | null;
@@ -67,90 +67,90 @@ export interface IFullTransformationSchemaItem {
67
67
  other: boolean | null;
68
68
  oze: boolean | null;
69
69
  } | null;
70
- heatedBuldingVolume: number | null;
71
- kuCode: string | null;
72
- location: Geometry;
70
+ heated_bulding_volume: number | null;
71
+ ku_code: string | null;
72
+ location: IGeoCoordinatesPoint | null;
73
73
  link: string;
74
- ozeEnergyProduction: {
75
- heatPump: string | null;
76
- integratedTurbinesWindEnergy: string | null;
77
- solarEnergyPhotothermal: string | null;
78
- solarEnergyPhotovoltaic: string | null;
74
+ oze_energy_production: {
75
+ heat_pump: string | null;
76
+ integrated_turbines_wind_energy: string | null;
77
+ solar_energy_photothermal: string | null;
78
+ solar_energy_photovoltaic: string | null;
79
79
  } | null;
80
80
  penb: {
81
- buildingEnvelope: number | null;
82
- buildingEnvelopeCategory: string | null;
81
+ building_envelope: number | null;
82
+ building_envelope_category: string | null;
83
83
  cooling: number | null;
84
- coolingCategory: string | null;
84
+ cooling_category: string | null;
85
85
  heating: number | null;
86
- heatingCategory: string | null;
87
- humidityAdjustment: number | null;
88
- humidityAdjustmentCategory: string | null;
89
- issueDate: string | null;
86
+ heating_category: string | null;
87
+ humidity_adjustment: number | null;
88
+ humidity_adjustment_category: string | null;
89
+ issue_date: string | null;
90
90
  lighting: number | null;
91
- lightingCategory: string | null;
92
- penbNumber: number | null;
93
- primaryNonRenewableEnergy: number | null;
94
- primaryNonRenewableEnergyCategory: string | null;
95
- totalBuildingEnvelopeArea: number | null;
96
- totalEnergyReferenceArea: number | null;
97
- totalProvidedEnergy: number | null;
98
- totalProvidedEnergyCategory: string | null;
91
+ lighting_category: string | null;
92
+ penb_number: number | null;
93
+ primary_non_renewable_energy: number | null;
94
+ primary_non_renewable_energy_category: string | null;
95
+ total_building_envelope_area: number | null;
96
+ total_energy_reference_area: number | null;
97
+ total_provided_energy: number | null;
98
+ total_provided_energy_category: string | null;
99
99
  ventilation: number | null;
100
- ventilationCategory: string | null;
101
- volumeFactorOfAVShape: string | null;
102
- warmWater: number | null;
103
- warmWaterCategory: string | null;
100
+ ventilation_category: string | null;
101
+ volume_factor_of_av_shape: string | null;
102
+ warm_water: number | null;
103
+ warm_water_category: string | null;
104
104
  } | null;
105
- registrationUnit: string | null;
106
- secondaryUse: string | null;
107
- studentsCount: number | null;
108
- technicalEquipment: {
105
+ registration_unit: string | null;
106
+ secondary_use: string | null;
107
+ students_count: number | null;
108
+ technical_equipment: {
109
109
  cooling: {
110
- coolingAreaPercentage: number | null;
111
- coolingSystem: string | null;
112
- technicalCondition: string | null;
110
+ cooling_area_percentage: number | null;
111
+ cooling_system: string | null;
112
+ technical_condition: string | null;
113
113
  year: string | null;
114
114
  } | null;
115
115
  heating: {
116
- heatPercentage: number | null;
117
- heatingSystem: string | null;
118
- mainSourceOfHeat: string | null;
119
- secondarySourceOfHeat: string | null;
120
- technicalCondition: string | null;
116
+ heat_percentage: number | null;
117
+ heating_system: string | null;
118
+ main_source_of_heat: string | null;
119
+ secondary_source_of_heat: string | null;
120
+ technical_condition: string | null;
121
121
  year: string | null;
122
122
  } | null;
123
- hotWater: {
124
- hotWaterSource: string | null;
125
- predominantWayOfHeatingTv: string | null;
126
- technicalCondition: string | null;
123
+ hot_water: {
124
+ hot_water_source: string | null;
125
+ predominant_way_of_heating_tv: string | null;
126
+ technical_condition: string | null;
127
127
  year: string | null;
128
128
  } | null;
129
- humidityAdjustment: {
130
- humidityAdjustment: string | null;
131
- technicalCondition: string | null;
129
+ humidity_adjustment: {
130
+ humidity_adjustment: string | null;
131
+ technical_condition: string | null;
132
132
  year: string | null;
133
133
  } | null;
134
134
  lighting: {
135
135
  lighting: string | null;
136
- measurementMethod: string | null;
137
- otherTechnologicalElements: string | null;
138
- technicalCondition: string | null;
136
+ measurement_method: string | null;
137
+ other_technological_elements: string | null;
138
+ technical_condition: string | null;
139
139
  year: string | null;
140
140
  } | null;
141
141
  ventilation: {
142
- technicalCondition: string | null;
142
+ technical_condition: string | null;
143
143
  ventilation: string | null;
144
144
  year: string | null;
145
145
  } | null;
146
146
  } | null;
147
- wasteAndEmissions: {
148
- operatingCo2Emissions: string | null;
149
- solidWasteProduction: string | null;
150
- soxEmissions: string | null;
151
- tiedCo2Emissions: string | null;
147
+ waste_and_emissions: {
148
+ operating_co2_emissions: string | null;
149
+ solid_waste_production: string | null;
150
+ sox_emissions: string | null;
151
+ tied_co2_emissions: string | null;
152
152
  } | null;
153
- weekendOpeningHours: string | null;
154
- openingHours: string | null;
155
- yearOfConstruction: number | null;
153
+ weekend_opening_hours: string | null;
154
+ opening_hours: string | null;
155
+ year_of_construction: number | null;
156
156
  }
@@ -1,4 +1,4 @@
1
- import { Geometry } from "@golemio/core/dist/shared/geojson";
1
+ import { IGeoCoordinatesPoint } from "@golemio/core/dist/output-gateway/Geo";
2
2
  export interface ISecondaryBuildingsOutput {
3
3
  address_house_number: string | null;
4
4
  allotment_number: string | null;
@@ -22,7 +22,7 @@ export interface ISecondaryBuildingsOutput {
22
22
  energetic_management: string | null;
23
23
  opening_hours: string | null;
24
24
  weekend_opening_hours: string | null;
25
- location: Geometry;
25
+ location: IGeoCoordinatesPoint | null;
26
26
  address_street: string | null;
27
27
  address_house_string: string | null;
28
28
  address_city: string | null;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.v2BuildingsRouter = exports.BuildingsRouter = void 0;
4
+ const Links_1 = require("../../constants/Links");
5
+ const RouteVersion_1 = require("../../constants/RouteVersion");
4
6
  const BuildingsController_1 = require("../../controllers/v2/BuildingsController");
5
7
  const Di_1 = require("../../ioc/Di");
6
8
  const AbstractRouter_1 = require("@golemio/core/dist/helpers/routing/AbstractRouter");
@@ -9,7 +11,7 @@ const ioc_1 = require("@golemio/core/dist/output-gateway/ioc");
9
11
  const express_validator_1 = require("@golemio/core/dist/shared/express-validator");
10
12
  class BuildingsRouter extends AbstractRouter_1.AbstractRouter {
11
13
  constructor() {
12
- super("v2", "buildings");
14
+ super(RouteVersion_1.RouteVersion.v2, Links_1.BUILDING_PATH);
13
15
  this.maxAge = 6 * 60 * 60; // 6 hours
14
16
  this.controller = new BuildingsController_1.BuildingsController();
15
17
  this.cacheHeaderMiddleware = Di_1.OGEnergeticsContainer.resolve(ioc_1.ContainerToken.CacheHeaderMiddleware);
@@ -1 +1 @@
1
- {"version":3,"file":"BuildingsRouter.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/v2/BuildingsRouter.ts"],"names":[],"mappings":";;;AAAA,kFAA6E;AAC7E,qCAAmD;AACnD,sFAAmF;AAEnF,6EAA2E;AAC3E,+DAAuE;AACvE,mFAAoE;AAEpE,MAAa,eAAgB,SAAQ,+BAAc;IAK/C;QACI,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QAHrB,WAAM,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CA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IAAI,CAAC,qBAAqB,GAAG,0BAAqB,CAAC,OAAO,CAAwB,oBAAc,CAAC,qBAAqB,CAAC,CAAC;QACxH,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IAES,UAAU;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QACpG,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,MAAM,EACN,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,EACrD,IAAA,yBAAK,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAChD,wBAAW,EACX,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;IACN,CAAC;CACJ;AAtBD,0CAsBC;AAED,MAAM,iBAAiB,GAAmB,IAAI,eAAe,EAAE,CAAC;AAEvD,8CAAiB"}
@@ -24,72 +24,72 @@ let BuildingTransformationFull = exports.BuildingTransformationFull = class Buil
24
24
  return {
25
25
  id: element.id,
26
26
  name: element.building_name,
27
- mainUse: element.main_use,
28
- methodOfProtection: (_b = (_a = element.secondary) === null || _a === void 0 ? void 0 : _a.method_of_protection) !== null && _b !== void 0 ? _b : null,
27
+ main_use: element.main_use,
28
+ method_of_protection: (_b = (_a = element.secondary) === null || _a === void 0 ? void 0 : _a.method_of_protection) !== null && _b !== void 0 ? _b : null,
29
29
  address: {
30
30
  city: (_d = (_c = element.secondary) === null || _c === void 0 ? void 0 : _c.address_city) !== null && _d !== void 0 ? _d : null,
31
31
  country: (_f = (_e = element.secondary) === null || _e === void 0 ? void 0 : _e.address_country) !== null && _f !== void 0 ? _f : null,
32
- houseNumber: (_h = (_g = element.secondary) === null || _g === void 0 ? void 0 : _g.address_house_number) !== null && _h !== void 0 ? _h : null,
32
+ house_number: (_h = (_g = element.secondary) === null || _g === void 0 ? void 0 : _g.address_house_number) !== null && _h !== void 0 ? _h : null,
33
33
  mail: (_k = (_j = element.secondary) === null || _j === void 0 ? void 0 : _j.address_mail) !== null && _k !== void 0 ? _k : null,
34
34
  phone: (_m = (_l = element.secondary) === null || _l === void 0 ? void 0 : _l.address_phone) !== null && _m !== void 0 ? _m : null,
35
35
  street: (_p = (_o = element.secondary) === null || _o === void 0 ? void 0 : _o.address_street) !== null && _p !== void 0 ? _p : null,
36
- webAddress: (_r = (_q = element.secondary) === null || _q === void 0 ? void 0 : _q.address_web_address) !== null && _r !== void 0 ? _r : null,
36
+ web_address: (_r = (_q = element.secondary) === null || _q === void 0 ? void 0 : _q.address_web_address) !== null && _r !== void 0 ? _r : null,
37
37
  },
38
- allotmentNumber: (_t = (_s = element.secondary) === null || _s === void 0 ? void 0 : _s.allotment_number) !== null && _t !== void 0 ? _t : null,
39
- bedsCount: ((_u = element.secondary) === null || _u === void 0 ? void 0 : _u.beds_count) ? parseFloat(element.secondary.beds_count) : null,
40
- buildingAddressCode: (_w = (_v = element.secondary) === null || _v === void 0 ? void 0 : _v.building_address_code) !== null && _w !== void 0 ? _w : null,
41
- buildingEnvelope: {
42
- fillingOfHole: {
38
+ allotment_number: (_t = (_s = element.secondary) === null || _s === void 0 ? void 0 : _s.allotment_number) !== null && _t !== void 0 ? _t : null,
39
+ beds_count: ((_u = element.secondary) === null || _u === void 0 ? void 0 : _u.beds_count) ? parseFloat(element.secondary.beds_count) : null,
40
+ building_address_code: (_w = (_v = element.secondary) === null || _v === void 0 ? void 0 : _v.building_address_code) !== null && _w !== void 0 ? _w : null,
41
+ building_envelope: {
42
+ filling_of_hole: {
43
43
  area: ((_x = element.secondary) === null || _x === void 0 ? void 0 : _x.building_envelope_filling_of_hole_area)
44
44
  ? parseFloat(element.secondary.building_envelope_filling_of_hole_area)
45
45
  : null,
46
46
  construction: (_z = (_y = element.secondary) === null || _y === void 0 ? void 0 : _y.building_envelope_filling_of_hole_construction) !== null && _z !== void 0 ? _z : null,
47
- technicalCondition: (_1 = (_0 = element.secondary) === null || _0 === void 0 ? void 0 : _0.building_envelope_filling_of_hole_technical_condition) !== null && _1 !== void 0 ? _1 : null,
48
- yearOfAdjustment: (_3 = (_2 = element.secondary) === null || _2 === void 0 ? void 0 : _2.building_envelope_filling_of_hole_year_of_adjustment) !== null && _3 !== void 0 ? _3 : null,
47
+ technical_condition: (_1 = (_0 = element.secondary) === null || _0 === void 0 ? void 0 : _0.building_envelope_filling_of_hole_technical_condition) !== null && _1 !== void 0 ? _1 : null,
48
+ year_of_adjustment: (_3 = (_2 = element.secondary) === null || _2 === void 0 ? void 0 : _2.building_envelope_filling_of_hole_year_of_adjustment) !== null && _3 !== void 0 ? _3 : null,
49
49
  },
50
- floorOfTheLowestHeatedFloor: {
50
+ floor_of_the_lowest_heated_floor: {
51
51
  area: ((_4 = element.secondary) === null || _4 === void 0 ? void 0 : _4.building_envelope_floor_of_the_lowest_heated_floor_area)
52
52
  ? parseFloat(element.secondary.building_envelope_floor_of_the_lowest_heated_floor_area)
53
53
  : null,
54
54
  construction: (_6 = (_5 = element.secondary) === null || _5 === void 0 ? void 0 : _5.building_envelope_floor_of_the_lowest_heated_floor_construction) !== null && _6 !== void 0 ? _6 : null,
55
- yearOfAdjustment: (_8 = (_7 = element.secondary) === null || _7 === void 0 ? void 0 : _7.building_envelope_floor_of_the_lowest_heated_floor_year_of_adju) !== null && _8 !== void 0 ? _8 : null,
56
- technicalCondition: (_10 = (_9 = element.secondary) === null || _9 === void 0 ? void 0 : _9.floor_of_the_lowest_heated_floor_technical_condition) !== null && _10 !== void 0 ? _10 : null,
57
- thermalInsulation: (_12 = (_11 = element.secondary) === null || _11 === void 0 ? void 0 : _11.floor_of_the_lowest_heated_floor_thermal_insulation) !== null && _12 !== void 0 ? _12 : null,
55
+ year_of_adjustment: (_8 = (_7 = element.secondary) === null || _7 === void 0 ? void 0 : _7.building_envelope_floor_of_the_lowest_heated_floor_year_of_adju) !== null && _8 !== void 0 ? _8 : null,
56
+ technical_condition: (_10 = (_9 = element.secondary) === null || _9 === void 0 ? void 0 : _9.floor_of_the_lowest_heated_floor_technical_condition) !== null && _10 !== void 0 ? _10 : null,
57
+ thermal_insulation: (_12 = (_11 = element.secondary) === null || _11 === void 0 ? void 0 : _11.floor_of_the_lowest_heated_floor_thermal_insulation) !== null && _12 !== void 0 ? _12 : null,
58
58
  },
59
59
  roof: {
60
60
  area: ((_13 = element.secondary) === null || _13 === void 0 ? void 0 : _13.building_envelope_roof_area)
61
61
  ? parseFloat(element.secondary.building_envelope_roof_area)
62
62
  : null,
63
63
  construction: (_15 = (_14 = element.secondary) === null || _14 === void 0 ? void 0 : _14.building_envelope_roof_construction) !== null && _15 !== void 0 ? _15 : null,
64
- technicalCondition: (_17 = (_16 = element.secondary) === null || _16 === void 0 ? void 0 : _16.building_envelope_roof_technical_condition) !== null && _17 !== void 0 ? _17 : null,
65
- thermalInsulation: (_19 = (_18 = element.secondary) === null || _18 === void 0 ? void 0 : _18.building_envelope_roof_thermal_insulation) !== null && _19 !== void 0 ? _19 : null,
66
- yearOfAdjustment: (_21 = (_20 = element.secondary) === null || _20 === void 0 ? void 0 : _20.building_envelope_roof_year_of_adjustment) !== null && _21 !== void 0 ? _21 : null,
64
+ technical_condition: (_17 = (_16 = element.secondary) === null || _16 === void 0 ? void 0 : _16.building_envelope_roof_technical_condition) !== null && _17 !== void 0 ? _17 : null,
65
+ thermal_insulation: (_19 = (_18 = element.secondary) === null || _18 === void 0 ? void 0 : _18.building_envelope_roof_thermal_insulation) !== null && _19 !== void 0 ? _19 : null,
66
+ year_of_adjustment: (_21 = (_20 = element.secondary) === null || _20 === void 0 ? void 0 : _20.building_envelope_roof_year_of_adjustment) !== null && _21 !== void 0 ? _21 : null,
67
67
  },
68
- sideWall: {
68
+ side_wall: {
69
69
  area: ((_22 = element.secondary) === null || _22 === void 0 ? void 0 : _22.building_envelope_side_wall_area)
70
70
  ? parseFloat(element.secondary.building_envelope_side_wall_area)
71
71
  : null,
72
- heatInsulation: (_24 = (_23 = element.secondary) === null || _23 === void 0 ? void 0 : _23.building_envelope_side_wall_heat_insulation) !== null && _24 !== void 0 ? _24 : null,
73
- prevailingConstruction: (_26 = (_25 = element.secondary) === null || _25 === void 0 ? void 0 : _25.building_envelope_side_wall_prevailing_construction) !== null && _26 !== void 0 ? _26 : null,
74
- technicalCondition: (_28 = (_27 = element.secondary) === null || _27 === void 0 ? void 0 : _27.building_envelope_side_wall_technical_condition) !== null && _28 !== void 0 ? _28 : null,
75
- yearOfAdjustment: (_30 = (_29 = element.secondary) === null || _29 === void 0 ? void 0 : _29.building_envelope_side_wall_year_of_adjustment) !== null && _30 !== void 0 ? _30 : null,
72
+ heat_insulation: (_24 = (_23 = element.secondary) === null || _23 === void 0 ? void 0 : _23.building_envelope_side_wall_heat_insulation) !== null && _24 !== void 0 ? _24 : null,
73
+ prevailing_construction: (_26 = (_25 = element.secondary) === null || _25 === void 0 ? void 0 : _25.building_envelope_side_wall_prevailing_construction) !== null && _26 !== void 0 ? _26 : null,
74
+ technical_condition: (_28 = (_27 = element.secondary) === null || _27 === void 0 ? void 0 : _27.building_envelope_side_wall_technical_condition) !== null && _28 !== void 0 ? _28 : null,
75
+ year_of_adjustment: (_30 = (_29 = element.secondary) === null || _29 === void 0 ? void 0 : _29.building_envelope_side_wall_year_of_adjustment) !== null && _30 !== void 0 ? _30 : null,
76
76
  },
77
77
  },
78
78
  label: (_32 = (_31 = element.secondary) === null || _31 === void 0 ? void 0 : _31.building_label) !== null && _32 !== void 0 ? _32 : null,
79
- builtUpArea: ((_33 = element.secondary) === null || _33 === void 0 ? void 0 : _33.built_up_area) ? parseFloat(element.secondary.built_up_area) : null,
80
- classroomsCount: ((_34 = element.secondary) === null || _34 === void 0 ? void 0 : _34.classrooms_count) ? parseFloat(element.secondary.classrooms_count) : null,
81
- csuCode: (_36 = (_35 = element.secondary) === null || _35 === void 0 ? void 0 : _35.csu_code) !== null && _36 !== void 0 ? _36 : null,
82
- currentNote: (_38 = (_37 = element.secondary) === null || _37 === void 0 ? void 0 : _37.current_note) !== null && _38 !== void 0 ? _38 : null,
79
+ built_up_area: ((_33 = element.secondary) === null || _33 === void 0 ? void 0 : _33.built_up_area) ? parseFloat(element.secondary.built_up_area) : null,
80
+ classrooms_count: ((_34 = element.secondary) === null || _34 === void 0 ? void 0 : _34.classrooms_count) ? parseFloat(element.secondary.classrooms_count) : null,
81
+ csu_code: (_36 = (_35 = element.secondary) === null || _35 === void 0 ? void 0 : _35.csu_code) !== null && _36 !== void 0 ? _36 : null,
82
+ current_note: (_38 = (_37 = element.secondary) === null || _37 === void 0 ? void 0 : _37.current_note) !== null && _38 !== void 0 ? _38 : null,
83
83
  description: (_39 = element.description) !== null && _39 !== void 0 ? _39 : null,
84
- employeesCount: ((_40 = element.secondary) === null || _40 === void 0 ? void 0 : _40.employees_count) ? parseFloat(element.secondary.employees_count) : null,
85
- energeticManagement: (_42 = (_41 = element.secondary) === null || _41 === void 0 ? void 0 : _41.energetic_management) !== null && _42 !== void 0 ? _42 : null,
86
- energyAudits: {
87
- createdAt: (_44 = (_43 = element.secondary) === null || _43 === void 0 ? void 0 : _43.energy_audits_created_at) !== null && _44 !== void 0 ? _44 : null,
88
- eaRegistrationNumber: (_46 = (_45 = element.secondary) === null || _45 === void 0 ? void 0 : _45.energy_audits_earegistration_string) !== null && _46 !== void 0 ? _46 : null,
89
- energyAudit: (_48 = (_47 = element.secondary) === null || _47 === void 0 ? void 0 : _47.energy_audits_energy_audit) !== null && _48 !== void 0 ? _48 : null,
84
+ employees_count: ((_40 = element.secondary) === null || _40 === void 0 ? void 0 : _40.employees_count) ? parseFloat(element.secondary.employees_count) : null,
85
+ energetic_management: (_42 = (_41 = element.secondary) === null || _41 === void 0 ? void 0 : _41.energetic_management) !== null && _42 !== void 0 ? _42 : null,
86
+ energy_audits: {
87
+ created_at: (_44 = (_43 = element.secondary) === null || _43 === void 0 ? void 0 : _43.energy_audits_created_at) !== null && _44 !== void 0 ? _44 : null,
88
+ ea_registration_number: (_46 = (_45 = element.secondary) === null || _45 === void 0 ? void 0 : _45.energy_audits_earegistration_string) !== null && _46 !== void 0 ? _46 : null,
89
+ energy_audit: (_48 = (_47 = element.secondary) === null || _47 === void 0 ? void 0 : _47.energy_audits_energy_audit) !== null && _48 !== void 0 ? _48 : null,
90
90
  },
91
- enoId: (_50 = (_49 = element.secondary) === null || _49 === void 0 ? void 0 : _49.eno_id) !== null && _50 !== void 0 ? _50 : null,
92
- fuelAndEnergy: {
91
+ eno_id: (_50 = (_49 = element.secondary) === null || _49 === void 0 ? void 0 : _49.eno_id) !== null && _50 !== void 0 ? _50 : null,
92
+ fuel_and_energy: {
93
93
  coal: (_52 = (_51 = element.secondary) === null || _51 === void 0 ? void 0 : _51.fuel_and_energy_coal) !== null && _52 !== void 0 ? _52 : null,
94
94
  czt: (_54 = (_53 = element.secondary) === null || _53 === void 0 ? void 0 : _53.fuel_and_energy_czt) !== null && _54 !== void 0 ? _54 : null,
95
95
  electricity: (_56 = (_55 = element.secondary) === null || _55 === void 0 ? void 0 : _55.fuel_and_energy_electricity) !== null && _56 !== void 0 ? _56 : null,
@@ -97,110 +97,115 @@ let BuildingTransformationFull = exports.BuildingTransformationFull = class Buil
97
97
  other: (_60 = (_59 = element.secondary) === null || _59 === void 0 ? void 0 : _59.fuel_and_energy_other) !== null && _60 !== void 0 ? _60 : null,
98
98
  oze: (_62 = (_61 = element.secondary) === null || _61 === void 0 ? void 0 : _61.fuel_and_energy_oze) !== null && _62 !== void 0 ? _62 : null,
99
99
  },
100
- heatedBuldingVolume: ((_63 = element.secondary) === null || _63 === void 0 ? void 0 : _63.heated_bulding_volume)
100
+ heated_bulding_volume: ((_63 = element.secondary) === null || _63 === void 0 ? void 0 : _63.heated_bulding_volume)
101
101
  ? parseFloat(element.secondary.heated_bulding_volume)
102
102
  : null,
103
- kuCode: (_65 = (_64 = element.secondary) === null || _64 === void 0 ? void 0 : _64.ku_code) !== null && _65 !== void 0 ? _65 : null,
104
- location: (_67 = (_66 = element.secondary) === null || _66 === void 0 ? void 0 : _66.location) !== null && _67 !== void 0 ? _67 : null,
103
+ ku_code: (_65 = (_64 = element.secondary) === null || _64 === void 0 ? void 0 : _64.ku_code) !== null && _65 !== void 0 ? _65 : null,
104
+ location: ((_67 = (_66 = element.secondary) === null || _66 === void 0 ? void 0 : _66.location) === null || _67 === void 0 ? void 0 : _67.coordinates)
105
+ ? {
106
+ type: "Point",
107
+ coordinates: [...element.secondary.location.coordinates],
108
+ }
109
+ : null,
105
110
  link: (_68 = this.createLinkHelper.getLinkUrl(Links_1.BUILDING_PATH, element.id)) !== null && _68 !== void 0 ? _68 : null,
106
- ozeEnergyProduction: {
107
- heatPump: (_70 = (_69 = element.secondary) === null || _69 === void 0 ? void 0 : _69.oze_energy_production_heat_pump) !== null && _70 !== void 0 ? _70 : null,
108
- integratedTurbinesWindEnergy: (_72 = (_71 = element.secondary) === null || _71 === void 0 ? void 0 : _71.oze_energy_production_integrated_turbines_wind_energy) !== null && _72 !== void 0 ? _72 : null,
109
- solarEnergyPhotothermal: (_74 = (_73 = element.secondary) === null || _73 === void 0 ? void 0 : _73.oze_energy_production_solar_energy_photothermal) !== null && _74 !== void 0 ? _74 : null,
110
- solarEnergyPhotovoltaic: (_76 = (_75 = element.secondary) === null || _75 === void 0 ? void 0 : _75.oze_energy_production_solar_energy_photovoltaic) !== null && _76 !== void 0 ? _76 : null,
111
+ oze_energy_production: {
112
+ heat_pump: (_70 = (_69 = element.secondary) === null || _69 === void 0 ? void 0 : _69.oze_energy_production_heat_pump) !== null && _70 !== void 0 ? _70 : null,
113
+ integrated_turbines_wind_energy: (_72 = (_71 = element.secondary) === null || _71 === void 0 ? void 0 : _71.oze_energy_production_integrated_turbines_wind_energy) !== null && _72 !== void 0 ? _72 : null,
114
+ solar_energy_photothermal: (_74 = (_73 = element.secondary) === null || _73 === void 0 ? void 0 : _73.oze_energy_production_solar_energy_photothermal) !== null && _74 !== void 0 ? _74 : null,
115
+ solar_energy_photovoltaic: (_76 = (_75 = element.secondary) === null || _75 === void 0 ? void 0 : _75.oze_energy_production_solar_energy_photovoltaic) !== null && _76 !== void 0 ? _76 : null,
111
116
  },
112
117
  penb: {
113
- buildingEnvelope: ((_77 = element.secondary) === null || _77 === void 0 ? void 0 : _77.penb_building_envelope)
118
+ building_envelope: ((_77 = element.secondary) === null || _77 === void 0 ? void 0 : _77.penb_building_envelope)
114
119
  ? parseFloat(element.secondary.penb_building_envelope)
115
120
  : null,
116
- buildingEnvelopeCategory: (_79 = (_78 = element.secondary) === null || _78 === void 0 ? void 0 : _78.penb_building_envelope_category) !== null && _79 !== void 0 ? _79 : null,
121
+ building_envelope_category: (_79 = (_78 = element.secondary) === null || _78 === void 0 ? void 0 : _78.penb_building_envelope_category) !== null && _79 !== void 0 ? _79 : null,
117
122
  cooling: ((_80 = element.secondary) === null || _80 === void 0 ? void 0 : _80.penb_cooling) ? parseFloat(element.secondary.penb_cooling) : null,
118
- coolingCategory: (_82 = (_81 = element.secondary) === null || _81 === void 0 ? void 0 : _81.penb_cooling_category) !== null && _82 !== void 0 ? _82 : null,
123
+ cooling_category: (_82 = (_81 = element.secondary) === null || _81 === void 0 ? void 0 : _81.penb_cooling_category) !== null && _82 !== void 0 ? _82 : null,
119
124
  heating: ((_83 = element.secondary) === null || _83 === void 0 ? void 0 : _83.penb_heating) ? parseFloat(element.secondary.penb_heating) : null,
120
- heatingCategory: (_85 = (_84 = element.secondary) === null || _84 === void 0 ? void 0 : _84.penb_heating_category) !== null && _85 !== void 0 ? _85 : null,
121
- humidityAdjustment: ((_86 = element.secondary) === null || _86 === void 0 ? void 0 : _86.penb_humidity_adjustment)
125
+ heating_category: (_85 = (_84 = element.secondary) === null || _84 === void 0 ? void 0 : _84.penb_heating_category) !== null && _85 !== void 0 ? _85 : null,
126
+ humidity_adjustment: ((_86 = element.secondary) === null || _86 === void 0 ? void 0 : _86.penb_humidity_adjustment)
122
127
  ? parseFloat(element.secondary.penb_humidity_adjustment)
123
128
  : null,
124
- humidityAdjustmentCategory: (_88 = (_87 = element.secondary) === null || _87 === void 0 ? void 0 : _87.penb_humidity_adjustment_category) !== null && _88 !== void 0 ? _88 : null,
125
- issueDate: (_90 = (_89 = element.secondary) === null || _89 === void 0 ? void 0 : _89.penb_issue_date) !== null && _90 !== void 0 ? _90 : null,
129
+ humidity_adjustment_category: (_88 = (_87 = element.secondary) === null || _87 === void 0 ? void 0 : _87.penb_humidity_adjustment_category) !== null && _88 !== void 0 ? _88 : null,
130
+ issue_date: (_90 = (_89 = element.secondary) === null || _89 === void 0 ? void 0 : _89.penb_issue_date) !== null && _90 !== void 0 ? _90 : null,
126
131
  lighting: ((_91 = element.secondary) === null || _91 === void 0 ? void 0 : _91.penb_lighting) ? parseFloat(element.secondary.penb_lighting) : null,
127
- lightingCategory: (_93 = (_92 = element.secondary) === null || _92 === void 0 ? void 0 : _92.penb_lighting_category) !== null && _93 !== void 0 ? _93 : null,
128
- penbNumber: (_95 = (_94 = element.secondary) === null || _94 === void 0 ? void 0 : _94.penb_penbnumber) !== null && _95 !== void 0 ? _95 : null,
129
- primaryNonRenewableEnergy: ((_96 = element.secondary) === null || _96 === void 0 ? void 0 : _96.penb_primary_non_renewable_energy)
132
+ lighting_category: (_93 = (_92 = element.secondary) === null || _92 === void 0 ? void 0 : _92.penb_lighting_category) !== null && _93 !== void 0 ? _93 : null,
133
+ penb_number: (_95 = (_94 = element.secondary) === null || _94 === void 0 ? void 0 : _94.penb_penbnumber) !== null && _95 !== void 0 ? _95 : null,
134
+ primary_non_renewable_energy: ((_96 = element.secondary) === null || _96 === void 0 ? void 0 : _96.penb_primary_non_renewable_energy)
130
135
  ? parseFloat(element.secondary.penb_primary_non_renewable_energy)
131
136
  : null,
132
- primaryNonRenewableEnergyCategory: (_98 = (_97 = element.secondary) === null || _97 === void 0 ? void 0 : _97.penb_primary_non_renewable_energy_category) !== null && _98 !== void 0 ? _98 : null,
133
- totalBuildingEnvelopeArea: ((_99 = element.secondary) === null || _99 === void 0 ? void 0 : _99.penb_total_building_envelope_area)
137
+ primary_non_renewable_energy_category: (_98 = (_97 = element.secondary) === null || _97 === void 0 ? void 0 : _97.penb_primary_non_renewable_energy_category) !== null && _98 !== void 0 ? _98 : null,
138
+ total_building_envelope_area: ((_99 = element.secondary) === null || _99 === void 0 ? void 0 : _99.penb_total_building_envelope_area)
134
139
  ? parseFloat(element.secondary.penb_total_building_envelope_area)
135
140
  : null,
136
- totalEnergyReferenceArea: ((_100 = element.secondary) === null || _100 === void 0 ? void 0 : _100.penb_total_energy_reference_area)
141
+ total_energy_reference_area: ((_100 = element.secondary) === null || _100 === void 0 ? void 0 : _100.penb_total_energy_reference_area)
137
142
  ? parseFloat(element.secondary.penb_total_energy_reference_area)
138
143
  : null,
139
- totalProvidedEnergy: ((_101 = element.secondary) === null || _101 === void 0 ? void 0 : _101.penb_total_provided_energy)
144
+ total_provided_energy: ((_101 = element.secondary) === null || _101 === void 0 ? void 0 : _101.penb_total_provided_energy)
140
145
  ? parseFloat(element.secondary.penb_total_provided_energy)
141
146
  : null,
142
- totalProvidedEnergyCategory: (_103 = (_102 = element.secondary) === null || _102 === void 0 ? void 0 : _102.penb_total_provided_energy_category) !== null && _103 !== void 0 ? _103 : null,
147
+ total_provided_energy_category: (_103 = (_102 = element.secondary) === null || _102 === void 0 ? void 0 : _102.penb_total_provided_energy_category) !== null && _103 !== void 0 ? _103 : null,
143
148
  ventilation: ((_104 = element.secondary) === null || _104 === void 0 ? void 0 : _104.penb_ventilation) ? parseFloat(element.secondary.penb_ventilation) : null,
144
- ventilationCategory: (_106 = (_105 = element.secondary) === null || _105 === void 0 ? void 0 : _105.penb_ventilation_category) !== null && _106 !== void 0 ? _106 : null,
145
- volumeFactorOfAVShape: (_108 = (_107 = element.secondary) === null || _107 === void 0 ? void 0 : _107.penb_volume_factor_of_avshape) !== null && _108 !== void 0 ? _108 : null,
146
- warmWater: ((_109 = element.secondary) === null || _109 === void 0 ? void 0 : _109.penb_warm_water) ? parseFloat(element.secondary.penb_warm_water) : null,
147
- warmWaterCategory: (_111 = (_110 = element.secondary) === null || _110 === void 0 ? void 0 : _110.penb_warm_water_category) !== null && _111 !== void 0 ? _111 : null,
149
+ ventilation_category: (_106 = (_105 = element.secondary) === null || _105 === void 0 ? void 0 : _105.penb_ventilation_category) !== null && _106 !== void 0 ? _106 : null,
150
+ volume_factor_of_av_shape: (_108 = (_107 = element.secondary) === null || _107 === void 0 ? void 0 : _107.penb_volume_factor_of_avshape) !== null && _108 !== void 0 ? _108 : null,
151
+ warm_water: ((_109 = element.secondary) === null || _109 === void 0 ? void 0 : _109.penb_warm_water) ? parseFloat(element.secondary.penb_warm_water) : null,
152
+ warm_water_category: (_111 = (_110 = element.secondary) === null || _110 === void 0 ? void 0 : _110.penb_warm_water_category) !== null && _111 !== void 0 ? _111 : null,
148
153
  },
149
- registrationUnit: (_113 = (_112 = element.secondary) === null || _112 === void 0 ? void 0 : _112.registration_unit) !== null && _113 !== void 0 ? _113 : null,
150
- secondaryUse: (_114 = element.secondary_use) !== null && _114 !== void 0 ? _114 : null,
151
- studentsCount: ((_115 = element.secondary) === null || _115 === void 0 ? void 0 : _115.students_count) ? parseFloat(element.secondary.students_count) : null,
152
- technicalEquipment: {
154
+ registration_unit: (_113 = (_112 = element.secondary) === null || _112 === void 0 ? void 0 : _112.registration_unit) !== null && _113 !== void 0 ? _113 : null,
155
+ secondary_use: (_114 = element.secondary_use) !== null && _114 !== void 0 ? _114 : null,
156
+ students_count: ((_115 = element.secondary) === null || _115 === void 0 ? void 0 : _115.students_count) ? parseFloat(element.secondary.students_count) : null,
157
+ technical_equipment: {
153
158
  cooling: {
154
- coolingAreaPercentage: ((_116 = element.secondary) === null || _116 === void 0 ? void 0 : _116.technical_equipment_cooling_cooling_area_percentage)
159
+ cooling_area_percentage: ((_116 = element.secondary) === null || _116 === void 0 ? void 0 : _116.technical_equipment_cooling_cooling_area_percentage)
155
160
  ? parseFloat(element.secondary.technical_equipment_cooling_cooling_area_percentage)
156
161
  : null,
157
- coolingSystem: (_118 = (_117 = element.secondary) === null || _117 === void 0 ? void 0 : _117.technical_equipment_cooling_cooling_system) !== null && _118 !== void 0 ? _118 : null,
158
- technicalCondition: (_120 = (_119 = element.secondary) === null || _119 === void 0 ? void 0 : _119.technical_equipment_cooling_technical_condition) !== null && _120 !== void 0 ? _120 : null,
162
+ cooling_system: (_118 = (_117 = element.secondary) === null || _117 === void 0 ? void 0 : _117.technical_equipment_cooling_cooling_system) !== null && _118 !== void 0 ? _118 : null,
163
+ technical_condition: (_120 = (_119 = element.secondary) === null || _119 === void 0 ? void 0 : _119.technical_equipment_cooling_technical_condition) !== null && _120 !== void 0 ? _120 : null,
159
164
  year: (_122 = (_121 = element.secondary) === null || _121 === void 0 ? void 0 : _121.technical_equipment_cooling_year) !== null && _122 !== void 0 ? _122 : null,
160
165
  },
161
166
  heating: {
162
- heatPercentage: ((_123 = element.secondary) === null || _123 === void 0 ? void 0 : _123.technical_equipment_heating_heat_percentage)
167
+ heat_percentage: ((_123 = element.secondary) === null || _123 === void 0 ? void 0 : _123.technical_equipment_heating_heat_percentage)
163
168
  ? parseFloat(element.secondary.technical_equipment_heating_heat_percentage)
164
169
  : null,
165
- heatingSystem: (_125 = (_124 = element.secondary) === null || _124 === void 0 ? void 0 : _124.technical_equipment_heating_heating_system) !== null && _125 !== void 0 ? _125 : null,
166
- mainSourceOfHeat: (_127 = (_126 = element.secondary) === null || _126 === void 0 ? void 0 : _126.technical_equipment_heating_main_source_of_heat) !== null && _127 !== void 0 ? _127 : null,
167
- secondarySourceOfHeat: (_129 = (_128 = element.secondary) === null || _128 === void 0 ? void 0 : _128.technical_equipment_heating_secondary_source_of_heat) !== null && _129 !== void 0 ? _129 : null,
168
- technicalCondition: (_131 = (_130 = element.secondary) === null || _130 === void 0 ? void 0 : _130.technical_equipment_heating_technical_condition) !== null && _131 !== void 0 ? _131 : null,
170
+ heating_system: (_125 = (_124 = element.secondary) === null || _124 === void 0 ? void 0 : _124.technical_equipment_heating_heating_system) !== null && _125 !== void 0 ? _125 : null,
171
+ main_source_of_heat: (_127 = (_126 = element.secondary) === null || _126 === void 0 ? void 0 : _126.technical_equipment_heating_main_source_of_heat) !== null && _127 !== void 0 ? _127 : null,
172
+ secondary_source_of_heat: (_129 = (_128 = element.secondary) === null || _128 === void 0 ? void 0 : _128.technical_equipment_heating_secondary_source_of_heat) !== null && _129 !== void 0 ? _129 : null,
173
+ technical_condition: (_131 = (_130 = element.secondary) === null || _130 === void 0 ? void 0 : _130.technical_equipment_heating_technical_condition) !== null && _131 !== void 0 ? _131 : null,
169
174
  year: (_133 = (_132 = element.secondary) === null || _132 === void 0 ? void 0 : _132.technical_equipment_heating_year) !== null && _133 !== void 0 ? _133 : null,
170
175
  },
171
- hotWater: {
172
- hotWaterSource: (_135 = (_134 = element.secondary) === null || _134 === void 0 ? void 0 : _134.technical_equipment_hot_water_hot_water_source) !== null && _135 !== void 0 ? _135 : null,
173
- predominantWayOfHeatingTv: (_137 = (_136 = element.secondary) === null || _136 === void 0 ? void 0 : _136.technical_equipment_hot_water_predominant_way_of_heating_tv) !== null && _137 !== void 0 ? _137 : null,
174
- technicalCondition: (_139 = (_138 = element.secondary) === null || _138 === void 0 ? void 0 : _138.technical_equipment_hot_water_technical_condition) !== null && _139 !== void 0 ? _139 : null,
176
+ hot_water: {
177
+ hot_water_source: (_135 = (_134 = element.secondary) === null || _134 === void 0 ? void 0 : _134.technical_equipment_hot_water_hot_water_source) !== null && _135 !== void 0 ? _135 : null,
178
+ predominant_way_of_heating_tv: (_137 = (_136 = element.secondary) === null || _136 === void 0 ? void 0 : _136.technical_equipment_hot_water_predominant_way_of_heating_tv) !== null && _137 !== void 0 ? _137 : null,
179
+ technical_condition: (_139 = (_138 = element.secondary) === null || _138 === void 0 ? void 0 : _138.technical_equipment_hot_water_technical_condition) !== null && _139 !== void 0 ? _139 : null,
175
180
  year: (_141 = (_140 = element.secondary) === null || _140 === void 0 ? void 0 : _140.technical_equipment_hot_water_year) !== null && _141 !== void 0 ? _141 : null,
176
181
  },
177
- humidityAdjustment: {
178
- humidityAdjustment: (_143 = (_142 = element.secondary) === null || _142 === void 0 ? void 0 : _142.technical_equipment_humidity_adjustment_humidity_adjustment) !== null && _143 !== void 0 ? _143 : null,
179
- technicalCondition: (_145 = (_144 = element.secondary) === null || _144 === void 0 ? void 0 : _144.technical_equipment_humidity_adjustment_technical_condition) !== null && _145 !== void 0 ? _145 : null,
182
+ humidity_adjustment: {
183
+ humidity_adjustment: (_143 = (_142 = element.secondary) === null || _142 === void 0 ? void 0 : _142.technical_equipment_humidity_adjustment_humidity_adjustment) !== null && _143 !== void 0 ? _143 : null,
184
+ technical_condition: (_145 = (_144 = element.secondary) === null || _144 === void 0 ? void 0 : _144.technical_equipment_humidity_adjustment_technical_condition) !== null && _145 !== void 0 ? _145 : null,
180
185
  year: (_147 = (_146 = element.secondary) === null || _146 === void 0 ? void 0 : _146.technical_equipment_humidity_adjustment_year) !== null && _147 !== void 0 ? _147 : null,
181
186
  },
182
187
  lighting: {
183
188
  lighting: (_149 = (_148 = element.secondary) === null || _148 === void 0 ? void 0 : _148.technical_equipment_lighting_lighting) !== null && _149 !== void 0 ? _149 : null,
184
- measurementMethod: (_151 = (_150 = element.secondary) === null || _150 === void 0 ? void 0 : _150.technical_equipment_lighting_measurement_method) !== null && _151 !== void 0 ? _151 : null,
185
- otherTechnologicalElements: (_153 = (_152 = element.secondary) === null || _152 === void 0 ? void 0 : _152.technical_equipment_lighting_other_technological_elements) !== null && _153 !== void 0 ? _153 : null,
186
- technicalCondition: (_155 = (_154 = element.secondary) === null || _154 === void 0 ? void 0 : _154.technical_equipment_lighting_technical_condition) !== null && _155 !== void 0 ? _155 : null,
189
+ measurement_method: (_151 = (_150 = element.secondary) === null || _150 === void 0 ? void 0 : _150.technical_equipment_lighting_measurement_method) !== null && _151 !== void 0 ? _151 : null,
190
+ other_technological_elements: (_153 = (_152 = element.secondary) === null || _152 === void 0 ? void 0 : _152.technical_equipment_lighting_other_technological_elements) !== null && _153 !== void 0 ? _153 : null,
191
+ technical_condition: (_155 = (_154 = element.secondary) === null || _154 === void 0 ? void 0 : _154.technical_equipment_lighting_technical_condition) !== null && _155 !== void 0 ? _155 : null,
187
192
  year: (_157 = (_156 = element.secondary) === null || _156 === void 0 ? void 0 : _156.technical_equipment_lighting_year) !== null && _157 !== void 0 ? _157 : null,
188
193
  },
189
194
  ventilation: {
190
- technicalCondition: (_159 = (_158 = element.secondary) === null || _158 === void 0 ? void 0 : _158.technical_equipment_ventilation_technical_condition) !== null && _159 !== void 0 ? _159 : null,
195
+ technical_condition: (_159 = (_158 = element.secondary) === null || _158 === void 0 ? void 0 : _158.technical_equipment_ventilation_technical_condition) !== null && _159 !== void 0 ? _159 : null,
191
196
  ventilation: (_161 = (_160 = element.secondary) === null || _160 === void 0 ? void 0 : _160.technical_equipment_ventilation_ventilation) !== null && _161 !== void 0 ? _161 : null,
192
197
  year: (_163 = (_162 = element.secondary) === null || _162 === void 0 ? void 0 : _162.technical_equipment_ventilation_year) !== null && _163 !== void 0 ? _163 : null,
193
198
  },
194
199
  },
195
- wasteAndEmissions: {
196
- operatingCo2Emissions: (_165 = (_164 = element.secondary) === null || _164 === void 0 ? void 0 : _164.waste_and_emissions_operating_co_2emissions) !== null && _165 !== void 0 ? _165 : null,
197
- solidWasteProduction: (_167 = (_166 = element.secondary) === null || _166 === void 0 ? void 0 : _166.waste_and_emissions_solid_waste_production) !== null && _167 !== void 0 ? _167 : null,
198
- soxEmissions: (_169 = (_168 = element.secondary) === null || _168 === void 0 ? void 0 : _168.waste_and_emissions_sox_emissions) !== null && _169 !== void 0 ? _169 : null,
199
- tiedCo2Emissions: (_171 = (_170 = element.secondary) === null || _170 === void 0 ? void 0 : _170.waste_and_emissions_tied_co2_emissions) !== null && _171 !== void 0 ? _171 : null,
200
+ waste_and_emissions: {
201
+ operating_co2_emissions: (_165 = (_164 = element.secondary) === null || _164 === void 0 ? void 0 : _164.waste_and_emissions_operating_co_2emissions) !== null && _165 !== void 0 ? _165 : null,
202
+ solid_waste_production: (_167 = (_166 = element.secondary) === null || _166 === void 0 ? void 0 : _166.waste_and_emissions_solid_waste_production) !== null && _167 !== void 0 ? _167 : null,
203
+ sox_emissions: (_169 = (_168 = element.secondary) === null || _168 === void 0 ? void 0 : _168.waste_and_emissions_sox_emissions) !== null && _169 !== void 0 ? _169 : null,
204
+ tied_co2_emissions: (_171 = (_170 = element.secondary) === null || _170 === void 0 ? void 0 : _170.waste_and_emissions_tied_co2_emissions) !== null && _171 !== void 0 ? _171 : null,
200
205
  },
201
- weekendOpeningHours: (_173 = (_172 = element.secondary) === null || _172 === void 0 ? void 0 : _172.weekend_opening_hours) !== null && _173 !== void 0 ? _173 : null,
202
- openingHours: (_175 = (_174 = element.secondary) === null || _174 === void 0 ? void 0 : _174.opening_hours) !== null && _175 !== void 0 ? _175 : null,
203
- yearOfConstruction: (_176 = element === null || element === void 0 ? void 0 : element.year_of_construction) !== null && _176 !== void 0 ? _176 : null,
206
+ weekend_opening_hours: (_173 = (_172 = element.secondary) === null || _172 === void 0 ? void 0 : _172.weekend_opening_hours) !== null && _173 !== void 0 ? _173 : null,
207
+ opening_hours: (_175 = (_174 = element.secondary) === null || _174 === void 0 ? void 0 : _174.opening_hours) !== null && _175 !== void 0 ? _175 : null,
208
+ year_of_construction: (_176 = element === null || element === void 0 ? void 0 : element.year_of_construction) !== null && _176 !== void 0 ? _176 : null,
204
209
  };
205
210
  };
206
211
  this.createLinkHelper = Di_1.OGEnergeticsContainer.resolve(ModuleContainerToken_1.ModuleContainerToken.CreateLinkHelper);
@@ -1 +1 @@
1
- {"version":3,"file":"BuildingTransformationFull.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/BuildingTransformationFull.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAoD;AAEpD,kCAAmD;AACnD,sE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AE;oBACf,qBAAqB,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,2CAA2C,uCAAI,IAAI;oBAC7F,oBAAoB,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,0CAA0C,uCAAI,IAAI;oBAC3F,YAAY,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,iCAAiC,uCAAI,IAAI;oBAC1E,gBAAgB,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,sCAAsC,uCAAI,IAAI;iBACtF;gBACD,mBAAmB,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,qBAAqB,uCAAI,IAAI;gBACrE,YAAY,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,aAAa,uCAAI,IAAI;gBACtD,kBAAkB,EAAE,QAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB,uCAAI,IAAI;aAC5D,CAAC;QACN,CAAC,CAAC;QA9LE,IAAI,CAAC,gBAAgB,GAAG,0BAAqB,CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CA8LJ,CAAA;qCAxMY,0BAA0B;IADtC,IAAA,qBAAU,GAAE;;GACA,0BAA0B,CAwMtC"}
1
+ {"version":3,"file":"BuildingTransformationFull.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/BuildingTransformationFull.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAoD;AAEpD,kCAAmD;AACnD,sEAAoE;AAIpE,6GAA0G;AAE1G,iEAAgE;AAGzD,IAAM,0BAA0B,wCAAhC,MAAM,0BAA2B,SAAQ,+CAG/C;IAIG;QACI,KAAK,EAAE,CAAC;QAJL,SAAI,GAAW,4BAA4B,CAAC;QAQzC,sBAAiB,GAAG,CAC1B,OAAqE,EACxC,EAAE;;YAC/B,OAAO;gBACH,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,IAAI,EAAE,OAAO,CAAC,a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QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,0CAA0C,uCAAI,IAAI;oBAC7F,aAAa,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,iCAAiC,uCAAI,IAAI;oBAC3E,kBAAkB,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,sCAAsC,uCAAI,IAAI;iBACxF;gBACD,qBAAqB,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,qBAAqB,uCAAI,IAAI;gBACvE,aAAa,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,aAAa,uCAAI,IAAI;gBACvD,oBAAoB,EAAE,QAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB,uCAAI,IAAI;aAC9D,CAAC;QACN,CAAC,CAAC;QApME,IAAI,CAAC,gBAAgB,GAAG,0BAAqB,CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CAoMJ,CAAA;qCA9MY,0BAA0B;IADtC,IAAA,qBAAU,GAAE;;GACA,0BAA0B,CA8MtC"}
@@ -17,7 +17,7 @@ tags:
17
17
  - name: ⚡ Energetics (v2)
18
18
  description: 💡 Organizations & measurement devices
19
19
  paths:
20
- /v2/buildings:
20
+ /v2/energetics/buildings:
21
21
  get:
22
22
  tags:
23
23
  - ⚡ Energetics (v2)
@@ -41,7 +41,7 @@ paths:
41
41
  items:
42
42
  $ref: "#/components/schemas/Building"
43
43
 
44
- /v2/buildings/{id}:
44
+ /v2/energetics/buildings/{id}:
45
45
  get:
46
46
  tags:
47
47
  - ⚡ Energetics (v2)
@@ -243,7 +243,7 @@ components:
243
243
  type: number
244
244
  name:
245
245
  type: string
246
- buildingAddressCode:
246
+ building_address_code:
247
247
  type: string
248
248
  link:
249
249
  type: string
@@ -255,10 +255,10 @@ components:
255
255
  name:
256
256
  type: string
257
257
  nullable: true
258
- mainUse:
258
+ main_use:
259
259
  type: string
260
260
  nullable: true
261
- methodOfProtection:
261
+ method_of_protection:
262
262
  type: string
263
263
  nullable: true
264
264
  address:
@@ -270,7 +270,7 @@ components:
270
270
  country:
271
271
  type: string
272
272
  nullable: true
273
- houseNumber:
273
+ house_number:
274
274
  type: string
275
275
  nullable: true
276
276
  mail:
@@ -282,23 +282,23 @@ components:
282
282
  street:
283
283
  type: string
284
284
  nullable: true
285
- webAddress:
285
+ web_address:
286
286
  type: string
287
287
  nullable: true
288
288
  nullable: true
289
- allotmentNumber:
289
+ allotment_number:
290
290
  type: string
291
291
  nullable: true
292
- bedsCount:
292
+ beds_count:
293
293
  type: number
294
294
  nullable: true
295
- buildingAddressCode:
295
+ building_address_code:
296
296
  type: string
297
297
  nullable: true
298
- buildingEnvelope:
298
+ building_envelope:
299
299
  type: object
300
300
  properties:
301
- fillingOfHole:
301
+ filling_of_hole:
302
302
  type: object
303
303
  properties:
304
304
  area:
@@ -307,14 +307,14 @@ components:
307
307
  construction:
308
308
  type: string
309
309
  nullable: true
310
- technicalCondition:
310
+ technical_condition:
311
311
  type: string
312
312
  nullable: true
313
- yearOfAdjustment:
313
+ year_of_adjustment:
314
314
  type: string
315
315
  nullable: true
316
316
  nullable: true
317
- floorOfTheLowestHeatedFloor:
317
+ floor_of_the_lowest_heated_floor:
318
318
  type: object
319
319
  properties:
320
320
  area:
@@ -323,13 +323,13 @@ components:
323
323
  construction:
324
324
  type: string
325
325
  nullable: true
326
- yearOfAdjustment:
326
+ year_of_adjustment:
327
327
  type: string
328
328
  nullable: true
329
- technicalCondition:
329
+ technical_condition:
330
330
  type: string
331
331
  nullable: true
332
- thermalInsulation:
332
+ thermal_insulation:
333
333
  type: string
334
334
  nullable: true
335
335
  nullable: true
@@ -342,32 +342,32 @@ components:
342
342
  construction:
343
343
  type: string
344
344
  nullable: true
345
- technicalCondition:
345
+ technical_condition:
346
346
  type: string
347
347
  nullable: true
348
- thermalInsulation:
348
+ thermal_insulation:
349
349
  type: string
350
350
  nullable: true
351
- yearOfAdjustment:
351
+ year_of_adjustment:
352
352
  type: string
353
353
  nullable: true
354
354
  nullable: true
355
- sideWall:
355
+ side_wall:
356
356
  type: object
357
357
  properties:
358
358
  area:
359
359
  type: number
360
360
  nullable: true
361
- heatInsulation:
361
+ heat_insulation:
362
362
  type: string
363
363
  nullable: true
364
- prevailingConstruction:
364
+ prevailing_construction:
365
365
  type: string
366
366
  nullable: true
367
- technicalCondition:
367
+ technical_condition:
368
368
  type: string
369
369
  nullable: true
370
- yearOfAdjustment:
370
+ year_of_adjustment:
371
371
  type: string
372
372
  nullable: true
373
373
  nullable: true
@@ -375,44 +375,44 @@ components:
375
375
  label:
376
376
  type: string
377
377
  nullable: true
378
- builtUpArea:
378
+ built_up_area:
379
379
  type: number
380
380
  nullable: true
381
- classroomsCount:
381
+ classrooms_count:
382
382
  type: number
383
383
  nullable: true
384
- csuCode:
384
+ csu_code:
385
385
  type: string
386
386
  nullable: true
387
- currentNote:
387
+ current_note:
388
388
  type: string
389
389
  nullable: true
390
390
  description:
391
391
  type: string
392
392
  nullable: true
393
- employeesCount:
393
+ employees_count:
394
394
  type: number
395
395
  nullable: true
396
- energeticManagement:
396
+ energetic_management:
397
397
  type: string
398
398
  nullable: true
399
- energyAudits:
399
+ energy_audits:
400
400
  type: object
401
401
  properties:
402
- createdAt:
402
+ created_at:
403
403
  type: string
404
404
  nullable: true
405
- eaRegistrationNumber:
405
+ ea_registration_number:
406
406
  type: string
407
407
  nullable: true
408
- energyAudit:
408
+ energy_audit:
409
409
  type: string
410
410
  nullable: true
411
411
  nullable: true
412
- enoId:
412
+ eno_id:
413
413
  type: string
414
414
  nullable: true
415
- fuelAndEnergy:
415
+ fuel_and_energy:
416
416
  type: object
417
417
  properties:
418
418
  coal:
@@ -434,128 +434,137 @@ components:
434
434
  type: boolean
435
435
  nullable: true
436
436
  nullable: true
437
- heatedBuldingVolume:
437
+ heated_bulding_volume:
438
438
  type: number
439
439
  nullable: true
440
- kuCode:
440
+ ku_code:
441
441
  type: string
442
442
  nullable: true
443
443
  location:
444
- type: string
444
+ type: object
445
445
  nullable: true
446
+ properties:
447
+ type:
448
+ type: string
449
+ example: "Point"
450
+ coordinates:
451
+ $ref: "#/components/schemas/Point"
452
+ required:
453
+ - coordinates
454
+ - type
446
455
  link:
447
456
  type: string
448
- ozeEnergyProduction:
457
+ oze_energy_production:
449
458
  type: object
450
459
  properties:
451
- heatPump:
460
+ heat_pump:
452
461
  type: string
453
462
  nullable: true
454
- integratedTurbinesWindEnergy:
463
+ integrated_turbines_wind_energy:
455
464
  type: string
456
465
  nullable: true
457
- solarEnergyPhotothermal:
466
+ solar_energy_photothermal:
458
467
  type: string
459
468
  nullable: true
460
- solarEnergyPhotovoltaic:
469
+ solar_energy_photovoltaic:
461
470
  type: string
462
471
  nullable: true
463
472
  nullable: true
464
473
  penb:
465
474
  type: object
466
475
  properties:
467
- buildingEnvelope:
476
+ building_envelope:
468
477
  type: number
469
478
  nullable: true
470
- buildingEnvelopeCategory:
479
+ building_envelope_category:
471
480
  type: string
472
481
  nullable: true
473
482
  cooling:
474
483
  type: number
475
484
  nullable: true
476
- coolingCategory:
485
+ cooling_category:
477
486
  type: string
478
487
  nullable: true
479
488
  heating:
480
489
  type: number
481
490
  nullable: true
482
- heatingCategory:
491
+ heating_category:
483
492
  type: string
484
493
  nullable: true
485
- humidityAdjustment:
494
+ humidity_adjustment:
486
495
  type: number
487
496
  nullable: true
488
- humidityAdjustmentCategory:
497
+ humidity_adjustment_category:
489
498
  type: string
490
499
  nullable: true
491
- issueDate:
500
+ issue_date:
492
501
  type: string
493
502
  nullable: true
494
503
  lighting:
495
504
  type: number
496
505
  nullable: true
497
- lightingCategory:
506
+ lighting_category:
498
507
  type: string
499
508
  nullable: true
500
- penbNumber:
509
+ penb_number:
501
510
  type: number
502
511
  nullable: true
503
- primaryNonRenewableEnergy:
512
+ primary_non_renewable_energy:
504
513
  type: number
505
514
  nullable: true
506
- primaryNonRenewableEnergyCategory:
515
+ primary_non_renewable_energy_category:
507
516
  type: string
508
517
  nullable: true
509
- totalBuildingEnvelopeArea:
518
+ total_building_envelope_area:
510
519
  type: number
511
520
  nullable: true
512
- totalEnergyReferenceArea:
521
+ total_energy_reference_area:
513
522
  type: number
514
523
  nullable: true
515
- totalProvidedEnergy:
524
+ total_provided_energy:
516
525
  type: number
517
526
  nullable: true
518
- totalProvidedEnergyCategory:
527
+ total_provided_energy_category:
519
528
  type: string
520
529
  nullable: true
521
530
  ventilation:
522
531
  type: number
523
532
  nullable: true
524
- ventilationCategory:
533
+ ventilation_category:
525
534
  type: string
526
535
  nullable: true
527
- volumeFactorOfAVShape:
536
+ volume_factor_of_av_shape:
528
537
  type: string
529
538
  nullable: true
530
- warmWater:
539
+ warm_water:
531
540
  type: number
532
541
  nullable: true
533
- warmWaterCategory:
542
+ warm_water_category:
534
543
  type: string
535
544
  nullable: true
536
545
  nullable: true
537
- registrationUnit:
546
+ registration_unit:
538
547
  type: string
539
548
  nullable: true
540
- secondaryUse:
549
+ secondary_use:
541
550
  type: string
542
551
  nullable: true
543
- studentsCount:
552
+ students_count:
544
553
  type: number
545
554
  nullable: true
546
- technicalEquipment:
555
+ technical_equipment:
547
556
  type: object
548
557
  properties:
549
558
  cooling:
550
559
  type: object
551
560
  properties:
552
- coolingAreaPercentage:
561
+ cooling_area_percentage:
553
562
  type: number
554
563
  nullable: true
555
- coolingSystem:
564
+ cooling_system:
556
565
  type: string
557
566
  nullable: true
558
- technicalCondition:
567
+ technical_condition:
559
568
  type: string
560
569
  nullable: true
561
570
  year:
@@ -565,48 +574,48 @@ components:
565
574
  heating:
566
575
  type: object
567
576
  properties:
568
- heatPercentage:
577
+ heat_percentage:
569
578
  type: number
570
579
  nullable: true
571
- heatingSystem:
580
+ heating_system:
572
581
  type: string
573
582
  nullable: true
574
- mainSourceOfHeat:
583
+ main_source_of_heat:
575
584
  type: string
576
585
  nullable: true
577
- secondarySourceOfHeat:
586
+ secondary_source_of_heat:
578
587
  type: string
579
588
  nullable: true
580
- technicalCondition:
589
+ technical_condition:
581
590
  type: string
582
591
  nullable: true
583
592
  year:
584
593
  type: string
585
594
  nullable: true
586
595
  nullable: true
587
- hotWater:
596
+ hot_water:
588
597
  type: object
589
598
  properties:
590
- hotWaterSource:
599
+ hot_water_source:
591
600
  type: string
592
601
  nullable: true
593
- predominantWayOfHeatingTv:
602
+ predominant_way_of_heating_tv:
594
603
  type: string
595
604
  nullable: true
596
- technicalCondition:
605
+ technical_condition:
597
606
  type: string
598
607
  nullable: true
599
608
  year:
600
609
  type: string
601
610
  nullable: true
602
611
  nullable: true
603
- humidityAdjustment:
612
+ humidity_adjustment:
604
613
  type: object
605
614
  properties:
606
- humidityAdjustment:
615
+ humidity_adjustment:
607
616
  type: string
608
617
  nullable: true
609
- technicalCondition:
618
+ technical_condition:
610
619
  type: string
611
620
  nullable: true
612
621
  year:
@@ -619,13 +628,13 @@ components:
619
628
  lighting:
620
629
  type: string
621
630
  nullable: true
622
- measurementMethod:
631
+ measurement_method:
623
632
  type: string
624
633
  nullable: true
625
- otherTechnologicalElements:
634
+ other_technological_elements:
626
635
  type: string
627
636
  nullable: true
628
- technicalCondition:
637
+ technical_condition:
629
638
  type: string
630
639
  nullable: true
631
640
  year:
@@ -635,7 +644,7 @@ components:
635
644
  ventilation:
636
645
  type: object
637
646
  properties:
638
- technicalCondition:
647
+ technical_condition:
639
648
  type: string
640
649
  nullable: true
641
650
  ventilation:
@@ -646,29 +655,29 @@ components:
646
655
  nullable: true
647
656
  nullable: true
648
657
  nullable: true
649
- wasteAndEmissions:
658
+ waste_and_emissions:
650
659
  type: object
651
660
  properties:
652
- operatingCo2Emissions:
661
+ operating_co2_emissions:
653
662
  type: string
654
663
  nullable: true
655
- solidWasteProduction:
664
+ solid_waste_production:
656
665
  type: string
657
666
  nullable: true
658
- soxEmissions:
667
+ sox_emissions:
659
668
  type: string
660
669
  nullable: true
661
- tiedCo2Emissions:
670
+ tied_co2_emissions:
662
671
  type: string
663
672
  nullable: true
664
673
  nullable: true
665
- weekendOpeningHours:
674
+ weekend_opening_hours:
666
675
  type: string
667
676
  nullable: true
668
- openingHours:
677
+ opening_hours:
669
678
  type: string
670
679
  nullable: true
671
- yearOfConstruction:
680
+ year_of_construction:
672
681
  type: number
673
682
  nullable: true
674
683
  EnergeticsAddress:
@@ -832,3 +841,14 @@ components:
832
841
  type: string
833
842
  nullable: true
834
843
  additionalProperties: false
844
+ Point:
845
+ title: Point
846
+ type: array
847
+ minItems: 2
848
+ maxItems: 2
849
+ items:
850
+ type: number
851
+ format: float
852
+ example:
853
+ - 14.4633
854
+ - 50.07827
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/energetics",
3
- "version": "1.3.5-dev.1303489602",
3
+ "version": "1.3.5-dev.1313991887",
4
4
  "description": "Golemio Energetics Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",