@golemio/energetics 1.10.1-dev.2609634792 → 1.10.1-dev.2635540153

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 (505) hide show
  1. package/db/migrations/postgresql/20260619000001-ppas-commercial-invoice.js +47 -0
  2. package/db/migrations/postgresql/sqls/20260619000001-ppas-commercial-invoice-down.sql +4 -0
  3. package/db/migrations/postgresql/sqls/20260619000001-ppas-commercial-invoice-up.sql +99 -0
  4. package/dist/index.d.ts +2 -2
  5. package/dist/index.js +19 -9
  6. package/dist/index.js.map +1 -1
  7. package/dist/input-gateway/pre/PreCsvInputController.d.ts +2 -2
  8. package/dist/input-gateway/pre/PreCsvInputController.js +2 -2
  9. package/dist/input-gateway/pre/PreCsvInputController.js.map +1 -1
  10. package/dist/input-gateway/pre/PreInputRouter.d.ts +0 -1
  11. package/dist/input-gateway/pre/PreInputRouter.js +3 -3
  12. package/dist/input-gateway/pre/PreInputRouter.js.map +1 -1
  13. package/dist/input-gateway/pre/PreJsonInputController.d.ts +1 -1
  14. package/dist/input-gateway/pre/PreJsonInputController.js +2 -2
  15. package/dist/input-gateway/pre/PreJsonInputController.js.map +1 -1
  16. package/dist/input-gateway/ptas/PtasRouter.d.ts +0 -1
  17. package/dist/input-gateway/ptas/PtasRouter.js +1 -1
  18. package/dist/input-gateway/ptas/PtasRouter.js.map +1 -1
  19. package/dist/input-gateway/ptas/PtasWebScrapingController.d.ts +1 -1
  20. package/dist/input-gateway/ptas/PtasWebScrapingController.js +2 -2
  21. package/dist/input-gateway/ptas/PtasWebScrapingController.js.map +1 -1
  22. package/dist/input-gateway/ptas/interfaces/IExtendedPtasRequest.d.ts +1 -2
  23. package/dist/input-gateway/transformations/PreCsvInputTransformation.d.ts +2 -2
  24. package/dist/input-gateway/transformations/PreCsvInputTransformation.js.map +1 -1
  25. package/dist/integration-engine/commodity-providers/constants.d.ts +1 -1
  26. package/dist/integration-engine/commodity-providers/constants.js +1 -1
  27. package/dist/integration-engine/commodity-providers/constants.js.map +1 -1
  28. package/dist/integration-engine/commodity-providers/datasources/CommodityProviderDataSourceFactory.js +2 -1
  29. package/dist/integration-engine/commodity-providers/datasources/CommodityProviderDataSourceFactory.js.map +1 -1
  30. package/dist/integration-engine/commodity-providers/datasources/cem-api/CemApiDataSourceProvider.js +6 -5
  31. package/dist/integration-engine/commodity-providers/datasources/cem-api/CemApiDataSourceProvider.js.map +1 -1
  32. package/dist/integration-engine/commodity-providers/datasources/interfaces/ICommodityProviderDataSourceFactory.d.ts +5 -5
  33. package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.js +4 -3
  34. package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.js.map +1 -1
  35. package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/ArchiveDataTypeStrategy.d.ts +1 -1
  36. package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/ArchiveDataTypeStrategy.js +1 -1
  37. package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/ArchiveDataTypeStrategy.js.map +1 -1
  38. package/dist/integration-engine/commodity-providers/datasources/pre-elektro-api/PreElectroApiDataSourceProvider.js +3 -2
  39. package/dist/integration-engine/commodity-providers/datasources/pre-elektro-api/PreElectroApiDataSourceProvider.js.map +1 -1
  40. package/dist/integration-engine/commodity-providers/datasources/pre-elektro-api/helpers/PreElectroHelper.js +2 -1
  41. package/dist/integration-engine/commodity-providers/datasources/pre-elektro-api/helpers/PreElectroHelper.js.map +1 -1
  42. package/dist/integration-engine/commodity-providers/datasources/static-data/AccessConfigurationDataSource.d.ts +1 -1
  43. package/dist/integration-engine/commodity-providers/datasources/static-data/AccessConfigurationDataSource.js +3 -2
  44. package/dist/integration-engine/commodity-providers/datasources/static-data/AccessConfigurationDataSource.js.map +1 -1
  45. package/dist/integration-engine/commodity-providers/datasources/static-data/StaticMeterSettingsDataSourceCapitalDs.d.ts +1 -1
  46. package/dist/integration-engine/commodity-providers/datasources/static-data/StaticMeterSettingsDataSourceCapitalDs.js +3 -2
  47. package/dist/integration-engine/commodity-providers/datasources/static-data/StaticMeterSettingsDataSourceCapitalDs.js.map +1 -1
  48. package/dist/integration-engine/commodity-providers/datasources/static-data/StaticMeterSettingsDataSourceProvider.d.ts +1 -1
  49. package/dist/integration-engine/commodity-providers/datasources/static-data/StaticMeterSettingsDataSourceProvider.js +3 -2
  50. package/dist/integration-engine/commodity-providers/datasources/static-data/StaticMeterSettingsDataSourceProvider.js.map +1 -1
  51. package/dist/integration-engine/commodity-providers/helper/EnapoMeasurementsDataNormalizer.d.ts +2 -2
  52. package/dist/integration-engine/commodity-providers/helper/PreMeasurementFilter.js.map +1 -1
  53. package/dist/integration-engine/commodity-providers/ioc/Di.js +10 -10
  54. package/dist/integration-engine/commodity-providers/ioc/Di.js.map +1 -1
  55. package/dist/integration-engine/commodity-providers/repositories/AccessLimitationRepository.d.ts +1 -1
  56. package/dist/integration-engine/commodity-providers/repositories/AccessLimitationRepository.js +4 -3
  57. package/dist/integration-engine/commodity-providers/repositories/AccessLimitationRepository.js.map +1 -1
  58. package/dist/integration-engine/commodity-providers/repositories/MeasurementRepository.d.ts +1 -1
  59. package/dist/integration-engine/commodity-providers/repositories/MeasurementRepository.js +4 -3
  60. package/dist/integration-engine/commodity-providers/repositories/MeasurementRepository.js.map +1 -1
  61. package/dist/integration-engine/commodity-providers/repositories/StaticMeterSettingsRepository.d.ts +3 -3
  62. package/dist/integration-engine/commodity-providers/repositories/StaticMeterSettingsRepository.js +4 -3
  63. package/dist/integration-engine/commodity-providers/repositories/StaticMeterSettingsRepository.js.map +1 -1
  64. package/dist/integration-engine/commodity-providers/transformations/AveMeasurementTransformation.d.ts +3 -3
  65. package/dist/integration-engine/commodity-providers/transformations/AveMeasurementTransformation.js +3 -2
  66. package/dist/integration-engine/commodity-providers/transformations/AveMeasurementTransformation.js.map +1 -1
  67. package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.d.ts +3 -3
  68. package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.js +3 -2
  69. package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.js.map +1 -1
  70. package/dist/integration-engine/commodity-providers/transformations/PreElectroTransformation.d.ts +3 -3
  71. package/dist/integration-engine/commodity-providers/transformations/PreElectroTransformation.js +3 -2
  72. package/dist/integration-engine/commodity-providers/transformations/PreElectroTransformation.js.map +1 -1
  73. package/dist/integration-engine/commodity-providers/transformations/PreMeasurementTransformation.d.ts +3 -3
  74. package/dist/integration-engine/commodity-providers/transformations/PreMeasurementTransformation.js +3 -2
  75. package/dist/integration-engine/commodity-providers/transformations/PreMeasurementTransformation.js.map +1 -1
  76. package/dist/integration-engine/commodity-providers/transformations/PtasWebMeasurementTransformation.d.ts +3 -3
  77. package/dist/integration-engine/commodity-providers/transformations/PtasWebMeasurementTransformation.js +3 -2
  78. package/dist/integration-engine/commodity-providers/transformations/PtasWebMeasurementTransformation.js.map +1 -1
  79. package/dist/integration-engine/commodity-providers/workers/interfaces/IPpasMeasurementsParams.d.ts +1 -1
  80. package/dist/integration-engine/commodity-providers/workers/interfaces/IVeoliaMeasurementsParams.d.ts +1 -1
  81. package/dist/integration-engine/commodity-providers/workers/schema/PpasMeasurementsSchema.d.ts +1 -1
  82. package/dist/integration-engine/commodity-providers/workers/schema/PpasMeasurementsSchema.js +1 -1
  83. package/dist/integration-engine/commodity-providers/workers/schema/PpasMeasurementsSchema.js.map +1 -1
  84. package/dist/integration-engine/commodity-providers/workers/schema/PreEanMeasurementSchema.d.ts +1 -1
  85. package/dist/integration-engine/commodity-providers/workers/schema/VeoliaMeasurementsSchema.d.ts +1 -1
  86. package/dist/integration-engine/commodity-providers/workers/schema/VeoliaMeasurementsSchema.js +1 -1
  87. package/dist/integration-engine/commodity-providers/workers/schema/VeoliaMeasurementsSchema.js.map +1 -1
  88. package/dist/integration-engine/commodity-providers/workers/tasks/AbstractFetchMeasurementsTask.d.ts +2 -2
  89. package/dist/integration-engine/commodity-providers/workers/tasks/AbstractFetchMeasurementsTask.js +2 -2
  90. package/dist/integration-engine/commodity-providers/workers/tasks/AbstractFetchMeasurementsTask.js.map +1 -1
  91. package/dist/integration-engine/commodity-providers/workers/tasks/FetchAccessConfigurationTask.js +2 -2
  92. package/dist/integration-engine/commodity-providers/workers/tasks/FetchAccessConfigurationTask.js.map +1 -1
  93. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementOptionsStaticDataTask.d.ts +3 -3
  94. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementOptionsStaticDataTask.js +9 -8
  95. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementOptionsStaticDataTask.js.map +1 -1
  96. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementsFromEEProvidersTask.js +4 -3
  97. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementsFromEEProvidersTask.js.map +1 -1
  98. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementsFromProvidersTask.js +4 -3
  99. package/dist/integration-engine/commodity-providers/workers/tasks/FetchMeasurementsFromProvidersTask.js.map +1 -1
  100. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasEEMeasurementsTask.d.ts +4 -4
  101. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasEEMeasurementsTask.js +8 -7
  102. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasEEMeasurementsTask.js.map +1 -1
  103. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasMeasurementsTask.d.ts +8 -8
  104. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasMeasurementsTask.js +11 -10
  105. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPpasMeasurementsTask.js.map +1 -1
  106. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPreMeasurementDataTask.d.ts +5 -5
  107. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPreMeasurementDataTask.js +11 -10
  108. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPreMeasurementDataTask.js.map +1 -1
  109. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPtasWebScrapedMeasurementsTask.d.ts +4 -4
  110. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPtasWebScrapedMeasurementsTask.js +10 -9
  111. package/dist/integration-engine/commodity-providers/workers/tasks/FetchPtasWebScrapedMeasurementsTask.js.map +1 -1
  112. package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.d.ts +4 -4
  113. package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.js +9 -8
  114. package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.js.map +1 -1
  115. package/dist/integration-engine/commodity-providers/workers/tasks/ProcessPreEanMeasurementsTask.d.ts +5 -5
  116. package/dist/integration-engine/commodity-providers/workers/tasks/ProcessPreEanMeasurementsTask.js +11 -10
  117. package/dist/integration-engine/commodity-providers/workers/tasks/ProcessPreEanMeasurementsTask.js.map +1 -1
  118. package/dist/integration-engine/enapo/constants.d.ts +1 -1
  119. package/dist/integration-engine/enapo/constants.js +1 -1
  120. package/dist/integration-engine/enapo/constants.js.map +1 -1
  121. package/dist/integration-engine/enapo/datasources/eno/EnoDatasource.js +25 -15
  122. package/dist/integration-engine/enapo/datasources/eno/EnoDatasource.js.map +1 -1
  123. package/dist/integration-engine/enapo/datasources/eno/EnoDatasourceFactory.js +2 -1
  124. package/dist/integration-engine/enapo/datasources/eno/EnoDatasourceFactory.js.map +1 -1
  125. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSource.d.ts +2 -2
  126. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSource.js +4 -3
  127. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSource.js.map +1 -1
  128. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSourceProvider.js +2 -1
  129. package/dist/integration-engine/enapo/datasources/porsenna/PorsennaDataSourceProvider.js.map +1 -1
  130. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IConsumptionApiEntry.d.ts +1 -1
  131. package/dist/integration-engine/enapo/datasources/porsenna/interfaces/IGaugeApiDto.d.ts +1 -1
  132. package/dist/integration-engine/enapo/datasources/ppas/AbstractPpasDatasource.d.ts +16 -0
  133. package/dist/integration-engine/enapo/datasources/ppas/AbstractPpasDatasource.js +88 -0
  134. package/dist/integration-engine/enapo/datasources/ppas/AbstractPpasDatasource.js.map +1 -0
  135. package/dist/integration-engine/enapo/datasources/ppas/commercial/PpasCommercialDatasource.d.ts +13 -0
  136. package/dist/integration-engine/enapo/datasources/ppas/commercial/PpasCommercialDatasource.js +67 -0
  137. package/dist/integration-engine/enapo/datasources/ppas/commercial/PpasCommercialDatasource.js.map +1 -0
  138. package/dist/integration-engine/enapo/datasources/ppas/distribution/PpasDistributionDatasource.d.ts +5 -16
  139. package/dist/integration-engine/enapo/datasources/ppas/distribution/PpasDistributionDatasource.js +8 -87
  140. package/dist/integration-engine/enapo/datasources/ppas/distribution/PpasDistributionDatasource.js.map +1 -1
  141. package/dist/integration-engine/enapo/helpers/Chunker.js.map +1 -1
  142. package/dist/integration-engine/enapo/helpers/IntervalGenerator.d.ts +1 -1
  143. package/dist/integration-engine/enapo/helpers/MeasurementsDataNormalizer.d.ts +2 -2
  144. package/dist/integration-engine/enapo/interfaces/eno/IEnoBuildingInfo.d.ts +4 -4
  145. package/dist/integration-engine/enapo/interfaces/eno/IEnoStructureInfo.d.ts +4 -4
  146. package/dist/integration-engine/enapo/interfaces/eno/IGeometryInputWithIndex.d.ts +1 -1
  147. package/dist/integration-engine/enapo/ioc/Di.js +18 -4
  148. package/dist/integration-engine/enapo/ioc/Di.js.map +1 -1
  149. package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.d.ts +7 -0
  150. package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js +7 -0
  151. package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js.map +1 -1
  152. package/dist/integration-engine/enapo/repositories/EnapoMeasurementsRepository.js +4 -3
  153. package/dist/integration-engine/enapo/repositories/EnapoMeasurementsRepository.js.map +1 -1
  154. package/dist/integration-engine/enapo/repositories/PreIncomingDataLogRepository.js +4 -3
  155. package/dist/integration-engine/enapo/repositories/PreIncomingDataLogRepository.js.map +1 -1
  156. package/dist/integration-engine/enapo/repositories/eno/EnoAddressRepository.js +4 -3
  157. package/dist/integration-engine/enapo/repositories/eno/EnoAddressRepository.js.map +1 -1
  158. package/dist/integration-engine/enapo/repositories/eno/EnoBuildingRepository.js +4 -3
  159. package/dist/integration-engine/enapo/repositories/eno/EnoBuildingRepository.js.map +1 -1
  160. package/dist/integration-engine/enapo/repositories/eno/EnoEJRepository.js +4 -3
  161. package/dist/integration-engine/enapo/repositories/eno/EnoEJRepository.js.map +1 -1
  162. package/dist/integration-engine/enapo/repositories/eno/EnoGeometryRepository.js +4 -3
  163. package/dist/integration-engine/enapo/repositories/eno/EnoGeometryRepository.js.map +1 -1
  164. package/dist/integration-engine/enapo/repositories/eno/EnoLocationRepository.js +4 -3
  165. package/dist/integration-engine/enapo/repositories/eno/EnoLocationRepository.js.map +1 -1
  166. package/dist/integration-engine/enapo/repositories/eno/EnoManagerRepository.js +4 -3
  167. package/dist/integration-engine/enapo/repositories/eno/EnoManagerRepository.js.map +1 -1
  168. package/dist/integration-engine/enapo/repositories/eno/EnoOrganizationRepository.js +4 -3
  169. package/dist/integration-engine/enapo/repositories/eno/EnoOrganizationRepository.js.map +1 -1
  170. package/dist/integration-engine/enapo/repositories/eno/EnoPropertyRepository.js +4 -3
  171. package/dist/integration-engine/enapo/repositories/eno/EnoPropertyRepository.js.map +1 -1
  172. package/dist/integration-engine/enapo/repositories/eno/EnoRemovedGIDRepository.js +4 -3
  173. package/dist/integration-engine/enapo/repositories/eno/EnoRemovedGIDRepository.js.map +1 -1
  174. package/dist/integration-engine/enapo/repositories/eno/EnoStructureRepository.js +4 -3
  175. package/dist/integration-engine/enapo/repositories/eno/EnoStructureRepository.js.map +1 -1
  176. package/dist/integration-engine/enapo/repositories/eno/EnoStructureTypeRepository.js +4 -3
  177. package/dist/integration-engine/enapo/repositories/eno/EnoStructureTypeRepository.js.map +1 -1
  178. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaBuildingsRepository.js +8 -7
  179. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaBuildingsRepository.js.map +1 -1
  180. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaConsumptionRepository.js +8 -7
  181. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaConsumptionRepository.js.map +1 -1
  182. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaDevicesRepository.js +8 -7
  183. package/dist/integration-engine/enapo/repositories/porsenna/PorsennaDevicesRepository.js.map +1 -1
  184. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceDeviceRepository.d.ts +7 -0
  185. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceDeviceRepository.js +36 -0
  186. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceDeviceRepository.js.map +1 -0
  187. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceInstallationRepository.d.ts +7 -0
  188. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceInstallationRepository.js +36 -0
  189. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceInstallationRepository.js.map +1 -0
  190. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoicePriceRepository.d.ts +7 -0
  191. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoicePriceRepository.js +36 -0
  192. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoicePriceRepository.js.map +1 -0
  193. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceRepository.d.ts +7 -0
  194. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceRepository.js +36 -0
  195. package/dist/integration-engine/enapo/repositories/ppas/PpasCommercialInvoiceRepository.js.map +1 -0
  196. package/dist/integration-engine/enapo/repositories/ppas/PpasDistributionInvoiceDeviceRepository.js +4 -3
  197. package/dist/integration-engine/enapo/repositories/ppas/PpasDistributionInvoiceDeviceRepository.js.map +1 -1
  198. package/dist/integration-engine/enapo/repositories/ppas/PpasDistributionInvoicePriceRepository.js +4 -3
  199. package/dist/integration-engine/enapo/repositories/ppas/PpasDistributionInvoicePriceRepository.js.map +1 -1
  200. package/dist/integration-engine/enapo/repositories/ppas/PpasDistributionInvoiceRepository.js +4 -3
  201. package/dist/integration-engine/enapo/repositories/ppas/PpasDistributionInvoiceRepository.js.map +1 -1
  202. package/dist/integration-engine/enapo/transformations/PPasMeasurementTransformation.d.ts +2 -2
  203. package/dist/integration-engine/enapo/transformations/PPasMeasurementTransformation.js +5 -4
  204. package/dist/integration-engine/enapo/transformations/PPasMeasurementTransformation.js.map +1 -1
  205. package/dist/integration-engine/enapo/transformations/eno/EnoBuildingTransformation.d.ts +2 -2
  206. package/dist/integration-engine/enapo/transformations/eno/EnoBuildingTransformation.js +1 -1
  207. package/dist/integration-engine/enapo/transformations/eno/EnoBuildingTransformation.js.map +1 -1
  208. package/dist/integration-engine/enapo/transformations/eno/EnoEJTransformation.d.ts +2 -2
  209. package/dist/integration-engine/enapo/transformations/eno/EnoEJTransformation.js +2 -1
  210. package/dist/integration-engine/enapo/transformations/eno/EnoEJTransformation.js.map +1 -1
  211. package/dist/integration-engine/enapo/transformations/eno/EnoGeometryTransformation.d.ts +2 -2
  212. package/dist/integration-engine/enapo/transformations/eno/EnoGeometryTransformation.js.map +1 -1
  213. package/dist/integration-engine/enapo/transformations/eno/EnoManagerTransformation.d.ts +2 -2
  214. package/dist/integration-engine/enapo/transformations/eno/EnoManagerTransformation.js +2 -1
  215. package/dist/integration-engine/enapo/transformations/eno/EnoManagerTransformation.js.map +1 -1
  216. package/dist/integration-engine/enapo/transformations/eno/EnoOrganizationTransformation.d.ts +2 -2
  217. package/dist/integration-engine/enapo/transformations/eno/EnoOrganizationTransformation.js +2 -1
  218. package/dist/integration-engine/enapo/transformations/eno/EnoOrganizationTransformation.js.map +1 -1
  219. package/dist/integration-engine/enapo/transformations/eno/EnoStructureTransformation.d.ts +2 -2
  220. package/dist/integration-engine/enapo/transformations/eno/EnoStructureTransformation.js +1 -1
  221. package/dist/integration-engine/enapo/transformations/eno/EnoStructureTransformation.js.map +1 -1
  222. package/dist/integration-engine/enapo/transformations/eno/EnoStructureTypeTransformation.d.ts +2 -2
  223. package/dist/integration-engine/enapo/transformations/eno/EnoStructureTypeTransformation.js +2 -1
  224. package/dist/integration-engine/enapo/transformations/eno/EnoStructureTypeTransformation.js.map +1 -1
  225. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaConsumptionTransformation.d.ts +2 -2
  226. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaConsumptionTransformation.js +2 -1
  227. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaConsumptionTransformation.js.map +1 -1
  228. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaGaugeTransformation.d.ts +3 -3
  229. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaGaugeTransformation.js +2 -1
  230. package/dist/integration-engine/enapo/transformations/porsenna/PorsennaGaugeTransformation.js.map +1 -1
  231. package/dist/integration-engine/enapo/transformations/ppas/PpasCommercialTransformation.d.ts +28 -0
  232. package/dist/integration-engine/enapo/transformations/ppas/PpasCommercialTransformation.js +185 -0
  233. package/dist/integration-engine/enapo/transformations/ppas/PpasCommercialTransformation.js.map +1 -0
  234. package/dist/integration-engine/enapo/transformations/ppas/PpasDistributionTransformation.d.ts +4 -22
  235. package/dist/integration-engine/enapo/transformations/ppas/PpasDistributionTransformation.js +16 -83
  236. package/dist/integration-engine/enapo/transformations/ppas/PpasDistributionTransformation.js.map +1 -1
  237. package/dist/integration-engine/enapo/transformations/ppas/PpasInvoicePriceTypeHelper.d.ts +33 -0
  238. package/dist/integration-engine/enapo/transformations/ppas/PpasInvoicePriceTypeHelper.js +87 -0
  239. package/dist/integration-engine/enapo/transformations/ppas/PpasInvoicePriceTypeHelper.js.map +1 -0
  240. package/dist/integration-engine/enapo/transformations/pre/PreDailyMeasurementsTransformation.d.ts +2 -2
  241. package/dist/integration-engine/enapo/transformations/pre/PreDailyMeasurementsTransformation.js +4 -3
  242. package/dist/integration-engine/enapo/transformations/pre/PreDailyMeasurementsTransformation.js.map +1 -1
  243. package/dist/integration-engine/enapo/transformations/pre/PreMeasurementsTransformation.d.ts +2 -2
  244. package/dist/integration-engine/enapo/transformations/pre/PreMeasurementsTransformation.js +5 -4
  245. package/dist/integration-engine/enapo/transformations/pre/PreMeasurementsTransformation.js.map +1 -1
  246. package/dist/integration-engine/enapo/transformations/pre/PreMetadataTransfromation.d.ts +2 -2
  247. package/dist/integration-engine/enapo/transformations/pre/PreMetadataTransfromation.js.map +1 -1
  248. package/dist/integration-engine/enapo/transformations/pre/helpers/DeviceSerialNumberExtractor.js.map +1 -1
  249. package/dist/integration-engine/enapo/workers/EnapoWorker.js +1 -0
  250. package/dist/integration-engine/enapo/workers/EnapoWorker.js.map +1 -1
  251. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasCommercialParams.d.ts +4 -0
  252. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasCommercialParams.js +3 -0
  253. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasCommercialParams.js.map +1 -0
  254. package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasTaskMeasurementParams.d.ts +1 -1
  255. package/dist/integration-engine/enapo/workers/schema/EnapoPpasCommercialParamsSchema.d.ts +5 -0
  256. package/dist/integration-engine/enapo/workers/schema/EnapoPpasCommercialParamsSchema.js +29 -0
  257. package/dist/integration-engine/enapo/workers/schema/EnapoPpasCommercialParamsSchema.js.map +1 -0
  258. package/dist/integration-engine/enapo/workers/schema/EnapoPpasMeasurementsParamsValidationSchema.d.ts +1 -1
  259. package/dist/integration-engine/enapo/workers/schema/EnapoPpasMeasurementsParamsValidationSchema.js +1 -1
  260. package/dist/integration-engine/enapo/workers/schema/EnapoPpasMeasurementsParamsValidationSchema.js.map +1 -1
  261. package/dist/integration-engine/enapo/workers/schema/EnoLookupTaskInputSchema.js +1 -1
  262. package/dist/integration-engine/enapo/workers/schema/EnoLookupTaskInputSchema.js.map +1 -1
  263. package/dist/integration-engine/enapo/workers/task/AbstractEnapoFetchMeasurementsTask.d.ts +2 -2
  264. package/dist/integration-engine/enapo/workers/task/AbstractEnapoFetchMeasurementsTask.js +2 -2
  265. package/dist/integration-engine/enapo/workers/task/AbstractEnapoFetchMeasurementsTask.js.map +1 -1
  266. package/dist/integration-engine/enapo/workers/task/EnapoPpasCommercialTask.d.ts +34 -0
  267. package/dist/integration-engine/enapo/workers/task/EnapoPpasCommercialTask.js +182 -0
  268. package/dist/integration-engine/enapo/workers/task/EnapoPpasCommercialTask.js.map +1 -0
  269. package/dist/integration-engine/enapo/workers/task/EnapoPpasDistributionTask.d.ts +5 -5
  270. package/dist/integration-engine/enapo/workers/task/EnapoPpasDistributionTask.js +9 -8
  271. package/dist/integration-engine/enapo/workers/task/EnapoPpasDistributionTask.js.map +1 -1
  272. package/dist/integration-engine/enapo/workers/task/EnapoPpasTask.d.ts +6 -6
  273. package/dist/integration-engine/enapo/workers/task/EnapoPpasTask.js +9 -8
  274. package/dist/integration-engine/enapo/workers/task/EnapoPpasTask.js.map +1 -1
  275. package/dist/integration-engine/enapo/workers/task/EnapoPrediTask.d.ts +6 -6
  276. package/dist/integration-engine/enapo/workers/task/EnapoPrediTask.js +10 -9
  277. package/dist/integration-engine/enapo/workers/task/EnapoPrediTask.js.map +1 -1
  278. package/dist/integration-engine/enapo/workers/task/EnoBuildingTask.d.ts +6 -6
  279. package/dist/integration-engine/enapo/workers/task/EnoBuildingTask.js +13 -12
  280. package/dist/integration-engine/enapo/workers/task/EnoBuildingTask.js.map +1 -1
  281. package/dist/integration-engine/enapo/workers/task/EnoGeometryTask.d.ts +2 -2
  282. package/dist/integration-engine/enapo/workers/task/EnoGeometryTask.js +9 -8
  283. package/dist/integration-engine/enapo/workers/task/EnoGeometryTask.js.map +1 -1
  284. package/dist/integration-engine/enapo/workers/task/EnoLookupTask.d.ts +9 -9
  285. package/dist/integration-engine/enapo/workers/task/EnoLookupTask.js +14 -13
  286. package/dist/integration-engine/enapo/workers/task/EnoLookupTask.js.map +1 -1
  287. package/dist/integration-engine/enapo/workers/task/EnoStructureTask.d.ts +6 -6
  288. package/dist/integration-engine/enapo/workers/task/EnoStructureTask.js +14 -13
  289. package/dist/integration-engine/enapo/workers/task/EnoStructureTask.js.map +1 -1
  290. package/dist/integration-engine/enapo/workers/task/PorsennaDistributionTask.d.ts +6 -6
  291. package/dist/integration-engine/enapo/workers/task/PorsennaDistributionTask.js +10 -9
  292. package/dist/integration-engine/enapo/workers/task/PorsennaDistributionTask.js.map +1 -1
  293. package/dist/integration-engine/oict-energetika/datasources/OictDataSourceFactory.js.map +1 -1
  294. package/dist/integration-engine/oict-energetika/datasources/helpers/OictApiHelper.js +4 -4
  295. package/dist/integration-engine/oict-energetika/datasources/helpers/OictApiHelper.js.map +1 -1
  296. package/dist/integration-engine/oict-energetika/ioc/Di.js +1 -1
  297. package/dist/integration-engine/oict-energetika/ioc/Di.js.map +1 -1
  298. package/dist/integration-engine/oict-energetika/repositories/ConsumptionRepository.d.ts +1 -1
  299. package/dist/integration-engine/oict-energetika/repositories/ConsumptionRepository.js +2 -2
  300. package/dist/integration-engine/oict-energetika/repositories/ConsumptionRepository.js.map +1 -1
  301. package/dist/integration-engine/oict-energetika/schema/FetchConsumptionSchema.d.ts +1 -1
  302. package/dist/integration-engine/oict-energetika/schema/FetchDataSchema.d.ts +1 -1
  303. package/dist/integration-engine/oict-energetika/tasks/FetchConsumptionTask.d.ts +2 -2
  304. package/dist/integration-engine/oict-energetika/tasks/FetchConsumptionTask.js +9 -9
  305. package/dist/integration-engine/oict-energetika/tasks/FetchConsumptionTask.js.map +1 -1
  306. package/dist/integration-engine/oict-energetika/tasks/FetchDataTask.d.ts +2 -2
  307. package/dist/integration-engine/oict-energetika/tasks/FetchDataTask.js +1 -1
  308. package/dist/integration-engine/oict-energetika/tasks/FetchDataTask.js.map +1 -1
  309. package/dist/integration-engine/oict-energetika/transformations/ConsumptionTransformation.d.ts +2 -2
  310. package/dist/integration-engine/oict-energetika/transformations/ConsumptionTransformation.js +1 -1
  311. package/dist/integration-engine/oict-energetika/transformations/ConsumptionTransformation.js.map +1 -1
  312. package/dist/integration-engine/oict-energetika/workers/OictEnergetikaWorker.js +3 -3
  313. package/dist/integration-engine/oict-energetika/workers/OictEnergetikaWorker.js.map +1 -1
  314. package/dist/integration-engine/shared/helpers/ParserHelpers.js +2 -3
  315. package/dist/integration-engine/shared/helpers/ParserHelpers.js.map +1 -1
  316. package/dist/integration-engine/shared/helpers/UnimonitorCemApiHelper.js.map +1 -1
  317. package/dist/integration-engine/vpalace/datasources/VpalaceMeasurementDataSource.js +4 -3
  318. package/dist/integration-engine/vpalace/datasources/VpalaceMeasurementDataSource.js.map +1 -1
  319. package/dist/integration-engine/vpalace/datasources/VpalaceMeasuringEquipmentDataSource.js +4 -3
  320. package/dist/integration-engine/vpalace/datasources/VpalaceMeasuringEquipmentDataSource.js.map +1 -1
  321. package/dist/integration-engine/vpalace/datasources/VpalaceMeterTypeDataSource.js +4 -3
  322. package/dist/integration-engine/vpalace/datasources/VpalaceMeterTypeDataSource.js.map +1 -1
  323. package/dist/integration-engine/vpalace/datasources/VpalaceTypeMeasuringEquipmentDataSource.js +4 -3
  324. package/dist/integration-engine/vpalace/datasources/VpalaceTypeMeasuringEquipmentDataSource.js.map +1 -1
  325. package/dist/integration-engine/vpalace/datasources/VpalaceUnitsDataSource.js +4 -3
  326. package/dist/integration-engine/vpalace/datasources/VpalaceUnitsDataSource.js.map +1 -1
  327. package/dist/integration-engine/vpalace/ioc/Di.js +18 -18
  328. package/dist/integration-engine/vpalace/ioc/Di.js.map +1 -1
  329. package/dist/integration-engine/vpalace/repositories/VpalacUnitsRepository.js +3 -2
  330. package/dist/integration-engine/vpalace/repositories/VpalacUnitsRepository.js.map +1 -1
  331. package/dist/integration-engine/vpalace/repositories/VpalaceMeasurementRepository.js +3 -2
  332. package/dist/integration-engine/vpalace/repositories/VpalaceMeasurementRepository.js.map +1 -1
  333. package/dist/integration-engine/vpalace/repositories/VpalaceMeasuringEquipmentRepository.js +3 -2
  334. package/dist/integration-engine/vpalace/repositories/VpalaceMeasuringEquipmentRepository.js.map +1 -1
  335. package/dist/integration-engine/vpalace/repositories/VpalaceMeterTypeRepository.js +3 -2
  336. package/dist/integration-engine/vpalace/repositories/VpalaceMeterTypeRepository.js.map +1 -1
  337. package/dist/integration-engine/vpalace/repositories/VpalaceTypeMeasuringEquipmentRepository.js +3 -2
  338. package/dist/integration-engine/vpalace/repositories/VpalaceTypeMeasuringEquipmentRepository.js.map +1 -1
  339. package/dist/integration-engine/vpalace/schema/FetchXDaysDataValidationSchema.d.ts +1 -1
  340. package/dist/integration-engine/vpalace/schema/FetchXHoursDataValidationSchema.d.ts +1 -1
  341. package/dist/integration-engine/vpalace/tasks/FetchDateFactory.js +2 -1
  342. package/dist/integration-engine/vpalace/tasks/FetchDateFactory.js.map +1 -1
  343. package/dist/integration-engine/vpalace/tasks/FetchXDaysDataTask.d.ts +2 -2
  344. package/dist/integration-engine/vpalace/tasks/FetchXDaysDataTask.js +3 -3
  345. package/dist/integration-engine/vpalace/tasks/FetchXDaysDataTask.js.map +1 -1
  346. package/dist/integration-engine/vpalace/tasks/FetchXHoursDataTask.d.ts +2 -2
  347. package/dist/integration-engine/vpalace/tasks/FetchXHoursDataTask.js +3 -3
  348. package/dist/integration-engine/vpalace/tasks/FetchXHoursDataTask.js.map +1 -1
  349. package/dist/integration-engine/vpalace/tasks/MeasurementDataFetcher.d.ts +3 -3
  350. package/dist/integration-engine/vpalace/tasks/MeasurementDataFetcher.js +5 -4
  351. package/dist/integration-engine/vpalace/tasks/MeasurementDataFetcher.js.map +1 -1
  352. package/dist/integration-engine/vpalace/tasks/MeasuringEquipmentFetcher.d.ts +3 -3
  353. package/dist/integration-engine/vpalace/tasks/MeasuringEquipmentFetcher.js +5 -4
  354. package/dist/integration-engine/vpalace/tasks/MeasuringEquipmentFetcher.js.map +1 -1
  355. package/dist/integration-engine/vpalace/tasks/MeterTypeFetcher.d.ts +3 -3
  356. package/dist/integration-engine/vpalace/tasks/MeterTypeFetcher.js +5 -4
  357. package/dist/integration-engine/vpalace/tasks/MeterTypeFetcher.js.map +1 -1
  358. package/dist/integration-engine/vpalace/tasks/TypeMeasuringEquipmentFetcher.d.ts +3 -3
  359. package/dist/integration-engine/vpalace/tasks/TypeMeasuringEquipmentFetcher.js +5 -4
  360. package/dist/integration-engine/vpalace/tasks/TypeMeasuringEquipmentFetcher.js.map +1 -1
  361. package/dist/integration-engine/vpalace/tasks/UnitDataFetcher.d.ts +3 -3
  362. package/dist/integration-engine/vpalace/tasks/UnitDataFetcher.js +5 -4
  363. package/dist/integration-engine/vpalace/tasks/UnitDataFetcher.js.map +1 -1
  364. package/dist/integration-engine/vpalace/transformations/VpalacMeasurementTransformation.js +4 -3
  365. package/dist/integration-engine/vpalace/transformations/VpalacMeasurementTransformation.js.map +1 -1
  366. package/dist/integration-engine/vpalace/transformations/VpalacMeasuringEquipmentTransformation.js +3 -2
  367. package/dist/integration-engine/vpalace/transformations/VpalacMeasuringEquipmentTransformation.js.map +1 -1
  368. package/dist/integration-engine/vpalace/transformations/VpalacMeterTypeTransformation.js +3 -2
  369. package/dist/integration-engine/vpalace/transformations/VpalacMeterTypeTransformation.js.map +1 -1
  370. package/dist/integration-engine/vpalace/transformations/VpalacTypeMeasuringEquipmentTransformation.js +3 -2
  371. package/dist/integration-engine/vpalace/transformations/VpalacTypeMeasuringEquipmentTransformation.js.map +1 -1
  372. package/dist/integration-engine/vpalace/transformations/VpalacUnitsTransformation.js +3 -2
  373. package/dist/integration-engine/vpalace/transformations/VpalacUnitsTransformation.js.map +1 -1
  374. package/dist/integration-engine/vpalace/workers/EnergeticsNewVpalaceWorker.js +2 -2
  375. package/dist/integration-engine/vpalace/workers/EnergeticsNewVpalaceWorker.js.map +1 -1
  376. package/dist/output-gateway/controllers/helpers/parsePaginationParams.d.ts +1 -2
  377. package/dist/output-gateway/controllers/helpers/parsePaginationParams.js +1 -2
  378. package/dist/output-gateway/controllers/helpers/parsePaginationParams.js.map +1 -1
  379. package/dist/output-gateway/controllers/interfaces/IMeasurementsParams.d.ts +1 -1
  380. package/dist/output-gateway/controllers/v2/AbstractController.d.ts +1 -2
  381. package/dist/output-gateway/controllers/v2/AbstractController.js.map +1 -1
  382. package/dist/output-gateway/controllers/v2/BuildingsController.d.ts +2 -2
  383. package/dist/output-gateway/controllers/v2/BuildingsController.js +7 -6
  384. package/dist/output-gateway/controllers/v2/BuildingsController.js.map +1 -1
  385. package/dist/output-gateway/controllers/v2/V2DevicesController.d.ts +3 -4
  386. package/dist/output-gateway/controllers/v2/V2DevicesController.js +7 -6
  387. package/dist/output-gateway/controllers/v2/V2DevicesController.js.map +1 -1
  388. package/dist/output-gateway/controllers/v2/V2MeasurementsController.d.ts +2 -3
  389. package/dist/output-gateway/controllers/v2/V2MeasurementsController.js +6 -5
  390. package/dist/output-gateway/controllers/v2/V2MeasurementsController.js.map +1 -1
  391. package/dist/output-gateway/controllers/v2/V2OrganizationsController.d.ts +4 -5
  392. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js +8 -7
  393. package/dist/output-gateway/controllers/v2/V2OrganizationsController.js.map +1 -1
  394. package/dist/output-gateway/helpers/CreateLinkHelper.js +3 -2
  395. package/dist/output-gateway/helpers/CreateLinkHelper.js.map +1 -1
  396. package/dist/output-gateway/index.js +2 -2
  397. package/dist/output-gateway/index.js.map +1 -1
  398. package/dist/output-gateway/ioc/Di.js +21 -21
  399. package/dist/output-gateway/ioc/Di.js.map +1 -1
  400. package/dist/output-gateway/repositories/AccessLimitationRepository.d.ts +1 -1
  401. package/dist/output-gateway/repositories/AccessLimitationRepository.js +2 -2
  402. package/dist/output-gateway/repositories/AccessLimitationRepository.js.map +1 -1
  403. package/dist/output-gateway/repositories/DevicesRepository.d.ts +2 -2
  404. package/dist/output-gateway/repositories/DevicesRepository.js +6 -5
  405. package/dist/output-gateway/repositories/DevicesRepository.js.map +1 -1
  406. package/dist/output-gateway/repositories/MeasurementRepository.d.ts +2 -2
  407. package/dist/output-gateway/repositories/MeasurementRepository.js +5 -4
  408. package/dist/output-gateway/repositories/MeasurementRepository.js.map +1 -1
  409. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.js +4 -3
  410. package/dist/output-gateway/repositories/OrganizationBuildingsRepository.js.map +1 -1
  411. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.js +4 -3
  412. package/dist/output-gateway/repositories/OrganizationResponsibleUsersRepository.js.map +1 -1
  413. package/dist/output-gateway/repositories/OrganizationsRepository.d.ts +6 -6
  414. package/dist/output-gateway/repositories/OrganizationsRepository.js +9 -8
  415. package/dist/output-gateway/repositories/OrganizationsRepository.js.map +1 -1
  416. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.d.ts +2 -2
  417. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.js +4 -3
  418. package/dist/output-gateway/repositories/PrimaryBuildingsRepository.js.map +1 -1
  419. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.js +3 -2
  420. package/dist/output-gateway/repositories/SecondaryBuildingsRepository.js.map +1 -1
  421. package/dist/output-gateway/repositories/helpers/OrganizationsAssociations.d.ts +4 -4
  422. package/dist/output-gateway/repositories/interfaces/IOrganizationDetailDto.d.ts +3 -3
  423. package/dist/output-gateway/routers/interfaces/IDeviceResponse.d.ts +1 -1
  424. package/dist/output-gateway/routers/interfaces/IOrganizationDetailResponse.d.ts +1 -1
  425. package/dist/output-gateway/routers/interfaces/IOrganizationResponse.d.ts +1 -1
  426. package/dist/output-gateway/routers/v2/V2BuildingsRouter.js +6 -5
  427. package/dist/output-gateway/routers/v2/V2BuildingsRouter.js.map +1 -1
  428. package/dist/output-gateway/routers/v2/V2DevicesRouter.d.ts +1 -1
  429. package/dist/output-gateway/routers/v2/V2DevicesRouter.js +7 -6
  430. package/dist/output-gateway/routers/v2/V2DevicesRouter.js.map +1 -1
  431. package/dist/output-gateway/routers/v2/V2MeasurementsRouter.d.ts +1 -1
  432. package/dist/output-gateway/routers/v2/V2MeasurementsRouter.js +8 -7
  433. package/dist/output-gateway/routers/v2/V2MeasurementsRouter.js.map +1 -1
  434. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.d.ts +1 -1
  435. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.js +7 -6
  436. package/dist/output-gateway/routers/v2/V2OrganizationsRouter.js.map +1 -1
  437. package/dist/output-gateway/transformations/BuildingTransformationFull.d.ts +3 -3
  438. package/dist/output-gateway/transformations/BuildingTransformationFull.js +5 -4
  439. package/dist/output-gateway/transformations/BuildingTransformationFull.js.map +1 -1
  440. package/dist/output-gateway/transformations/BuildingsTransformation.d.ts +2 -2
  441. package/dist/output-gateway/transformations/BuildingsTransformation.js +5 -4
  442. package/dist/output-gateway/transformations/BuildingsTransformation.js.map +1 -1
  443. package/dist/output-gateway/transformations/DeviceDtoTransformation.d.ts +2 -2
  444. package/dist/output-gateway/transformations/DeviceDtoTransformation.js +2 -1
  445. package/dist/output-gateway/transformations/DeviceDtoTransformation.js.map +1 -1
  446. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.d.ts +2 -2
  447. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.js +5 -4
  448. package/dist/output-gateway/transformations/OrganizationDetailDtoTransformation.js.map +1 -1
  449. package/dist/output-gateway/transformations/OrganizationDtoTransformation.d.ts +2 -2
  450. package/dist/output-gateway/transformations/OrganizationDtoTransformation.js +5 -4
  451. package/dist/output-gateway/transformations/OrganizationDtoTransformation.js.map +1 -1
  452. package/dist/schema-definitions/datasources/AccessConfigurationJsonSchema.d.ts +1 -1
  453. package/dist/schema-definitions/datasources/PreCsvInputSchema.d.ts +1 -1
  454. package/dist/schema-definitions/datasources/PreJsonInputSchema.d.ts +1 -1
  455. package/dist/schema-definitions/datasources/enapo/ppas/IPpasInvoiceCommon.d.ts +23 -0
  456. package/dist/schema-definitions/datasources/enapo/ppas/IPpasInvoiceCommon.js +3 -0
  457. package/dist/schema-definitions/datasources/enapo/ppas/IPpasInvoiceCommon.js.map +1 -0
  458. package/dist/schema-definitions/datasources/enapo/ppas/commercial/IPpasCommercialInvoiceDetailInput.d.ts +62 -0
  459. package/dist/schema-definitions/datasources/enapo/ppas/commercial/IPpasCommercialInvoiceDetailInput.js +3 -0
  460. package/dist/schema-definitions/datasources/enapo/ppas/commercial/IPpasCommercialInvoiceDetailInput.js.map +1 -0
  461. package/dist/schema-definitions/datasources/enapo/ppas/commercial/IPpasCommercialInvoiceListInput.d.ts +26 -0
  462. package/dist/schema-definitions/datasources/enapo/ppas/commercial/IPpasCommercialInvoiceListInput.js +3 -0
  463. package/dist/schema-definitions/datasources/enapo/ppas/commercial/IPpasCommercialInvoiceListInput.js.map +1 -0
  464. package/dist/schema-definitions/datasources/enapo/ppas/commercial/PpasCommercialSchema.d.ts +5 -0
  465. package/dist/schema-definitions/datasources/enapo/ppas/commercial/PpasCommercialSchema.js +185 -0
  466. package/dist/schema-definitions/datasources/enapo/ppas/commercial/PpasCommercialSchema.js.map +1 -0
  467. package/dist/schema-definitions/datasources/enapo/ppas/distribution/IPpasDistributionInvoiceDetailInput.d.ts +7 -6
  468. package/dist/schema-definitions/datasources/enapo/ppas/distribution/IPpasDistributionInvoiceListInput.d.ts +5 -27
  469. package/dist/schema-definitions/datasources/enapo/ppas/distribution/PpasDistributionSchema.js.map +1 -1
  470. package/dist/schema-definitions/models/MeasurementsModel.js +1 -1
  471. package/dist/schema-definitions/models/MeasurementsModel.js.map +1 -1
  472. package/dist/schema-definitions/models/OrganizationBuildingModel.d.ts +1 -1
  473. package/dist/schema-definitions/models/OrganizationResponsibleUsersModel.d.ts +1 -1
  474. package/dist/schema-definitions/models/OrganizationsModel.d.ts +1 -1
  475. package/dist/schema-definitions/models/enapo/EnapoMeasurementsModel.js +1 -1
  476. package/dist/schema-definitions/models/enapo/EnapoMeasurementsModel.js.map +1 -1
  477. package/dist/schema-definitions/models/enapo/EnapoMetadataModel.d.ts +1 -1
  478. package/dist/schema-definitions/models/enapo/PreIncomingDataLogModel.d.ts +1 -1
  479. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceDeviceModel.d.ts +24 -0
  480. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceDeviceModel.js +54 -0
  481. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceDeviceModel.js.map +1 -0
  482. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceInstallationModel.d.ts +26 -0
  483. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceInstallationModel.js +56 -0
  484. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceInstallationModel.js.map +1 -0
  485. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceModel.d.ts +30 -0
  486. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceModel.js +64 -0
  487. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoiceModel.js.map +1 -0
  488. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoicePriceModel.d.ts +23 -0
  489. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoicePriceModel.js +52 -0
  490. package/dist/schema-definitions/models/enapo/ppas/PpasCommercialInvoicePriceModel.js.map +1 -0
  491. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoice.d.ts +24 -0
  492. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoice.js +3 -0
  493. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoice.js.map +1 -0
  494. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoiceDevice.d.ts +19 -0
  495. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoiceDevice.js +3 -0
  496. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoiceDevice.js.map +1 -0
  497. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoiceInstallation.d.ts +20 -0
  498. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoiceInstallation.js +3 -0
  499. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoiceInstallation.js.map +1 -0
  500. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoicePrice.d.ts +18 -0
  501. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoicePrice.js +3 -0
  502. package/dist/schema-definitions/models/enapo/ppas/interfaces/IPpasCommercialInvoicePrice.js.map +1 -0
  503. package/dist/schema-definitions/models/interfaces/IStaticDataOutputDto.d.ts +1 -1
  504. package/docs/implementation_documentation.md +60 -1
  505. package/package.json +45 -12
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ var dbm;
4
+ var type;
5
+ var seed;
6
+ var fs = require('fs');
7
+ var path = require('path');
8
+ var Promise;
9
+
10
+ exports.setup = function(options, seedLink) {
11
+ dbm = options.dbmigrate;
12
+ type = dbm.dataType;
13
+ seed = seedLink;
14
+ Promise = options.Promise;
15
+ };
16
+
17
+ exports.up = function(db) {
18
+ var filePath = path.join(__dirname, 'sqls', '20260619000001-ppas-commercial-invoice-up.sql');
19
+ return new Promise( function( resolve, reject ) {
20
+ fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){
21
+ if (err) return reject(err);
22
+ console.log('received data: ' + data);
23
+ resolve(data);
24
+ });
25
+ })
26
+ .then(function(data) {
27
+ return db.runSql(data);
28
+ });
29
+ };
30
+
31
+ exports.down = function(db) {
32
+ var filePath = path.join(__dirname, 'sqls', '20260619000001-ppas-commercial-invoice-down.sql');
33
+ return new Promise( function( resolve, reject ) {
34
+ fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){
35
+ if (err) return reject(err);
36
+ console.log('received data: ' + data);
37
+ resolve(data);
38
+ });
39
+ })
40
+ .then(function(data) {
41
+ return db.runSql(data);
42
+ });
43
+ };
44
+
45
+ exports._meta = {
46
+ "version": 1
47
+ };
@@ -0,0 +1,4 @@
1
+ DROP TABLE IF EXISTS enapo_ppas_commercial_invoice_price;
2
+ DROP TABLE IF EXISTS enapo_ppas_commercial_invoice_device;
3
+ DROP TABLE IF EXISTS enapo_ppas_commercial_invoice_installations;
4
+ DROP TABLE IF EXISTS enapo_ppas_commercial_invoice;
@@ -0,0 +1,99 @@
1
+ CREATE TABLE enapo_ppas_commercial_invoice (
2
+ id varchar,
3
+ preceding_id varchar NULL,
4
+ customer_id varchar,
5
+ customer_company_id varchar NULL,
6
+ customer_name varchar NULL,
7
+ customer_contract_account_id varchar NULL,
8
+ customer_address_street varchar NULL,
9
+ customer_address_house_number varchar NULL,
10
+ customer_address_house_org_number varchar NULL,
11
+ customer_address_city varchar NULL,
12
+ customer_address_city_part varchar NULL,
13
+ customer_address_post_code varchar NULL,
14
+ customer_address_country varchar NULL,
15
+ customer_address_ruian_id int8 NULL,
16
+ facts_doc_date date NULL,
17
+ facts_net_date date NULL,
18
+ facts_billing_transaction varchar NULL,
19
+ facts_to_pay_amount numeric NULL,
20
+ facts_currency varchar NULL,
21
+ facts_price_brutto numeric NULL,
22
+ is_canceled bool NULL,
23
+ canceled_reason varchar NULL,
24
+ created_at timestamptz DEFAULT now() NULL,
25
+ updated_at timestamptz NULL,
26
+ CONSTRAINT enapo_ppas_commercial_invoice_pk PRIMARY KEY (id, customer_id)
27
+ );
28
+
29
+ CREATE TABLE enapo_ppas_commercial_invoice_installations (
30
+ invoice_id varchar,
31
+ customer_id varchar,
32
+ place_id varchar,
33
+ eic varchar NULL,
34
+ billing_class varchar NULL,
35
+ measurement_type varchar NULL,
36
+ contract_contract_id varchar NULL,
37
+ contract_move_in_date date NULL,
38
+ contract_move_out_date date NULL,
39
+ tdd_class varchar NULL,
40
+ address_street varchar NULL,
41
+ address_house_number varchar NULL,
42
+ address_house_org_number varchar NULL,
43
+ address_city varchar NULL,
44
+ address_city_part varchar NULL,
45
+ address_post_code varchar NULL,
46
+ address_country varchar NULL,
47
+ address_ruian_id int8 NULL,
48
+ created_at timestamptz DEFAULT now() NULL,
49
+ updated_at timestamptz NULL,
50
+ CONSTRAINT enapo_ppas_commercial_invoice_installations_pk PRIMARY KEY (invoice_id, customer_id, place_id)
51
+ );
52
+
53
+ CREATE TABLE enapo_ppas_commercial_invoice_device (
54
+ device_serial_number varchar,
55
+ invoice_id varchar,
56
+ place_id varchar,
57
+ date_from date,
58
+ date_to date,
59
+ "type" varchar NULL,
60
+ kind varchar,
61
+ reading_type varchar,
62
+ reading_from numeric NULL,
63
+ reading_to numeric NULL,
64
+ consumption numeric NULL,
65
+ unit varchar NULL,
66
+ meter_reading_type varchar NULL,
67
+ gas_consumption_kwh numeric NULL,
68
+ volume_coefficient float8 NULL,
69
+ combustion_heat float8 NULL,
70
+ normometers_nm3 float8 NULL,
71
+ created_at timestamptz DEFAULT now() NULL,
72
+ updated_at timestamptz NULL,
73
+ CONSTRAINT enapo_ppas_commercial_invoice_device_pk PRIMARY KEY (device_serial_number, invoice_id, place_id, date_from, date_to, reading_type, kind)
74
+ );
75
+
76
+ CREATE TABLE enapo_ppas_commercial_invoice_price (
77
+ invoice_id varchar,
78
+ customer_id varchar,
79
+ place_id varchar,
80
+ date_from date,
81
+ date_to date,
82
+ kind varchar,
83
+ description varchar NULL,
84
+ price_group varchar NULL,
85
+ quantity numeric NULL,
86
+ unit varchar NULL,
87
+ unit_price numeric NULL,
88
+ time_slot numeric NULL,
89
+ price_netto numeric NULL,
90
+ price_type varchar,
91
+ currency varchar NULL,
92
+ tax_rate numeric NULL,
93
+ created_at timestamptz DEFAULT now() NULL,
94
+ updated_at timestamptz NULL,
95
+ CONSTRAINT enapo_ppas_commercial_invoice_price_pk PRIMARY KEY (invoice_id, customer_id, place_id, date_from, date_to, kind, price_type)
96
+ );
97
+
98
+ CREATE INDEX idx_ppas_commercial_invoice_installations_eic ON enapo_ppas_commercial_invoice_installations(eic);
99
+ CREATE INDEX idx_ppas_commercial_invoice_installations_place_id ON enapo_ppas_commercial_invoice_installations(place_id);
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * as IntegrationEngine from "./integration-engine/index";
2
- export * as SchemaDefinitions from "./schema-definitions/index";
1
+ export * as IntegrationEngine from "#ie";
2
+ export * as SchemaDefinitions from "#sch";
package/dist/index.js CHANGED
@@ -15,16 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.SchemaDefinitions = exports.IntegrationEngine = void 0;
27
37
  // Library exports
28
- exports.IntegrationEngine = __importStar(require("./integration-engine/index"));
29
- exports.SchemaDefinitions = __importStar(require("./schema-definitions/index"));
38
+ exports.IntegrationEngine = __importStar(require("#ie"));
39
+ exports.SchemaDefinitions = __importStar(require("#sch"));
30
40
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,gFAA+C;AAC/C,gFAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,yDAAyC;AACzC,0DAA0C"}
@@ -1,6 +1,6 @@
1
1
  import { BaseController } from "@golemio/core/dist/input-gateway/controllers";
2
- import { PreCsvInputTransformation } from "../transformations/PreCsvInputTransformation";
3
- import { IPreCsvInput } from "../../schema-definitions/datasources/interfaces/IPreCsvInput";
2
+ import { PreCsvInputTransformation } from "#ig/transformations/PreCsvInputTransformation";
3
+ import { IPreCsvInput } from "#sch/datasources/interfaces/IPreCsvInput";
4
4
  export declare class PreCsvInputController extends BaseController {
5
5
  private transformation;
6
6
  constructor(transformation: PreCsvInputTransformation);
@@ -4,8 +4,8 @@ exports.PreCsvInputController = void 0;
4
4
  const controllers_1 = require("@golemio/core/dist/input-gateway/controllers");
5
5
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
6
6
  const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
7
- const constants_1 = require("../../schema-definitions/constants");
8
- const PreCsvInputSchema_1 = require("../../schema-definitions/datasources/PreCsvInputSchema");
7
+ const constants_1 = require("#sch/constants");
8
+ const PreCsvInputSchema_1 = require("#sch/datasources/PreCsvInputSchema");
9
9
  class PreCsvInputController extends controllers_1.BaseController {
10
10
  constructor(transformation) {
11
11
  super(constants_1.WORKER_NAME, new golemio_validator_1.JSONSchemaValidator("PreCsvInputController", PreCsvInputSchema_1.preCsvInputSchema));
@@ -1 +1 @@
1
- {"version":3,"file":"PreCsvInputController.js","sourceRoot":"","sources":["../../../src/input-gateway/pre/PreCsvInputController.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAC9E,mFAAkF;AAClF,6EAA8F;AAC9F,kEAA6C;AAE7C,8FAAuE;AAGvE,MAAa,qBAAsB,SAAQ,4BAAc;IACrD,YAAoB,cAAyC;QACzD,KAAK,CAAC,uBAAW,EAAE,IAAI,uCAAmB,CAAC,uBAAuB,EAAE,qCAAiB,CAAC,CAAC,CAAC;QADxE,mBAAc,GAAd,cAAc,CAA2B;QAItD,gBAAW,GAAG,KAAK,EAAE,SAAyB,EAAE,EAAE;YACrD,IAAI;gBACA,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACzC,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;gBACvE,MAAM,IAAI,CAAC,qBAAqB,CAC5B,QAAQ,GAAG,IAAI,CAAC,WAAW,GAAG,4BAA4B,EAC1D,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,EAC9B;oBACI,UAAU,EAAE,IAAI;iBACnB,CACJ,CAAC;aACL;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,GAAG,YAAY,qCAAoB,EAAE;oBACrC,MAAM,GAAG,CAAC;iBACb;qBAAM;oBACH,MAAM,IAAI,6BAAY,CAAC,oCAAoC,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;iBACrF;aACJ;QACL,CAAC,CAAC;IApBF,CAAC;CAqBJ;AAxBD,sDAwBC"}
1
+ {"version":3,"file":"PreCsvInputController.js","sourceRoot":"","sources":["../../../src/input-gateway/pre/PreCsvInputController.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAC9E,mFAAkF;AAClF,6EAA8F;AAC9F,8CAA6C;AAE7C,0EAAuE;AAGvE,MAAa,qBAAsB,SAAQ,4BAAc;IACrD,YAAoB,cAAyC;QACzD,KAAK,CAAC,uBAAW,EAAE,IAAI,uCAAmB,CAAC,uBAAuB,EAAE,qCAAiB,CAAC,CAAC,CAAC;QADxE,mBAAc,GAAd,cAAc,CAA2B;QAItD,gBAAW,GAAG,KAAK,EAAE,SAAyB,EAAE,EAAE;YACrD,IAAI,CAAC;gBACD,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACzC,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;gBACvE,MAAM,IAAI,CAAC,qBAAqB,CAC5B,QAAQ,GAAG,IAAI,CAAC,WAAW,GAAG,4BAA4B,EAC1D,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,EAC9B;oBACI,UAAU,EAAE,IAAI;iBACnB,CACJ,CAAC;YACN,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,GAAG,YAAY,qCAAoB,EAAE,CAAC;oBACtC,MAAM,GAAG,CAAC;gBACd,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,6BAAY,CAAC,oCAAoC,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;gBACtF,CAAC;YACL,CAAC;QACL,CAAC,CAAC;IApBF,CAAC;CAqBJ;AAxBD,sDAwBC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="express" />
2
1
  import { Router } from "@golemio/core/dist/shared/express";
3
2
  export declare class PreInputRouter {
4
3
  router: Router;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.preInputRouter = exports.PreInputRouter = void 0;
4
- const PreCsvInputController_1 = require("./PreCsvInputController");
5
- const PreJsonInputController_1 = require("./PreJsonInputController");
6
- const PreCsvInputTransformation_1 = require("../transformations/PreCsvInputTransformation");
4
+ const PreCsvInputController_1 = require("#ig/pre/PreCsvInputController");
5
+ const PreJsonInputController_1 = require("#ig/pre/PreJsonInputController");
6
+ const PreCsvInputTransformation_1 = require("#ig/transformations/PreCsvInputTransformation");
7
7
  const helpers_1 = require("@golemio/core/dist/input-gateway/helpers");
8
8
  const ioc_1 = require("@golemio/core/dist/input-gateway/ioc");
9
9
  const express_1 = require("@golemio/core/dist/shared/express");
@@ -1 +1 @@
1
- {"version":3,"file":"PreInputRouter.js","sourceRoot":"","sources":["../../../src/input-gateway/pre/PreInputRouter.ts"],"names":[],"mappings":";;;AAAA,mEAAsE;AACtE,qEAAwE;AACxE,4FAA0F;AAC1F,sEAAsF;AACtF,8DAA6F;AAE7F,+DAA4F;AAE5F,MAAa,cAAc;IAMvB;QAQQ,eAAU,GAAG,GAAS,EAAE;YAC5B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAA,oCAA0B,EAAC,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1F,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,MAAM,EACN,IAAA,oCAA0B,EAAC,CAAC,UAAU,CAAC,CAAC,EACxC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,GAAG;gBACd,oBAAoB,EAAE,IAAI;aAC7B,CAAC,EACF,IAAI,CAAC,UAAU,CAClB,CAAC;QACN,CAAC,CAAC;QAEM,gBAAW,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YAC3F,IAAI;gBACA,MAAM,IAAI,CAAC,mBAAmB,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBACrD,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;aACvB;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,CAAC;aACb;QACL,CAAC,CAAC;QAEM,eAAU,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,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../schema-definitions/datasources/interfaces/IPreJsonInput";
1
+ import { IPreJsonInput } from "#sch/datasources/interfaces/IPreJsonInput";
2
2
  import { BaseController } from "@golemio/core/dist/input-gateway/controllers";
3
3
  export declare class PreJsonInputController extends BaseController {
4
4
  constructor();
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PreJsonInputController = void 0;
4
- const constants_1 = require("../../schema-definitions/constants");
5
- const EnapoPreInputSchema_1 = require("../../schema-definitions/datasources/enapo/EnapoPreInputSchema");
4
+ const constants_1 = require("#sch/constants");
5
+ const EnapoPreInputSchema_1 = require("#sch/datasources/enapo/EnapoPreInputSchema");
6
6
  const controllers_1 = require("@golemio/core/dist/input-gateway/controllers");
7
7
  const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
8
8
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
@@ -1 +1 @@
1
- {"version":3,"file":"PreJsonInputController.js","sourceRoot":"","sources":["../../../src/input-gateway/pre/PreJsonInputController.ts"],"names":[],"mappings":";;;AAAA,kEAAmD;AACnD,wGAAiF;AAEjF,8EAA8E;AAC9E,6EAA8F;AAC9F,mFAAkF;AAElF,MAAa,sBAAuB,SAAQ,4BAAc;IACtD;QACI,KAAK,CAAC,6BAAiB,EAAE,IAAI,uCAAmB,CAAC,wBAAwB,EAAE,yCAAmB,CAAC,CAAC,CAAC;QAG9F,gBAAW,GAAG,KAAK,EAAE,SAAwB,EAAE,EAAE;YACpD,IAAI;gBACA,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACzC,MAAM,IAAI,CAAC,qBAAqB,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,GAAG,mBAAmB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;oBAC3G,UAAU,EAAE,IAAI;iBACnB,CAAC,CAAC;aACN;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,GAAG,YAAY,qCAAoB,EAAE;oBACrC,MAAM,GAAG,CAAC;iBACb;qBAAM;oBACH,MAAM,IAAI,6BAAY,CAAC,oCAAoC,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;iBACrF;aACJ;QACL,CAAC,CAAC;IAfF,CAAC;CAgBJ;AAnBD,wDAmBC"}
1
+ {"version":3,"file":"PreJsonInputController.js","sourceRoot":"","sources":["../../../src/input-gateway/pre/PreJsonInputController.ts"],"names":[],"mappings":";;;AAAA,8CAAmD;AACnD,oFAAiF;AAEjF,8EAA8E;AAC9E,6EAA8F;AAC9F,mFAAkF;AAElF,MAAa,sBAAuB,SAAQ,4BAAc;IACtD;QACI,KAAK,CAAC,6BAAiB,EAAE,IAAI,uCAAmB,CAAC,wBAAwB,EAAE,yCAAmB,CAAC,CAAC,CAAC;QAG9F,gBAAW,GAAG,KAAK,EAAE,SAAwB,EAAE,EAAE;YACpD,IAAI,CAAC;gBACD,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACzC,MAAM,IAAI,CAAC,qBAAqB,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,GAAG,mBAAmB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;oBAC3G,UAAU,EAAE,IAAI;iBACnB,CAAC,CAAC;YACP,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,GAAG,YAAY,qCAAoB,EAAE,CAAC;oBACtC,MAAM,GAAG,CAAC;gBACd,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,6BAAY,CAAC,oCAAoC,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;gBACtF,CAAC;YACL,CAAC;QACL,CAAC,CAAC;IAfF,CAAC;CAgBJ;AAnBD,wDAmBC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="express" />
2
1
  import { Router } from "@golemio/core/dist/shared/express";
3
2
  export declare class PtasRouter {
4
3
  router: Router;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ptasRouter = exports.PtasRouter = void 0;
4
- const PtasWebScrapingController_1 = require("./PtasWebScrapingController");
4
+ const PtasWebScrapingController_1 = require("#ig/ptas/PtasWebScrapingController");
5
5
  const helpers_1 = require("@golemio/core/dist/input-gateway/helpers");
6
6
  const ContainerToken_1 = require("@golemio/core/dist/input-gateway/ioc/ContainerToken");
7
7
  const Di_1 = require("@golemio/core/dist/input-gateway/ioc/Di");
@@ -1 +1 @@
1
- {"version":3,"file":"PtasRouter.js","sourceRoot":"","sources":["../../../src/input-gateway/ptas/PtasRouter.ts"],"names":[],"mappings":";;;AAAA,2EAA+E;AAC/E,sEAAsF;AACtF,wFAAqF;AACrF,gEAAgF;AAEhF,+DAAmF;AAGnF,MAAa,UAAU;IAKnB;QAOQ,eAAU,GAAG,GAAS,EAAE;YAC5B,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,WAAW,EACX,IAAA,oCAA0B,EAAC,CAAC,UAAU,CAAC,CAAC,EACxC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,GAAG;gBACd,oBAAoB,EAAE,IAAI;aAC7B,CAAC,EACF,IAAI,CAAC,IAAI,CACZ,CAAC;QACN,CAAC,CAAC;QAEM,SAAI,GAAG,KAAK,EAAE,GAAyB,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YACjG,IAAI;gBACA,MAAM,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;oBAC9B,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,OAAO;oBAC3B,YAAY,EAAE,GAAG,CAAC,IAAI;iBACzB,CAAC,CAAC;gBACH,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;aACvB;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,CAA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YACd,CAAC;QACL,CAAC,CAAC;QA5BE,IAAI,CAAC,MAAM,GAAG,IAAA,gBAAM,GAAE,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,0BAAqB,CAAC,OAAO,CAAsB,+BAAc,CAAC,mBAAmB,CAAC,CAAC;QACxG,IAAI,CAAC,UAAU,GAAG,IAAI,qDAAyB,EAAE,CAAC;QAClD,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CAyBJ;AAnCD,gCAmCC;AAED,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC,MAAM,CAAC;AAElC,gCAAU"}
@@ -1,4 +1,4 @@
1
- import { IPtasWebScrapingInput } from "../../schema-definitions/datasources/interfaces/PtasWebScrapingInput";
1
+ import { IPtasWebScrapingInput } from "#sch/datasources/interfaces/PtasWebScrapingInput";
2
2
  import { BaseController } from "@golemio/core/dist/input-gateway/controllers";
3
3
  import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
4
4
  export declare class PtasWebScrapingController extends BaseController {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PtasWebScrapingController = void 0;
4
- const constants_1 = require("../../schema-definitions/constants");
5
- const PtasWebScrapingJsonSchema_1 = require("../../schema-definitions/datasources/PtasWebScrapingJsonSchema");
4
+ const constants_1 = require("#sch/constants");
5
+ const PtasWebScrapingJsonSchema_1 = require("#sch/datasources/PtasWebScrapingJsonSchema");
6
6
  const controllers_1 = require("@golemio/core/dist/input-gateway/controllers");
7
7
  const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
8
8
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
@@ -1 +1 @@
1
- {"version":3,"file":"PtasWebScrapingController.js","sourceRoot":"","sources":["../../../src/input-gateway/ptas/PtasWebScrapingController.ts"],"names":[],"mappings":";;;AAAA,kEAA6C;AAC7C,8GAAuF;AAEvF,8EAA8E;AAC9E,6EAA8F;A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AM,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC,WAAW,GAAG,uBAAuB,CAAC;gBAEpE,MAAM,IAAI,CAAC,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;oBAC/D,UAAU,EAAE,IAAI;iBACnB,CAAC,CAAC;YACP,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,GAAG,YAAY,qCAAoB,EAAE,CAAC;oBACtC,MAAM,GAAG,CAAC;gBACd,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,6BAAY,CAAC,oCAAoC,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;gBACtF,CAAC;YACL,CAAC;QACL,CAAC,CAAC;IAjBF,CAAC;CAkBJ;AAzBD,8DAyBC"}
@@ -1,5 +1,4 @@
1
- /// <reference types="express" />
2
- import { IPtasMeasurement } from "../../../schema-definitions/datasources/interfaces/PtasWebScrapingInput";
1
+ import { IPtasMeasurement } from "#sch/datasources/interfaces/PtasWebScrapingInput";
3
2
  import { Request } from "@golemio/core/dist/shared/express";
4
3
  export interface IExtendedPtasRequest extends Request {
5
4
  params: {
@@ -1,6 +1,6 @@
1
1
  import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
2
- import { IPreCsvInput } from "../../schema-definitions/datasources/interfaces/IPreCsvInput";
3
- import { IPreEanMeasurement } from "../../schema-definitions/datasources/commodity-providers/IPreEanMeasurement";
2
+ import { IPreCsvInput } from "#sch/datasources/interfaces/IPreCsvInput";
3
+ import { IPreEanMeasurement } from "#sch/datasources/commodity-providers/IPreEanMeasurement";
4
4
  export declare class PreCsvInputTransformation extends AbstractTransformation<IPreCsvInput[], IPreEanMeasurement> {
5
5
  name: string;
6
6
  protected transformInternal: (data: IPreCsvInput[]) => IPreEanMeasurement;
@@ -1 +1 @@
1
- {"version":3,"file":"PreCsvInputTransformation.js","sourceRoot":"","sources":["../../../src/input-gateway/transformations/PreCsvInputTransformation.ts"],"names":[],"mappings":";;;AAAA,6GAA0G;AAI1G,MAAa,yBAA0B,SAAQ,+CAA0D;IAAzG;;QACW,SAAI,GAAG,2BAA2B,CAAC;QAEhC,sBAAiB,GAAG,CAAC,IAAoB,EAAsB,EAAE;YACvE,MAAM,cAAc,GAA4B,EAAE,CAAC;YACnD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAEjC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;gBACpB,MAAM,gBAAgB,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClD,cAAc,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;aAC7E;YAED,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC;QACnC,CAAC,CAAC;QAEM,WAAM,GAAG,CAAC,IAAkB,EAAU,EAAE;YAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC/B,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACpC,CAAC,CAAC;IACN,CAAC;CAAA;AAnBD,8DAmBC"}
1
+ {"version":3,"file":"PreCsvInputTransformation.js","sourceRoot":"","sources":["../../../src/input-gateway/transformations/PreCsvInputTransformation.ts"],"names":[],"mappings":";;;AAAA,6GAA0G;AAI1G,MAAa,yBAA0B,SAAQ,+CAA0D;IAAzG;;QACW,SAAI,GAAG,2BAA2B,CAAC;QAEhC,sBAAiB,GAAG,CAAC,IAAoB,EAAsB,EAAE;YACvE,MAAM,cAAc,GAA4B,EAAE,CAAC;YACnD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAEjC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;gBACrB,MAAM,gBAAgB,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClD,cAAc,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;YAC9E,CAAC;YAED,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC;QACnC,CAAC,CAAC;QAEM,WAAM,GAAG,CAAC,IAAkB,EAAU,EAAE;YAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC/B,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACpC,CAAC,CAAC;IACN,CAAC;CAAA;AAnBD,8DAmBC"}
@@ -1 +1 @@
1
- export { WORKER_NAME } from "../../schema-definitions/constants";
1
+ export { WORKER_NAME } from "#sch/constants";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WORKER_NAME = void 0;
4
- var constants_1 = require("../../schema-definitions/constants");
4
+ var constants_1 = require("#sch/constants");
5
5
  Object.defineProperty(exports, "WORKER_NAME", { enumerable: true, get: function () { return constants_1.WORKER_NAME; } });
6
6
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/integration-engine/commodity-providers/constants.ts"],"names":[],"mappings":";;;AAAA,gEAA6C;AAApC,wGAAA,WAAW,OAAA"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/integration-engine/commodity-providers/constants.ts"],"names":[],"mappings":";;;AAAA,4CAA6C;AAApC,wGAAA,WAAW,OAAA"}
@@ -16,7 +16,7 @@ exports.CommodityProviderDataSourceFactory = void 0;
16
16
  const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
17
17
  const WorkerContainerToken_1 = require("../ioc/WorkerContainerToken");
18
18
  const CommodityProviderEnum_1 = require("./helpers/CommodityProviderEnum");
19
- let CommodityProviderDataSourceFactory = exports.CommodityProviderDataSourceFactory = class CommodityProviderDataSourceFactory {
19
+ let CommodityProviderDataSourceFactory = class CommodityProviderDataSourceFactory {
20
20
  constructor(cemApiDataSourceProvider, ppasAveApiDataSourceProvider) {
21
21
  this.dataSourceProviderDict = {
22
22
  [CommodityProviderEnum_1.CommodityProvider.UnimonitorCemApi]: cemApiDataSourceProvider,
@@ -27,6 +27,7 @@ let CommodityProviderDataSourceFactory = exports.CommodityProviderDataSourceFact
27
27
  return this.dataSourceProviderDict[presetLogsProvider].getDataSource(...params);
28
28
  }
29
29
  };
30
+ exports.CommodityProviderDataSourceFactory = CommodityProviderDataSourceFactory;
30
31
  exports.CommodityProviderDataSourceFactory = CommodityProviderDataSourceFactory = __decorate([
31
32
  (0, tsyringe_1.injectable)(),
32
33
  __param(0, (0, tsyringe_1.inject)(WorkerContainerToken_1.WorkerContainerToken.CemApiDataSourceProvider)),
@@ -1 +1 @@
1
- {"version":3,"file":"CommodityProviderDataSourceFactory.js","sourceRoot":"","sources":["../../../../src/integration-engine/commodity-providers/datasources/CommodityProviderDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iEAAwE;AACxE,sEAAmE;AACnE,2EAAoE;AAW7D,IAAM,kCAAkC,gDAAxC,MAAM,kCAAkC;IAG3C,YAEI,wBAA+D,EAE/D,4BAAmE;QAEnE,IAAI,CAAC,sBAAsB,GAAG;YAC1B,CAAC,yCAAiB,CAAC,gBAAgB,CAAC,EAAE,wBAAwB;YAC9D,CAAC,yCAAiB,CAAC,kBAAkB,CAAC,EAAE,4BAA4B;SACvE,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,kBAAqB,EACrB,GAAG,MAA8D;QAEjE,OAAO,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC,aAAa,CAAC,GAAG,MAAM,CAA4B,CAAC;IAC/G,CAAC;CACJ,CAAA;6CArBY,kCAAkC;IAD9C,IAAA,qBAAU,GAAE;IAKJ,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,wBAAwB,CAAC,CAAA;IAErD,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,4BAA4B,CAAC,CAAA;;GANrD,kCAAkC,CAqB9C"}
1
+ {"version":3,"file":"CommodityProviderDataSourceFactory.js","sourceRoot":"","sources":["../../../../src/integration-engine/commodity-providers/datasources/CommodityProviderDataSourceFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iEAAwE;AACxE,sEAAmE;AACnE,2EAAoE;AAW7D,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;IAG3C,YAEI,wBAA+D,EAE/D,4BAAmE;QAEnE,IAAI,CAAC,sBAAsB,GAAG;YAC1B,CAAC,yCAAiB,CAAC,gBAAgB,CAAC,EAAE,wBAAwB;YAC9D,CAAC,yCAAiB,CAAC,kBAAkB,CAAC,EAAE,4BAA4B;SACvE,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,kBAAqB,EACrB,GAAG,MAA8D;QAEjE,OAAO,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC,aAAa,CAAC,GAAG,MAAM,CAA4B,CAAC;IAC/G,CAAC;CACJ,CAAA;AArBY,gFAAkC;6CAAlC,kCAAkC;IAD9C,IAAA,qBAAU,GAAE;IAKJ,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,wBAAwB,CAAC,CAAA;IAErD,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,4BAA4B,CAAC,CAAA;;GANrD,kCAAkC,CAqB9C"}
@@ -14,17 +14,17 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  var CemApiDataSourceProvider_1;
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CemApiDataSourceProvider = void 0;
17
- const UnimonitorCemApiHelper_1 = require("../../../shared/helpers/UnimonitorCemApiHelper");
18
- const CemApiCountersJsonSchema_1 = require("../../../../schema-definitions/datasources/commodity-providers/CemApiCountersJsonSchema");
19
- const CemApiDevicesJsonSchema_1 = require("../../../../schema-definitions/datasources/commodity-providers/CemApiDevicesJsonSchema");
20
- const CemApiMeasurementsJsonSchema_1 = require("../../../../schema-definitions/datasources/commodity-providers/CemApiMeasurementsJsonSchema");
17
+ const UnimonitorCemApiHelper_1 = require("#ie/shared/helpers/UnimonitorCemApiHelper");
18
+ const CemApiCountersJsonSchema_1 = require("#sch/datasources/commodity-providers/CemApiCountersJsonSchema");
19
+ const CemApiDevicesJsonSchema_1 = require("#sch/datasources/commodity-providers/CemApiDevicesJsonSchema");
20
+ const CemApiMeasurementsJsonSchema_1 = require("#sch/datasources/commodity-providers/CemApiMeasurementsJsonSchema");
21
21
  const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
22
22
  const integration_engine_1 = require("@golemio/core/dist/integration-engine");
23
23
  const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
24
24
  const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
25
25
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
26
26
  const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
27
- let CemApiDataSourceProvider = exports.CemApiDataSourceProvider = CemApiDataSourceProvider_1 = class CemApiDataSourceProvider {
27
+ let CemApiDataSourceProvider = CemApiDataSourceProvider_1 = class CemApiDataSourceProvider {
28
28
  constructor(config) {
29
29
  this.config = config;
30
30
  }
@@ -62,6 +62,7 @@ let CemApiDataSourceProvider = exports.CemApiDataSourceProvider = CemApiDataSour
62
62
  }
63
63
  }
64
64
  };
65
+ exports.CemApiDataSourceProvider = CemApiDataSourceProvider;
65
66
  CemApiDataSourceProvider.DATASOURCE_NAME = "CemApiDataSource";
66
67
  exports.CemApiDataSourceProvider = CemApiDataSourceProvider = CemApiDataSourceProvider_1 = __decorate([
67
68
  (0, tsyringe_1.injectable)(),
@@ -1 +1 @@
1
- {"version":3,"file":"CemApiDataSourceProvider.js","sourceRoot":"","sources":["../../../../../src/integration-engine/commodity-providers/datasources/cem-api/CemApiDataSourceProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2FAAmF;AACnF,sIAAyG;AACzG,oIAAuG;AACvG,8IAAiH;AAEjH,wEAAqE;AACrE,8EAAsG;AACtG,6IAA0I;AAE1I,6EAAwE;AACxE,mFAAkF;AAClF,iEAAwE;AAMjE,IAAM,wBAAwB,mEAA9B,MAAM,wBAAwB;IAGjC,YAAoD,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtE,aAAa,CAChB,YAAoB,EACpB,UAAkB,EAClB,MAAkC;QAElC,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,uCAAuC,CAAC,CAAC;QACtF,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;QAC7B,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAE5C,IAAI,MAAM,EAAE;YACR,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC/D,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;YACjD,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;SAChD;QAED,OAAO,IAAI,+BAAU,CACjB,0BAAwB,CAAC,eAAe,EACxC,IAAI,CAAC,mBAAmB,CAAC,GAAG,EAAE,UAAU,CAAC,EACzC,IAAI,yCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAC5C,CAAC;IACN,CAAC;IAEO,mBAAmB,CAAC,GAAQ,EAAE,UAAkB;QACpD,OAAO,IAAI,qDAAyB,CAAC;YACjC,OAAO,EAAE;gBACL,MAAM,EAAE,UAAU;aACrB;YACD,MAAM,EAAE,KAAK;YACb,gBAAgB,EAAE,EAAE;YACpB,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;SACtB,CAAC,CAAC;IACP,CAAC;IAEO,sBAAsB,CAAC,YAAoB;QAC/C,QAAQ,YAAY,EAAE;YAClB,KAAK,+CAAsB,CAAC,YAAY,CAAC,OAAO;gBAC5C,OAAO,IAAI,uCAAmB,CAAC,0BAAwB,CAAC,eAAe,GAAG,SAAS,EAAE,iDAAuB,CAAC,CAAC;YAClH,KAAK,+CAAsB,CAAC,YAAY,CAAC,QAAQ;gBAC7C,OAAO,IAAI,uCAAmB,CAAC,0BAAwB,CAAC,eAAe,GAAG,UAAU,EAAE,mDAAwB,CAAC,CAAC;YACpH,KAAK,+CAAsB,CAAC,YAAY,CAAC,qBAAqB;gBAC1D,OAAO,IAAI,uCAAmB,CAC1B,0BAAwB,CAAC,eAAe,GAAG,cAAc,EACzD,2DAA4B,CAC/B,CAAC;YACN;gBACI,MAAM,IAAI,6BAAY,CAAC,0BAA0B,YAAY,EAAE,EAAE,0BAAwB,CAAC,IAAI,CAAC,CAAC;SACvG;IACL,CAAC;;AApDuB,wCAAe,GAAG,kBAAkB,AAArB,CAAsB;mCADpD,wBAAwB;IADpC,IAAA,qBAAU,GAAE;IAII,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAHlC,wBAAwB,CAsDpC"}
1
+ {"version":3,"file":"CemApiDataSourceProvider.js","sourceRoot":"","sources":["../../../../../src/integration-engine/commodity-providers/datasources/cem-api/CemApiDataSourceProv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U;aACrB;YACD,MAAM,EAAE,KAAK;YACb,gBAAgB,EAAE,EAAE;YACpB,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;SACtB,CAAC,CAAC;IACP,CAAC;IAEO,sBAAsB,CAAC,YAAoB;QAC/C,QAAQ,YAAY,EAAE,CAAC;YACnB,KAAK,+CAAsB,CAAC,YAAY,CAAC,OAAO;gBAC5C,OAAO,IAAI,uCAAmB,CAAC,0BAAwB,CAAC,eAAe,GAAG,SAAS,EAAE,iDAAuB,CAAC,CAAC;YAClH,KAAK,+CAAsB,CAAC,YAAY,CAAC,QAAQ;gBAC7C,OAAO,IAAI,uCAAmB,CAAC,0BAAwB,CAAC,eAAe,GAAG,UAAU,EAAE,mDAAwB,CAAC,CAAC;YACpH,KAAK,+CAAsB,CAAC,YAAY,CAAC,qBAAqB;gBAC1D,OAAO,IAAI,uCAAmB,CAC1B,0BAAwB,CAAC,eAAe,GAAG,cAAc,EACzD,2DAA4B,CAC/B,CAAC;YACN;gBACI,MAAM,IAAI,6BAAY,CAAC,0BAA0B,YAAY,EAAE,EAAE,0BAAwB,CAAC,IAAI,CAAC,CAAC;QACxG,CAAC;IACL,CAAC;;AArDQ,4DAAwB;AACT,wCAAe,GAAG,kBAAkB,AAArB,CAAsB;mCADpD,wBAAwB;IADpC,IAAA,qBAAU,GAAE;IAII,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAHlC,wBAAwB,CAsDpC"}
@@ -1,8 +1,8 @@
1
- import { IAveApiDeviceDataDto } from "../../../../schema-definitions/datasources/commodity-providers/interfaces/IAveApiDeviceDataDto";
2
- import { IAveApiPlaceDto } from "../../../../schema-definitions/datasources/commodity-providers/interfaces/IAveApiPlaceDto";
3
- import { ICemApiCounterDto } from "../../../../schema-definitions/datasources/commodity-providers/interfaces/ICemApiCounterDto";
4
- import { ICemApiDeviceDto } from "../../../../schema-definitions/datasources/commodity-providers/interfaces/ICemApiDeviceDto";
5
- import { ICemApiMeasurementDto } from "../../../../schema-definitions/datasources/commodity-providers/interfaces/ICemApiMeasurementDto";
1
+ import { IAveApiDeviceDataDto } from "#sch/datasources/commodity-providers/interfaces/IAveApiDeviceDataDto";
2
+ import { IAveApiPlaceDto } from "#sch/datasources/commodity-providers/interfaces/IAveApiPlaceDto";
3
+ import { ICemApiCounterDto } from "#sch/datasources/commodity-providers/interfaces/ICemApiCounterDto";
4
+ import { ICemApiDeviceDto } from "#sch/datasources/commodity-providers/interfaces/ICemApiDeviceDto";
5
+ import { ICemApiMeasurementDto } from "#sch/datasources/commodity-providers/interfaces/ICemApiMeasurementDto";
6
6
  import { CommodityProvider } from "../helpers/CommodityProviderEnum";
7
7
  import { IDataSourceProvider } from "./IDataSourceProvider";
8
8
  export type CemApiDtoUnion = ICemApiDeviceDto | ICemApiCounterDto | ICemApiMeasurementDto;
@@ -14,8 +14,8 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  var PpasAveApiDataSourceProvider_1;
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PpasAveApiDataSourceProvider = void 0;
17
- const AveApiDeviceDataJsonSchema_1 = require("../../../../schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema");
18
- const AveApiPlacesJsonSchema_1 = require("../../../../schema-definitions/datasources/commodity-providers/AveApiPlacesJsonSchema");
17
+ const AveApiDeviceDataJsonSchema_1 = require("#sch/datasources/commodity-providers/AveApiDeviceDataJsonSchema");
18
+ const AveApiPlacesJsonSchema_1 = require("#sch/datasources/commodity-providers/AveApiPlacesJsonSchema");
19
19
  const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
20
20
  const integration_engine_1 = require("@golemio/core/dist/integration-engine");
21
21
  const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
@@ -24,7 +24,7 @@ const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator
24
24
  const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
25
25
  const ArchiveDataTypeStrategy_1 = require("./helpers/ArchiveDataTypeStrategy");
26
26
  const PpasAveApiHelper_1 = require("./helpers/PpasAveApiHelper");
27
- let PpasAveApiDataSourceProvider = exports.PpasAveApiDataSourceProvider = PpasAveApiDataSourceProvider_1 = class PpasAveApiDataSourceProvider {
27
+ let PpasAveApiDataSourceProvider = PpasAveApiDataSourceProvider_1 = class PpasAveApiDataSourceProvider {
28
28
  constructor(config) {
29
29
  this.config = config;
30
30
  }
@@ -76,6 +76,7 @@ let PpasAveApiDataSourceProvider = exports.PpasAveApiDataSourceProvider = PpasAv
76
76
  }
77
77
  }
78
78
  };
79
+ exports.PpasAveApiDataSourceProvider = PpasAveApiDataSourceProvider;
79
80
  PpasAveApiDataSourceProvider.DATASOURCE_NAME = "PpasAveApiDataSource";
80
81
  PpasAveApiDataSourceProvider.MAX_RESULTS = 10000;
81
82
  exports.PpasAveApiDataSourceProvider = PpasAveApiDataSourceProvider = PpasAveApiDataSourceProvider_1 = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"PpasAveApiDataSourceProvider.js","sourceRoot":"","sources":["../../../../../src/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0IAA6G;AAC7G,kIAAqG;AAErG,wEAAqE;AACrE,8EAAsG;AACtG,6IAA0I;AAE1I,6EAAwE;AACxE,mFAAkF;AAClF,iEAAwE;AAGxE,+EAA4E;AAC5E,iEAA8D;AAIvD,IAAM,4BAA4B,2EAAlC,MAAM,4BAA4B;IAIrC,YAAoD,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtE,aAAa,CAAC,YAAoB,EAAE,MAAc,EAAE,MAAgC;QACvF,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAS,2DAA2D,CAAC,CAAC;QAC1G,MAAM,GAAG,GAAG,IAAI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C,CAAC;IACP,CAAC;IAEO,mBAAmB,CAAC,YAAoB;QAC5C,QAAQ,YAAY,EAAE;YAClB,KAAK,mCAAgB,CAAC,YAAY,CAAC,MAAM;gBACrC,OAAO,IAAI,yCAAoB,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC,CAAC;YAClE,KAAK,mCAAgB,CAAC,YAAY,CAAC,UAAU;gBACzC,OAAO,IAAI,iDAAuB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;YAC5D;gBACI,MAAM,IAAI,6BAAY,CAAC,0BAA0B,YAAY,EAAE,EAAE,8BAA4B,CAAC,IAAI,CAAC,CAAC;SAC3G;IACL,CAAC;IAEO,sBAAsB,CAAC,YAAoB;QAC/C,QAAQ,YAAY,EAAE;YAClB,KAAK,mCAAgB,CAAC,YAAY,CAAC,MAAM;gBACrC,OAAO,IAAI,uCAAmB,CAAC,8BAA4B,CAAC,eAAe,GAAG,QAAQ,EAAE,+CAAsB,CAAC,CAAC;YACpH,KAAK,mCAAgB,CAAC,YAAY,CAAC,UAAU;gBACzC,OAAO,IAAI,uCAAmB,CAC1B,8BAA4B,CAAC,eAAe,GAAG,YAAY,EAC3D,uDAA0B,CAC7B,CAAC;YACN;gBACI,MAAM,IAAI,6BAAY,CAAC,0BAA0B,YAAY,EAAE,EAAE,8BAA4B,CAAC,IAAI,CAAC,CAAC;SAC3G;IACL,CAAC;;AA/DuB,4CAAe,GAAG,sBAAsB,AAAzB,CAA0B;AACzC,wCAAW,GAAG,KAAK,AAAR,CAAS;uCAFnC,4BAA4B;IADxC,IAAA,qBAAU,GAAE;IAKI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAJlC,4BAA4B,CAiExC"}
1
+ {"version":3,"file":"PpasAveApiDataSourceProvider.js","sourceRoot":"","sources":["../../../../../src/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.ts"],"names":[],"mappings":";;;;;;;;;;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;YACN;gBACI,MAAM,IAAI,6BAAY,CAAC,0BAA0B,YAAY,EAAE,EAAE,8BAA4B,CAAC,IAAI,CAAC,CAAC;QAC5G,CAAC;IACL,CAAC;;AAhEQ,oEAA4B;AACb,4CAAe,GAAG,sBAAsB,AAAzB,CAA0B;AACzC,wCAAW,GAAG,KAAK,AAAR,CAAS;uCAFnC,4BAA4B;IADxC,IAAA,qBAAU,GAAE;IAKI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GAJlC,4BAA4B,CAiExC"}
@@ -1,4 +1,4 @@
1
- import { IAveApiDeviceDataDto } from "../../../../../schema-definitions/datasources/commodity-providers/interfaces/IAveApiDeviceDataDto";
1
+ import { IAveApiDeviceDataDto } from "#sch/datasources/commodity-providers/interfaces/IAveApiDeviceDataDto";
2
2
  import { JSONDataTypeStrategy } from "@golemio/core/dist/integration-engine";
3
3
  export declare class ArchiveDataTypeStrategy extends JSONDataTypeStrategy {
4
4
  private readonly archiveResponseValidator;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ArchiveDataTypeStrategy = void 0;
4
- const AveApiArchiveResponseJsonSchema_1 = require("../../../../../schema-definitions/datasources/commodity-providers/AveApiArchiveResponseJsonSchema");
4
+ const AveApiArchiveResponseJsonSchema_1 = require("#sch/datasources/commodity-providers/AveApiArchiveResponseJsonSchema");
5
5
  const integration_engine_1 = require("@golemio/core/dist/integration-engine");
6
6
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
7
7
  // Api response has column names in the array headers: []
@@ -1 +1 @@
1
- {"version":3,"file":"ArchiveDataTypeStrategy.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/ArchiveDataTypeStrategy.ts"],"names":[],"mappings":";;;AAAA,uJAAuH;AAMvH,8EAA6E;AAC7E,mFAAkF;AAElF,yDAAyD;AACzD,qDAAqD;AACrD,6DAA6D;AAC7D,MAAa,uBAAwB,SAAQ,yCAAoB;IAAjE;;QACqB,6BAAwB,GAAG,IAAI,uCAAmB,CAC/D,2BAA2B,EAC3B,iEAA+B,CAClC,CAAC;IAmBN,CAAC;IAjBmB,KAAK,CAAC,SAAS,CAAC,IAAa;QACzC,MAAM,QAAQ,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAuC,CAAC;QACrF,IAAI,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;YAChF,OAAO,EAAE,CAAC;SACb;QAED,MAAM,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEvD,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAC;QACnC,OAAO,IAAI,CAAC,GAAG,CACX,CAAC,GAAG,EAAE,EAAE,CACJ,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAG1C,CAChC,CAAC;IACN,CAAC;CACJ;AAvBD,0DAuBC"}
1
+ {"version":3,"file":"ArchiveDataTypeStrategy.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/ArchiveDataTypeStrategy.ts"],"names":[],"mappings":";;;AAAA,0HAAuH;AAMvH,8EAA6E;AAC7E,mFAAkF;AAElF,yDAAyD;AACzD,qDAAqD;AACrD,6DAA6D;AAC7D,MAAa,uBAAwB,SAAQ,yCAAoB;IAAjE;;QACqB,6BAAwB,GAAG,IAAI,uCAAmB,CAC/D,2BAA2B,EAC3B,iEAA+B,CAClC,CAAC;IAmBN,CAAC;IAjBmB,KAAK,CAAC,SAAS,CAAC,IAAa;QACzC,MAAM,QAAQ,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAuC,CAAC;QACrF,IAAI,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YACjF,OAAO,EAAE,CAAC;QACd,CAAC;QAED,MAAM,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEvD,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAC;QACnC,OAAO,IAAI,CAAC,GAAG,CACX,CAAC,GAAG,EAAE,EAAE,CACJ,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAG1C,CAChC,CAAC;IACN,CAAC;CACJ;AAvBD,0DAuBC"}
@@ -13,14 +13,14 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.PreElectroApiDataSourceProvider = void 0;
16
- const PreElectricConsumptionJson_1 = require("../../../../schema-definitions/datasources/PreElectricConsumptionJson");
16
+ const PreElectricConsumptionJson_1 = require("#sch/datasources/PreElectricConsumptionJson");
17
17
  const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
18
18
  const RetryDataSource_1 = require("@golemio/core/dist/integration-engine/datasources/RetryDataSource");
19
19
  const CSVDataTypeStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/datatype-strategy/CSVDataTypeStrategy");
20
20
  const FTPProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/FTPProtocolStrategy");
21
21
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
22
22
  const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
23
- let PreElectroApiDataSourceProvider = exports.PreElectroApiDataSourceProvider = class PreElectroApiDataSourceProvider {
23
+ let PreElectroApiDataSourceProvider = class PreElectroApiDataSourceProvider {
24
24
  constructor(config) {
25
25
  this.config = config;
26
26
  }
@@ -36,6 +36,7 @@ let PreElectroApiDataSourceProvider = exports.PreElectroApiDataSourceProvider =
36
36
  }), new golemio_validator_1.JSONSchemaValidator("PreElectroApiDataSourceProvider", PreElectricConsumptionJson_1.preElectricConsumptionJson)).getAll();
37
37
  }
38
38
  };
39
+ exports.PreElectroApiDataSourceProvider = PreElectroApiDataSourceProvider;
39
40
  exports.PreElectroApiDataSourceProvider = PreElectroApiDataSourceProvider = __decorate([
40
41
  (0, tsyringe_1.injectable)(),
41
42
  __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
@@ -1 +1 @@
1
- {"version":3,"file":"PreElectroApiDataSourceProvider.js","sourceRoot":"","sources":["../../../../../src/integration-engine/commodity-providers/datasources/pre-elektro-api/PreElectroApiDataSourceProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sHAAyF;AAEzF,wEAAqE;AACrE,uGAAoG;AACpG,iIAA8H;AAC9H,iIAA8H;AAC9H,mFAAkF;AAClF,iEAAwE;AAIjE,IAAM,+BAA+B,6CAArC,MAAM,+BAA+B;IACxC,YAAoD,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtE,eAAe,CAAC,QAAgB;QACnC,OAAO,IAAI,iCAAe,CACtB,iCAAiC,EACjC,IAAI,yCAAmB,CAAC;YACpB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,sDAAsD,CAAkB;YAClG,QAAQ,EAAE,MAAM;SACnB,CAAC,EACF,IAAI,yCAAmB,CAAC;YACpB,aAAa,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE;YAChD,SAAS,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAI;SACjC,CAAC,EACF,IAAI,uCAAmB,CAAC,iCAAiC,EAAE,uDAA0B,CAAC,CACzF,CAAC,MAAM,EAAE,CAAC;IACf,CAAC;CACJ,CAAA;0CAnBY,+BAA+B;IAD3C,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GADlC,+BAA+B,CAmB3C"}
1
+ {"version":3,"file":"PreElectroApiDataSourceProvider.js","sourceRoot":"","sources":["../../../../../src/integration-engine/commodity-providers/datasources/pre-elektro-api/PreElectroApiDataSourceProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4FAAyF;AAEzF,wEAAqE;AACrE,uGAAoG;AACpG,iIAA8H;AAC9H,iIAA8H;AAC9H,mFAAkF;AAClF,iEAAwE;AAIjE,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IACxC,YAAoD,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtE,eAAe,CAAC,QAAgB;QACnC,OAAO,IAAI,iCAAe,CACtB,iCAAiC,EACjC,IAAI,yCAAmB,CAAC;YACpB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,sDAAsD,CAAkB;YAClG,QAAQ,EAAE,MAAM;SACnB,CAAC,EACF,IAAI,yCAAmB,CAAC;YACpB,aAAa,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE;YAChD,SAAS,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAI;SACjC,CAAC,EACF,IAAI,uCAAmB,CAAC,iCAAiC,EAAE,uDAA0B,CAAC,CACzF,CAAC,MAAM,EAAE,CAAC;IACf,CAAC;CACJ,CAAA;AAnBY,0EAA+B;0CAA/B,+BAA+B;IAD3C,IAAA,qBAAU,GAAE;IAEI,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;;GADlC,+BAA+B,CAmB3C"}
@@ -17,7 +17,7 @@ const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
17
17
  const luxon_1 = require("@golemio/core/dist/shared/luxon");
18
18
  const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
19
19
  const basic_ftp_1 = require("basic-ftp");
20
- let PreElectroHelper = exports.PreElectroHelper = class PreElectroHelper {
20
+ let PreElectroHelper = class PreElectroHelper {
21
21
  constructor(config) {
22
22
  this.config = config;
23
23
  this.ftpClient = new basic_ftp_1.Client();
@@ -55,6 +55,7 @@ let PreElectroHelper = exports.PreElectroHelper = class PreElectroHelper {
55
55
  return namesInInterval;
56
56
  }
57
57
  };
58
+ exports.PreElectroHelper = PreElectroHelper;
58
59
  exports.PreElectroHelper = PreElectroHelper = __decorate([
59
60
  (0, tsyringe_1.injectable)(),
60
61
  __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),