@golemio/energetics 1.3.5-dev.1300843460 → 1.3.5

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 +0 -6
  2. package/db/migrations/postgresql/.config.json +1 -1
  3. package/dist/integration-engine/repositories/oict-energetika/BuildingsRepository.d.ts +4 -0
  4. package/dist/integration-engine/repositories/oict-energetika/BuildingsRepository.js +19 -0
  5. package/dist/integration-engine/repositories/oict-energetika/BuildingsRepository.js.map +1 -0
  6. package/dist/integration-engine/repositories/oict-energetika/DevicesRepository.d.ts +4 -0
  7. package/dist/integration-engine/repositories/oict-energetika/DevicesRepository.js +19 -0
  8. package/dist/integration-engine/repositories/oict-energetika/DevicesRepository.js.map +1 -0
  9. package/dist/integration-engine/tasks/oict-energetika/FetchBuildingsTask.d.ts +9 -0
  10. package/dist/integration-engine/tasks/oict-energetika/FetchBuildingsTask.js +44 -0
  11. package/dist/integration-engine/tasks/oict-energetika/FetchBuildingsTask.js.map +1 -0
  12. package/dist/integration-engine/tasks/oict-energetika/FetchDataTask.js +2 -0
  13. package/dist/integration-engine/tasks/oict-energetika/FetchDataTask.js.map +1 -1
  14. package/dist/integration-engine/tasks/oict-energetika/FetchDevicesTask.d.ts +9 -0
  15. package/dist/integration-engine/tasks/oict-energetika/FetchDevicesTask.js +44 -0
  16. package/dist/integration-engine/tasks/oict-energetika/FetchDevicesTask.js.map +1 -0
  17. package/dist/integration-engine/transformations/oict-energetika/BuildingsTransformation.d.ts +7 -0
  18. package/dist/integration-engine/transformations/oict-energetika/BuildingsTransformation.js +166 -0
  19. package/dist/integration-engine/transformations/oict-energetika/BuildingsTransformation.js.map +1 -0
  20. package/dist/integration-engine/transformations/oict-energetika/DevicesTransformation.d.ts +7 -0
  21. package/dist/integration-engine/transformations/oict-energetika/DevicesTransformation.js +41 -0
  22. package/dist/integration-engine/transformations/oict-energetika/DevicesTransformation.js.map +1 -0
  23. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.js +4 -0
  24. package/dist/integration-engine/workers/oict-energetika/OictEnergetikaWorker.js.map +1 -1
  25. package/docs/implementation_documentation.md +41 -41
  26. package/package.json +2 -4
  27. package/db/example/01_buildings.sql +0 -206
  28. package/db/example/02_organizations.sql +0 -24
  29. package/db/example/03_devices.sql +0 -24
  30. package/db/migrations/postgresql/20240514074033-buildings.js +0 -53
  31. package/db/migrations/postgresql/20240514111900-organizations.js +0 -53
  32. package/db/migrations/postgresql/sqls/20240514074033-buildings-down.sql +0 -2
  33. package/db/migrations/postgresql/sqls/20240514074033-buildings-up.sql +0 -138
  34. package/db/migrations/postgresql/sqls/20240514111900-organizations-down.sql +0 -3
  35. package/db/migrations/postgresql/sqls/20240514111900-organizations-up.sql +0 -37
  36. package/dist/output-gateway/constants/Links.d.ts +0 -3
  37. package/dist/output-gateway/constants/Links.js +0 -7
  38. package/dist/output-gateway/constants/Links.js.map +0 -1
  39. package/dist/output-gateway/constants/RouteVersion.d.ts +0 -3
  40. package/dist/output-gateway/constants/RouteVersion.js +0 -8
  41. package/dist/output-gateway/constants/RouteVersion.js.map +0 -1
  42. package/dist/output-gateway/controllers/v2/BuildingsController.d.ts +0 -11
  43. package/dist/output-gateway/controllers/v2/BuildingsController.js +0 -74
  44. package/dist/output-gateway/controllers/v2/BuildingsController.js.map +0 -1
  45. package/dist/output-gateway/controllers/v2/V2DevicesController.d.ts +0 -11
  46. package/dist/output-gateway/controllers/v2/V2DevicesController.js +0 -67
  47. package/dist/output-gateway/controllers/v2/V2DevicesController.js.map +0 -1
  48. package/dist/output-gateway/controllers/v2/V2OrganizationsController.d.ts +0 -13
  49. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js +0 -79
  50. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js.map +0 -1
  51. package/dist/output-gateway/helpers/CreateLinkHelper.d.ts +0 -6
  52. package/dist/output-gateway/helpers/CreateLinkHelper.js +0 -32
  53. package/dist/output-gateway/helpers/CreateLinkHelper.js.map +0 -1
  54. package/dist/output-gateway/index.d.ts +0 -1
  55. package/dist/output-gateway/index.js +0 -10
  56. package/dist/output-gateway/index.js.map +0 -1
  57. package/dist/output-gateway/ioc/Di.d.ts +0 -3
  58. package/dist/output-gateway/ioc/Di.js +0 -51
  59. package/dist/output-gateway/ioc/Di.js.map +0 -1
  60. package/dist/output-gateway/ioc/ModuleContainerToken.d.ts +0 -22
  61. package/dist/output-gateway/ioc/ModuleContainerToken.js +0 -26
  62. package/dist/output-gateway/ioc/ModuleContainerToken.js.map +0 -1
  63. package/dist/output-gateway/models/BuildingsPrimaryModel.d.ts +0 -17
  64. package/dist/output-gateway/models/BuildingsPrimaryModel.js +0 -49
  65. package/dist/output-gateway/models/BuildingsPrimaryModel.js.map +0 -1
  66. package/dist/output-gateway/models/BuildingsSecondaryModel.d.ts +0 -124
  67. package/dist/output-gateway/models/BuildingsSecondaryModel.js +0 -338
  68. package/dist/output-gateway/models/BuildingsSecondaryModel.js.map +0 -1
  69. package/dist/output-gateway/models/interfaces/IBuildingsTransformationOutput.d.ts +0 -6
  70. package/dist/output-gateway/models/interfaces/IBuildingsTransformationOutput.js +0 -2
  71. package/dist/output-gateway/models/interfaces/IBuildingsTransformationOutput.js.map +0 -1
  72. package/dist/output-gateway/models/interfaces/IFullTransformationSchemaItem.d.ts +0 -156
  73. package/dist/output-gateway/models/interfaces/IFullTransformationSchemaItem.js +0 -3
  74. package/dist/output-gateway/models/interfaces/IFullTransformationSchemaItem.js.map +0 -1
  75. package/dist/output-gateway/models/interfaces/IPrimaryBuildings.d.ts +0 -10
  76. package/dist/output-gateway/models/interfaces/IPrimaryBuildings.js +0 -3
  77. package/dist/output-gateway/models/interfaces/IPrimaryBuildings.js.map +0 -1
  78. package/dist/output-gateway/models/interfaces/ISecondaryBuildings.d.ts +0 -114
  79. package/dist/output-gateway/models/interfaces/ISecondaryBuildings.js +0 -3
  80. package/dist/output-gateway/models/interfaces/ISecondaryBuildings.js.map +0 -1
  81. package/dist/output-gateway/models/interfaces/ISecondaryBuildingsOutput.d.ts +0 -117
  82. package/dist/output-gateway/models/interfaces/ISecondaryBuildingsOutput.js +0 -3
  83. package/dist/output-gateway/models/interfaces/ISecondaryBuildingsOutput.js.map +0 -1
  84. package/dist/output-gateway/repositories/DevicesRepository.d.ts +0 -8
  85. package/dist/output-gateway/repositories/DevicesRepository.js +0 -64
  86. package/dist/output-gateway/repositories/DevicesRepository.js.map +0 -1
  87. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.d.ts +0 -6
  88. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.js +0 -47
  89. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.js.map +0 -1
  90. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.d.ts +0 -6
  91. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.js +0 -47
  92. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.js.map +0 -1
  93. package/dist/output-gateway/repositories/OrganizationsRepository.d.ts +0 -17
  94. package/dist/output-gateway/repositories/OrganizationsRepository.js +0 -133
  95. package/dist/output-gateway/repositories/OrganizationsRepository.js.map +0 -1
  96. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.d.ts +0 -15
  97. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.js +0 -86
  98. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.js.map +0 -1
  99. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.d.ts +0 -6
  100. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.js +0 -33
  101. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.js.map +0 -1
  102. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.d.ts +0 -9
  103. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.js +0 -47
  104. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.js.map +0 -1
  105. package/dist/output-gateway/repositories/interfaces/IOrganizationBuildingDto.d.ts +0 -5
  106. package/dist/output-gateway/repositories/interfaces/IOrganizationBuildingDto.js +0 -3
  107. package/dist/output-gateway/repositories/interfaces/IOrganizationBuildingDto.js.map +0 -1
  108. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.d.ts +0 -18
  109. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.js +0 -3
  110. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.js.map +0 -1
  111. package/dist/output-gateway/repositories/interfaces/IOrganizationDto.d.ts +0 -4
  112. package/dist/output-gateway/repositories/interfaces/IOrganizationDto.js +0 -3
  113. package/dist/output-gateway/repositories/interfaces/IOrganizationDto.js.map +0 -1
  114. package/dist/output-gateway/repositories/interfaces/IOrganizationResponsibleUserDto.d.ts +0 -8
  115. package/dist/output-gateway/repositories/interfaces/IOrganizationResponsibleUserDto.js +0 -3
  116. package/dist/output-gateway/repositories/interfaces/IOrganizationResponsibleUserDto.js.map +0 -1
  117. package/dist/output-gateway/routers/helpers/parseParams.d.ts +0 -4
  118. package/dist/output-gateway/routers/helpers/parseParams.js +0 -17
  119. package/dist/output-gateway/routers/helpers/parseParams.js.map +0 -1
  120. package/dist/output-gateway/routers/interfaces/IDeviceResponse.d.ts +0 -6
  121. package/dist/output-gateway/routers/interfaces/IDeviceResponse.js +0 -3
  122. package/dist/output-gateway/routers/interfaces/IDeviceResponse.js.map +0 -1
  123. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.d.ts +0 -34
  124. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.js +0 -3
  125. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.js.map +0 -1
  126. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.d.ts +0 -4
  127. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.js +0 -3
  128. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.js.map +0 -1
  129. package/dist/output-gateway/routers/interfaces/IPaginationParams.d.ts +0 -4
  130. package/dist/output-gateway/routers/interfaces/IPaginationParams.js +0 -3
  131. package/dist/output-gateway/routers/interfaces/IPaginationParams.js.map +0 -1
  132. package/dist/output-gateway/routers/v2/BuildingsRouter.d.ts +0 -10
  133. package/dist/output-gateway/routers/v2/BuildingsRouter.js +0 -26
  134. package/dist/output-gateway/routers/v2/BuildingsRouter.js.map +0 -1
  135. package/dist/output-gateway/routers/v2/V2DevicesRouter.d.ts +0 -7
  136. package/dist/output-gateway/routers/v2/V2DevicesRouter.js +0 -41
  137. package/dist/output-gateway/routers/v2/V2DevicesRouter.js.map +0 -1
  138. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.d.ts +0 -7
  139. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.js +0 -41
  140. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.js.map +0 -1
  141. package/dist/output-gateway/transformations/BuildingTransformationFull.d.ts +0 -14
  142. package/dist/output-gateway/transformations/BuildingTransformationFull.js +0 -215
  143. package/dist/output-gateway/transformations/BuildingTransformationFull.js.map +0 -1
  144. package/dist/output-gateway/transformations/BuildingsTransformation.d.ts +0 -8
  145. package/dist/output-gateway/transformations/BuildingsTransformation.js +0 -38
  146. package/dist/output-gateway/transformations/BuildingsTransformation.js.map +0 -1
  147. package/dist/output-gateway/transformations/DeviceDtoTransformation.d.ts +0 -8
  148. package/dist/output-gateway/transformations/DeviceDtoTransformation.js +0 -43
  149. package/dist/output-gateway/transformations/DeviceDtoTransformation.js.map +0 -1
  150. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.d.ts +0 -9
  151. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.js +0 -64
  152. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.js.map +0 -1
  153. package/dist/output-gateway/transformations/OrganizationDtoTransformation.d.ts +0 -9
  154. package/dist/output-gateway/transformations/OrganizationDtoTransformation.js +0 -36
  155. package/dist/output-gateway/transformations/OrganizationDtoTransformation.js.map +0 -1
  156. package/dist/schema-definitions/models/OrganizationBuildingModel.d.ts +0 -10
  157. package/dist/schema-definitions/models/OrganizationBuildingModel.js +0 -33
  158. package/dist/schema-definitions/models/OrganizationBuildingModel.js.map +0 -1
  159. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.d.ts +0 -16
  160. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.js +0 -44
  161. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.js.map +0 -1
  162. package/dist/schema-definitions/models/OrganizationsModel.d.ts +0 -21
  163. package/dist/schema-definitions/models/OrganizationsModel.js +0 -59
  164. package/dist/schema-definitions/models/OrganizationsModel.js.map +0 -1
  165. package/dist/schema-definitions/models/interfaces/IOrganizationBuildingsModel.d.ts +0 -4
  166. package/dist/schema-definitions/models/interfaces/IOrganizationBuildingsModel.js +0 -3
  167. package/dist/schema-definitions/models/interfaces/IOrganizationBuildingsModel.js.map +0 -1
  168. package/dist/schema-definitions/models/interfaces/IOrganizationResponsibleUsersModel.d.ts +0 -10
  169. package/dist/schema-definitions/models/interfaces/IOrganizationResponsibleUsersModel.js +0 -3
  170. package/dist/schema-definitions/models/interfaces/IOrganizationResponsibleUsersModel.js.map +0 -1
  171. package/dist/schema-definitions/models/interfaces/IOrganizationsModel.d.ts +0 -15
  172. package/dist/schema-definitions/models/interfaces/IOrganizationsModel.js +0 -3
  173. package/dist/schema-definitions/models/interfaces/IOrganizationsModel.js.map +0 -1
  174. package/docs/openapi-output.yaml +0 -834
@@ -1,41 +0,0 @@
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
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.V2DevicesRouter = void 0;
16
- const AbstractRouter_1 = require("@golemio/core/dist/helpers/routing/AbstractRouter");
17
- const output_gateway_1 = require("@golemio/core/dist/output-gateway");
18
- const Validation_1 = require("@golemio/core/dist/output-gateway/Validation");
19
- const express_validator_1 = require("@golemio/core/dist/shared/express-validator");
20
- const V2DevicesController_1 = require("../../controllers/v2/V2DevicesController");
21
- const RouteVersion_1 = require("../../constants/RouteVersion");
22
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
23
- const ModuleContainerToken_1 = require("../../ioc/ModuleContainerToken");
24
- const Links_1 = require("../../constants/Links");
25
- let V2DevicesRouter = exports.V2DevicesRouter = class V2DevicesRouter extends AbstractRouter_1.AbstractRouter {
26
- constructor(controller) {
27
- super(RouteVersion_1.RouteVersion.v2, Links_1.DEVICES_PATH);
28
- this.controller = controller;
29
- this.initRoutes();
30
- }
31
- initRoutes() {
32
- this.router.get("/", Validation_1.pagination, Validation_1.checkErrors, (0, Validation_1.paginationLimitMiddleware)(this.path), (0, output_gateway_1.useCacheMiddleware)(), this.controller.getAll);
33
- this.router.get("/:id", (0, express_validator_1.param)("id").exists().not().isEmpty({ ignore_whitespace: true }).not().isArray(), Validation_1.checkErrors, (0, output_gateway_1.useCacheMiddleware)(), this.controller.getOne);
34
- }
35
- };
36
- exports.V2DevicesRouter = V2DevicesRouter = __decorate([
37
- (0, tsyringe_1.injectable)(),
38
- __param(0, (0, tsyringe_1.inject)(ModuleContainerToken_1.ModuleContainerToken.V2DevicesController)),
39
- __metadata("design:paramtypes", [V2DevicesController_1.V2DevicesController])
40
- ], V2DevicesRouter);
41
- //# sourceMappingURL=V2DevicesRouter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V2DevicesRouter.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/v2/V2DevicesRouter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sFAAmF;AACnF,sEAAuE;AACvE,6EAAkH;AAClH,mFAAoE;AACpE,kFAA6E;AAC7E,+DAA0D;AAC1D,iEAAwE;AACxE,yEAAoE;AACpE,iDAAmD;AAG5C,IAAM,eAAe,6BAArB,MAAM,eAAgB,SAAQ,+BAAc;IAC/C,YAAsE,UAA+B;QACjG,KAAK,CAAC,2BAAY,CAAC,EAAE,EAAE,oBAAY,CAAC,CAAC;QAD6B,eAAU,GAAV,UAAU,CAAqB;QAGjG,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IAES,UAAU;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,GAAG,EACH,uBAAU,EACV,wBAAW,EACX,IAAA,sCAAyB,EAAC,IAAI,CAAC,IAAI,CAAC,EACpC,IAAA,mCAAkB,GAAE,EACpB,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,MAAM,EACN,IAAA,yBAAK,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAC/E,wBAAW,EACX,IAAA,mCAAkB,GAAE,EACpB,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;IACN,CAAC;CACJ,CAAA;0BAzBY,eAAe;IAD3B,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,mBAAmB,CAAC,CAAA;qCAAqB,yCAAmB;GAD5F,eAAe,CAyB3B"}
@@ -1,7 +0,0 @@
1
- import { AbstractRouter } from "@golemio/core/dist/helpers/routing/AbstractRouter";
2
- import { V2OrganizationsController } from "../../controllers/v2/V2OrganizationsController";
3
- export declare class V2OrganizationsRouter extends AbstractRouter {
4
- private controller;
5
- constructor(controller: V2OrganizationsController);
6
- protected initRoutes(): void;
7
- }
@@ -1,41 +0,0 @@
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
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.V2OrganizationsRouter = void 0;
16
- const AbstractRouter_1 = require("@golemio/core/dist/helpers/routing/AbstractRouter");
17
- const output_gateway_1 = require("@golemio/core/dist/output-gateway");
18
- const Validation_1 = require("@golemio/core/dist/output-gateway/Validation");
19
- const express_validator_1 = require("@golemio/core/dist/shared/express-validator");
20
- const V2OrganizationsController_1 = require("../../controllers/v2/V2OrganizationsController");
21
- const RouteVersion_1 = require("../../constants/RouteVersion");
22
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
23
- const ModuleContainerToken_1 = require("../../ioc/ModuleContainerToken");
24
- const Links_1 = require("../../constants/Links");
25
- let V2OrganizationsRouter = exports.V2OrganizationsRouter = class V2OrganizationsRouter extends AbstractRouter_1.AbstractRouter {
26
- constructor(controller) {
27
- super(RouteVersion_1.RouteVersion.v2, Links_1.ORGANIZATION_PATH);
28
- this.controller = controller;
29
- this.initRoutes();
30
- }
31
- initRoutes() {
32
- this.router.get("/", [(0, express_validator_1.query)("full").optional().isBoolean().not().isArray()], Validation_1.pagination, Validation_1.checkErrors, (0, Validation_1.paginationLimitMiddleware)(this.path), (0, output_gateway_1.useCacheMiddleware)(), this.controller.getAll);
33
- this.router.get("/:id", (0, express_validator_1.param)("id").exists().not().isEmpty({ ignore_whitespace: true }).not().isArray(), Validation_1.checkErrors, (0, output_gateway_1.useCacheMiddleware)(), this.controller.getOne);
34
- }
35
- };
36
- exports.V2OrganizationsRouter = V2OrganizationsRouter = __decorate([
37
- (0, tsyringe_1.injectable)(),
38
- __param(0, (0, tsyringe_1.inject)(ModuleContainerToken_1.ModuleContainerToken.V2OrganizationsController)),
39
- __metadata("design:paramtypes", [V2OrganizationsController_1.V2OrganizationsController])
40
- ], V2OrganizationsRouter);
41
- //# sourceMappingURL=V2OrganizationsRouter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V2OrganizationsRouter.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/v2/V2OrganizationsRouter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sFAAmF;AACnF,sEAAuE;AACvE,6EAAkH;AAClH,mFAA2E;AAC3E,8FAAyF;AACzF,+DAA0D;AAC1D,iEAAwE;AACxE,yEAAoE;AACpE,iDAAwD;AAGjD,IAAM,qBAAqB,mCAA3B,MAAM,qBAAsB,SAAQ,+BAAc;IACrD,YAA4E,UAAqC;QAC7G,KAAK,CAAC,2BAAY,CAAC,EAAE,EAAE,yBAAiB,CAAC,CAAC;QAD8B,eAAU,GAAV,UAAU,CAA2B;QAG7G,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IAES,UAAU;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,GAAG,EACH,CAAC,IAAA,yBAAK,EAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC,EACtD,uBAAU,EACV,wBAAW,EACX,IAAA,sCAAyB,EAAC,IAAI,CAAC,IAAI,CAAC,EACpC,IAAA,mCAAkB,GAAE,EACpB,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,MAAM,EACN,IAAA,yBAAK,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAC/E,wBAAW,EACX,IAAA,mCAAkB,GAAE,EACpB,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;IACN,CAAC;CACJ,CAAA;gCA1BY,qBAAqB;IADjC,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,yBAAyB,CAAC,CAAA;qCAAqB,qDAAyB;GADxG,qBAAqB,CA0BjC"}
@@ -1,14 +0,0 @@
1
- import { IFullTransformationSchemaItem } from "../models/interfaces/IFullTransformationSchemaItem";
2
- import { IBuildingsPrimary } from "../models/interfaces/IPrimaryBuildings";
3
- import { ISecondaryBuildingsOutput } from "../models/interfaces/ISecondaryBuildingsOutput";
4
- import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
5
- export declare class BuildingTransformationFull extends AbstractTransformation<IBuildingsPrimary & {
6
- secondary: ISecondaryBuildingsOutput;
7
- }, IFullTransformationSchemaItem> {
8
- name: string;
9
- private createLinkHelper;
10
- constructor();
11
- protected transformInternal: (element: IBuildingsPrimary & {
12
- secondary: ISecondaryBuildingsOutput;
13
- }) => IFullTransformationSchemaItem;
14
- }
@@ -1,215 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"BuildingTransformationFull.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/BuildingTransformationFull.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAoD;AAEpD,kCAAmD;AACnD,sEAAoE;AAIpE,6GAA0G;AAC1G,iEAAg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,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"}
@@ -1,8 +0,0 @@
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
- }
@@ -1,38 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
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
- }
@@ -1,43 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeviceDtoTransformation.js","sourceRoot":"","sources":["../../../src/output-gateway/transformations/DeviceDtoTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6GAA0G;AAC1G,iEAAgE;AAKzD,IAAM,uBAAuB,qCAA7B,MAAM,uBAAwB,SAAQ,+CAAsD;IAG/F;QACI,KAAK,EAAE,CAAC;QAHL,SAAI,GAAW,yBAAyB,CAAC;QAMtC,sBAAiB,GAAG,CAAC,OAAsB,EAAmB,EAAE;YACtE,OAAO;gBACH,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,WAAW,EAAE,OAAO,CAAC,WAAW;gBAChC,YAAY,EAAE,OAAO,CAAC,YAAY;gBAClC,WAAW,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;gBACzF,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI;gBACzE,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;gBAClD,qBAAqB,EAAE,OAAO,CAAC,qBAAqB;gBACpD,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,iBAAiB,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI;gBAC/E,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,WAAW,EAAE,OAAO,CAAC,WAAW;aACnC,CAAC;QACN,CAAC,CAAC;IAnBF,CAAC;CAoBJ,CAAA;kCAzBY,uBAAuB;IADnC,IAAA,qBAAU,GAAE;;GACA,uBAAuB,CAyBnC"}
@@ -1,9 +0,0 @@
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
- }
@@ -1,64 +0,0 @@
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
@@ -1 +0,0 @@
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;QAJL,SAAI,GAAW,qCAAqC,CAAC;QAQlD,sBAAiB,GAAG,CAAC,OAA+B,EAA+B,EAAE;;YAC3F,OAAO;gBACH,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,aAAa,EAAE,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CAAC,OAAO,CAAC,2CAAoB,CAAC,gBAAgB,CAAC,CAAC;IACjG,CAAC;CAoCJ,CAAA;8CA9CY,mCAAmC;IAD/C,IAAA,qBAAU,GAAE;;GACA,mCAAmC,CA8C/C"}
@@ -1,9 +0,0 @@
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
- }