@golemio/energetics 1.4.12-rc.1866109709 → 1.4.12-rc.1966680130
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.
- package/db/example/00_clear_test_data.sql +2 -1
- package/db/migrations/postgresql/20250626130910-enapo-measurements.js +53 -0
- package/db/migrations/postgresql/sqls/20250626130910-enapo-measurements-down.sql +1 -0
- package/db/migrations/postgresql/sqls/20250626130910-enapo-measurements-up.sql +12 -0
- package/dist/integration-engine/commodity-providers/datasources/cem-api/CemApiDataSourceProvider.js +4 -4
- package/dist/integration-engine/commodity-providers/datasources/cem-api/CemApiDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.d.ts +1 -0
- package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.js +2 -0
- package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/PpasAveApiDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/PpasAveApiHelper.d.ts +1 -0
- package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/helpers/PpasAveApiHelper.js.map +1 -1
- package/dist/integration-engine/commodity-providers/datasources/ppas-ave-api/interfaces/IAveApiDeviceDataParams.d.ts +1 -0
- package/dist/integration-engine/commodity-providers/helper/EnapoMeasurementsDataNormalizer.d.ts +5 -0
- package/dist/integration-engine/commodity-providers/helper/{MeasurementsDataNormalizer.js → EnapoMeasurementsDataNormalizer.js} +1 -1
- package/dist/integration-engine/commodity-providers/helper/EnapoMeasurementsDataNormalizer.js.map +1 -0
- package/dist/integration-engine/commodity-providers/ioc/Di.js +6 -6
- package/dist/integration-engine/commodity-providers/ioc/Di.js.map +1 -1
- package/dist/integration-engine/commodity-providers/ioc/WorkerContainerToken.js.map +1 -1
- package/dist/integration-engine/commodity-providers/repositories/AccessLimitationRepository.js.map +1 -0
- package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.js +3 -3
- package/dist/integration-engine/commodity-providers/transformations/CemMeasurementTransformation.js.map +1 -1
- package/dist/integration-engine/commodity-providers/workers/tasks/AbstractFetchMeasurementsTask.js +2 -2
- package/dist/integration-engine/commodity-providers/workers/tasks/AbstractFetchMeasurementsTask.js.map +1 -1
- package/dist/integration-engine/{tasks/oict-energetika → commodity-providers/workers/tasks}/FetchAccessConfigurationTask.js +2 -2
- package/dist/integration-engine/commodity-providers/workers/tasks/FetchAccessConfigurationTask.js.map +1 -0
- package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.js +3 -3
- package/dist/integration-engine/commodity-providers/workers/tasks/FetchVeoliaMeasurementsTask.js.map +1 -1
- package/dist/integration-engine/enapo/constants.d.ts +1 -0
- package/dist/integration-engine/enapo/constants.js +5 -0
- package/dist/integration-engine/enapo/constants.js.map +1 -0
- package/dist/integration-engine/enapo/helpers/IntervalGenerator.d.ts +6 -0
- package/dist/integration-engine/enapo/helpers/IntervalGenerator.js +20 -0
- package/dist/integration-engine/enapo/helpers/IntervalGenerator.js.map +1 -0
- package/dist/integration-engine/enapo/helpers/MeasurementsDataNormalizer.d.ts +5 -0
- package/dist/integration-engine/enapo/helpers/MeasurementsDataNormalizer.js +11 -0
- package/dist/integration-engine/enapo/helpers/MeasurementsDataNormalizer.js.map +1 -0
- package/dist/integration-engine/enapo/interfaces/IPPasMeasurementData.d.ts +28 -0
- package/dist/integration-engine/enapo/interfaces/IPPasMeasurementData.js +3 -0
- package/dist/integration-engine/enapo/interfaces/IPPasMeasurementData.js.map +1 -0
- package/dist/integration-engine/enapo/interfaces/IPPasPlaces.d.ts +48 -0
- package/dist/integration-engine/enapo/interfaces/IPPasPlaces.js +3 -0
- package/dist/integration-engine/enapo/interfaces/IPPasPlaces.js.map +1 -0
- package/dist/integration-engine/enapo/ioc/Di.d.ts +3 -0
- package/dist/integration-engine/enapo/ioc/Di.js +30 -0
- package/dist/integration-engine/enapo/ioc/Di.js.map +1 -0
- package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.d.ts +7 -0
- package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js +19 -0
- package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/EnapoMeasurementsRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/EnapoMeasurementsRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/EnapoMeasurementsRepository.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/PPasMeasurementTransformation.d.ts +15 -0
- package/dist/integration-engine/enapo/transformations/PPasMeasurementTransformation.js +53 -0
- package/dist/integration-engine/enapo/transformations/PPasMeasurementTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/workers/EnapoWorker.d.ts +7 -0
- package/dist/integration-engine/enapo/workers/EnapoWorker.js +21 -0
- package/dist/integration-engine/enapo/workers/EnapoWorker.js.map +1 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasTaskMeasurementParams.d.ts +7 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasTaskMeasurementParams.js +3 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnapoPpasTaskMeasurementParams.js.map +1 -0
- package/dist/integration-engine/enapo/workers/schema/EnapoPpasMeasurementsParamsValidationSchema.d.ts +8 -0
- package/dist/integration-engine/enapo/workers/schema/EnapoPpasMeasurementsParamsValidationSchema.js +43 -0
- package/dist/integration-engine/enapo/workers/schema/EnapoPpasMeasurementsParamsValidationSchema.js.map +1 -0
- package/dist/integration-engine/enapo/workers/task/AbstractEnapoFetchMeasurementsTask.d.ts +8 -0
- package/dist/integration-engine/enapo/workers/task/AbstractEnapoFetchMeasurementsTask.js +33 -0
- package/dist/integration-engine/enapo/workers/task/AbstractEnapoFetchMeasurementsTask.js.map +1 -0
- package/dist/integration-engine/enapo/workers/task/EnapoPpasTask.d.ts +29 -0
- package/dist/integration-engine/enapo/workers/task/EnapoPpasTask.js +117 -0
- package/dist/integration-engine/enapo/workers/task/EnapoPpasTask.js.map +1 -0
- package/dist/integration-engine/index.js +9 -3
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/OictDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/helpers/OictApiHelper.js.map +1 -1
- package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/helpers/index.js.map +1 -1
- package/dist/integration-engine/oict-energetika/interfaces/IFetchConsumptionInput.js.map +1 -0
- package/dist/integration-engine/oict-energetika/interfaces/IFetchDataInput.js.map +1 -0
- package/dist/integration-engine/oict-energetika/ioc/Di.d.ts +3 -0
- package/dist/integration-engine/oict-energetika/ioc/Di.js +13 -0
- package/dist/integration-engine/oict-energetika/ioc/Di.js.map +1 -0
- package/dist/integration-engine/oict-energetika/ioc/ModuleContainer.d.ts +4 -0
- package/dist/integration-engine/oict-energetika/ioc/ModuleContainer.js +10 -0
- package/dist/integration-engine/oict-energetika/ioc/ModuleContainer.js.map +1 -0
- package/dist/integration-engine/{repositories/oict-energetika → oict-energetika/repositories}/ConsumptionRepository.js.map +1 -1
- package/dist/integration-engine/{schema/oict-energetika → oict-energetika/schema}/FetchConsumptionSchema.d.ts +1 -1
- package/dist/integration-engine/{schema/oict-energetika → oict-energetika/schema}/FetchConsumptionSchema.js.map +1 -1
- package/dist/integration-engine/{schema/oict-energetika → oict-energetika/schema}/FetchDataSchema.d.ts +1 -1
- package/dist/integration-engine/{schema/oict-energetika → oict-energetika/schema}/FetchDataSchema.js.map +1 -1
- package/dist/integration-engine/{tasks/oict-energetika → oict-energetika/tasks}/FetchConsumptionTask.d.ts +2 -2
- package/dist/integration-engine/{tasks/oict-energetika → oict-energetika/tasks}/FetchConsumptionTask.js +5 -5
- package/dist/integration-engine/{tasks/oict-energetika → oict-energetika/tasks}/FetchConsumptionTask.js.map +1 -1
- package/dist/integration-engine/{tasks/oict-energetika → oict-energetika/tasks}/FetchDataTask.d.ts +2 -2
- package/dist/integration-engine/{tasks/oict-energetika → oict-energetika/tasks}/FetchDataTask.js +1 -1
- package/dist/integration-engine/{tasks/oict-energetika → oict-energetika/tasks}/FetchDataTask.js.map +1 -1
- package/dist/integration-engine/{transformations/oict-energetika → oict-energetika/transformations}/ConsumptionTransformation.js +1 -1
- package/dist/integration-engine/{transformations/oict-energetika → oict-energetika/transformations}/ConsumptionTransformation.js.map +1 -1
- package/dist/integration-engine/{workers/oict-energetika → oict-energetika/workers}/OictEnergetikaWorker.js +3 -3
- package/dist/integration-engine/{workers/oict-energetika → oict-energetika/workers}/OictEnergetikaWorker.js.map +1 -1
- package/dist/integration-engine/shared/helpers/ParserHelpers.js.map +1 -0
- package/dist/integration-engine/shared/helpers/UnimonitorCemApiHelper.js.map +1 -0
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/BaseVpalaceFactory.js.map +1 -1
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeasurementDataSource.js +2 -2
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeasurementDataSource.js.map +1 -1
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeasuringEquipmentDataSource.js +2 -2
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeasuringEquipmentDataSource.js.map +1 -1
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeterTypeDataSource.js +2 -2
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeterTypeDataSource.js.map +1 -1
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceTypeMeasuringEquipmentDataSource.js +2 -2
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceTypeMeasuringEquipmentDataSource.js.map +1 -1
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceUnitsDataSource.js +2 -2
- package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceUnitsDataSource.js.map +1 -1
- package/dist/integration-engine/vpalace/interfaces/IFetchXDaysDataInput.js.map +1 -0
- package/dist/integration-engine/vpalace/interfaces/IFetchXHoursDataInput.js.map +1 -0
- package/dist/integration-engine/vpalace/ioc/Di.js +64 -0
- package/dist/integration-engine/vpalace/ioc/Di.js.map +1 -0
- package/dist/integration-engine/{ioc → vpalace/ioc}/ModuleContainer.d.ts +4 -4
- package/dist/integration-engine/{ioc → vpalace/ioc}/ModuleContainer.js +5 -8
- package/dist/integration-engine/vpalace/ioc/ModuleContainer.js.map +1 -0
- package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalacUnitsRepository.js.map +1 -1
- package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeasurementRepository.js.map +1 -1
- package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeasuringEquipmentRepository.js.map +1 -1
- package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeterTypeRepository.js.map +1 -1
- package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceTypeMeasuringEquipmentRepository.js.map +1 -1
- package/dist/integration-engine/{schema/vpalace → vpalace/schema}/FetchXDaysDataValidationSchema.d.ts +1 -1
- package/dist/integration-engine/vpalace/schema/FetchXDaysDataValidationSchema.js.map +1 -0
- package/dist/integration-engine/{schema/vpalace → vpalace/schema}/FetchXHoursDataValidationSchema.d.ts +1 -1
- package/dist/integration-engine/vpalace/schema/FetchXHoursDataValidationSchema.js.map +1 -0
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchDateFactory.js +6 -6
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchDateFactory.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchXDaysDataTask.d.ts +2 -2
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchXDaysDataTask.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchXDaysDataTask.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchXHoursDataTask.d.ts +2 -2
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchXHoursDataTask.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchXHoursDataTask.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasurementDataFetcher.d.ts +3 -3
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasurementDataFetcher.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasurementDataFetcher.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasuringEquipmentFetcher.d.ts +3 -3
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasuringEquipmentFetcher.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasuringEquipmentFetcher.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeterTypeFetcher.d.ts +3 -3
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeterTypeFetcher.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeterTypeFetcher.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/TypeMeasuringEquipmentFetcher.d.ts +3 -3
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/TypeMeasuringEquipmentFetcher.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/TypeMeasuringEquipmentFetcher.js.map +1 -1
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/UnitDataFetcher.d.ts +3 -3
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/UnitDataFetcher.js +7 -7
- package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/UnitDataFetcher.js.map +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeasurementTransformation.js +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeasurementTransformation.js.map +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeasuringEquipmentTransformation.js.map +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeterTypeTransformation.js.map +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacTypeMeasuringEquipmentTransformation.js.map +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacUnitsTransformation.js.map +1 -1
- package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/index.js.map +1 -1
- package/dist/integration-engine/{workers/vpalace → vpalace/workers}/EnergeticsNewVpalaceWorker.js +3 -3
- package/dist/integration-engine/{workers/vpalace → vpalace/workers}/EnergeticsNewVpalaceWorker.js.map +1 -1
- package/dist/schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema.js +2 -1
- package/dist/schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema.js.map +1 -1
- package/dist/schema-definitions/datasources/commodity-providers/interfaces/IAveApiDeviceDataDto.d.ts +1 -0
- package/dist/schema-definitions/datasources/helpers/MeasurementVariableEnum.d.ts +2 -1
- package/dist/schema-definitions/datasources/helpers/MeasurementVariableEnum.js +1 -0
- package/dist/schema-definitions/datasources/helpers/MeasurementVariableEnum.js.map +1 -1
- package/dist/schema-definitions/models/EnapoMeasurementsModel.d.ts +17 -0
- package/dist/schema-definitions/models/EnapoMeasurementsModel.js +62 -0
- package/dist/schema-definitions/models/EnapoMeasurementsModel.js.map +1 -0
- package/dist/schema-definitions/models/constants/MeasurementConstants.js +1 -0
- package/dist/schema-definitions/models/constants/MeasurementConstants.js.map +1 -1
- package/dist/schema-definitions/models/interfaces/IEnapoMeasurmentsDto.d.ts +9 -0
- package/dist/schema-definitions/models/interfaces/IEnapoMeasurmentsDto.js +3 -0
- package/dist/schema-definitions/models/interfaces/IEnapoMeasurmentsDto.js.map +1 -0
- package/docs/Energetika-Str/303/241nka-5-Str/303/241nka-3.drawio.png +0 -0
- package/docs/implementation_documentation.md +44 -17
- package/package.json +1 -1
- package/dist/integration-engine/commodity-providers/helper/MeasurementsDataNormalizer.d.ts +0 -4
- package/dist/integration-engine/commodity-providers/helper/MeasurementsDataNormalizer.js.map +0 -1
- package/dist/integration-engine/helpers/ParserHelpers.js.map +0 -1
- package/dist/integration-engine/helpers/UnimonitorCemApiHelper.js.map +0 -1
- package/dist/integration-engine/helpers/index.d.ts +0 -1
- package/dist/integration-engine/helpers/index.js +0 -18
- package/dist/integration-engine/helpers/index.js.map +0 -1
- package/dist/integration-engine/interfaces/oict-energetika/IFetchConsumptionInput.js.map +0 -1
- package/dist/integration-engine/interfaces/oict-energetika/IFetchDataInput.js.map +0 -1
- package/dist/integration-engine/interfaces/vpalace/IFetchXDaysDataInput.js.map +0 -1
- package/dist/integration-engine/interfaces/vpalace/IFetchXHoursDataInput.js.map +0 -1
- package/dist/integration-engine/ioc/Di.js +0 -66
- package/dist/integration-engine/ioc/Di.js.map +0 -1
- package/dist/integration-engine/ioc/ModuleContainer.js.map +0 -1
- package/dist/integration-engine/repositories/oict-energetika/AccessLimitationRepository.js.map +0 -1
- package/dist/integration-engine/schema/vpalace/FetchXDaysDataValidationSchema.js.map +0 -1
- package/dist/integration-engine/schema/vpalace/FetchXHoursDataValidationSchema.js.map +0 -1
- package/dist/integration-engine/tasks/oict-energetika/FetchAccessConfigurationTask.js.map +0 -1
- /package/dist/integration-engine/{repositories/oict-energetika → commodity-providers/repositories}/AccessLimitationRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/oict-energetika → commodity-providers/repositories}/AccessLimitationRepository.js +0 -0
- /package/dist/integration-engine/{tasks/oict-energetika → commodity-providers/workers/tasks}/FetchAccessConfigurationTask.d.ts +0 -0
- /package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/OictDataSourceFactory.d.ts +0 -0
- /package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/OictDataSourceFactory.js +0 -0
- /package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/helpers/OictApiHelper.d.ts +0 -0
- /package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/helpers/OictApiHelper.js +0 -0
- /package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/helpers/index.d.ts +0 -0
- /package/dist/integration-engine/{datasources/oict-energetika → oict-energetika/datasources}/helpers/index.js +0 -0
- /package/dist/integration-engine/{interfaces/oict-energetika → oict-energetika/interfaces}/IFetchConsumptionInput.d.ts +0 -0
- /package/dist/integration-engine/{interfaces/oict-energetika → oict-energetika/interfaces}/IFetchConsumptionInput.js +0 -0
- /package/dist/integration-engine/{interfaces/oict-energetika → oict-energetika/interfaces}/IFetchDataInput.d.ts +0 -0
- /package/dist/integration-engine/{interfaces/oict-energetika → oict-energetika/interfaces}/IFetchDataInput.js +0 -0
- /package/dist/integration-engine/{repositories/oict-energetika → oict-energetika/repositories}/ConsumptionRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/oict-energetika → oict-energetika/repositories}/ConsumptionRepository.js +0 -0
- /package/dist/integration-engine/{schema/oict-energetika → oict-energetika/schema}/FetchConsumptionSchema.js +0 -0
- /package/dist/integration-engine/{schema/oict-energetika → oict-energetika/schema}/FetchDataSchema.js +0 -0
- /package/dist/integration-engine/{transformations/oict-energetika → oict-energetika/transformations}/ConsumptionTransformation.d.ts +0 -0
- /package/dist/integration-engine/{workers/oict-energetika → oict-energetika/workers}/OictEnergetikaWorker.d.ts +0 -0
- /package/dist/integration-engine/{helpers → shared/helpers}/ParserHelpers.d.ts +0 -0
- /package/dist/integration-engine/{helpers → shared/helpers}/ParserHelpers.js +0 -0
- /package/dist/integration-engine/{helpers → shared/helpers}/UnimonitorCemApiHelper.d.ts +0 -0
- /package/dist/integration-engine/{helpers → shared/helpers}/UnimonitorCemApiHelper.js +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/BaseVpalaceFactory.d.ts +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/BaseVpalaceFactory.js +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeasurementDataSource.d.ts +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeasuringEquipmentDataSource.d.ts +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceMeterTypeDataSource.d.ts +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceTypeMeasuringEquipmentDataSource.d.ts +0 -0
- /package/dist/integration-engine/{datasources/vpalace → vpalace/datasources}/VpalaceUnitsDataSource.d.ts +0 -0
- /package/dist/integration-engine/{interfaces/vpalace → vpalace/interfaces}/IFetchXDaysDataInput.d.ts +0 -0
- /package/dist/integration-engine/{interfaces/vpalace → vpalace/interfaces}/IFetchXDaysDataInput.js +0 -0
- /package/dist/integration-engine/{interfaces/vpalace → vpalace/interfaces}/IFetchXHoursDataInput.d.ts +0 -0
- /package/dist/integration-engine/{interfaces/vpalace → vpalace/interfaces}/IFetchXHoursDataInput.js +0 -0
- /package/dist/integration-engine/{ioc → vpalace/ioc}/Di.d.ts +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalacUnitsRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalacUnitsRepository.js +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeasurementRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeasurementRepository.js +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeasuringEquipmentRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeasuringEquipmentRepository.js +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeterTypeRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceMeterTypeRepository.js +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceTypeMeasuringEquipmentRepository.d.ts +0 -0
- /package/dist/integration-engine/{repositories/vpalace → vpalace/repositories}/VpalaceTypeMeasuringEquipmentRepository.js +0 -0
- /package/dist/integration-engine/{schema/vpalace → vpalace/schema}/FetchXDaysDataValidationSchema.js +0 -0
- /package/dist/integration-engine/{schema/vpalace → vpalace/schema}/FetchXHoursDataValidationSchema.js +0 -0
- /package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/FetchDateFactory.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeasurementTransformation.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeasuringEquipmentTransformation.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeasuringEquipmentTransformation.js +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeterTypeTransformation.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacMeterTypeTransformation.js +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacTypeMeasuringEquipmentTransformation.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacTypeMeasuringEquipmentTransformation.js +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacUnitsTransformation.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/VpalacUnitsTransformation.js +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/index.d.ts +0 -0
- /package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/index.js +0 -0
- /package/dist/integration-engine/{workers/vpalace → vpalace/workers}/EnergeticsNewVpalaceWorker.d.ts +0 -0
|
@@ -12,15 +12,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const FetchXDaysDataValidationSchema_1 = require("../../schema/vpalace/FetchXDaysDataValidationSchema");
|
|
15
|
+
const UnimonitorCemApiHelper_1 = require("../../shared/helpers/UnimonitorCemApiHelper");
|
|
16
|
+
const FetchXDaysDataValidationSchema_1 = require("../schema/FetchXDaysDataValidationSchema");
|
|
18
17
|
const _sch_1 = require("../../../schema-definitions");
|
|
19
18
|
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
20
19
|
const AbstractTask_1 = require("@golemio/core/dist/integration-engine/workers/AbstractTask");
|
|
21
20
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
22
21
|
const luxon_1 = require("@golemio/core/dist/shared/luxon");
|
|
23
22
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
23
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
24
24
|
const FetchDateFactory_1 = require("./FetchDateFactory");
|
|
25
25
|
let FetchXDaysDataTask = class FetchXDaysDataTask extends AbstractTask_1.AbstractTask {
|
|
26
26
|
constructor(config, fetchDataFactory) {
|
|
@@ -31,7 +31,7 @@ let FetchXDaysDataTask = class FetchXDaysDataTask extends AbstractTask_1.Abstrac
|
|
|
31
31
|
this.schema = FetchXDaysDataValidationSchema_1.FetchXDaysDataValidationSchema;
|
|
32
32
|
this.queueTtl = 24 * 60 * 60 * 1000; // 24 hours
|
|
33
33
|
const { url, config: cemConfig } = this.getProviderConfig();
|
|
34
|
-
this.unimonitorCemApi = new
|
|
34
|
+
this.unimonitorCemApi = new UnimonitorCemApiHelper_1.UnimonitorCemApiHelper(url, cemConfig);
|
|
35
35
|
}
|
|
36
36
|
async execute(msg) {
|
|
37
37
|
const authCookie = await this.unimonitorCemApi.createSession();
|
|
@@ -41,8 +41,8 @@ let FetchXDaysDataTask = class FetchXDaysDataTask extends AbstractTask_1.Abstrac
|
|
|
41
41
|
const dateFrom = currentDate.minus({ days: targetDays });
|
|
42
42
|
const intervals = luxon_1.Interval.fromDateTimes(dateFrom, currentDate).splitBy({ days: 1 });
|
|
43
43
|
for (const interval of intervals) {
|
|
44
|
-
const from = interval.start.startOf("day").toFormat(
|
|
45
|
-
const to = interval.end.startOf("day").toFormat(
|
|
44
|
+
const from = interval.start.startOf("day").toFormat(UnimonitorCemApiHelper_1.UnimonitorCemApiHelper.API_DATE_FORMAT);
|
|
45
|
+
const to = interval.end.startOf("day").toFormat(UnimonitorCemApiHelper_1.UnimonitorCemApiHelper.API_DATE_FORMAT);
|
|
46
46
|
await this.fetchDataFactory.fetchAndSaveData(from, to, authCookie);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -63,7 +63,7 @@ let FetchXDaysDataTask = class FetchXDaysDataTask extends AbstractTask_1.Abstrac
|
|
|
63
63
|
FetchXDaysDataTask = __decorate([
|
|
64
64
|
(0, tsyringe_1.injectable)(),
|
|
65
65
|
__param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
|
|
66
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
66
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.FetchDateFactory)),
|
|
67
67
|
__metadata("design:paramtypes", [Object, FetchDateFactory_1.FetchDateFactory])
|
|
68
68
|
], FetchXDaysDataTask);
|
|
69
69
|
exports.default = FetchXDaysDataTask;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchXDaysDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"FetchXDaysDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/FetchXDaysDataTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wFAA+F;AAE/F,6FAAmG;AACnG,sDAAwC;AAExC,wEAAqE;AACrE,6FAA0F;AAC1F,6EAAwE;AACxE,2DAAqE;AACrE,iEAAwE;AACxE,4DAA+D;AAC/D,yDAAsD;AAGvC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,2BAA6B;IAMzE,YACoC,MAA6B,EAE7D,gBAAmD;QAEnD,KAAK,CAAC,uBAAgB,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QAJH,WAAM,GAAN,MAAM,CAAe;QAE5C,qBAAgB,GAAhB,gBAAgB,CAAkB;QARvC,cAAS,GAAG,sBAAsB,CAAC;QACnC,WAAM,GAAG,+DAA8B,CAAC;QACxC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,WAAW;QAUvD,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IACvE,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,GAAoB;QACxC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC;QAC/D,IAAI;YACA,MAAM,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC;YAClC,MAAM,WAAW,GAAG,gBAAQ,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAClD,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;YACzD,MAAM,SAAS,GAAG,gBAAQ,CAAC,aAAa,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;YAErF,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE;gBAC9B,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,+CAAsB,CAAC,eAAe,CAAC,CAAC;gBAC5F,MAAM,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,+CAAsB,CAAC,eAAe,CAAC,CAAC;gBAExF,MAAM,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC;aACtE;SACJ;QAAC,OAAO,GAAG,EAAE;YACV,MAAM,IAAI,6BAAY,CAAC,2CAA2C,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;SACnG;gBAAS;YACN,MAAM,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;SAC5D;IACL,CAAC;IAEO,iBAAiB;QACrB,OAAO;YACH,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,uCAAuC,CAAW;YAC5E,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,mCAAmC,CAAe;SAClF,CAAC;IACN,CAAC;CACJ,CAAA;AA5CoB,kBAAkB;IADtC,IAAA,qBAAU,GAAE;IAQJ,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;IAC9B,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,gBAAgB,CAAC,CAAA;6CACZ,mCAAgB;GATtC,kBAAkB,CA4CtC;kBA5CoB,kBAAkB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFetchXHoursDataInput } from "
|
|
2
|
-
import { FetchXHoursDataValidationSchema } from "
|
|
1
|
+
import { IFetchXHoursDataInput } from "../interfaces/IFetchXHoursDataInput";
|
|
2
|
+
import { FetchXHoursDataValidationSchema } from "../schema/FetchXHoursDataValidationSchema";
|
|
3
3
|
import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
|
|
4
4
|
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers/AbstractTask";
|
|
5
5
|
import { FetchDateFactory } from "./FetchDateFactory";
|
|
@@ -12,15 +12,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const FetchXHoursDataValidationSchema_1 = require("../../schema/vpalace/FetchXHoursDataValidationSchema");
|
|
15
|
+
const UnimonitorCemApiHelper_1 = require("../../shared/helpers/UnimonitorCemApiHelper");
|
|
16
|
+
const FetchXHoursDataValidationSchema_1 = require("../schema/FetchXHoursDataValidationSchema");
|
|
18
17
|
const _sch_1 = require("../../../schema-definitions");
|
|
19
|
-
const
|
|
18
|
+
const helpers_1 = require("@golemio/core/dist/helpers");
|
|
20
19
|
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
21
20
|
const AbstractTask_1 = require("@golemio/core/dist/integration-engine/workers/AbstractTask");
|
|
22
21
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
23
22
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
23
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
24
24
|
const FetchDateFactory_1 = require("./FetchDateFactory");
|
|
25
25
|
let FetchXHoursDataTask = class FetchXHoursDataTask extends AbstractTask_1.AbstractTask {
|
|
26
26
|
constructor(config, fetchDataFactory) {
|
|
@@ -31,13 +31,13 @@ let FetchXHoursDataTask = class FetchXHoursDataTask extends AbstractTask_1.Abstr
|
|
|
31
31
|
this.schema = FetchXHoursDataValidationSchema_1.FetchXHoursDataValidationSchema;
|
|
32
32
|
this.queueTtl = 60 * 60 * 1000; //> 1 hour
|
|
33
33
|
const { url, config: cemConfig } = this.getProviderConfig();
|
|
34
|
-
this.unimonitorCemApi = new
|
|
34
|
+
this.unimonitorCemApi = new UnimonitorCemApiHelper_1.UnimonitorCemApiHelper(url, cemConfig);
|
|
35
35
|
}
|
|
36
36
|
async execute(msg) {
|
|
37
37
|
const authCookie = await this.unimonitorCemApi.createSession();
|
|
38
38
|
try {
|
|
39
39
|
const targetHours = msg.targetHours;
|
|
40
|
-
const now = (0,
|
|
40
|
+
const now = (0, helpers_1.dateTime)(new Date()).setTimeZone(UnimonitorCemApiHelper_1.UnimonitorCemApiHelper.API_DATE_TZ);
|
|
41
41
|
const timeFrom = now.clone().subtract(targetHours, "hours").valueOf().toString();
|
|
42
42
|
const timeTo = now.valueOf().toString();
|
|
43
43
|
await this.fetchDataFactory.fetchAndSaveData(timeFrom, timeTo, authCookie);
|
|
@@ -59,7 +59,7 @@ let FetchXHoursDataTask = class FetchXHoursDataTask extends AbstractTask_1.Abstr
|
|
|
59
59
|
FetchXHoursDataTask = __decorate([
|
|
60
60
|
(0, tsyringe_1.injectable)(),
|
|
61
61
|
__param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
|
|
62
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
62
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.FetchDateFactory)),
|
|
63
63
|
__metadata("design:paramtypes", [Object, FetchDateFactory_1.FetchDateFactory])
|
|
64
64
|
], FetchXHoursDataTask);
|
|
65
65
|
exports.default = FetchXHoursDataTask;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchXHoursDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"FetchXHoursDataTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/FetchXHoursDataTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wFAA+F;AAE/F,+FAAqG;AACrG,sDAAwC;AACxC,wDAAsD;AAEtD,wEAAqE;AACrE,6FAA0F;AAC1F,6EAAwE;AACxE,iEAAwE;AACxE,4DAA+D;AAC/D,yDAAsD;AAGvC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,2BAAmC;IAMhF,YACoC,MAA6B,EAE7D,gBAAmD;QAEnD,KAAK,CAAC,uBAAgB,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QAJH,WAAM,GAAN,MAAM,CAAe;QAE5C,qBAAgB,GAAhB,gBAAgB,CAAkB;QARvC,cAAS,GAAG,uBAAuB,CAAC;QACpC,WAAM,GAAG,iEAA+B,CAAC;QACzC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,UAAU;QAUjD,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IACvE,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,GAA0B;QAC9C,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC;QAC/D,IAAI;YACA,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;YACpC,MAAM,GAAG,GAAG,IAAA,kBAAQ,EAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,+CAAsB,CAAC,WAAW,CAAC,CAAC;YACjF,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;YACjF,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;YACxC,MAAM,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;SAC9E;QAAC,OAAO,GAAG,EAAE;YACV,MAAM,IAAI,6BAAY,CAAC,4CAA4C,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;SACpG;gBAAS;YACN,MAAM,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;SAC5D;IACL,CAAC;IAEO,iBAAiB;QACrB,OAAO;YACH,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,uCAAuC,CAAW;YAC5E,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,mCAAmC,CAAe;SAClF,CAAC;IACN,CAAC;CACJ,CAAA;AAtCoB,mBAAmB;IADvC,IAAA,qBAAU,GAAE;IAQJ,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;IAC9B,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,gBAAgB,CAAC,CAAA;6CACZ,mCAAgB;GATtC,mBAAmB,CAsCvC;kBAtCoB,mBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VpalaceMeasurementDataSource } from "
|
|
2
|
-
import { VpalaceMeasurementRepository } from "
|
|
3
|
-
import { VpalacMeasurementTransformation } from "
|
|
1
|
+
import { VpalaceMeasurementDataSource } from "../datasources/VpalaceMeasurementDataSource";
|
|
2
|
+
import { VpalaceMeasurementRepository } from "../repositories/VpalaceMeasurementRepository";
|
|
3
|
+
import { VpalacMeasurementTransformation } from "../transformations/VpalacMeasurementTransformation";
|
|
4
4
|
import { Transaction } from "@golemio/core/dist/shared/sequelize";
|
|
5
5
|
export declare class MeasurementDataFetcher {
|
|
6
6
|
private readonly transformationVpalaceMeasurement;
|
|
@@ -13,11 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.MeasurementDataFetcher = void 0;
|
|
16
|
-
const VpalaceMeasurementDataSource_1 = require("
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const VpalacMeasurementTransformation_1 = require("../../transformations/vpalace/VpalacMeasurementTransformation");
|
|
16
|
+
const VpalaceMeasurementDataSource_1 = require("../datasources/VpalaceMeasurementDataSource");
|
|
17
|
+
const VpalaceMeasurementRepository_1 = require("../repositories/VpalaceMeasurementRepository");
|
|
18
|
+
const VpalacMeasurementTransformation_1 = require("../transformations/VpalacMeasurementTransformation");
|
|
20
19
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
20
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
21
21
|
let MeasurementDataFetcher = exports.MeasurementDataFetcher = class MeasurementDataFetcher {
|
|
22
22
|
constructor(transformationVpalaceMeasurement, modelVpalaceMeasurement, datasourceVpalaceMeasurement) {
|
|
23
23
|
this.transformationVpalaceMeasurement = transformationVpalaceMeasurement;
|
|
@@ -34,9 +34,9 @@ let MeasurementDataFetcher = exports.MeasurementDataFetcher = class MeasurementD
|
|
|
34
34
|
};
|
|
35
35
|
exports.MeasurementDataFetcher = MeasurementDataFetcher = __decorate([
|
|
36
36
|
(0, tsyringe_1.injectable)(),
|
|
37
|
-
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
38
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
39
|
-
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
37
|
+
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalacMeasurementTransformation)),
|
|
38
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceMeasurementRepository)),
|
|
39
|
+
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceMeasurementDataSource)),
|
|
40
40
|
__metadata("design:paramtypes", [VpalacMeasurementTransformation_1.VpalacMeasurementTransformation,
|
|
41
41
|
VpalaceMeasurementRepository_1.VpalaceMeasurementRepository,
|
|
42
42
|
VpalaceMeasurementDataSource_1.VpalaceMeasurementDataSource])
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasurementDataFetcher.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementDataFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"MeasurementDataFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/MeasurementDataFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8FAAoG;AACpG,+FAAqG;AACrG,wGAA8G;AAE9G,iEAAwE;AACxE,4DAA+D;AAGxD,IAAM,sBAAsB,oCAA5B,MAAM,sBAAsB;IAC/B,YAGI,gCAAkF,EAElF,uBAAsE,EAEtE,4BAA2E;QAJ1D,qCAAgC,GAAhC,gCAAgC,CAAiC;QAEjE,4BAAuB,GAAvB,uBAAuB,CAA8B;QAErD,iCAA4B,GAA5B,4BAA4B,CAA8B;QAGxE,YAAO,GAAG,KAAK,EAAE,IAAY,EAAE,EAAU,EAAE,UAAkB,EAAE,CAAc,EAAE,EAAE;YACpF,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,IAAI,CAAC,4BAA4B,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAErH,MAAM,0BAA0B,GAAG,MAAM,IAAI,CAAC,gCAAgC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;YAC1G,KAAK,MAAM,KAAK,IAAI,0BAA0B,EAAE;gBAC5C,MAAM,IAAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;aACzD;QACL,CAAC,CAAC;IATC,CAAC;CAUP,CAAA;iCAnBY,sBAAsB;IADlC,IAAA,qBAAU,GAAE;IAIJ,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,+BAA+B,CAAC,CAAA;IAE7D,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,4BAA4B,CAAC,CAAA;IAE1D,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,4BAA4B,CAAC,CAAA;qCAHR,iEAA+B;QAExC,2DAA4B;QAEvB,2DAA4B;GARtE,sBAAsB,CAmBlC"}
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasuringEquipmentFetcher.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VpalaceMeasuringEquipmentDataSource } from "
|
|
2
|
-
import { VpalaceMeasuringEquipmentRepository } from "
|
|
3
|
-
import { VpalacMeasuringEquipmentTransformation } from "
|
|
1
|
+
import { VpalaceMeasuringEquipmentDataSource } from "../datasources/VpalaceMeasuringEquipmentDataSource";
|
|
2
|
+
import { VpalaceMeasuringEquipmentRepository } from "../repositories/VpalaceMeasuringEquipmentRepository";
|
|
3
|
+
import { VpalacMeasuringEquipmentTransformation } from "../transformations/VpalacMeasuringEquipmentTransformation";
|
|
4
4
|
import { Transaction } from "@golemio/core/dist/shared/sequelize";
|
|
5
5
|
export declare class MeasuringEquipmentFetcher {
|
|
6
6
|
private readonly datasourceVpalaceMeasuringEquipment;
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasuringEquipmentFetcher.js
RENAMED
|
@@ -13,11 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.MeasuringEquipmentFetcher = void 0;
|
|
16
|
-
const VpalaceMeasuringEquipmentDataSource_1 = require("
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const VpalacMeasuringEquipmentTransformation_1 = require("../../transformations/vpalace/VpalacMeasuringEquipmentTransformation");
|
|
16
|
+
const VpalaceMeasuringEquipmentDataSource_1 = require("../datasources/VpalaceMeasuringEquipmentDataSource");
|
|
17
|
+
const VpalaceMeasuringEquipmentRepository_1 = require("../repositories/VpalaceMeasuringEquipmentRepository");
|
|
18
|
+
const VpalacMeasuringEquipmentTransformation_1 = require("../transformations/VpalacMeasuringEquipmentTransformation");
|
|
20
19
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
20
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
21
21
|
let MeasuringEquipmentFetcher = exports.MeasuringEquipmentFetcher = class MeasuringEquipmentFetcher {
|
|
22
22
|
constructor(datasourceVpalaceMeasuringEquipment, modelVpalaceMeasuringEquipment, transformationVpalaceMeasuringEquipment) {
|
|
23
23
|
this.datasourceVpalaceMeasuringEquipment = datasourceVpalaceMeasuringEquipment;
|
|
@@ -32,9 +32,9 @@ let MeasuringEquipmentFetcher = exports.MeasuringEquipmentFetcher = class Measur
|
|
|
32
32
|
};
|
|
33
33
|
exports.MeasuringEquipmentFetcher = MeasuringEquipmentFetcher = __decorate([
|
|
34
34
|
(0, tsyringe_1.injectable)(),
|
|
35
|
-
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
36
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
37
|
-
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
35
|
+
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceMeasuringEquipmentDataSource)),
|
|
36
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceMeasuringEquipmentRepository)),
|
|
37
|
+
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalacMeasuringEquipmentTransformation)),
|
|
38
38
|
__metadata("design:paramtypes", [VpalaceMeasuringEquipmentDataSource_1.VpalaceMeasuringEquipmentDataSource,
|
|
39
39
|
VpalaceMeasuringEquipmentRepository_1.VpalaceMeasuringEquipmentRepository,
|
|
40
40
|
VpalacMeasuringEquipmentTransformation_1.VpalacMeasuringEquipmentTransformation])
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/MeasuringEquipmentFetcher.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasuringEquipmentFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"MeasuringEquipmentFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/MeasuringEquipmentFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4GAAkH;AAClH,6GAAmH;AACnH,sHAA4H;AAE5H,iEAAwE;AACxE,4DAA+D;AAGxD,IAAM,yBAAyB,uCAA/B,MAAM,yBAAyB;IAClC,YAGI,mCAAyF,EAEzF,8BAAoF,EAEpF,uCAAgG;QAJ/E,wCAAmC,GAAnC,mCAAmC,CAAqC;QAExE,mCAA8B,GAA9B,8BAA8B,CAAqC;QAEnE,4CAAuC,GAAvC,uCAAuC,CAAwC;QAG7F,YAAO,GAAG,KAAK,EAAE,IAAY,EAAE,EAAU,EAAE,UAAkB,EAAE,CAAc,EAAE,EAAE;YACpF,MAAM,sBAAsB,GAAG,MAAM,CACjC,MAAM,IAAI,CAAC,mCAAmC,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,EAAE,UAAU,CAAC,CACrF,CAAC,MAAM,EAAE,CAAC;YACX,MAAM,iCAAiC,GAAG,MAAM,IAAI,CAAC,uCAAuC,CAAC,SAAS,CAClG,sBAAsB,CACzB,CAAC;YACF,MAAM,IAAI,CAAC,8BAA8B,CAAC,QAAQ,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;QAC7F,CAAC,CAAC;IAVC,CAAC;CAWP,CAAA;oCApBY,yBAAyB;IADrC,IAAA,qBAAU,GAAE;IAIJ,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,mCAAmC,CAAC,CAAA;IAEjE,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,mCAAmC,CAAC,CAAA;IAEjE,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,sCAAsC,CAAC,CAAA;qCAHf,yEAAmC;QAExC,yEAAmC;QAE1B,+EAAsC;GAR3F,yBAAyB,CAoBrC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VpalaceMeterTypeDataSource } from "
|
|
2
|
-
import { VpalaceMeterTypeRepository } from "
|
|
3
|
-
import { VpalacMeterTypeTransformation } from "
|
|
1
|
+
import { VpalaceMeterTypeDataSource } from "../datasources/VpalaceMeterTypeDataSource";
|
|
2
|
+
import { VpalaceMeterTypeRepository } from "../repositories/VpalaceMeterTypeRepository";
|
|
3
|
+
import { VpalacMeterTypeTransformation } from "../transformations/VpalacMeterTypeTransformation";
|
|
4
4
|
import { Transaction } from "@golemio/core/dist/shared/sequelize";
|
|
5
5
|
export declare class MeterTypeFetcher {
|
|
6
6
|
private readonly datasourceVpalaceMeterType;
|
|
@@ -13,11 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.MeterTypeFetcher = void 0;
|
|
16
|
-
const VpalaceMeterTypeDataSource_1 = require("
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const VpalacMeterTypeTransformation_1 = require("../../transformations/vpalace/VpalacMeterTypeTransformation");
|
|
16
|
+
const VpalaceMeterTypeDataSource_1 = require("../datasources/VpalaceMeterTypeDataSource");
|
|
17
|
+
const VpalaceMeterTypeRepository_1 = require("../repositories/VpalaceMeterTypeRepository");
|
|
18
|
+
const VpalacMeterTypeTransformation_1 = require("../transformations/VpalacMeterTypeTransformation");
|
|
20
19
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
20
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
21
21
|
let MeterTypeFetcher = exports.MeterTypeFetcher = class MeterTypeFetcher {
|
|
22
22
|
constructor(datasourceVpalaceMeterType, modelVpalaceMeterType, transformationVpalaceMeterType) {
|
|
23
23
|
this.datasourceVpalaceMeterType = datasourceVpalaceMeterType;
|
|
@@ -32,9 +32,9 @@ let MeterTypeFetcher = exports.MeterTypeFetcher = class MeterTypeFetcher {
|
|
|
32
32
|
};
|
|
33
33
|
exports.MeterTypeFetcher = MeterTypeFetcher = __decorate([
|
|
34
34
|
(0, tsyringe_1.injectable)(),
|
|
35
|
-
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
36
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
37
|
-
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
35
|
+
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceMeterTypeDataSource)),
|
|
36
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceMeterTypeRepository)),
|
|
37
|
+
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalacMeterTypeTransformation)),
|
|
38
38
|
__metadata("design:paramtypes", [VpalaceMeterTypeDataSource_1.VpalaceMeterTypeDataSource,
|
|
39
39
|
VpalaceMeterTypeRepository_1.VpalaceMeterTypeRepository,
|
|
40
40
|
VpalacMeterTypeTransformation_1.VpalacMeterTypeTransformation])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeterTypeFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"MeterTypeFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/MeterTypeFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,0FAAgG;AAChG,2FAAiG;AACjG,oGAA0G;AAE1G,iEAAwE;AACxE,4DAA+D;AAGxD,IAAM,gBAAgB,8BAAtB,MAAM,gBAAgB;IACzB,YAGI,0BAAuE,EAEvE,qBAAkE,EAElE,8BAA8E;QAJ7D,+BAA0B,GAA1B,0BAA0B,CAA4B;QAEtD,0BAAqB,GAArB,qBAAqB,CAA4B;QAEjD,mCAA8B,GAA9B,8BAA8B,CAA+B;QAG3E,YAAO,GAAG,KAAK,EAAE,IAAY,EAAE,EAAU,EAAE,UAAkB,EAAE,CAAc,EAAE,EAAE;YACpF,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,IAAI,CAAC,0BAA0B,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACjH,MAAM,wBAAwB,GAAG,MAAM,IAAI,CAAC,8BAA8B,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;YACpG,MAAM,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC,CAAC,CAAC;QAC3E,CAAC,CAAC;IANC,CAAC;CAOP,CAAA;2BAhBY,gBAAgB;IAD5B,IAAA,qBAAU,GAAE;IAIJ,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,0BAA0B,CAAC,CAAA;IAExD,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,0BAA0B,CAAC,CAAA;IAExD,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,6BAA6B,CAAC,CAAA;qCAHf,uDAA0B;QAE/B,uDAA0B;QAEjB,6DAA6B;GARzE,gBAAgB,CAgB5B"}
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/TypeMeasuringEquipmentFetcher.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VpalaceTypeMeasuringEquipmentDataSource } from "
|
|
2
|
-
import { VpalaceTypeMeasuringEquipmentRepository } from "
|
|
3
|
-
import { VpalacTypeMeasuringEquipmentTransformation } from "
|
|
1
|
+
import { VpalaceTypeMeasuringEquipmentDataSource } from "../datasources/VpalaceTypeMeasuringEquipmentDataSource";
|
|
2
|
+
import { VpalaceTypeMeasuringEquipmentRepository } from "../repositories/VpalaceTypeMeasuringEquipmentRepository";
|
|
3
|
+
import { VpalacTypeMeasuringEquipmentTransformation } from "../transformations/VpalacTypeMeasuringEquipmentTransformation";
|
|
4
4
|
import { Transaction } from "@golemio/core/dist/shared/sequelize";
|
|
5
5
|
export declare class TypeMeasuringEquipmentFetcher {
|
|
6
6
|
private readonly datasourceVpalaceTypeMeasuringEquipment;
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/TypeMeasuringEquipmentFetcher.js
RENAMED
|
@@ -13,11 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.TypeMeasuringEquipmentFetcher = void 0;
|
|
16
|
-
const VpalaceTypeMeasuringEquipmentDataSource_1 = require("
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const VpalacTypeMeasuringEquipmentTransformation_1 = require("../../transformations/vpalace/VpalacTypeMeasuringEquipmentTransformation");
|
|
16
|
+
const VpalaceTypeMeasuringEquipmentDataSource_1 = require("../datasources/VpalaceTypeMeasuringEquipmentDataSource");
|
|
17
|
+
const VpalaceTypeMeasuringEquipmentRepository_1 = require("../repositories/VpalaceTypeMeasuringEquipmentRepository");
|
|
18
|
+
const VpalacTypeMeasuringEquipmentTransformation_1 = require("../transformations/VpalacTypeMeasuringEquipmentTransformation");
|
|
20
19
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
20
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
21
21
|
let TypeMeasuringEquipmentFetcher = exports.TypeMeasuringEquipmentFetcher = class TypeMeasuringEquipmentFetcher {
|
|
22
22
|
constructor(datasourceVpalaceTypeMeasuringEquipment, modelVpalaceTypeMeasuringEquipment, transformationVpalaceTypeMeasuringEquipment) {
|
|
23
23
|
this.datasourceVpalaceTypeMeasuringEquipment = datasourceVpalaceTypeMeasuringEquipment;
|
|
@@ -32,9 +32,9 @@ let TypeMeasuringEquipmentFetcher = exports.TypeMeasuringEquipmentFetcher = clas
|
|
|
32
32
|
};
|
|
33
33
|
exports.TypeMeasuringEquipmentFetcher = TypeMeasuringEquipmentFetcher = __decorate([
|
|
34
34
|
(0, tsyringe_1.injectable)(),
|
|
35
|
-
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
36
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
37
|
-
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
35
|
+
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceTypeMeasuringEquipmentDataSource)),
|
|
36
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceTypeMeasuringEquipmentRepository)),
|
|
37
|
+
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalacTypeMeasuringEquipmentTransformation)),
|
|
38
38
|
__metadata("design:paramtypes", [VpalaceTypeMeasuringEquipmentDataSource_1.VpalaceTypeMeasuringEquipmentDataSource,
|
|
39
39
|
VpalaceTypeMeasuringEquipmentRepository_1.VpalaceTypeMeasuringEquipmentRepository,
|
|
40
40
|
VpalacTypeMeasuringEquipmentTransformation_1.VpalacTypeMeasuringEquipmentTransformation])
|
package/dist/integration-engine/{tasks/vpalace → vpalace/tasks}/TypeMeasuringEquipmentFetcher.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeMeasuringEquipmentFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"TypeMeasuringEquipmentFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/TypeMeasuringEquipmentFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oHAA0H;AAC1H,qHAA2H;AAC3H,8HAAoI;AAEpI,iEAAwE;AACxE,4DAA+D;AAGxD,IAAM,6BAA6B,2CAAnC,MAAM,6BAA6B;IACtC,YAGI,uCAAiG,EAEjG,kCAA4F,EAE5F,2CAAwG;QAJvF,4CAAuC,GAAvC,uCAAuC,CAAyC;QAEhF,uCAAkC,GAAlC,kCAAkC,CAAyC;QAE3E,gDAA2C,GAA3C,2CAA2C,CAA4C;QAGrG,YAAO,GAAG,KAAK,EAAE,IAAY,EAAE,EAAU,EAAE,UAAkB,EAAE,CAAc,EAAE,EAAE;YACpF,MAAM,0BAA0B,GAAG,MAAM,CACrC,MAAM,IAAI,CAAC,uCAAuC,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,EAAE,UAAU,CAAC,CACzF,CAAC,MAAM,EAAE,CAAC;YACX,MAAM,qCAAqC,GAAG,MAAM,IAAI,CAAC,2CAA2C,CAAC,SAAS,CAC1G,0BAA0B,CAC7B,CAAC;YACF,MAAM,IAAI,CAAC,kCAAkC,CAAC,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;QACrG,CAAC,CAAC;IAVC,CAAC;CAWP,CAAA;wCApBY,6BAA6B;IADzC,IAAA,qBAAU,GAAE;IAIJ,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,uCAAuC,CAAC,CAAA;IAErE,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,uCAAuC,CAAC,CAAA;IAErE,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,0CAA0C,CAAC,CAAA;qCAHf,iFAAuC;QAE5C,iFAAuC;QAE9B,uFAA0C;GARnG,6BAA6B,CAoBzC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VpalaceUnitsDataSource } from "
|
|
2
|
-
import { VpalaceUnitsRepository } from "
|
|
3
|
-
import { VpalacUnitsTransformation } from "
|
|
1
|
+
import { VpalaceUnitsDataSource } from "../datasources/VpalaceUnitsDataSource";
|
|
2
|
+
import { VpalaceUnitsRepository } from "../repositories/VpalacUnitsRepository";
|
|
3
|
+
import { VpalacUnitsTransformation } from "../transformations/VpalacUnitsTransformation";
|
|
4
4
|
import { Transaction } from "@golemio/core/dist/shared/sequelize";
|
|
5
5
|
export declare class UnitDataFetcher {
|
|
6
6
|
private readonly datasourceVpalaceUnits;
|
|
@@ -13,11 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.UnitDataFetcher = void 0;
|
|
16
|
-
const VpalaceUnitsDataSource_1 = require("
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const VpalacUnitsTransformation_1 = require("../../transformations/vpalace/VpalacUnitsTransformation");
|
|
16
|
+
const VpalaceUnitsDataSource_1 = require("../datasources/VpalaceUnitsDataSource");
|
|
17
|
+
const VpalacUnitsRepository_1 = require("../repositories/VpalacUnitsRepository");
|
|
18
|
+
const VpalacUnitsTransformation_1 = require("../transformations/VpalacUnitsTransformation");
|
|
20
19
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
20
|
+
const ModuleContainer_1 = require("../ioc/ModuleContainer");
|
|
21
21
|
let UnitDataFetcher = exports.UnitDataFetcher = class UnitDataFetcher {
|
|
22
22
|
constructor(datasourceVpalaceUnits, modelVpalaceUnits, transformationVpalaceUnits) {
|
|
23
23
|
this.datasourceVpalaceUnits = datasourceVpalaceUnits;
|
|
@@ -32,9 +32,9 @@ let UnitDataFetcher = exports.UnitDataFetcher = class UnitDataFetcher {
|
|
|
32
32
|
};
|
|
33
33
|
exports.UnitDataFetcher = UnitDataFetcher = __decorate([
|
|
34
34
|
(0, tsyringe_1.injectable)(),
|
|
35
|
-
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
36
|
-
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
37
|
-
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.
|
|
35
|
+
__param(0, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceUnitsDataSource)),
|
|
36
|
+
__param(1, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalaceUnitsRepository)),
|
|
37
|
+
__param(2, (0, tsyringe_1.inject)(ModuleContainer_1.VpalaceContainerToken.VpalacUnitsTransformation)),
|
|
38
38
|
__metadata("design:paramtypes", [VpalaceUnitsDataSource_1.VpalaceUnitsDataSource,
|
|
39
39
|
VpalacUnitsRepository_1.VpalaceUnitsRepository,
|
|
40
40
|
VpalacUnitsTransformation_1.VpalacUnitsTransformation])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitDataFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/tasks/
|
|
1
|
+
{"version":3,"file":"UnitDataFetcher.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/tasks/UnitDataFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kFAAwF;AACxF,iFAAwF;AACxF,4FAAkG;AAElG,iEAAwE;AACxE,4DAA+D;AAGxD,IAAM,eAAe,6BAArB,MAAM,eAAe;IACxB,YAGI,sBAA+D,EAE/D,iBAA0D,EAE1D,0BAAsE;QAJrD,2BAAsB,GAAtB,sBAAsB,CAAwB;QAE9C,sBAAiB,GAAjB,iBAAiB,CAAwB;QAEzC,+BAA0B,GAA1B,0BAA0B,CAA2B;QAGnE,YAAO,GAAG,KAAK,EAAE,IAAY,EAAE,EAAU,EAAE,UAAkB,EAAE,CAAc,EAAE,EAAE;YACpF,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,IAAI,CAAC,sBAAsB,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACzG,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACxF,MAAM,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC,CAAC,CAAC;QACnE,CAAC,CAAC;IANC,CAAC;CAOP,CAAA;0BAhBY,eAAe;IAD3B,IAAA,qBAAU,GAAE;IAIJ,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,sBAAsB,CAAC,CAAA;IAEpD,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,sBAAsB,CAAC,CAAA;IAEpD,WAAA,IAAA,iBAAM,EAAC,uCAAqB,CAAC,yBAAyB,CAAC,CAAA;qCAHf,+CAAsB;QAE3B,8CAAsB;QAEb,qDAAyB;GARjE,eAAe,CAgB3B"}
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.VpalacMeasurementTransformation = void 0;
|
|
13
|
-
const ParserHelpers_1 = require("../../helpers/ParserHelpers");
|
|
13
|
+
const ParserHelpers_1 = require("../../shared/helpers/ParserHelpers");
|
|
14
14
|
const _sch_1 = require("../../../schema-definitions");
|
|
15
15
|
const transformations_1 = require("@golemio/core/dist/integration-engine/transformations");
|
|
16
16
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VpalacMeasurementTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/
|
|
1
|
+
{"version":3,"file":"VpalacMeasurementTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/transformations/VpalacMeasurementTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAA+D;AAC/D,sDAAwC;AACxC,2FAA4G;AAC5G,iEAAgE;AAQzD,IAAM,+BAA+B,6CAArC,MAAM,+BAAgC,SAAQ,oCAAkB;IAGnE;QACI,KAAK,EAAE,CAAC;QAIF,qBAAgB,GAAG,CAAC,IAAS,EAAoC,EAAE;YACzE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YAEhC,IAAI,CAAC,MAAM,CAAC,MAAM;gBAAE,OAAO;YAE3B,MAAM,MAAM,GAAG,IAAA,2BAAW,EAAM,MAAM,EAAE,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,EAAO,EAAE,EAAE,CAAC,CAAC;gBACnE,gBAAgB,EAAE,IAAI,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE;gBACtD,KAAK,EAAE,EAAE,CAAC,KAAK;gBACf,MAAM;aACT,CAAC,CAAC,CAAC;YAEJ,OAAO,MAAM,CAAC;QAClB,CAAC,CAAC;QAfE,IAAI,CAAC,IAAI,GAAG,uBAAgB,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;IACzD,CAAC;CAeJ,CAAA;0CArBY,+BAA+B;IAD3C,IAAA,qBAAU,GAAE;;GACA,+BAA+B,CAqB3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VpalacMeasuringEquipmentTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/
|
|
1
|
+
{"version":3,"file":"VpalacMeasuringEquipmentTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/transformations/VpalacMeasuringEquipmentTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAwC;AACxC,2FAA4G;AAC5G,iEAAgE;AAEzD,IAAM,sCAAsC,oDAA5C,MAAM,sCAAuC,SAAQ,oCAAkB;IAG1E;QACI,KAAK,EAAE,CAAC;QAIF,qBAAgB,GAAG,KAAK,EAAE,OAA4B,EAAgB,EAAE;YAC9E,MAAM,GAAG,GAAG;gBACR,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;aACzB,CAAC;YAEF,OAAO,GAAG,CAAC;QACf,CAAC,CAAC;QAvBE,IAAI,CAAC,IAAI,GAAG,uBAAgB,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC;IAChE,CAAC;CAuBJ,CAAA;iDA7BY,sCAAsC;IADlD,IAAA,qBAAU,GAAE;;GACA,sCAAsC,CA6BlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VpalacMeterTypeTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/
|
|
1
|
+
{"version":3,"file":"VpalacMeterTypeTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/transformations/VpalacMeterTypeTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAwC;AACxC,2FAA4G;AAC5G,iEAAgE;AAEzD,IAAM,6BAA6B,2CAAnC,MAAM,6BAA8B,SAAQ,oCAAkB;IAGjE;QACI,KAAK,EAAE,CAAC;QAIF,qBAAgB,GAAG,KAAK,EAAE,OAA4B,EAAgB,EAAE;YAC9E,MAAM,GAAG,GAAG;gBACR,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,OAAO,EAAE,OAAO,CAAC,OAAO;aAC3B,CAAC;YAEF,OAAO,GAAG,CAAC;QACf,CAAC,CAAC;QAhBE,IAAI,CAAC,IAAI,GAAG,uBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC;IACvD,CAAC;CAgBJ,CAAA;wCAtBY,6BAA6B;IADzC,IAAA,qBAAU,GAAE;;GACA,6BAA6B,CAsBzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VpalacTypeMeasuringEquipmentTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/
|
|
1
|
+
{"version":3,"file":"VpalacTypeMeasuringEquipmentTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/transformations/VpalacTypeMeasuringEquipmentTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAwC;AACxC,2FAA4G;AAC5G,iEAAgE;AAEzD,IAAM,0CAA0C,wDAAhD,MAAM,0CAA2C,SAAQ,oCAAkB;IAG9E;QACI,KAAK,EAAE,CAAC;QAIF,qBAAgB,GAAG,KAAK,EAAE,OAA4B,EAAgB,EAAE;YAC9E,MAAM,GAAG,GAAG;gBACR,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,MAAM,EAAE,OAAO,CAAC,MAAM;aACzB,CAAC;YAEF,OAAO,GAAG,CAAC;QACf,CAAC,CAAC;QAlBE,IAAI,CAAC,IAAI,GAAG,uBAAgB,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC;IACpE,CAAC;CAkBJ,CAAA;qDAxBY,0CAA0C;IADtD,IAAA,qBAAU,GAAE;;GACA,0CAA0C,CAwBtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VpalacUnitsTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/
|
|
1
|
+
{"version":3,"file":"VpalacUnitsTransformation.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/transformations/VpalacUnitsTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAwC;AACxC,2FAA4G;AAC5G,iEAAgE;AAEzD,IAAM,yBAAyB,uCAA/B,MAAM,yBAA0B,SAAQ,oCAAkB;IAG7D;QACI,KAAK,EAAE,CAAC;QAIF,qBAAgB,GAAG,KAAK,EAAE,OAA4B,EAAgB,EAAE;YAC9E,MAAM,GAAG,GAAG;gBACR,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,YAAY,EAAE,OAAO,CAAC,YAAY;gBAClC,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;aACzB,CAAC;YAEF,OAAO,GAAG,CAAC;QACf,CAAC,CAAC;QAhBE,IAAI,CAAC,IAAI,GAAG,uBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC;IACnD,CAAC;CAgBJ,CAAA;oCAtBY,yBAAyB;IADrC,IAAA,qBAAU,GAAE;;GACA,yBAAyB,CAsBrC"}
|
package/dist/integration-engine/{transformations/vpalace → vpalace/transformations}/index.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/integration-engine/transformations/
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/transformations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,2EAAyD;AACzD,kEAAgD;AAChD,+EAA6D;AAC7D,8DAA4C"}
|
package/dist/integration-engine/{workers/vpalace → vpalace/workers}/EnergeticsNewVpalaceWorker.js
RENAMED
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.EnergeticsNewVpalaceWorker = void 0;
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const FetchXHoursDataTask_1 = __importDefault(require("../../tasks/vpalace/FetchXHoursDataTask"));
|
|
7
|
+
const FetchXDaysDataTask_1 = __importDefault(require("../tasks/FetchXDaysDataTask"));
|
|
8
|
+
const FetchXHoursDataTask_1 = __importDefault(require("../tasks/FetchXHoursDataTask"));
|
|
10
9
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
10
|
+
const Di_1 = require("../ioc/Di");
|
|
11
11
|
class EnergeticsNewVpalaceWorker extends integration_engine_1.AbstractWorker {
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnergeticsNewVpalaceWorker.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/
|
|
1
|
+
{"version":3,"file":"EnergeticsNewVpalaceWorker.js","sourceRoot":"","sources":["../../../../src/integration-engine/vpalace/workers/EnergeticsNewVpalaceWorker.ts"],"names":[],"mappings":";;;;;;AAAA,qFAAsE;AACtE,uFAAwE;AACxE,8EAAuE;AACvE,kCAA6C;AAE7C,MAAa,0BAA2B,SAAQ,mCAAc;IAG1D;QACI,KAAK,EAAE,CAAC;QAHF,SAAI,GAAG,YAAY,CAAC;QAK1B,iBAAiB;QACjB,IAAI,CAAC,YAAY,CAAC,qBAAgB,CAAC,OAAO,CAAqB,4BAAkB,CAAC,CAAC,CAAC;QACpF,IAAI,CAAC,YAAY,CAAC,qBAAgB,CAAC,OAAO,CAAsB,6BAAmB,CAAC,CAAC,CAAC;IAC1F,CAAC;CACJ;AAVD,gEAUC"}
|
package/dist/schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema.js
CHANGED
|
@@ -9,8 +9,9 @@ exports.aveApiDeviceDataJsonSchema = {
|
|
|
9
9
|
StandardTime: { type: "string" },
|
|
10
10
|
OperatingAmount: { type: "number" },
|
|
11
11
|
ConvertDifference: { type: "number" },
|
|
12
|
+
OperatingDifference: { type: "number" },
|
|
12
13
|
},
|
|
13
|
-
required: ["StandardTime", "OperatingAmount", "ConvertDifference"],
|
|
14
|
+
required: ["StandardTime", "OperatingAmount", "ConvertDifference", "OperatingDifference"],
|
|
14
15
|
},
|
|
15
16
|
};
|
|
16
17
|
//# sourceMappingURL=AveApiDeviceDataJsonSchema.js.map
|
package/dist/schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AveApiDeviceDataJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,0BAA0B,GAA2C;IAC9E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnC,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"AveApiDeviceDataJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/commodity-providers/AveApiDeviceDataJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,0BAA0B,GAA2C;IAC9E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnC,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACrC,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC1C;QACD,QAAQ,EAAE,CAAC,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC;KAC5F;CACJ,CAAC"}
|
|
@@ -5,5 +5,6 @@ var MeasurementVariable;
|
|
|
5
5
|
(function (MeasurementVariable) {
|
|
6
6
|
MeasurementVariable["Core"] = "core";
|
|
7
7
|
MeasurementVariable["Core2"] = "core2";
|
|
8
|
+
MeasurementVariable["CoreDiff"] = "corediff";
|
|
8
9
|
})(MeasurementVariable || (exports.MeasurementVariable = MeasurementVariable = {}));
|
|
9
10
|
//# sourceMappingURL=MeasurementVariableEnum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementVariableEnum.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/helpers/MeasurementVariableEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"MeasurementVariableEnum.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/helpers/MeasurementVariableEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,4CAAqB,CAAA;AACzB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
+
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
+
import { IEnapoMeasurementsDto } from "./interfaces/IEnapoMeasurmentsDto";
|
|
4
|
+
export declare class EnapoMeasurementsModel extends Model<IEnapoMeasurementsDto> implements IEnapoMeasurementsDto {
|
|
5
|
+
static TABLE_NAME: string;
|
|
6
|
+
static REPOSITORY_NAME: string;
|
|
7
|
+
static JSON_SCHEMA_VALIDATOR_NAME: string;
|
|
8
|
+
eic: string;
|
|
9
|
+
value: number;
|
|
10
|
+
timestamp: Date;
|
|
11
|
+
var: string;
|
|
12
|
+
source: string;
|
|
13
|
+
place_id: string;
|
|
14
|
+
device_serial_number: string;
|
|
15
|
+
static attributeModel: ModelAttributes<EnapoMeasurementsModel, IEnapoMeasurementsDto>;
|
|
16
|
+
static jsonSchema: JSONSchemaType<IEnapoMeasurementsDto[]>;
|
|
17
|
+
}
|