@golemio/energetics 1.3.5-dev.1298662589 → 1.3.5-dev.1300843460

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.
Files changed (174) hide show
  1. package/db/example/00_clear_test_data.sql +6 -0
  2. package/db/example/01_buildings.sql +206 -0
  3. package/db/example/02_organizations.sql +24 -0
  4. package/db/example/03_devices.sql +24 -0
  5. package/db/migrations/postgresql/.config.json +1 -1
  6. package/db/migrations/postgresql/20240514074033-buildings.js +53 -0
  7. package/db/migrations/postgresql/20240514111900-organizations.js +53 -0
  8. package/db/migrations/postgresql/sqls/20240514074033-buildings-down.sql +2 -0
  9. package/db/migrations/postgresql/sqls/20240514074033-buildings-up.sql +138 -0
  10. package/db/migrations/postgresql/sqls/20240514111900-organizations-down.sql +3 -0
  11. package/db/migrations/postgresql/sqls/20240514111900-organizations-up.sql +37 -0
  12. package/dist/integration-engine/tasks/oict-energetika/FetchDataTask.js +0 -2
  13. package/dist/integration-engine/tasks/oict-energetika/FetchDataTask.js.map +1 -1
  14. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.js +0 -4
  15. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.js.map +1 -1
  16. package/dist/output-gateway/constants/Links.d.ts +3 -0
  17. package/dist/output-gateway/constants/Links.js +7 -0
  18. package/dist/output-gateway/constants/Links.js.map +1 -0
  19. package/dist/output-gateway/constants/RouteVersion.d.ts +3 -0
  20. package/dist/output-gateway/constants/RouteVersion.js +8 -0
  21. package/dist/output-gateway/constants/RouteVersion.js.map +1 -0
  22. package/dist/output-gateway/controllers/v2/BuildingsController.d.ts +11 -0
  23. package/dist/output-gateway/controllers/v2/BuildingsController.js +74 -0
  24. package/dist/output-gateway/controllers/v2/BuildingsController.js.map +1 -0
  25. package/dist/output-gateway/controllers/v2/V2DevicesController.d.ts +11 -0
  26. package/dist/output-gateway/controllers/v2/V2DevicesController.js +67 -0
  27. package/dist/output-gateway/controllers/v2/V2DevicesController.js.map +1 -0
  28. package/dist/output-gateway/controllers/v2/V2OrganizationsController.d.ts +13 -0
  29. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js +79 -0
  30. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js.map +1 -0
  31. package/dist/output-gateway/helpers/CreateLinkHelper.d.ts +6 -0
  32. package/dist/output-gateway/helpers/CreateLinkHelper.js +32 -0
  33. package/dist/output-gateway/helpers/CreateLinkHelper.js.map +1 -0
  34. package/dist/output-gateway/index.d.ts +1 -0
  35. package/dist/output-gateway/index.js +10 -0
  36. package/dist/output-gateway/index.js.map +1 -0
  37. package/dist/output-gateway/ioc/Di.d.ts +3 -0
  38. package/dist/output-gateway/ioc/Di.js +51 -0
  39. package/dist/output-gateway/ioc/Di.js.map +1 -0
  40. package/dist/output-gateway/ioc/ModuleContainerToken.d.ts +22 -0
  41. package/dist/output-gateway/ioc/ModuleContainerToken.js +26 -0
  42. package/dist/output-gateway/ioc/ModuleContainerToken.js.map +1 -0
  43. package/dist/output-gateway/models/BuildingsPrimaryModel.d.ts +17 -0
  44. package/dist/output-gateway/models/BuildingsPrimaryModel.js +49 -0
  45. package/dist/output-gateway/models/BuildingsPrimaryModel.js.map +1 -0
  46. package/dist/output-gateway/models/BuildingsSecondaryModel.d.ts +124 -0
  47. package/dist/output-gateway/models/BuildingsSecondaryModel.js +338 -0
  48. package/dist/output-gateway/models/BuildingsSecondaryModel.js.map +1 -0
  49. package/dist/output-gateway/models/interfaces/IBuildingsTransformationOutput.d.ts +6 -0
  50. package/dist/output-gateway/models/interfaces/IBuildingsTransformationOutput.js +2 -0
  51. package/dist/output-gateway/models/interfaces/IBuildingsTransformationOutput.js.map +1 -0
  52. package/dist/output-gateway/models/interfaces/IFullTransformationSchemaItem.d.ts +156 -0
  53. package/dist/output-gateway/models/interfaces/IFullTransformationSchemaItem.js +3 -0
  54. package/dist/output-gateway/models/interfaces/IFullTransformationSchemaItem.js.map +1 -0
  55. package/dist/output-gateway/models/interfaces/IPrimaryBuildings.d.ts +10 -0
  56. package/dist/output-gateway/models/interfaces/IPrimaryBuildings.js +3 -0
  57. package/dist/output-gateway/models/interfaces/IPrimaryBuildings.js.map +1 -0
  58. package/dist/output-gateway/models/interfaces/ISecondaryBuildings.d.ts +114 -0
  59. package/dist/output-gateway/models/interfaces/ISecondaryBuildings.js +3 -0
  60. package/dist/output-gateway/models/interfaces/ISecondaryBuildings.js.map +1 -0
  61. package/dist/output-gateway/models/interfaces/ISecondaryBuildingsOutput.d.ts +117 -0
  62. package/dist/output-gateway/models/interfaces/ISecondaryBuildingsOutput.js +3 -0
  63. package/dist/output-gateway/models/interfaces/ISecondaryBuildingsOutput.js.map +1 -0
  64. package/dist/output-gateway/repositories/DevicesRepository.d.ts +8 -0
  65. package/dist/output-gateway/repositories/DevicesRepository.js +64 -0
  66. package/dist/output-gateway/repositories/DevicesRepository.js.map +1 -0
  67. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.d.ts +6 -0
  68. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.js +47 -0
  69. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.js.map +1 -0
  70. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.d.ts +6 -0
  71. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.js +47 -0
  72. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.js.map +1 -0
  73. package/dist/output-gateway/repositories/OrganizationsRepository.d.ts +17 -0
  74. package/dist/output-gateway/repositories/OrganizationsRepository.js +133 -0
  75. package/dist/output-gateway/repositories/OrganizationsRepository.js.map +1 -0
  76. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.d.ts +15 -0
  77. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.js +86 -0
  78. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.js.map +1 -0
  79. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.d.ts +6 -0
  80. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.js +33 -0
  81. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.js.map +1 -0
  82. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.d.ts +9 -0
  83. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.js +47 -0
  84. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.js.map +1 -0
  85. package/dist/output-gateway/repositories/interfaces/IOrganizationBuildingDto.d.ts +5 -0
  86. package/dist/output-gateway/repositories/interfaces/IOrganizationBuildingDto.js +3 -0
  87. package/dist/output-gateway/repositories/interfaces/IOrganizationBuildingDto.js.map +1 -0
  88. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.d.ts +18 -0
  89. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.js +3 -0
  90. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.js.map +1 -0
  91. package/dist/output-gateway/repositories/interfaces/IOrganizationDto.d.ts +4 -0
  92. package/dist/output-gateway/repositories/interfaces/IOrganizationDto.js +3 -0
  93. package/dist/output-gateway/repositories/interfaces/IOrganizationDto.js.map +1 -0
  94. package/dist/output-gateway/repositories/interfaces/IOrganizationResponsibleUserDto.d.ts +8 -0
  95. package/dist/output-gateway/repositories/interfaces/IOrganizationResponsibleUserDto.js +3 -0
  96. package/dist/output-gateway/repositories/interfaces/IOrganizationResponsibleUserDto.js.map +1 -0
  97. package/dist/output-gateway/routers/helpers/parseParams.d.ts +4 -0
  98. package/dist/output-gateway/routers/helpers/parseParams.js +17 -0
  99. package/dist/output-gateway/routers/helpers/parseParams.js.map +1 -0
  100. package/dist/output-gateway/routers/interfaces/IDeviceResponse.d.ts +6 -0
  101. package/dist/output-gateway/routers/interfaces/IDeviceResponse.js +3 -0
  102. package/dist/output-gateway/routers/interfaces/IDeviceResponse.js.map +1 -0
  103. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.d.ts +34 -0
  104. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.js +3 -0
  105. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.js.map +1 -0
  106. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.d.ts +4 -0
  107. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.js +3 -0
  108. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.js.map +1 -0
  109. package/dist/output-gateway/routers/interfaces/IPaginationParams.d.ts +4 -0
  110. package/dist/output-gateway/routers/interfaces/IPaginationParams.js +3 -0
  111. package/dist/output-gateway/routers/interfaces/IPaginationParams.js.map +1 -0
  112. package/dist/output-gateway/routers/v2/BuildingsRouter.d.ts +10 -0
  113. package/dist/output-gateway/routers/v2/BuildingsRouter.js +26 -0
  114. package/dist/output-gateway/routers/v2/BuildingsRouter.js.map +1 -0
  115. package/dist/output-gateway/routers/v2/V2DevicesRouter.d.ts +7 -0
  116. package/dist/output-gateway/routers/v2/V2DevicesRouter.js +41 -0
  117. package/dist/output-gateway/routers/v2/V2DevicesRouter.js.map +1 -0
  118. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.d.ts +7 -0
  119. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.js +41 -0
  120. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.js.map +1 -0
  121. package/dist/output-gateway/transformations/BuildingTransformationFull.d.ts +14 -0
  122. package/dist/output-gateway/transformations/BuildingTransformationFull.js +215 -0
  123. package/dist/output-gateway/transformations/BuildingTransformationFull.js.map +1 -0
  124. package/dist/output-gateway/transformations/BuildingsTransformation.d.ts +8 -0
  125. package/dist/output-gateway/transformations/BuildingsTransformation.js +38 -0
  126. package/dist/output-gateway/transformations/BuildingsTransformation.js.map +1 -0
  127. package/dist/output-gateway/transformations/DeviceDtoTransformation.d.ts +8 -0
  128. package/dist/output-gateway/transformations/DeviceDtoTransformation.js +43 -0
  129. package/dist/output-gateway/transformations/DeviceDtoTransformation.js.map +1 -0
  130. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.d.ts +9 -0
  131. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.js +64 -0
  132. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.js.map +1 -0
  133. package/dist/output-gateway/transformations/OrganizationDtoTransformation.d.ts +9 -0
  134. package/dist/output-gateway/transformations/OrganizationDtoTransformation.js +36 -0
  135. package/dist/output-gateway/transformations/OrganizationDtoTransformation.js.map +1 -0
  136. package/dist/schema-definitions/models/OrganizationBuildingModel.d.ts +10 -0
  137. package/dist/schema-definitions/models/OrganizationBuildingModel.js +33 -0
  138. package/dist/schema-definitions/models/OrganizationBuildingModel.js.map +1 -0
  139. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.d.ts +16 -0
  140. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.js +44 -0
  141. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.js.map +1 -0
  142. package/dist/schema-definitions/models/OrganizationsModel.d.ts +21 -0
  143. package/dist/schema-definitions/models/OrganizationsModel.js +59 -0
  144. package/dist/schema-definitions/models/OrganizationsModel.js.map +1 -0
  145. package/dist/schema-definitions/models/interfaces/IOrganizationBuildingsModel.d.ts +4 -0
  146. package/dist/schema-definitions/models/interfaces/IOrganizationBuildingsModel.js +3 -0
  147. package/dist/schema-definitions/models/interfaces/IOrganizationBuildingsModel.js.map +1 -0
  148. package/dist/schema-definitions/models/interfaces/IOrganizationResponsibleUsersModel.d.ts +10 -0
  149. package/dist/schema-definitions/models/interfaces/IOrganizationResponsibleUsersModel.js +3 -0
  150. package/dist/schema-definitions/models/interfaces/IOrganizationResponsibleUsersModel.js.map +1 -0
  151. package/dist/schema-definitions/models/interfaces/IOrganizationsModel.d.ts +15 -0
  152. package/dist/schema-definitions/models/interfaces/IOrganizationsModel.js +3 -0
  153. package/dist/schema-definitions/models/interfaces/IOrganizationsModel.js.map +1 -0
  154. package/docs/implementation_documentation.md +41 -41
  155. package/docs/openapi-output.yaml +834 -0
  156. package/package.json +5 -3
  157. package/dist/integration-engine/repositories/oict-energetika/BuildingsRepository.d.ts +0 -4
  158. package/dist/integration-engine/repositories/oict-energetika/BuildingsRepository.js +0 -19
  159. package/dist/integration-engine/repositories/oict-energetika/BuildingsRepository.js.map +0 -1
  160. package/dist/integration-engine/repositories/oict-energetika/DevicesRepository.d.ts +0 -4
  161. package/dist/integration-engine/repositories/oict-energetika/DevicesRepository.js +0 -19
  162. package/dist/integration-engine/repositories/oict-energetika/DevicesRepository.js.map +0 -1
  163. package/dist/integration-engine/tasks/oict-energetika/FetchBuildingsTask.d.ts +0 -9
  164. package/dist/integration-engine/tasks/oict-energetika/FetchBuildingsTask.js +0 -44
  165. package/dist/integration-engine/tasks/oict-energetika/FetchBuildingsTask.js.map +0 -1
  166. package/dist/integration-engine/tasks/oict-energetika/FetchDevicesTask.d.ts +0 -9
  167. package/dist/integration-engine/tasks/oict-energetika/FetchDevicesTask.js +0 -44
  168. package/dist/integration-engine/tasks/oict-energetika/FetchDevicesTask.js.map +0 -1
  169. package/dist/integration-engine/transformations/oict-energetika/BuildingsTransformation.d.ts +0 -7
  170. package/dist/integration-engine/transformations/oict-energetika/BuildingsTransformation.js +0 -166
  171. package/dist/integration-engine/transformations/oict-energetika/BuildingsTransformation.js.map +0 -1
  172. package/dist/integration-engine/transformations/oict-energetika/DevicesTransformation.d.ts +0 -7
  173. package/dist/integration-engine/transformations/oict-energetika/DevicesTransformation.js +0 -41
  174. package/dist/integration-engine/transformations/oict-energetika/DevicesTransformation.js.map +0 -1
@@ -0,0 +1,215 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BuildingTransformationFull = void 0;
13
+ const Links_1 = require("../constants/Links");
14
+ const Di_1 = require("../ioc/Di");
15
+ const ModuleContainerToken_1 = require("../ioc/ModuleContainerToken");
16
+ const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
17
+ const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
18
+ let BuildingTransformationFull = exports.BuildingTransformationFull = class BuildingTransformationFull extends AbstractTransformation_1.AbstractTransformation {
19
+ constructor() {
20
+ super();
21
+ this.name = "BuildingTransformationFull";
22
+ this.transformInternal = (element) => {
23
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175;
24
+ return {
25
+ id: element.id,
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,
29
+ address: {
30
+ city: (_d = (_c = element.secondary) === null || _c === void 0 ? void 0 : _c.address_city) !== null && _d !== void 0 ? _d : null,
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,
33
+ mail: (_k = (_j = element.secondary) === null || _j === void 0 ? void 0 : _j.address_mail) !== null && _k !== void 0 ? _k : null,
34
+ phone: (_m = (_l = element.secondary) === null || _l === void 0 ? void 0 : _l.address_phone) !== null && _m !== void 0 ? _m : null,
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,
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: {
43
+ area: ((_x = element.secondary) === null || _x === void 0 ? void 0 : _x.building_envelope_filling_of_hole_area)
44
+ ? parseFloat(element.secondary.building_envelope_filling_of_hole_area)
45
+ : null,
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,
49
+ },
50
+ floorOfTheLowestHeatedFloor: {
51
+ area: ((_4 = element.secondary) === null || _4 === void 0 ? void 0 : _4.building_envelope_floor_of_the_lowest_heated_floor_area)
52
+ ? parseFloat(element.secondary.building_envelope_floor_of_the_lowest_heated_floor_area)
53
+ : null,
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,
58
+ },
59
+ roof: {
60
+ area: ((_13 = element.secondary) === null || _13 === void 0 ? void 0 : _13.building_envelope_roof_area)
61
+ ? parseFloat(element.secondary.building_envelope_roof_area)
62
+ : null,
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,
67
+ },
68
+ sideWall: {
69
+ area: ((_22 = element.secondary) === null || _22 === void 0 ? void 0 : _22.building_envelope_side_wall_area)
70
+ ? parseFloat(element.secondary.building_envelope_side_wall_area)
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,
76
+ },
77
+ },
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,
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: ((_45 = element.secondary) === null || _45 === void 0 ? void 0 : _45.energy_audits_earegistration_string)
89
+ ? parseFloat(element.secondary.energy_audits_earegistration_string)
90
+ : null,
91
+ energyAudit: (_47 = (_46 = element.secondary) === null || _46 === void 0 ? void 0 : _46.energy_audits_energy_audit) !== null && _47 !== void 0 ? _47 : null,
92
+ },
93
+ enoId: (_49 = (_48 = element.secondary) === null || _48 === void 0 ? void 0 : _48.eno_id) !== null && _49 !== void 0 ? _49 : null,
94
+ fuelAndEnergy: {
95
+ coal: (_51 = (_50 = element.secondary) === null || _50 === void 0 ? void 0 : _50.fuel_and_energy_coal) !== null && _51 !== void 0 ? _51 : null,
96
+ czt: (_53 = (_52 = element.secondary) === null || _52 === void 0 ? void 0 : _52.fuel_and_energy_czt) !== null && _53 !== void 0 ? _53 : null,
97
+ electricity: (_55 = (_54 = element.secondary) === null || _54 === void 0 ? void 0 : _54.fuel_and_energy_electricity) !== null && _55 !== void 0 ? _55 : null,
98
+ gas: (_57 = (_56 = element.secondary) === null || _56 === void 0 ? void 0 : _56.fuel_and_energy_gas) !== null && _57 !== void 0 ? _57 : null,
99
+ other: (_59 = (_58 = element.secondary) === null || _58 === void 0 ? void 0 : _58.fuel_and_energy_other) !== null && _59 !== void 0 ? _59 : null,
100
+ oze: (_61 = (_60 = element.secondary) === null || _60 === void 0 ? void 0 : _60.fuel_and_energy_oze) !== null && _61 !== void 0 ? _61 : null,
101
+ },
102
+ heatedBuldingVolume: ((_62 = element.secondary) === null || _62 === void 0 ? void 0 : _62.heated_bulding_volume)
103
+ ? parseFloat(element.secondary.heated_bulding_volume)
104
+ : null,
105
+ kuCode: (_64 = (_63 = element.secondary) === null || _63 === void 0 ? void 0 : _63.ku_code) !== null && _64 !== void 0 ? _64 : null,
106
+ location: (_66 = (_65 = element.secondary) === null || _65 === void 0 ? void 0 : _65.location) !== null && _66 !== void 0 ? _66 : null,
107
+ link: (_67 = this.createLinkHelper.getLinkUrl(Links_1.BUILDING_PATH, element.id)) !== null && _67 !== void 0 ? _67 : null,
108
+ ozeEnergyProduction: {
109
+ heatPump: (_69 = (_68 = element.secondary) === null || _68 === void 0 ? void 0 : _68.oze_energy_production_heat_pump) !== null && _69 !== void 0 ? _69 : null,
110
+ integratedTurbinesWindEnergy: (_71 = (_70 = element.secondary) === null || _70 === void 0 ? void 0 : _70.oze_energy_production_integrated_turbines_wind_energy) !== null && _71 !== void 0 ? _71 : null,
111
+ solarEnergyPhotothermal: (_73 = (_72 = element.secondary) === null || _72 === void 0 ? void 0 : _72.oze_energy_production_solar_energy_photothermal) !== null && _73 !== void 0 ? _73 : null,
112
+ solarEnergyPhotovoltaic: (_75 = (_74 = element.secondary) === null || _74 === void 0 ? void 0 : _74.oze_energy_production_solar_energy_photovoltaic) !== null && _75 !== void 0 ? _75 : null,
113
+ },
114
+ penb: {
115
+ buildingEnvelope: ((_76 = element.secondary) === null || _76 === void 0 ? void 0 : _76.penb_building_envelope)
116
+ ? parseFloat(element.secondary.penb_building_envelope)
117
+ : null,
118
+ buildingEnvelopeCategory: (_78 = (_77 = element.secondary) === null || _77 === void 0 ? void 0 : _77.penb_building_envelope_category) !== null && _78 !== void 0 ? _78 : null,
119
+ cooling: ((_79 = element.secondary) === null || _79 === void 0 ? void 0 : _79.penb_cooling) ? parseFloat(element.secondary.penb_cooling) : null,
120
+ coolingCategory: (_81 = (_80 = element.secondary) === null || _80 === void 0 ? void 0 : _80.penb_cooling_category) !== null && _81 !== void 0 ? _81 : null,
121
+ heating: ((_82 = element.secondary) === null || _82 === void 0 ? void 0 : _82.penb_heating) ? parseFloat(element.secondary.penb_heating) : null,
122
+ heatingCategory: (_84 = (_83 = element.secondary) === null || _83 === void 0 ? void 0 : _83.penb_heating_category) !== null && _84 !== void 0 ? _84 : null,
123
+ humidityAdjustment: ((_85 = element.secondary) === null || _85 === void 0 ? void 0 : _85.penb_humidity_adjustment)
124
+ ? parseFloat(element.secondary.penb_humidity_adjustment)
125
+ : null,
126
+ humidityAdjustmentCategory: (_87 = (_86 = element.secondary) === null || _86 === void 0 ? void 0 : _86.penb_humidity_adjustment_category) !== null && _87 !== void 0 ? _87 : null,
127
+ issueDate: (_89 = (_88 = element.secondary) === null || _88 === void 0 ? void 0 : _88.penb_issue_date) !== null && _89 !== void 0 ? _89 : null,
128
+ lighting: ((_90 = element.secondary) === null || _90 === void 0 ? void 0 : _90.penb_lighting) ? parseFloat(element.secondary.penb_lighting) : null,
129
+ lightingCategory: (_92 = (_91 = element.secondary) === null || _91 === void 0 ? void 0 : _91.penb_lighting_category) !== null && _92 !== void 0 ? _92 : null,
130
+ penbNumber: (_94 = (_93 = element.secondary) === null || _93 === void 0 ? void 0 : _93.penb_penbnumber) !== null && _94 !== void 0 ? _94 : null,
131
+ primaryNonRenewableEnergy: ((_95 = element.secondary) === null || _95 === void 0 ? void 0 : _95.penb_primary_non_renewable_energy)
132
+ ? parseFloat(element.secondary.penb_primary_non_renewable_energy)
133
+ : null,
134
+ primaryNonRenewableEnergyCategory: (_97 = (_96 = element.secondary) === null || _96 === void 0 ? void 0 : _96.penb_primary_non_renewable_energy_category) !== null && _97 !== void 0 ? _97 : null,
135
+ totalBuildingEnvelopeArea: ((_98 = element.secondary) === null || _98 === void 0 ? void 0 : _98.penb_total_building_envelope_area)
136
+ ? parseFloat(element.secondary.penb_total_building_envelope_area)
137
+ : null,
138
+ totalEnergyReferenceArea: ((_99 = element.secondary) === null || _99 === void 0 ? void 0 : _99.penb_total_energy_reference_area)
139
+ ? parseFloat(element.secondary.penb_total_energy_reference_area)
140
+ : null,
141
+ totalProvidedEnergy: ((_100 = element.secondary) === null || _100 === void 0 ? void 0 : _100.penb_total_provided_energy)
142
+ ? parseFloat(element.secondary.penb_total_provided_energy)
143
+ : null,
144
+ totalProvidedEnergyCategory: (_102 = (_101 = element.secondary) === null || _101 === void 0 ? void 0 : _101.penb_total_provided_energy_category) !== null && _102 !== void 0 ? _102 : null,
145
+ ventilation: ((_103 = element.secondary) === null || _103 === void 0 ? void 0 : _103.penb_ventilation) ? parseFloat(element.secondary.penb_ventilation) : null,
146
+ ventilationCategory: (_105 = (_104 = element.secondary) === null || _104 === void 0 ? void 0 : _104.penb_ventilation_category) !== null && _105 !== void 0 ? _105 : null,
147
+ volumeFactorOfAVShape: (_107 = (_106 = element.secondary) === null || _106 === void 0 ? void 0 : _106.penb_volume_factor_of_avshape) !== null && _107 !== void 0 ? _107 : null,
148
+ warmWater: ((_108 = element.secondary) === null || _108 === void 0 ? void 0 : _108.penb_warm_water) ? parseFloat(element.secondary.penb_warm_water) : null,
149
+ warmWaterCategory: (_110 = (_109 = element.secondary) === null || _109 === void 0 ? void 0 : _109.penb_warm_water_category) !== null && _110 !== void 0 ? _110 : null,
150
+ },
151
+ registrationUnit: (_112 = (_111 = element.secondary) === null || _111 === void 0 ? void 0 : _111.registration_unit) !== null && _112 !== void 0 ? _112 : null,
152
+ secondaryUse: (_113 = element.secondary_use) !== null && _113 !== void 0 ? _113 : null,
153
+ studentsCount: ((_114 = element.secondary) === null || _114 === void 0 ? void 0 : _114.students_count) ? parseFloat(element.secondary.students_count) : null,
154
+ technicalEquipment: {
155
+ cooling: {
156
+ coolingAreaPercentage: ((_115 = element.secondary) === null || _115 === void 0 ? void 0 : _115.technical_equipment_cooling_cooling_area_percentage)
157
+ ? parseFloat(element.secondary.technical_equipment_cooling_cooling_area_percentage)
158
+ : null,
159
+ coolingSystem: (_117 = (_116 = element.secondary) === null || _116 === void 0 ? void 0 : _116.technical_equipment_cooling_cooling_system) !== null && _117 !== void 0 ? _117 : null,
160
+ technicalCondition: (_119 = (_118 = element.secondary) === null || _118 === void 0 ? void 0 : _118.technical_equipment_cooling_technical_condition) !== null && _119 !== void 0 ? _119 : null,
161
+ year: (_121 = (_120 = element.secondary) === null || _120 === void 0 ? void 0 : _120.technical_equipment_cooling_year) !== null && _121 !== void 0 ? _121 : null,
162
+ },
163
+ heating: {
164
+ heatPercentage: ((_122 = element.secondary) === null || _122 === void 0 ? void 0 : _122.technical_equipment_heating_heat_percentage)
165
+ ? parseFloat(element.secondary.technical_equipment_heating_heat_percentage)
166
+ : null,
167
+ heatingSystem: (_124 = (_123 = element.secondary) === null || _123 === void 0 ? void 0 : _123.technical_equipment_heating_heating_system) !== null && _124 !== void 0 ? _124 : null,
168
+ mainSourceOfHeat: (_126 = (_125 = element.secondary) === null || _125 === void 0 ? void 0 : _125.technical_equipment_heating_main_source_of_heat) !== null && _126 !== void 0 ? _126 : null,
169
+ secondarySourceOfHeat: (_128 = (_127 = element.secondary) === null || _127 === void 0 ? void 0 : _127.technical_equipment_heating_secondary_source_of_heat) !== null && _128 !== void 0 ? _128 : null,
170
+ technicalCondition: (_130 = (_129 = element.secondary) === null || _129 === void 0 ? void 0 : _129.technical_equipment_heating_technical_condition) !== null && _130 !== void 0 ? _130 : null,
171
+ year: (_132 = (_131 = element.secondary) === null || _131 === void 0 ? void 0 : _131.technical_equipment_heating_year) !== null && _132 !== void 0 ? _132 : null,
172
+ },
173
+ hotWater: {
174
+ hotWaterSource: (_134 = (_133 = element.secondary) === null || _133 === void 0 ? void 0 : _133.technical_equipment_hot_water_hot_water_source) !== null && _134 !== void 0 ? _134 : null,
175
+ predominantWayOfHeatingTv: (_136 = (_135 = element.secondary) === null || _135 === void 0 ? void 0 : _135.technical_equipment_hot_water_predominant_way_of_heating_tv) !== null && _136 !== void 0 ? _136 : null,
176
+ technicalCondition: (_138 = (_137 = element.secondary) === null || _137 === void 0 ? void 0 : _137.technical_equipment_hot_water_technical_condition) !== null && _138 !== void 0 ? _138 : null,
177
+ year: (_140 = (_139 = element.secondary) === null || _139 === void 0 ? void 0 : _139.technical_equipment_hot_water_year) !== null && _140 !== void 0 ? _140 : null,
178
+ },
179
+ humidityAdjustment: {
180
+ humidityAdjustment: (_142 = (_141 = element.secondary) === null || _141 === void 0 ? void 0 : _141.technical_equipment_humidity_adjustment_humidity_adjustment) !== null && _142 !== void 0 ? _142 : null,
181
+ technicalCondition: (_144 = (_143 = element.secondary) === null || _143 === void 0 ? void 0 : _143.technical_equipment_humidity_adjustment_technical_condition) !== null && _144 !== void 0 ? _144 : null,
182
+ year: (_146 = (_145 = element.secondary) === null || _145 === void 0 ? void 0 : _145.technical_equipment_humidity_adjustment_year) !== null && _146 !== void 0 ? _146 : null,
183
+ },
184
+ lighting: {
185
+ lighting: (_148 = (_147 = element.secondary) === null || _147 === void 0 ? void 0 : _147.technical_equipment_lighting_lighting) !== null && _148 !== void 0 ? _148 : null,
186
+ measurementMethod: (_150 = (_149 = element.secondary) === null || _149 === void 0 ? void 0 : _149.technical_equipment_lighting_measurement_method) !== null && _150 !== void 0 ? _150 : null,
187
+ otherTechnologicalElements: (_152 = (_151 = element.secondary) === null || _151 === void 0 ? void 0 : _151.technical_equipment_lighting_other_technological_elements) !== null && _152 !== void 0 ? _152 : null,
188
+ technicalCondition: (_154 = (_153 = element.secondary) === null || _153 === void 0 ? void 0 : _153.technical_equipment_lighting_technical_condition) !== null && _154 !== void 0 ? _154 : null,
189
+ year: (_156 = (_155 = element.secondary) === null || _155 === void 0 ? void 0 : _155.technical_equipment_lighting_year) !== null && _156 !== void 0 ? _156 : null,
190
+ },
191
+ ventilation: {
192
+ technicalCondition: (_158 = (_157 = element.secondary) === null || _157 === void 0 ? void 0 : _157.technical_equipment_ventilation_technical_condition) !== null && _158 !== void 0 ? _158 : null,
193
+ ventilation: (_160 = (_159 = element.secondary) === null || _159 === void 0 ? void 0 : _159.technical_equipment_ventilation_ventilation) !== null && _160 !== void 0 ? _160 : null,
194
+ year: (_162 = (_161 = element.secondary) === null || _161 === void 0 ? void 0 : _161.technical_equipment_ventilation_year) !== null && _162 !== void 0 ? _162 : null,
195
+ },
196
+ },
197
+ wasteAndEmissions: {
198
+ operatingCo2Emissions: (_164 = (_163 = element.secondary) === null || _163 === void 0 ? void 0 : _163.waste_and_emissions_operating_co_2emissions) !== null && _164 !== void 0 ? _164 : null,
199
+ solidWasteProduction: (_166 = (_165 = element.secondary) === null || _165 === void 0 ? void 0 : _165.waste_and_emissions_solid_waste_production) !== null && _166 !== void 0 ? _166 : null,
200
+ soxEmissions: (_168 = (_167 = element.secondary) === null || _167 === void 0 ? void 0 : _167.waste_and_emissions_sox_emissions) !== null && _168 !== void 0 ? _168 : null,
201
+ tiedCo2Emissions: (_170 = (_169 = element.secondary) === null || _169 === void 0 ? void 0 : _169.waste_and_emissions_tied_co2_emissions) !== null && _170 !== void 0 ? _170 : null,
202
+ },
203
+ weekendOpeningHours: (_172 = (_171 = element.secondary) === null || _171 === void 0 ? void 0 : _171.weekend_opening_hours) !== null && _172 !== void 0 ? _172 : null,
204
+ openingHours: (_174 = (_173 = element.secondary) === null || _173 === void 0 ? void 0 : _173.opening_hours) !== null && _174 !== void 0 ? _174 : null,
205
+ yearOfConstruction: (_175 = element === null || element === void 0 ? void 0 : element.year_of_construction) !== null && _175 !== void 0 ? _175 : null,
206
+ };
207
+ };
208
+ this.createLinkHelper = Di_1.OGEnergeticsContainer.resolve(ModuleContainerToken_1.ModuleContainerToken.CreateLinkHelper);
209
+ }
210
+ };
211
+ exports.BuildingTransformationFull = BuildingTransformationFull = __decorate([
212
+ (0, tsyringe_1.injectable)(),
213
+ __metadata("design:paramtypes", [])
214
+ ], BuildingTransformationFull);
215
+ //# sourceMappingURL=BuildingTransformationFull.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BuildingTransformationFull.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/BuildingTransformationFull.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAoD;A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,IAAI,EAAE,QAAA,QAAA,OAAO,CAAC,SAAS,8CAAE,oCAAoC,uCAAI,IAAI;qBACxE;iBACJ;gBACD,iBAAiB,EAAE;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;QAhME,IAAI,CAAC,gBAAgB,GAAG,0BAAqB,CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CAgMJ,CAAA;qCA1MY,0BAA0B;IADtC,IAAA,qBAAU,GAAE;;GACA,0BAA0B,CA0MtC"}
@@ -0,0 +1,8 @@
1
+ import { IBuildingsPrimary } from "../models/interfaces/IPrimaryBuildings";
2
+ import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
3
+ export declare class BuildingsTransformation extends AbstractTransformation<IBuildingsPrimary, IBuildingsTransformationOutput> {
4
+ name: string;
5
+ private createLinkHelper;
6
+ constructor();
7
+ protected transformInternal: (element: IBuildingsPrimary) => IBuildingsTransformationOutput;
8
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BuildingsTransformation = void 0;
13
+ const Links_1 = require("../constants/Links");
14
+ const Di_1 = require("../ioc/Di");
15
+ const ModuleContainerToken_1 = require("../ioc/ModuleContainerToken");
16
+ const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
17
+ const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
18
+ let BuildingsTransformation = exports.BuildingsTransformation = class BuildingsTransformation extends AbstractTransformation_1.AbstractTransformation {
19
+ constructor() {
20
+ super();
21
+ this.name = "BuildingsTransformation";
22
+ this.transformInternal = (element) => {
23
+ var _a, _b;
24
+ return {
25
+ id: element.id,
26
+ name: (_a = element.building_name) !== null && _a !== void 0 ? _a : null,
27
+ buildingAddressCode: (_b = element.building_address_code) !== null && _b !== void 0 ? _b : null,
28
+ link: this.createLinkHelper.getLinkUrl(Links_1.BUILDING_PATH, element.id),
29
+ };
30
+ };
31
+ this.createLinkHelper = Di_1.OGEnergeticsContainer.resolve(ModuleContainerToken_1.ModuleContainerToken.CreateLinkHelper);
32
+ }
33
+ };
34
+ exports.BuildingsTransformation = BuildingsTransformation = __decorate([
35
+ (0, tsyringe_1.injectable)(),
36
+ __metadata("design:paramtypes", [])
37
+ ], BuildingsTransformation);
38
+ //# sourceMappingURL=BuildingsTransformation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BuildingsTransformation.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/BuildingsTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAoD;AAEpD,kCAAmD;AACnD,sEAAoE;AAEpE,6GAA0G;AAC1G,iEAAgE;AAGzD,IAAM,uBAAuB,qCAA7B,MAAM,uBAAwB,SAAQ,+CAAyE;IAIlH;QACI,KAAK,EAAE,CAAC;QAJL,SAAI,GAAW,yBAAyB,CAAC;QAQtC,sBAAiB,GAAG,CAAC,OAA0B,EAAkC,EAAE;;YACzF,OAAO;gBACH,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,IAAI,EAAE,MAAA,OAAO,CAAC,aAAa,mCAAI,IAAI;gBACnC,mBAAmB,EAAE,MAAA,OAAO,CAAC,qBAAqB,mCAAI,IAAI;gBAC1D,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,qBAAa,EAAE,OAAO,CAAC,EAAE,CAAC;aACpE,CAAC;QACN,CAAC,CAAC;QAVE,IAAI,CAAC,gBAAgB,GAAG,0BAAqB,CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CAUJ,CAAA;kCAjBY,uBAAuB;IADnC,IAAA,qBAAU,GAAE;;GACA,uBAAuB,CAiBnC"}
@@ -0,0 +1,8 @@
1
+ import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
2
+ import { IDeviceResponse } from "../routers/interfaces/IDeviceResponse";
3
+ import { IDevicesModel } from "../../schema-definitions/models/interfaces";
4
+ export declare class DeviceDtoTransformation extends AbstractTransformation<IDevicesModel, IDeviceResponse> {
5
+ name: string;
6
+ constructor();
7
+ protected transformInternal: (element: IDevicesModel) => IDeviceResponse;
8
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.DeviceDtoTransformation = void 0;
13
+ const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
14
+ const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
15
+ let DeviceDtoTransformation = exports.DeviceDtoTransformation = class DeviceDtoTransformation extends AbstractTransformation_1.AbstractTransformation {
16
+ constructor() {
17
+ super();
18
+ this.name = "DeviceDtoTransformation";
19
+ this.transformInternal = (element) => {
20
+ return {
21
+ id: element.id,
22
+ addr: element.addr,
23
+ description: element.description,
24
+ meter_number: element.meter_number,
25
+ meter_index: !isNaN(parseInt(element.meter_index)) ? parseInt(element.meter_index) : null,
26
+ location_number: element.location_number ? element.location_number : null,
27
+ location_description: element.location_description,
28
+ include_in_evaluation: element.include_in_evaluation,
29
+ meter_type: element.meter_type,
30
+ category: element.category,
31
+ unit: element.unit,
32
+ replaced_meter_id: element.replaced_meter_id ? element.replaced_meter_id : null,
33
+ deleted: element.deleted,
34
+ building_id: element.building_id,
35
+ };
36
+ };
37
+ }
38
+ };
39
+ exports.DeviceDtoTransformation = DeviceDtoTransformation = __decorate([
40
+ (0, tsyringe_1.injectable)(),
41
+ __metadata("design:paramtypes", [])
42
+ ], DeviceDtoTransformation);
43
+ //# sourceMappingURL=DeviceDtoTransformation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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1,9 @@
1
+ import { IOrganizationDetailDto } from "../repositories/interfaces/IOrganizationDetailDto";
2
+ import { IOrganizationDetailResponse } from "../routers/interfaces/IOrganizationDetailResponse";
3
+ import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
4
+ export declare class OrganizationDetailDtoTransformation extends AbstractTransformation<IOrganizationDetailDto, IOrganizationDetailResponse> {
5
+ name: string;
6
+ private createLinkHelper;
7
+ constructor();
8
+ protected transformInternal: (element: IOrganizationDetailDto) => IOrganizationDetailResponse;
9
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.OrganizationDetailDtoTransformation = void 0;
13
+ const Links_1 = require("../constants/Links");
14
+ const Di_1 = require("../ioc/Di");
15
+ const ModuleContainerToken_1 = require("../ioc/ModuleContainerToken");
16
+ const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
17
+ const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
18
+ let OrganizationDetailDtoTransformation = exports.OrganizationDetailDtoTransformation = class OrganizationDetailDtoTransformation extends AbstractTransformation_1.AbstractTransformation {
19
+ constructor() {
20
+ super();
21
+ this.name = "OrganizationDetailDtoTransformation";
22
+ this.transformInternal = (element) => {
23
+ var _a, _b;
24
+ return {
25
+ id: element.id,
26
+ name: element.name,
27
+ label: element.label,
28
+ category: element.category,
29
+ created_by_id: (_b = (_a = element.created_by_id) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : null,
30
+ grafana_url: element.grafana_url,
31
+ address: {
32
+ street: element.address_street,
33
+ house_number: element.address_house_number,
34
+ city: element.address_city,
35
+ country: element.address_country,
36
+ mail: element.address_mail,
37
+ phone: element.address_phone,
38
+ web_address: element.address_web_address,
39
+ },
40
+ responsible_user: element.responsible_user.map((user) => ({
41
+ name: user.first_name,
42
+ last_name: user.last_name,
43
+ position: user.position,
44
+ phone: user.phone,
45
+ mail: user.mail,
46
+ company: user.company,
47
+ })),
48
+ buildings: element.buildings.map((building) => ({
49
+ id: building.id,
50
+ name: building.building_name,
51
+ building_address_code: building.building_address_code,
52
+ link: this.createLinkHelper.getLinkUrl(Links_1.BUILDING_PATH, building.id),
53
+ })),
54
+ link: this.createLinkHelper.getLinkUrl(Links_1.ORGANIZATION_PATH, element.id),
55
+ };
56
+ };
57
+ this.createLinkHelper = Di_1.OGEnergeticsContainer.resolve(ModuleContainerToken_1.ModuleContainerToken.CreateLinkHelper);
58
+ }
59
+ };
60
+ exports.OrganizationDetailDtoTransformation = OrganizationDetailDtoTransformation = __decorate([
61
+ (0, tsyringe_1.injectable)(),
62
+ __metadata("design:paramtypes", [])
63
+ ], OrganizationDetailDtoTransformation);
64
+ //# sourceMappingURL=OrganizationDetailDtoTransformation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationDetailDtoTransformation.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/OrganizationDetailDtoTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAuE;AAEvE,kCAAmD;AACnD,sEAAoE;AAGpE,6GAA0G;AAC1G,iEAAgE;AAGzD,IAAM,mCAAmC,iDAAzC,MAAM,mCAAoC,SAAQ,+CAGxD;IAIG;QACI,KAAK,EAAE,CAAC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AAE,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,qBAAa,EAAE,QAAQ,CAAC,EAAE,CAAC;iBACrE,CAAC,CAAC;gBACH,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,yBAAiB,EAAE,OAAO,CAAC,EAAE,CAAC;aACxE,CAAC;QACN,CAAC,CAAC;QApCE,IAAI,CAAC,gBAAgB,GAAG,0BAAqB,CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CAoCJ,CAAA;8CA9CY,mCAAmC;IAD/C,IAAA,qBAAU,GAAE;;GACA,mCAAmC,CA8C/C"}
@@ -0,0 +1,9 @@
1
+ import { IOrganizationDto } from "../repositories/interfaces/IOrganizationDto";
2
+ import { IOrganizationResponse } from "../routers/interfaces/IOrganizationResponse";
3
+ import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
4
+ export declare class OrganizationDtoTransformation extends AbstractTransformation<IOrganizationDto, IOrganizationResponse> {
5
+ name: string;
6
+ private createLinkHelper;
7
+ constructor();
8
+ protected transformInternal: (element: IOrganizationDto) => IOrganizationResponse;
9
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.OrganizationDtoTransformation = void 0;
13
+ const Links_1 = require("../constants/Links");
14
+ const Di_1 = require("../ioc/Di");
15
+ const ModuleContainerToken_1 = require("../ioc/ModuleContainerToken");
16
+ const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
17
+ const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
18
+ let OrganizationDtoTransformation = exports.OrganizationDtoTransformation = class OrganizationDtoTransformation extends AbstractTransformation_1.AbstractTransformation {
19
+ constructor() {
20
+ super();
21
+ this.name = "OrganizationDtoTransformation";
22
+ this.transformInternal = (element) => {
23
+ return {
24
+ id: element.id,
25
+ name: element.name,
26
+ link: this.createLinkHelper.getLinkUrl(Links_1.ORGANIZATION_PATH, element.id),
27
+ };
28
+ };
29
+ this.createLinkHelper = Di_1.OGEnergeticsContainer.resolve(ModuleContainerToken_1.ModuleContainerToken.CreateLinkHelper);
30
+ }
31
+ };
32
+ exports.OrganizationDtoTransformation = OrganizationDtoTransformation = __decorate([
33
+ (0, tsyringe_1.injectable)(),
34
+ __metadata("design:paramtypes", [])
35
+ ], OrganizationDtoTransformation);
36
+ //# sourceMappingURL=OrganizationDtoTransformation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationDtoTransformation.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/OrganizationDtoTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAwD;AAExD,kCAAmD;AACnD,sEAAoE;AAGpE,6GAA0G;AAC1G,iEAAgE;AAGzD,IAAM,6BAA6B,2CAAnC,MAAM,6BAA8B,SAAQ,+CAA+D;IAI9G;QACI,KAAK,EAAE,CAAC;QAJL,SAAI,GAAW,+BAA+B,CAAC;QAQ5C,sBAAiB,GAAG,CAAC,OAAyB,EAAyB,EAAE;YAC/E,OAAO;gBACH,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,yBAAiB,EAAE,OAAO,CAAC,EAAE,CAAC;aACxE,CAAC;QACN,CAAC,CAAC;QATE,IAAI,CAAC,gBAAgB,GAAG,0BAAqB,CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CASJ,CAAA;wCAhBY,6BAA6B;IADzC,IAAA,qBAAU,GAAE;;GACA,6BAA6B,CAgBzC"}
@@ -0,0 +1,10 @@
1
+ import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
3
+ import { IOrganizationBuildingsModel } from "./interfaces/IOrganizationBuildingsModel";
4
+ export declare class OrganizationBuildingModel extends Model<OrganizationBuildingModel> implements IOrganizationBuildingsModel {
5
+ static TABLE_NAME: string;
6
+ organization_id: number;
7
+ building_id: number;
8
+ static attributeModel: ModelAttributes<OrganizationBuildingModel>;
9
+ static arrayJsonSchema: JSONSchemaType<IOrganizationBuildingsModel[]>;
10
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganizationBuildingModel = void 0;
4
+ const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
+ class OrganizationBuildingModel extends sequelize_1.Model {
6
+ }
7
+ exports.OrganizationBuildingModel = OrganizationBuildingModel;
8
+ OrganizationBuildingModel.TABLE_NAME = "organizations_buildings";
9
+ OrganizationBuildingModel.attributeModel = {
10
+ organization_id: {
11
+ primaryKey: true,
12
+ type: sequelize_1.DataTypes.INTEGER,
13
+ allowNull: false,
14
+ },
15
+ building_id: {
16
+ primaryKey: true,
17
+ type: sequelize_1.DataTypes.INTEGER,
18
+ allowNull: false,
19
+ },
20
+ };
21
+ OrganizationBuildingModel.arrayJsonSchema = {
22
+ type: "array",
23
+ items: {
24
+ type: "object",
25
+ properties: {
26
+ organization_id: { type: "number" },
27
+ building_id: { type: "number" },
28
+ },
29
+ additionalProperties: false,
30
+ required: ["organization_id", "building_id"],
31
+ },
32
+ };
33
+ //# sourceMappingURL=OrganizationBuildingModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationBuildingModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/OrganizationBuildingModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAIxF,MAAa,yBAA0B,SAAQ,iBAAgC;;AAA/E,8DA+BC;AA9BiB,oCAAU,GAAG,yBAAyB,CAAC;AAKvC,wCAAc,GAA+C;IACvE,eAAe,EAAE;QACb,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,KAAK;KACnB;IACD,WAAW,EAAE;QACT,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,KAAK;KACnB;CACJ,CAAC;AAEY,yCAAe,GAAkD;IAC3E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAClC;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,iBAAiB,EAAE,aAAa,CAAC;KAC/C;CACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
+ import { IOrganizationResponsibleUsersModel } from "./interfaces/IOrganizationResponsibleUsersModel";
3
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
4
+ export declare class OrganizationResponsibleUsersModel extends Model<OrganizationResponsibleUsersModel> implements IOrganizationResponsibleUsersModel {
5
+ static TABLE_NAME: string;
6
+ id: number;
7
+ first_name: string | null;
8
+ last_name: string | null;
9
+ position: string | null;
10
+ phone: string | null;
11
+ mail: string | null;
12
+ company: string | null;
13
+ organization_id: number;
14
+ static attributeModel: ModelAttributes<OrganizationResponsibleUsersModel>;
15
+ static arrayJsonSchema: JSONSchemaType<IOrganizationResponsibleUsersModel[]>;
16
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganizationResponsibleUsersModel = void 0;
4
+ const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
+ class OrganizationResponsibleUsersModel extends sequelize_1.Model {
6
+ }
7
+ exports.OrganizationResponsibleUsersModel = OrganizationResponsibleUsersModel;
8
+ OrganizationResponsibleUsersModel.TABLE_NAME = "organization_responsible_users";
9
+ OrganizationResponsibleUsersModel.attributeModel = {
10
+ id: {
11
+ primaryKey: true,
12
+ type: sequelize_1.DataTypes.INTEGER,
13
+ allowNull: false,
14
+ },
15
+ first_name: { type: sequelize_1.DataTypes.STRING(100) },
16
+ last_name: { type: sequelize_1.DataTypes.STRING(100) },
17
+ position: { type: sequelize_1.DataTypes.STRING(100) },
18
+ phone: { type: sequelize_1.DataTypes.STRING(50) },
19
+ mail: { type: sequelize_1.DataTypes.STRING(50) },
20
+ company: { type: sequelize_1.DataTypes.STRING(100) },
21
+ organization_id: {
22
+ type: sequelize_1.DataTypes.INTEGER,
23
+ allowNull: false,
24
+ },
25
+ };
26
+ OrganizationResponsibleUsersModel.arrayJsonSchema = {
27
+ type: "array",
28
+ items: {
29
+ type: "object",
30
+ properties: {
31
+ id: { type: "number" },
32
+ first_name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
33
+ last_name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
34
+ position: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
35
+ phone: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
36
+ mail: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
37
+ company: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
38
+ organization_id: { type: "number" },
39
+ },
40
+ additionalProperties: false,
41
+ required: ["id", "organization_id"],
42
+ },
43
+ };
44
+ //# sourceMappingURL=OrganizationResponsibleUsersModel.js.map