@golemio/pid 5.20.3-dev.2847063270 → 6.0.0-dev.2857220632
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/dist/const.js +12 -15
- package/dist/const.js.map +1 -1
- package/dist/helpers/AccessibilityEnums.js +4 -7
- package/dist/helpers/AccessibilityEnums.js.map +1 -1
- package/dist/helpers/DateTimeUtils.js +9 -15
- package/dist/helpers/DateTimeUtils.js.map +1 -1
- package/dist/helpers/GtfsStopParser.d.ts +1 -1
- package/dist/helpers/GtfsStopParser.js +9 -11
- package/dist/helpers/GtfsStopParser.js.map +1 -1
- package/dist/helpers/PassengerTransferEnums.js +4 -7
- package/dist/helpers/PassengerTransferEnums.js.map +1 -1
- package/dist/helpers/RedisJsonParser.js +5 -8
- package/dist/helpers/RedisJsonParser.js.map +1 -1
- package/dist/helpers/RouteTypeEnums.js +6 -11
- package/dist/helpers/RouteTypeEnums.js.map +1 -1
- package/dist/helpers/StopEnums.js +2 -5
- package/dist/helpers/StopEnums.js.map +1 -1
- package/dist/helpers/VehicleDescriptorEnums.js +4 -7
- package/dist/helpers/VehicleDescriptorEnums.js.map +1 -1
- package/dist/helpers/geo/GeoMeasurementHelper.d.ts +3 -3
- package/dist/helpers/geo/GeoMeasurementHelper.js +10 -14
- package/dist/helpers/geo/GeoMeasurementHelper.js.map +1 -1
- package/dist/helpers/geo/interfaces/IGeoMeasurementHelper.d.ts +2 -2
- package/dist/helpers/geo/interfaces/IGeoMeasurementHelper.js +1 -2
- package/dist/helpers/jis/JISEventEffectHelper.js +5 -9
- package/dist/helpers/jis/JISEventEffectHelper.js.map +1 -1
- package/dist/helpers/jis/JISEventSeverityLevelEnum.js +2 -5
- package/dist/helpers/jis/JISEventSeverityLevelEnum.js.map +1 -1
- package/dist/helpers/jis/JISEventTranslationHelper.js +1 -5
- package/dist/helpers/jis/JISEventTranslationHelper.js.map +1 -1
- package/dist/helpers/jis/JISInfotextSeverityLevelEnum.js +2 -5
- package/dist/helpers/jis/JISInfotextSeverityLevelEnum.js.map +1 -1
- package/dist/helpers/jis/JISInfotextSeverityLevelPriority.js +5 -8
- package/dist/helpers/jis/JISInfotextSeverityLevelPriority.js.map +1 -1
- package/dist/helpers/jis/JISInfotextStopSuppressionFilter.d.ts +2 -2
- package/dist/helpers/jis/JISInfotextStopSuppressionFilter.js +11 -14
- package/dist/helpers/jis/JISInfotextStopSuppressionFilter.js.map +1 -1
- package/dist/helpers/jis/getJISStopId.js +1 -4
- package/dist/helpers/jis/getJISStopId.js.map +1 -1
- package/dist/helpers/jis/interfaces/IJISEventCustomFormatDto.d.ts +3 -3
- package/dist/helpers/jis/interfaces/IJISEventCustomFormatDto.js +1 -2
- package/dist/helpers/library-types/opentelemetry.d.ts +1 -1
- package/dist/helpers/library-types/opentelemetry.js +1 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -40
- package/dist/index.js.map +1 -1
- package/dist/input-gateway/index.d.ts +1 -1
- package/dist/input-gateway/index.js +7 -10
- package/dist/input-gateway/index.js.map +1 -1
- package/dist/input-gateway/jis/JISRouter.d.ts +3 -3
- package/dist/input-gateway/jis/JISRouter.js +13 -16
- package/dist/input-gateway/jis/JISRouter.js.map +1 -1
- package/dist/input-gateway/jis/controllers/JISEventsController.d.ts +3 -3
- package/dist/input-gateway/jis/controllers/JISEventsController.js +10 -12
- package/dist/input-gateway/jis/controllers/JISEventsController.js.map +1 -1
- package/dist/input-gateway/jis/controllers/JISInfotextsController.d.ts +3 -3
- package/dist/input-gateway/jis/controllers/JISInfotextsController.js +10 -12
- package/dist/input-gateway/jis/controllers/JISInfotextsController.js.map +1 -1
- package/dist/input-gateway/ropid-gtfs/RopidGtfsController.d.ts +3 -3
- package/dist/input-gateway/ropid-gtfs/RopidGtfsController.js +10 -12
- package/dist/input-gateway/ropid-gtfs/RopidGtfsController.js.map +1 -1
- package/dist/input-gateway/ropid-gtfs/RopidGtfsRouter.d.ts +3 -3
- package/dist/input-gateway/ropid-gtfs/RopidGtfsRouter.js +10 -13
- package/dist/input-gateway/ropid-gtfs/RopidGtfsRouter.js.map +1 -1
- package/dist/input-gateway/vehicle-positions/VehiclePositionsController.d.ts +4 -4
- package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js +13 -15
- package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js.map +1 -1
- package/dist/input-gateway/vehicle-positions/VehiclePositionsRouter.d.ts +3 -3
- package/dist/input-gateway/vehicle-positions/VehiclePositionsRouter.js +11 -14
- package/dist/input-gateway/vehicle-positions/VehiclePositionsRouter.js.map +1 -1
- package/dist/integration-engine/data-retention/helpers/SelectRepositoryFactory.d.ts +3 -3
- package/dist/integration-engine/data-retention/helpers/SelectRepositoryFactory.js +42 -44
- package/dist/integration-engine/data-retention/helpers/SelectRepositoryFactory.js.map +1 -1
- package/dist/integration-engine/data-retention/index.d.ts +1 -1
- package/dist/integration-engine/data-retention/index.js +1 -17
- package/dist/integration-engine/data-retention/index.js.map +1 -1
- package/dist/integration-engine/data-retention/ioc/Di.d.ts +1 -1
- package/dist/integration-engine/data-retention/ioc/Di.js +11 -13
- package/dist/integration-engine/data-retention/ioc/Di.js.map +1 -1
- package/dist/integration-engine/data-retention/ioc/RetentionContainerToken.js +1 -4
- package/dist/integration-engine/data-retention/ioc/RetentionContainerToken.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/DataRetentionWorker.d.ts +2 -2
- package/dist/integration-engine/data-retention/workers/DataRetentionWorker.js +8 -12
- package/dist/integration-engine/data-retention/workers/DataRetentionWorker.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.js +2 -5
- package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/constants/TableStorageNameEnum.js +2 -5
- package/dist/integration-engine/data-retention/workers/constants/TableStorageNameEnum.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/constants/WorkerName.js +1 -4
- package/dist/integration-engine/data-retention/workers/constants/WorkerName.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/interfaces/ITableStorageRetentionParams.js +1 -2
- package/dist/integration-engine/data-retention/workers/schema/TableStorageRetentionSchema.d.ts +1 -1
- package/dist/integration-engine/data-retention/workers/schema/TableStorageRetentionSchema.js +5 -8
- package/dist/integration-engine/data-retention/workers/schema/TableStorageRetentionSchema.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/tasks/DeleteDataTask.d.ts +4 -4
- package/dist/integration-engine/data-retention/workers/tasks/DeleteDataTask.js +14 -17
- package/dist/integration-engine/data-retention/workers/tasks/DeleteDataTask.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/tasks/TableStorageRetentionTask.d.ts +4 -4
- package/dist/integration-engine/data-retention/workers/tasks/TableStorageRetentionTask.js +15 -17
- package/dist/integration-engine/data-retention/workers/tasks/TableStorageRetentionTask.js.map +1 -1
- package/dist/integration-engine/index.d.ts +4 -4
- package/dist/integration-engine/index.js +19 -55
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/ioc/Di.d.ts +1 -1
- package/dist/integration-engine/ioc/Di.js +23 -25
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/ioc/ModuleContainerToken.js +1 -4
- package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
- package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js +13 -15
- package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js +13 -15
- package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/jis/index.d.ts +1 -1
- package/dist/integration-engine/jis/index.js +1 -17
- package/dist/integration-engine/jis/index.js.map +1 -1
- package/dist/integration-engine/jis/ioc/Di.d.ts +1 -1
- package/dist/integration-engine/jis/ioc/Di.js +53 -55
- package/dist/integration-engine/jis/ioc/Di.js.map +1 -1
- package/dist/integration-engine/jis/ioc/JISContainerToken.js +1 -4
- package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISEventsRepository.d.ts +10 -10
- package/dist/integration-engine/jis/repositories/JISEventsRepository.js +41 -41
- package/dist/integration-engine/jis/repositories/JISEventsRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.d.ts +9 -9
- package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.js +26 -26
- package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISInfotextsPresetsRepository.d.ts +9 -9
- package/dist/integration-engine/jis/repositories/JISInfotextsPresetsRepository.js +25 -26
- package/dist/integration-engine/jis/repositories/JISInfotextsPresetsRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISInfotextsRedisRepository.d.ts +2 -2
- package/dist/integration-engine/jis/repositories/JISInfotextsRedisRepository.js +20 -21
- package/dist/integration-engine/jis/repositories/JISInfotextsRedisRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISInfotextsRepository.d.ts +11 -11
- package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js +36 -36
- package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.d.ts +9 -9
- package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.js +25 -26
- package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/JISMetadataRepository.d.ts +1 -1
- package/dist/integration-engine/jis/repositories/JISMetadataRepository.js +22 -23
- package/dist/integration-engine/jis/repositories/JISMetadataRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRopidGTFSStopsRepository.d.ts +8 -8
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRopidGTFSStopsRepository.js +23 -23
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRopidGTFSStopsRepository.js.map +1 -1
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRoutesRepository.d.ts +9 -9
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRoutesRepository.js +41 -41
- package/dist/integration-engine/jis/repositories/RopidDeparturesPresetsRoutesRepository.js.map +1 -1
- package/dist/integration-engine/jis/services/JISEventsDataService.d.ts +5 -5
- package/dist/integration-engine/jis/services/JISEventsDataService.js +18 -20
- package/dist/integration-engine/jis/services/JISEventsDataService.js.map +1 -1
- package/dist/integration-engine/jis/services/JISInfotextsDataService.d.ts +6 -6
- package/dist/integration-engine/jis/services/JISInfotextsDataService.js +21 -23
- package/dist/integration-engine/jis/services/JISInfotextsDataService.js.map +1 -1
- package/dist/integration-engine/jis/transformations/JISEventsGtfsRtTransformation.d.ts +3 -3
- package/dist/integration-engine/jis/transformations/JISEventsGtfsRtTransformation.js +8 -11
- package/dist/integration-engine/jis/transformations/JISEventsGtfsRtTransformation.js.map +1 -1
- package/dist/integration-engine/jis/transformations/JISEventsTransformation.d.ts +3 -3
- package/dist/integration-engine/jis/transformations/JISEventsTransformation.js +8 -11
- package/dist/integration-engine/jis/transformations/JISEventsTransformation.js.map +1 -1
- package/dist/integration-engine/jis/transformations/JISInfotextCacheTransformation.d.ts +3 -3
- package/dist/integration-engine/jis/transformations/JISInfotextCacheTransformation.js +6 -9
- package/dist/integration-engine/jis/transformations/JISInfotextCacheTransformation.js.map +1 -1
- package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.d.ts +3 -3
- package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.js +6 -9
- package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.js.map +1 -1
- package/dist/integration-engine/jis/transformations/UpdateEventWebhookTransformation.d.ts +3 -3
- package/dist/integration-engine/jis/transformations/UpdateEventWebhookTransformation.js +13 -16
- package/dist/integration-engine/jis/transformations/UpdateEventWebhookTransformation.js.map +1 -1
- package/dist/integration-engine/jis/workers/JISWorker.d.ts +2 -2
- package/dist/integration-engine/jis/workers/JISWorker.js +12 -16
- package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -1
- package/dist/integration-engine/jis/workers/constants.js +1 -4
- package/dist/integration-engine/jis/workers/constants.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/AbstractFetchJISResourceTask.d.ts +3 -3
- package/dist/integration-engine/jis/workers/tasks/AbstractFetchJISResourceTask.js +17 -19
- package/dist/integration-engine/jis/workers/tasks/AbstractFetchJISResourceTask.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.d.ts +6 -6
- package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js +19 -22
- package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/FetchJISInfotextsTask.d.ts +6 -6
- package/dist/integration-engine/jis/workers/tasks/FetchJISInfotextsTask.js +19 -22
- package/dist/integration-engine/jis/workers/tasks/FetchJISInfotextsTask.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.d.ts +6 -6
- package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js +23 -25
- package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsCacheTask.d.ts +4 -4
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsCacheTask.js +18 -21
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsCacheTask.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.d.ts +6 -6
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js +21 -23
- package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js.map +1 -1
- package/dist/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.d.ts +7 -7
- package/dist/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.js +32 -32
- package/dist/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsModel.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsModel.js +17 -18
- package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSShapesModel.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/RopidGTFSShapesModel.js +12 -15
- package/dist/integration-engine/ropid-gtfs/RopidGTFSShapesModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopTimesModel.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopTimesModel.js +23 -28
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopTimesModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.js +25 -25
- package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.js +22 -28
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTripsModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGtfsFacade.d.ts +6 -6
- package/dist/integration-engine/ropid-gtfs/RopidGtfsFacade.js +49 -53
- package/dist/integration-engine/ropid-gtfs/RopidGtfsFacade.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGtfsMetadataRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/RopidGtfsMetadataRepository.js +20 -26
- package/dist/integration-engine/ropid-gtfs/RopidGtfsMetadataRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/DeparturePresetsRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/DeparturePresetsRepository.js +13 -15
- package/dist/integration-engine/ropid-gtfs/data-access/DeparturePresetsRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/RopidGTFSRoutesRepository.d.ts +5 -5
- package/dist/integration-engine/ropid-gtfs/data-access/RopidGTFSRoutesRepository.js +18 -20
- package/dist/integration-engine/ropid-gtfs/data-access/RopidGTFSRoutesRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/RopidGtfsRepository.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/data-access/RopidGtfsRepository.js +22 -22
- package/dist/integration-engine/ropid-gtfs/data-access/RopidGtfsRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/RouteSubAgencyRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/RouteSubAgencyRepository.js +14 -16
- package/dist/integration-engine/ropid-gtfs/data-access/RouteSubAgencyRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/BlockStopsRedisRepository.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/BlockStopsRedisRepository.js +10 -12
- package/dist/integration-engine/ropid-gtfs/data-access/cache/BlockStopsRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/DelayComputationRedisRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/cache/DelayComputationRedisRepository.js +19 -21
- package/dist/integration-engine/ropid-gtfs/data-access/cache/DelayComputationRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/GtfsTripStopsCacheRepository.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/data-access/cache/GtfsTripStopsCacheRepository.js +17 -18
- package/dist/integration-engine/ropid-gtfs/data-access/cache/GtfsTripStopsCacheRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/NotPublicVehiclesRedisRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/cache/NotPublicVehiclesRedisRepository.js +10 -13
- package/dist/integration-engine/ropid-gtfs/data-access/cache/NotPublicVehiclesRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/PublicGtfsDepartureRepository.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/data-access/cache/PublicGtfsDepartureRepository.js +17 -18
- package/dist/integration-engine/ropid-gtfs/data-access/cache/PublicGtfsDepartureRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/RunTripsRedisRepository.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/RunTripsRedisRepository.js +8 -11
- package/dist/integration-engine/ropid-gtfs/data-access/cache/RunTripsRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/StaticFileRedisRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/cache/StaticFileRedisRepository.js +8 -14
- package/dist/integration-engine/ropid-gtfs/data-access/cache/StaticFileRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/index.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/data-access/cache/index.js +4 -20
- package/dist/integration-engine/ropid-gtfs/data-access/cache/index.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/interfaces/IRouteSubAgencyRaw.js +1 -2
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/DeparturesRepository.d.ts +9 -9
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/DeparturesRepository.js +48 -48
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/DeparturesRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/MinMaxStopSequencesRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/MinMaxStopSequencesRepository.js +16 -19
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/MinMaxStopSequencesRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/ServicesCalendarRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/ServicesCalendarRepository.js +18 -21
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/ServicesCalendarRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripConnectionsRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripConnectionsRepository.js +16 -19
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripConnectionsRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js +26 -28
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/index.d.ts +5 -5
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/index.js +5 -21
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/index.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/datasources/StaticDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/datasources/StaticDataSourceFactory.js +8 -11
- package/dist/integration-engine/ropid-gtfs/datasources/StaticDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/DeparturesDirectionDataSourceProvider.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/DeparturesDirectionDataSourceProvider.js +14 -16
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/DeparturesDirectionDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/MetroRailTrackDataSourceProvider.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/MetroRailTrackDataSourceProvider.js +14 -16
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/MetroRailTrackDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/NotPublicVehiclesDataSourceProvider.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/NotPublicVehiclesDataSourceProvider.js +13 -15
- package/dist/integration-engine/ropid-gtfs/datasources/static-data/NotPublicVehiclesDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/facade/DeparturePresetsFacade.d.ts +8 -8
- package/dist/integration-engine/ropid-gtfs/facade/DeparturePresetsFacade.js +42 -45
- package/dist/integration-engine/ropid-gtfs/facade/DeparturePresetsFacade.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/helpers/DataCacheManager.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/helpers/DataCacheManager.js +12 -15
- package/dist/integration-engine/ropid-gtfs/helpers/DataCacheManager.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/helpers/DatasetEnum.js +2 -5
- package/dist/integration-engine/ropid-gtfs/helpers/DatasetEnum.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/helpers/SourceTableSuffixEnum.js +2 -5
- package/dist/integration-engine/ropid-gtfs/helpers/SourceTableSuffixEnum.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/helpers/interfaces/IDataCacheManager.js +1 -2
- package/dist/integration-engine/ropid-gtfs/index.d.ts +9 -9
- package/dist/integration-engine/ropid-gtfs/index.js +9 -25
- package/dist/integration-engine/ropid-gtfs/index.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/interfaces/IPublicDepartureDto.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/interfaces/IPublicDepartureDto.js +1 -2
- package/dist/integration-engine/ropid-gtfs/interfaces/TripModelInterfaces.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/interfaces/TripModelInterfaces.js +1 -2
- package/dist/integration-engine/ropid-gtfs/ioc/Di.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/ioc/Di.js +98 -100
- package/dist/integration-engine/ropid-gtfs/ioc/Di.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js +1 -4
- package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/PublicDepartureCacheTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/transformations/PublicDepartureCacheTransformation.js +6 -9
- package/dist/integration-engine/ropid-gtfs/transformations/PublicDepartureCacheTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.js +4 -8
- package/dist/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSCisStopsTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSCisStopsTransformation.js +6 -10
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSCisStopsTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSOisTransformation.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSOisTransformation.js +4 -8
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSOisTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js +17 -23
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGtfsRouteSubAgencyTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGtfsRouteSubAgencyTransformation.js +9 -11
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGtfsRouteSubAgencyTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/PresetWorker.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/presets/PresetWorker.js +11 -15
- package/dist/integration-engine/ropid-gtfs/workers/presets/PresetWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/constants.js +1 -4
- package/dist/integration-engine/ropid-gtfs/workers/presets/constants.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/DeparturesPresetsDatasource.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/DeparturesPresetsDatasource.js +13 -15
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/DeparturesPresetsDatasource.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/PresetLogRepository.d.ts +6 -6
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/PresetLogRepository.js +37 -70
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/PresetLogRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/interfaces/IPresetLogRepository.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/presets/data-access/interfaces/IPresetLogRepository.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/PresetLogDataSourceFactory.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/PresetLogDataSourceFactory.js +8 -11
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/PresetLogDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/grafana-loki/GrafanaLokiDataSourceProvider.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/grafana-loki/GrafanaLokiDataSourceProvider.js +13 -15
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/grafana-loki/GrafanaLokiDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/helpers/PresetLogProviderEnum.js +2 -5
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/helpers/PresetLogProviderEnum.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/interfaces/IPresetLogDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/interfaces/IPresetLogDataSourceFactory.js +1 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/datasources/interfaces/IPresetLogDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogDateTimeUtils.js +1 -5
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogDateTimeUtils.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogFilter.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogFilter.js +6 -9
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogFilter.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogQueryManager.js +1 -5
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/LogQueryManager.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/RopidMonitoringService.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/RopidMonitoringService.js +11 -13
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/RopidMonitoringService.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/interfaces/ILogFilter.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/interfaces/ILogFilter.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/interfaces/IRopidMonitoringService.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/helpers/interfaces/IRopidMonitoringService.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/presets/interfaces/ILogCollectionParams.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/presets/schema/LogCollectionSchema.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/schema/LogCollectionSchema.js +6 -9
- package/dist/integration-engine/ropid-gtfs/workers/presets/schema/LogCollectionSchema.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.js +22 -24
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CheckForNewDeparturesPresetsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CollectAndSaveLogsTask.d.ts +8 -8
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CollectAndSaveLogsTask.js +27 -29
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/CollectAndSaveLogsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/DownloadDeparturesPresetsTask.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/DownloadDeparturesPresetsTask.js +19 -21
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/DownloadDeparturesPresetsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/ProcessAndSendLogsTask.d.ts +6 -6
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/ProcessAndSendLogsTask.js +23 -25
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/ProcessAndSendLogsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/SavePresetsDataTask.d.ts +5 -5
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/SavePresetsDataTask.js +16 -18
- package/dist/integration-engine/ropid-gtfs/workers/presets/tasks/SavePresetsDataTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/transformations/PresetLogTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/transformations/PresetLogTransformation.js +6 -9
- package/dist/integration-engine/ropid-gtfs/workers/presets/transformations/PresetLogTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/presets/transformations/interfaces/IPresetLogTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/presets/transformations/interfaces/IPresetLogTransformation.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.js +17 -21
- package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/constants.js +1 -4
- package/dist/integration-engine/ropid-gtfs/workers/timetables/constants.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckForNewDataTask.d.ts +6 -6
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckForNewDataTask.js +23 -26
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckForNewDataTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.d.ts +9 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.js +44 -46
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.d.ts +9 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.js +51 -56
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/EnsureCacheTask.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/EnsureCacheTask.js +20 -22
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/EnsureCacheTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsStopsCacheTask.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsStopsCacheTask.js +16 -19
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsStopsCacheTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsTripStopsCacheTask.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsTripStopsCacheTask.js +17 -20
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsTripStopsCacheTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPrecomputedTablesTask.d.ts +6 -6
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPrecomputedTablesTask.js +29 -31
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPrecomputedTablesTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPublicGtfsDepartureCacheTask.d.ts +8 -8
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPublicGtfsDepartureCacheTask.js +28 -30
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPublicGtfsDepartureCacheTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RemapPresetsToGtfsStopsTask.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RemapPresetsToGtfsStopsTask.js +12 -15
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RemapPresetsToGtfsStopsTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/SaveStaticDataTask.d.ts +7 -7
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/SaveStaticDataTask.js +36 -38
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/SaveStaticDataTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.d.ts +9 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js +49 -50
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/DeparturesDirectionRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/DeparturesDirectionRepository.js +21 -20
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/DeparturesDirectionRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/MetroRailtrackGPSRepository.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/MetroRailtrackGPSRepository.js +25 -28
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/MetroRailtrackGPSRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/cache/GtfsStopsRedisRepository.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/cache/GtfsStopsRedisRepository.js +18 -20
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/cache/GtfsStopsRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.d.ts +9 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.js +15 -21
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/PrecomputedTablesFacade.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/PrecomputedTablesFacade.js +28 -31
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/PrecomputedTablesFacade.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js +64 -65
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/IAggregatedRailtrackGPSData.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/ICheckForNewDataInput.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/IDatasetsInput.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/IDatasetsInput.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/IRefreshPublicDepartureParams.js +1 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.js +11 -14
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CheckForNewDataMessageValidation.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CheckForNewDataMessageValidation.js +5 -8
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CheckForNewDataMessageValidation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.js +6 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/RefreshPublicDepartureSchema.d.ts +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/RefreshPublicDepartureSchema.js +8 -11
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/RefreshPublicDepartureSchema.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/transformations/DeparturesDirectionTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/transformations/DeparturesDirectionTransformation.js +6 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/transformations/DeparturesDirectionTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/transformations/MetroRailtrackDataTransformation.d.ts +3 -3
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/transformations/MetroRailtrackDataTransformation.js +6 -9
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/transformations/MetroRailtrackDataTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.d.ts +2 -2
- package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.js +12 -19
- package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/index.d.ts +2 -2
- package/dist/integration-engine/ropid-vymi/index.js +2 -18
- package/dist/integration-engine/ropid-vymi/index.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.d.ts +2 -2
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.js +16 -18
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.d.ts +2 -2
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.js +11 -14
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.d.ts +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.js +11 -14
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.d.ts +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.js +10 -14
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/index.d.ts +4 -4
- package/dist/integration-engine/ropid-vymi/models/index.js +4 -20
- package/dist/integration-engine/ropid-vymi/models/index.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/RopidVYMIWorker.d.ts +1 -1
- package/dist/integration-engine/ropid-vymi/workers/RopidVYMIWorker.js +8 -12
- package/dist/integration-engine/ropid-vymi/workers/RopidVYMIWorker.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/CheckForNewEventsTask.d.ts +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/CheckForNewEventsTask.js +8 -15
- package/dist/integration-engine/ropid-vymi/workers/tasks/CheckForNewEventsTask.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/FetchAndProcessEventsTask.d.ts +3 -3
- package/dist/integration-engine/ropid-vymi/workers/tasks/FetchAndProcessEventsTask.js +29 -33
- package/dist/integration-engine/ropid-vymi/workers/tasks/FetchAndProcessEventsTask.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiHelper.d.ts +2 -2
- package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiHelper.js +20 -23
- package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiHelper.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiOutputLevel.js +2 -5
- package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiOutputLevel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/interfaces/IEventFetchOutput.d.ts +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/interfaces/IEventFetchOutput.js +1 -2
- package/dist/integration-engine/ropid-vymi/workers/tasks/schema/EventFetchOutputValidationSchema.d.ts +2 -2
- package/dist/integration-engine/ropid-vymi/workers/tasks/schema/EventFetchOutputValidationSchema.js +10 -12
- package/dist/integration-engine/ropid-vymi/workers/tasks/schema/EventFetchOutputValidationSchema.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/schema/RopidVYMIEventValidationSchema.d.ts +1 -1
- package/dist/integration-engine/ropid-vymi/workers/tasks/schema/RopidVYMIEventValidationSchema.js +67 -71
- package/dist/integration-engine/ropid-vymi/workers/tasks/schema/RopidVYMIEventValidationSchema.js.map +1 -1
- package/dist/integration-engine/shared/HTMLUtils.js +3 -7
- package/dist/integration-engine/shared/HTMLUtils.js.map +1 -1
- package/dist/integration-engine/shared/RepositoryUtils.js +9 -11
- package/dist/integration-engine/shared/RepositoryUtils.js.map +1 -1
- package/dist/integration-engine/shared/RopidMetadataModel.d.ts +2 -2
- package/dist/integration-engine/shared/RopidMetadataModel.js +38 -43
- package/dist/integration-engine/shared/RopidMetadataModel.js.map +1 -1
- package/dist/integration-engine/shared/datasources/IDataSourceProvider.d.ts +1 -1
- package/dist/integration-engine/shared/datasources/IDataSourceProvider.js +1 -2
- package/dist/integration-engine/shared/index.d.ts +3 -3
- package/dist/integration-engine/shared/index.js +3 -19
- package/dist/integration-engine/shared/index.js.map +1 -1
- package/dist/integration-engine/shared/interfaces/IDataDeletionParams.d.ts +1 -1
- package/dist/integration-engine/shared/interfaces/IDataDeletionParams.js +1 -2
- package/dist/integration-engine/shared/schema/DataDeletionSchema.d.ts +2 -2
- package/dist/integration-engine/shared/schema/DataDeletionSchema.js +8 -11
- package/dist/integration-engine/shared/schema/DataDeletionSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/index.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/index.js +4 -20
- package/dist/integration-engine/vehicle-positions/index.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/ioc/Di.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/ioc/Di.js +149 -151
- package/dist/integration-engine/vehicle-positions/ioc/Di.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js +1 -4
- package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/GtfsRealTimeWorker.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/GtfsRealTimeWorker.js +7 -11
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/GtfsRealTimeWorker.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/constants.js +1 -4
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/constants.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/data-access/GtfsRtRedisRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/data-access/GtfsRtRedisRepository.js +6 -9
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/data-access/GtfsRtRedisRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertCauseMapper.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertCauseMapper.js +12 -15
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertCauseMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertEffectMapper.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertEffectMapper.js +11 -14
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertEffectMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.js +11 -14
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/DisplayAlertsGenerator.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/DisplayAlertsGenerator.js +19 -21
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/DisplayAlertsGenerator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.js +6 -10
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.js +6 -10
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/const.js +2 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/const.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/enums/AlertCauseEnum.js +2 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/enums/AlertCauseEnum.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/enums/AlertEffectEnum.js +2 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/enums/AlertEffectEnum.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/interfaces/AlertsInterfaces.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/interfaces/AlertsInterfaces.js +2 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/interfaces/AlertsInterfaces.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/interfaces/GtfsRealtimeInterfaces.js +3 -9
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/interfaces/GtfsRealtimeInterfaces.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js +78 -78
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.js +10 -14
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/JISInfotextsGtfsRtTransformation.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/JISInfotextsGtfsRtTransformation.js +6 -10
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/JISInfotextsGtfsRtTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/RunsWorker.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/RunsWorker.js +12 -16
- package/dist/integration-engine/vehicle-positions/workers/runs/RunsWorker.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/constants.js +1 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/constants.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/AbstractRunRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/AbstractRunRepository.js +8 -43
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/AbstractRunRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsMessagesRepository.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsMessagesRepository.js +13 -48
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsMessagesRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.d.ts +9 -9
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js +34 -67
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/MetroRunsMessagesRepository.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/MetroRunsMessagesRepository.js +14 -16
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/MetroRunsMessagesRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/RegionalBusRunsMessagesRepository.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/RegionalBusRunsMessagesRepository.js +14 -16
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/RegionalBusRunsMessagesRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/cache/RegionalBusCisCacheRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/cache/RegionalBusCisCacheRepository.js +10 -12
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/cache/RegionalBusCisCacheRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/cache/RegionalBusGtfsCacheRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/cache/RegionalBusGtfsCacheRepository.js +10 -12
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/cache/RegionalBusGtfsCacheRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/BusMessageFilter.d.ts +6 -6
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/BusMessageFilter.js +16 -18
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/BusMessageFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonMessageProcessor.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonMessageProcessor.js +11 -14
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonMessageProcessor.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonRunHelper.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonRunHelper.js +4 -8
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonRunHelper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/MetroMessageFilter.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/MetroMessageFilter.js +3 -7
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/MetroMessageFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/MetroRouteHelper.js +3 -7
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/MetroRouteHelper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/TimestampValidator.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/TimestampValidator.js +6 -9
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/TimestampValidator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/TramMessageFilter.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/TramMessageFilter.js +16 -18
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/TramMessageFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/interfaces/ICommonMessageFilter.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/interfaces/ICommonMessageFilter.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/interfaces/ICommonRunHelper.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/interfaces/ICommonRunHelper.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/CisLookupManager.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/CisLookupManager.js +10 -13
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/CisLookupManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/GtfsLookupManager.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/GtfsLookupManager.js +8 -11
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/GtfsLookupManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js +13 -15
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusRunsFacade.d.ts +7 -7
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusRunsFacade.js +15 -17
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusRunsFacade.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/TripScheduleManager.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/TripScheduleManager.js +9 -11
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/TripScheduleManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/ICisLookupManager.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/ICisLookupManager.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IExtendedSchedule.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IExtendedSchedule.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IGtfsLookupManager.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IGtfsLookupManager.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IRegionalBusMessageFilter.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IRegionalBusMessageFilter.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IRegionalBusRunsFacade.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/IRegionalBusRunsFacade.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/ITripScheduleManager.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/interfaces/ITripScheduleManager.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/CommonRunsMessageInterfaces.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/CommonRunsMessageInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IMetroRunInputForProcessing.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IMetroRunInputForProcessing.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IProcessMetroRunsMessagesInput.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IProcessMetroRunsMessagesInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IProcessRegionalBusRunMessagesInput.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IProcessRegionalBusRunMessagesInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IRegionalBusRunInputWithMetadata.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/IRegionalBusRunInputWithMetadata.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/MetroRunsMessageInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/interfaces/RegionalBusRunsMessageInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/CommonRunsSchema.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/CommonRunsSchema.js +32 -34
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/CommonRunsSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/MetroRunsSchema.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/MetroRunsSchema.js +28 -30
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/MetroRunsSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/MetroTransformedRunsSchema.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/MetroTransformedRunsSchema.js +18 -20
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/MetroTransformedRunsSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/RegionalBusRunsSchema.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/RegionalBusRunsSchema.js +28 -30
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/RegionalBusRunsSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/RegionalBusTransformedRunsSchema.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/RegionalBusTransformedRunsSchema.js +20 -22
- package/dist/integration-engine/vehicle-positions/workers/runs/schema/RegionalBusTransformedRunsSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessMetroRunMessagesTask.d.ts +11 -11
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessMetroRunMessagesTask.js +44 -45
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessMetroRunMessagesTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessRegionalBusRunMessagesTask.d.ts +9 -9
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessRegionalBusRunMessagesTask.js +26 -29
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/ProcessRegionalBusRunMessagesTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveArrivaCityRunsToDBTask.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveArrivaCityRunsToDBTask.js +19 -21
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveArrivaCityRunsToDBTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveBusRunsToDBTask.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveBusRunsToDBTask.js +23 -25
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveBusRunsToDBTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.d.ts +6 -6
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.js +26 -28
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveTramRunsToDBTask.d.ts +7 -7
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveTramRunsToDBTask.js +25 -27
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveTramRunsToDBTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/CommonRunsMessagesTransformation.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/CommonRunsMessagesTransformation.js +15 -20
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/CommonRunsMessagesTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessageProcessingTransformation.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessageProcessingTransformation.js +12 -15
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessageProcessingTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessagesTransformation.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessagesTransformation.js +2 -6
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessagesTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/RegionalBusRunsMessagesTransformation.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/RegionalBusRunsMessagesTransformation.js +6 -9
- package/dist/integration-engine/vehicle-positions/workers/runs/transformations/RegionalBusRunsMessagesTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/DescriptorWorker.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/DescriptorWorker.js +7 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/DescriptorWorker.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/constants.js +1 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/constants.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/data-access/DescriptorRepository.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/data-access/DescriptorRepository.js +25 -58
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/data-access/DescriptorRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/datasources/DescriptorDataSourceFactory.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/datasources/DescriptorDataSourceFactory.js +8 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/datasources/DescriptorDataSourceFactory.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/datasources/seznam-autobusu/SeznamAutobusuDataSourceProvider.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/datasources/seznam-autobusu/SeznamAutobusuDataSourceProvider.js +13 -15
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/datasources/seznam-autobusu/SeznamAutobusuDataSourceProvider.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/helpers/DescriptorFilter.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/helpers/DescriptorFilter.js +10 -13
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/helpers/DescriptorFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/helpers/interfaces/IDescriptorFilter.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/helpers/interfaces/IDescriptorFilter.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/tasks/RefreshDescriptorsTask.d.ts +6 -6
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/tasks/RefreshDescriptorsTask.js +21 -24
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/tasks/RefreshDescriptorsTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/transformations/DescriptorTransformation.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/transformations/DescriptorTransformation.js +19 -21
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/transformations/DescriptorTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/VPWorker.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/VPWorker.js +17 -21
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/VPWorker.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/constants.js +2 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/constants.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/CisStopRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/CisStopRepository.js +20 -20
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/CisStopRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsHistoryRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsHistoryRepository.js +17 -51
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsHistoryRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.js +52 -88
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.js +15 -49
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsHistoryRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsHistoryRepository.js +16 -17
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsHistoryRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.d.ts +16 -16
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +92 -128
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicApiCacheRepository.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicApiCacheRepository.js +23 -24
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicApiCacheRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicStopTimeCacheRepository.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicStopTimeCacheRepository.js +20 -21
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicStopTimeCacheRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/PositionsMapper.d.ts +6 -6
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/PositionsMapper.js +25 -31
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/PositionsMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.js +19 -23
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.js +1 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.js +40 -45
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/PositionRepositoryInterfaces.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/PositionRepositoryInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/metro/CachedMetroRailtrackLookup.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/metro/CachedMetroRailtrackLookup.js +8 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/metro/CachedMetroRailtrackLookup.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/PublicStopTimeRepository.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/PublicStopTimeRepository.js +14 -16
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/PublicStopTimeRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/domain/service/IGtfsTripDataFixerFactory.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/domain/service/IGtfsTripDataFixerFactory.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/BasePositionsManager.d.ts +11 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/BasePositionsManager.js +34 -74
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/BasePositionsManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.js +4 -6
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DelayComputationManager.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DelayComputationManager.js +16 -52
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DelayComputationManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionHandlerEnum.js +2 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionHandlerEnum.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js +73 -112
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/TripStopsManager.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/TripStopsManager.js +5 -9
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/TripStopsManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/VPUtils.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/VPUtils.js +7 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/VPUtils.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ValidToCalculator.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ValidToCalculator.js +16 -19
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ValidToCalculator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.js +4 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/ComputeDelayHelper.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/ComputeDelayHelper.js +5 -44
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/ComputeDelayHelper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/AbstractDelayAtStop.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/AbstractDelayAtStop.js +6 -42
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/AbstractDelayAtStop.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/CommonDelayAtStop.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/CommonDelayAtStop.js +6 -45
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/CommonDelayAtStop.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/FactoryDelayAtStop.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/FactoryDelayAtStop.js +8 -14
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/FactoryDelayAtStop.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/MetroDelayAtStop.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/MetroDelayAtStop.js +11 -50
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/compute-positions/strategy/MetroDelayAtStop.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/GtfsTripDataFixerFactory.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/GtfsTripDataFixerFactory.js +13 -15
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/GtfsTripDataFixerFactory.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/AbstractGtfsTripDataFixer.js +1 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/AbstractGtfsTripDataFixer.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/HttpGtfsTripDataFixer.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/HttpGtfsTripDataFixer.js +12 -15
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-data/strategy/HttpGtfsTripDataFixer.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.d.ts +14 -14
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.js +10 -14
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.js +11 -18
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.d.ts +5 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js +4 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripRunManagerFactory.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripRunManagerFactory.js +7 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripRunManagerFactory.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/IDelayMessage.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/IDelayMessage.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/ITimeWindow.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/interfaces/IPositionStateAndStopSequences.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/interfaces/IPositionStateAndStopSequences.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/metro/MetroShapePointsFixer.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/metro/MetroShapePointsFixer.js +17 -19
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/metro/MetroShapePointsFixer.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/mpv-net/MpvStopParser.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/mpv-net/MpvStopParser.js +1 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/mpv-net/MpvStopParser.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/public-api/PublicCacheTripsFilter.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/public-api/PublicCacheTripsFilter.js +7 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/public-api/PublicCacheTripsFilter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js +47 -83
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/RegionalBusComputeDelayHelper.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/RegionalBusComputeDelayHelper.js +5 -45
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/RegionalBusComputeDelayHelper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/strategy/BusDelayAtStop.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/strategy/BusDelayAtStop.js +8 -48
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/strategy/BusDelayAtStop.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/strategy/FactoryDelayAtStop.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/strategy/FactoryDelayAtStop.js +4 -7
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/compute-positions/strategy/FactoryDelayAtStop.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/gtfs-trip-run/GtfsTripRegionalBusRunManager.d.ts +9 -9
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/gtfs-trip-run/GtfsTripRegionalBusRunManager.js +25 -31
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/gtfs-trip-run/GtfsTripRegionalBusRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/state-position/PositionStateDelayManager.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/state-position/PositionStateDelayManager.js +4 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/state-position/PositionStateDelayManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/trip-context/TripContextHelper.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/trip-context/TripContextHelper.js +21 -69
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/trip-context/TripContextHelper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IPropagateDelayInput.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IPropagateDelayInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IPropagateTrainDelayInput.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IPropagateTrainDelayInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/ITripPositionTuple.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/ITripPositionTuple.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateDelayInput.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateDelayInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateGtfsTripIdInput.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateGtfsTripIdInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateRunsGtfsTripInput.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateRunsGtfsTripInput.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/TransformationInterfaces.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/TransformationInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/VPInterfaces.d.ts +7 -7
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/VPInterfaces.js +1 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/PropagateDelaySchema.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/PropagateDelaySchema.js +7 -10
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/PropagateDelaySchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/PropagateTrainDelaySchema.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/PropagateTrainDelaySchema.js +5 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/PropagateTrainDelaySchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/SaveDataToDBSchema.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/SaveDataToDBSchema.js +84 -86
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/SaveDataToDBSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateDelaySchema.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateDelaySchema.js +10 -13
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateDelaySchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateGtfsTripIdSchema.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateGtfsTripIdSchema.js +7 -10
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateGtfsTripIdSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateRunsGtfsTripIdSchema.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateRunsGtfsTripIdSchema.js +10 -13
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateRunsGtfsTripIdSchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/DataRetentionTask.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/DataRetentionTask.js +31 -32
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/DataRetentionTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/ProcessRegionalBusPositionsTask.d.ts +10 -10
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/ProcessRegionalBusPositionsTask.js +39 -41
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/ProcessRegionalBusPositionsTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.d.ts +6 -6
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.js +25 -28
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.js +21 -23
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshGtfsTripDataTask.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshGtfsTripDataTask.js +15 -18
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshGtfsTripDataTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.d.ts +6 -6
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.js +38 -39
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicTripCacheTask.d.ts +7 -7
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicTripCacheTask.js +42 -43
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicTripCacheTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/SaveDataToDBTask.d.ts +9 -9
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/SaveDataToDBTask.js +44 -48
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/SaveDataToDBTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateDelayTask.d.ts +12 -12
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateDelayTask.js +56 -58
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateDelayTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateGtfsTripIdTask.d.ts +9 -9
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateGtfsTripIdTask.js +42 -44
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateGtfsTripIdTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateRunsGtfsTripIdTask.d.ts +8 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateRunsGtfsTripIdTask.js +34 -40
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/UpdateRunsGtfsTripIdTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/abstract/AbstractPropagateDelayTask.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/abstract/AbstractPropagateDelayTask.js +16 -52
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/abstract/AbstractPropagateDelayTask.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/helpers/UpdateDelayLimiter.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/helpers/UpdateDelayLimiter.js +4 -8
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/helpers/UpdateDelayLimiter.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.d.ts +6 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js +30 -36
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js +8 -11
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js.map +1 -1
- package/dist/output-gateway/index.d.ts +4 -4
- package/dist/output-gateway/index.js +18 -54
- package/dist/output-gateway/index.js.map +1 -1
- package/dist/output-gateway/jis/controllers/v1/V1EventsController.d.ts +3 -3
- package/dist/output-gateway/jis/controllers/v1/V1EventsController.js +19 -21
- package/dist/output-gateway/jis/controllers/v1/V1EventsController.js.map +1 -1
- package/dist/output-gateway/jis/data-access/JISEventsRepository.d.ts +10 -10
- package/dist/output-gateway/jis/data-access/JISEventsRepository.js +36 -36
- package/dist/output-gateway/jis/data-access/JISEventsRepository.js.map +1 -1
- package/dist/output-gateway/jis/data-access/JISEventsRopidGTFSRoutesRepository.d.ts +5 -5
- package/dist/output-gateway/jis/data-access/JISEventsRopidGTFSRoutesRepository.js +17 -19
- package/dist/output-gateway/jis/data-access/JISEventsRopidGTFSRoutesRepository.js.map +1 -1
- package/dist/output-gateway/jis/data-access/RopidGTFSRoutesRepository.d.ts +5 -5
- package/dist/output-gateway/jis/data-access/RopidGTFSRoutesRepository.js +18 -20
- package/dist/output-gateway/jis/data-access/RopidGTFSRoutesRepository.js.map +1 -1
- package/dist/output-gateway/jis/data-access/cache/JISInfotextsRedisRepository.d.ts +4 -4
- package/dist/output-gateway/jis/data-access/cache/JISInfotextsRedisRepository.js +18 -20
- package/dist/output-gateway/jis/data-access/cache/JISInfotextsRedisRepository.js.map +1 -1
- package/dist/output-gateway/jis/domain/IJISEventsInterfaces.d.ts +3 -3
- package/dist/output-gateway/jis/domain/IJISEventsInterfaces.js +1 -2
- package/dist/output-gateway/jis/dto/EventsDto.d.ts +1 -1
- package/dist/output-gateway/jis/dto/EventsDto.js +3 -7
- package/dist/output-gateway/jis/dto/EventsDto.js.map +1 -1
- package/dist/output-gateway/jis/dto/interfaces/IEventsCustomFormatQueryDto.js +1 -2
- package/dist/output-gateway/jis/ioc/Di.d.ts +1 -1
- package/dist/output-gateway/jis/ioc/Di.js +15 -17
- package/dist/output-gateway/jis/ioc/Di.js.map +1 -1
- package/dist/output-gateway/jis/ioc/OgJisToken.js +1 -4
- package/dist/output-gateway/jis/ioc/OgJisToken.js.map +1 -1
- package/dist/output-gateway/jis/routers/v1/V1JISRouter.d.ts +5 -5
- package/dist/output-gateway/jis/routers/v1/V1JISRouter.js +22 -24
- package/dist/output-gateway/jis/routers/v1/V1JISRouter.js.map +1 -1
- package/dist/output-gateway/jis/routers/v1/index.d.ts +1 -1
- package/dist/output-gateway/jis/routers/v1/index.js +1 -5
- package/dist/output-gateway/jis/routers/v1/index.js.map +1 -1
- package/dist/output-gateway/jis/transformations/JISEventsCustomFormatTransformation.d.ts +4 -4
- package/dist/output-gateway/jis/transformations/JISEventsCustomFormatTransformation.js +13 -16
- package/dist/output-gateway/jis/transformations/JISEventsCustomFormatTransformation.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.d.ts +1 -1
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.js +22 -27
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsMinimalController.d.ts +3 -3
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsMinimalController.js +16 -21
- package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsMinimalController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v3/V3DeparturesPresetController.d.ts +2 -2
- package/dist/output-gateway/pid/controllers/v3/V3DeparturesPresetController.js +10 -13
- package/dist/output-gateway/pid/controllers/v3/V3DeparturesPresetController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.d.ts +2 -2
- package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.js +15 -17
- package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v3/V3TransferBoardsController.d.ts +4 -4
- package/dist/output-gateway/pid/controllers/v3/V3TransferBoardsController.js +26 -30
- package/dist/output-gateway/pid/controllers/v3/V3TransferBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.d.ts +6 -6
- package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.js +46 -51
- package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/v4/interfaces/ITransferBoardsParams.js +1 -2
- package/dist/output-gateway/pid/data-access/DeparturesRepository.d.ts +5 -5
- package/dist/output-gateway/pid/data-access/DeparturesRepository.js +18 -19
- package/dist/output-gateway/pid/data-access/DeparturesRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/JISInfotextRepository.d.ts +5 -5
- package/dist/output-gateway/pid/data-access/JISInfotextRepository.js +33 -34
- package/dist/output-gateway/pid/data-access/JISInfotextRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.d.ts +5 -5
- package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.js +14 -17
- package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetRepository.d.ts +7 -7
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetRepository.js +23 -26
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetsRopidGTFSStopsRepository.d.ts +7 -7
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetsRopidGTFSStopsRepository.js +17 -19
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetsRopidGTFSStopsRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetsRoutesRepository.d.ts +7 -7
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetsRoutesRepository.js +17 -19
- package/dist/output-gateway/pid/data-access/RopidDeparturesPresetsRoutesRepository.js.map +1 -1
- package/dist/output-gateway/pid/data-access/index.d.ts +1 -1
- package/dist/output-gateway/pid/data-access/index.js +1 -17
- package/dist/output-gateway/pid/data-access/index.js.map +1 -1
- package/dist/output-gateway/pid/data-access/interfaces/DepartureInterfaces.d.ts +2 -2
- package/dist/output-gateway/pid/data-access/interfaces/DepartureInterfaces.js +1 -2
- package/dist/output-gateway/pid/domain/DepartureInterfaces.d.ts +3 -3
- package/dist/output-gateway/pid/domain/DepartureInterfaces.js +1 -2
- package/dist/output-gateway/pid/domain/DeparturesPresetInterfaces.js +1 -2
- package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.js +2 -5
- package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.js.map +1 -1
- package/dist/output-gateway/pid/domain/InfotextInterfaces.d.ts +4 -4
- package/dist/output-gateway/pid/domain/InfotextInterfaces.js +1 -2
- package/dist/output-gateway/pid/domain/InfotextPriorityEnum.js +2 -5
- package/dist/output-gateway/pid/domain/InfotextPriorityEnum.js.map +1 -1
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.d.ts +8 -8
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js +22 -27
- package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js.map +1 -1
- package/dist/output-gateway/pid/dto/index.d.ts +1 -1
- package/dist/output-gateway/pid/dto/index.js +1 -17
- package/dist/output-gateway/pid/dto/index.js.map +1 -1
- package/dist/output-gateway/pid/dto/interfaces/IDepartureBoardsQueryDTO.d.ts +4 -4
- package/dist/output-gateway/pid/dto/interfaces/IDepartureBoardsQueryDTO.js +1 -2
- package/dist/output-gateway/pid/helpers/DepartureBoardMapper.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/DepartureBoardMapper.js +21 -23
- package/dist/output-gateway/pid/helpers/DepartureBoardMapper.js.map +1 -1
- package/dist/output-gateway/pid/helpers/MpvnetTransportTypeMapper.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/MpvnetTransportTypeMapper.js +18 -21
- package/dist/output-gateway/pid/helpers/MpvnetTransportTypeMapper.js.map +1 -1
- package/dist/output-gateway/pid/helpers/MpvnetXmlErrorHandler.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/MpvnetXmlErrorHandler.js +10 -12
- package/dist/output-gateway/pid/helpers/MpvnetXmlErrorHandler.js.map +1 -1
- package/dist/output-gateway/pid/helpers/MpvnetXmlSerializer.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/MpvnetXmlSerializer.js +12 -19
- package/dist/output-gateway/pid/helpers/MpvnetXmlSerializer.js.map +1 -1
- package/dist/output-gateway/pid/helpers/ParamValidatorManager.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/ParamValidatorManager.js +4 -11
- package/dist/output-gateway/pid/helpers/ParamValidatorManager.js.map +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardFilter.d.ts +3 -3
- package/dist/output-gateway/pid/helpers/TransferBoardFilter.js +21 -25
- package/dist/output-gateway/pid/helpers/TransferBoardFilter.js.map +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardIconsResolver.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardIconsResolver.js +3 -7
- package/dist/output-gateway/pid/helpers/TransferBoardIconsResolver.js.map +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardSorter.d.ts +1 -1
- package/dist/output-gateway/pid/helpers/TransferBoardSorter.js +6 -10
- package/dist/output-gateway/pid/helpers/TransferBoardSorter.js.map +1 -1
- package/dist/output-gateway/pid/helpers/enums/DepartureFilter.js +2 -5
- package/dist/output-gateway/pid/helpers/enums/DepartureFilter.js.map +1 -1
- package/dist/output-gateway/pid/helpers/enums/DepartureMode.js +2 -5
- package/dist/output-gateway/pid/helpers/enums/DepartureMode.js.map +1 -1
- package/dist/output-gateway/pid/helpers/enums/DepartureOrder.js +2 -5
- package/dist/output-gateway/pid/helpers/enums/DepartureOrder.js.map +1 -1
- package/dist/output-gateway/pid/helpers/enums/DepartureSkip.js +2 -5
- package/dist/output-gateway/pid/helpers/enums/DepartureSkip.js.map +1 -1
- package/dist/output-gateway/pid/index.d.ts +2 -2
- package/dist/output-gateway/pid/index.js +2 -18
- package/dist/output-gateway/pid/index.js.map +1 -1
- package/dist/output-gateway/pid/interfaces/DepartureUnion.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/DepartureUnion.js +1 -2
- package/dist/output-gateway/pid/interfaces/ICurrentTrip.d.ts +3 -3
- package/dist/output-gateway/pid/interfaces/ICurrentTrip.js +1 -2
- package/dist/output-gateway/pid/interfaces/IDepartureBoardsMinimalDto.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/IDepartureBoardsMinimalDto.js +1 -2
- package/dist/output-gateway/pid/interfaces/IDepartureBoardsMinimalOutput.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/IDepartureBoardsMinimalOutput.js +1 -2
- package/dist/output-gateway/pid/interfaces/IDepartureFlags.js +1 -2
- package/dist/output-gateway/pid/interfaces/IDepartureTime.js +1 -2
- package/dist/output-gateway/pid/interfaces/IDepartureWithPosition.d.ts +3 -3
- package/dist/output-gateway/pid/interfaces/IDepartureWithPosition.js +1 -2
- package/dist/output-gateway/pid/interfaces/IPIDDeparture.d.ts +3 -3
- package/dist/output-gateway/pid/interfaces/IPIDDeparture.js +1 -2
- package/dist/output-gateway/pid/interfaces/IPIDDepartureOutput.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/IPIDDepartureOutput.js +1 -2
- package/dist/output-gateway/pid/interfaces/IStop.js +1 -2
- package/dist/output-gateway/pid/interfaces/ITransferAccessibility.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/ITransferAccessibility.js +1 -2
- package/dist/output-gateway/pid/interfaces/ITransferDeparture.d.ts +1 -1
- package/dist/output-gateway/pid/interfaces/ITransferDeparture.js +1 -2
- package/dist/output-gateway/pid/interfaces/ITransferOutputDto.d.ts +1 -1
- package/dist/output-gateway/pid/interfaces/ITransferOutputDto.js +1 -2
- package/dist/output-gateway/pid/interfaces/IV4TransferDepartureOutputDto.js +1 -2
- package/dist/output-gateway/pid/interfaces/IV4TransferDto.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/IV4TransferDto.js +1 -2
- package/dist/output-gateway/pid/interfaces/IV4TransferOutputDto.d.ts +2 -2
- package/dist/output-gateway/pid/interfaces/IV4TransferOutputDto.js +1 -2
- package/dist/output-gateway/pid/interfaces/TransferStops.d.ts +1 -1
- package/dist/output-gateway/pid/interfaces/TransferStops.js +1 -2
- package/dist/output-gateway/pid/interfaces/TripsToTransfers.d.ts +1 -1
- package/dist/output-gateway/pid/interfaces/TripsToTransfers.js +1 -2
- package/dist/output-gateway/pid/ioc/Di.d.ts +1 -1
- package/dist/output-gateway/pid/ioc/Di.js +99 -102
- package/dist/output-gateway/pid/ioc/Di.js.map +1 -1
- package/dist/output-gateway/pid/ioc/OgPidToken.js +1 -4
- package/dist/output-gateway/pid/ioc/OgPidToken.js.map +1 -1
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.d.ts +2 -2
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +44 -49
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
- package/dist/output-gateway/pid/models/RopidDeparturesDirectionsModel.d.ts +2 -2
- package/dist/output-gateway/pid/models/RopidDeparturesDirectionsModel.js +7 -14
- package/dist/output-gateway/pid/models/RopidDeparturesDirectionsModel.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/FilterHelper.d.ts +2 -2
- package/dist/output-gateway/pid/models/helpers/FilterHelper.js +5 -9
- package/dist/output-gateway/pid/models/helpers/FilterHelper.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/PIDDepartureModel.d.ts +4 -4
- package/dist/output-gateway/pid/models/helpers/PIDDepartureModel.js +27 -32
- package/dist/output-gateway/pid/models/helpers/PIDDepartureModel.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/RunHelper.js +1 -5
- package/dist/output-gateway/pid/models/helpers/RunHelper.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/SkipHelper.d.ts +2 -2
- package/dist/output-gateway/pid/models/helpers/SkipHelper.js +9 -13
- package/dist/output-gateway/pid/models/helpers/SkipHelper.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/const.js +4 -7
- package/dist/output-gateway/pid/models/helpers/const.js.map +1 -1
- package/dist/output-gateway/pid/models/helpers/interfaces/IPIDDepartureQueryOptions.d.ts +6 -6
- package/dist/output-gateway/pid/models/helpers/interfaces/IPIDDepartureQueryOptions.js +1 -2
- package/dist/output-gateway/pid/models/index.d.ts +2 -2
- package/dist/output-gateway/pid/models/index.js +2 -18
- package/dist/output-gateway/pid/models/index.js.map +1 -1
- package/dist/output-gateway/pid/models/interfaces/IGetDeparturesOptions.d.ts +5 -5
- package/dist/output-gateway/pid/models/interfaces/IGetDeparturesOptions.js +1 -2
- package/dist/output-gateway/pid/routers/index.d.ts +3 -3
- package/dist/output-gateway/pid/routers/index.js +3 -9
- package/dist/output-gateway/pid/routers/index.js.map +1 -1
- package/dist/output-gateway/pid/routers/v2/V2PIDRouter.d.ts +3 -3
- package/dist/output-gateway/pid/routers/v2/V2PIDRouter.js +71 -73
- package/dist/output-gateway/pid/routers/v2/V2PIDRouter.js.map +1 -1
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.d.ts +3 -3
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js +26 -28
- package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js.map +1 -1
- package/dist/output-gateway/pid/routers/v4/V4PIDRouter.d.ts +3 -3
- package/dist/output-gateway/pid/routers/v4/V4PIDRouter.js +39 -41
- package/dist/output-gateway/pid/routers/v4/V4PIDRouter.js.map +1 -1
- package/dist/output-gateway/pid/service/facade/InfotextFacade.d.ts +10 -10
- package/dist/output-gateway/pid/service/facade/InfotextFacade.js +39 -41
- package/dist/output-gateway/pid/service/facade/InfotextFacade.js.map +1 -1
- package/dist/output-gateway/pid/service/facade/RopidDeparturesPresetFacade.d.ts +3 -4
- package/dist/output-gateway/pid/service/facade/RopidDeparturesPresetFacade.js +11 -14
- package/dist/output-gateway/pid/service/facade/RopidDeparturesPresetFacade.js.map +1 -1
- package/dist/output-gateway/pid/service/facade/StopFacade.d.ts +3 -3
- package/dist/output-gateway/pid/service/facade/StopFacade.js +26 -28
- package/dist/output-gateway/pid/service/facade/StopFacade.js.map +1 -1
- package/dist/output-gateway/pid/service/facade/TransferFacade.d.ts +16 -16
- package/dist/output-gateway/pid/service/facade/TransferFacade.js +80 -85
- package/dist/output-gateway/pid/service/facade/TransferFacade.js.map +1 -1
- package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.d.ts +1 -1
- package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.js +7 -10
- package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.js.map +1 -1
- package/dist/output-gateway/pid/service/helpers/HeadsignFormatter.js +1 -5
- package/dist/output-gateway/pid/service/helpers/HeadsignFormatter.js.map +1 -1
- package/dist/output-gateway/pid/service/helpers/PriorityMapper.d.ts +2 -2
- package/dist/output-gateway/pid/service/helpers/PriorityMapper.js +12 -15
- package/dist/output-gateway/pid/service/helpers/PriorityMapper.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/DepartureBoardsMinimalTransformation.d.ts +3 -3
- package/dist/output-gateway/pid/service/transformations/DepartureBoardsMinimalTransformation.js +12 -15
- package/dist/output-gateway/pid/service/transformations/DepartureBoardsMinimalTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/JISInfotextCacheTransferTransformation.d.ts +4 -4
- package/dist/output-gateway/pid/service/transformations/JISInfotextCacheTransferTransformation.js +8 -11
- package/dist/output-gateway/pid/service/transformations/JISInfotextCacheTransferTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.d.ts +3 -3
- package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.js +11 -14
- package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.d.ts +5 -5
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js +13 -16
- package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/JISInfotextTransferTransformation.d.ts +4 -4
- package/dist/output-gateway/pid/service/transformations/JISInfotextTransferTransformation.js +8 -11
- package/dist/output-gateway/pid/service/transformations/JISInfotextTransferTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/RopidDeparturesPresetTransformation.d.ts +3 -3
- package/dist/output-gateway/pid/service/transformations/RopidDeparturesPresetTransformation.js +6 -9
- package/dist/output-gateway/pid/service/transformations/RopidDeparturesPresetTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.d.ts +4 -4
- package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.js +15 -18
- package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.js.map +1 -1
- package/dist/output-gateway/pid/service/transformations/TransferDepartureTransformation.d.ts +4 -4
- package/dist/output-gateway/pid/service/transformations/TransferDepartureTransformation.js +9 -12
- package/dist/output-gateway/pid/service/transformations/TransferDepartureTransformation.js.map +1 -1
- package/dist/output-gateway/public/controllers/v2/V2PublicDepartureBoardsController.d.ts +1 -1
- package/dist/output-gateway/public/controllers/v2/V2PublicDepartureBoardsController.js +9 -12
- package/dist/output-gateway/public/controllers/v2/V2PublicDepartureBoardsController.js.map +1 -1
- package/dist/output-gateway/public/controllers/v2/V2PublicGtfsController.d.ts +1 -1
- package/dist/output-gateway/public/controllers/v2/V2PublicGtfsController.js +9 -12
- package/dist/output-gateway/public/controllers/v2/V2PublicGtfsController.js.map +1 -1
- package/dist/output-gateway/public/controllers/v2/V2PublicVehiclePositionsController.d.ts +1 -1
- package/dist/output-gateway/public/controllers/v2/V2PublicVehiclePositionsController.js +18 -21
- package/dist/output-gateway/public/controllers/v2/V2PublicVehiclePositionsController.js.map +1 -1
- package/dist/output-gateway/public/controllers/v2/interfaces/PublicParamsInterfaces.d.ts +3 -3
- package/dist/output-gateway/public/controllers/v2/interfaces/PublicParamsInterfaces.js +1 -2
- package/dist/output-gateway/public/data-access/VehicleDescriptorCachedRepository.d.ts +5 -5
- package/dist/output-gateway/public/data-access/VehicleDescriptorCachedRepository.js +17 -19
- package/dist/output-gateway/public/data-access/VehicleDescriptorCachedRepository.js.map +1 -1
- package/dist/output-gateway/public/data-access/redis/DelayComputationRepository.d.ts +4 -4
- package/dist/output-gateway/public/data-access/redis/DelayComputationRepository.js +19 -21
- package/dist/output-gateway/public/data-access/redis/DelayComputationRepository.js.map +1 -1
- package/dist/output-gateway/public/data-access/redis/PublicGtfsDepartureRepository.d.ts +4 -4
- package/dist/output-gateway/public/data-access/redis/PublicGtfsDepartureRepository.js +16 -18
- package/dist/output-gateway/public/data-access/redis/PublicGtfsDepartureRepository.js.map +1 -1
- package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.d.ts +4 -4
- package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.js +17 -19
- package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.js.map +1 -1
- package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.d.ts +5 -5
- package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js +22 -24
- package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js.map +1 -1
- package/dist/output-gateway/public/domain/IBoudingBox.js +1 -2
- package/dist/output-gateway/public/domain/IPublicDepartureTransformInputDto.d.ts +4 -4
- package/dist/output-gateway/public/domain/IPublicDepartureTransformInputDto.js +1 -2
- package/dist/output-gateway/public/domain/ITripScopeHandler.d.ts +1 -1
- package/dist/output-gateway/public/domain/ITripScopeHandler.js +1 -2
- package/dist/output-gateway/public/domain/PublicApiDepartureInterfaces.js +1 -2
- package/dist/output-gateway/public/domain/PublicApiDetailedTripInterfaces.d.ts +3 -3
- package/dist/output-gateway/public/domain/PublicApiDetailedTripInterfaces.js +1 -2
- package/dist/output-gateway/public/domain/PublicApiGtfsTripLookupInterfaces.d.ts +2 -2
- package/dist/output-gateway/public/domain/PublicApiGtfsTripLookupInterfaces.js +1 -2
- package/dist/output-gateway/public/domain/const.d.ts +1 -1
- package/dist/output-gateway/public/domain/const.js +2 -5
- package/dist/output-gateway/public/domain/const.js.map +1 -1
- package/dist/output-gateway/public/domain/repository/IDelayComputationRepository.d.ts +1 -1
- package/dist/output-gateway/public/domain/repository/IDelayComputationRepository.js +1 -2
- package/dist/output-gateway/public/domain/repository/IGtfsDepartureRepository.d.ts +1 -1
- package/dist/output-gateway/public/domain/repository/IGtfsDepartureRepository.js +1 -2
- package/dist/output-gateway/public/domain/repository/IStopTimeRepository.d.ts +1 -1
- package/dist/output-gateway/public/domain/repository/IStopTimeRepository.js +1 -2
- package/dist/output-gateway/public/domain/repository/IVehiclePositionsRepository.d.ts +2 -2
- package/dist/output-gateway/public/domain/repository/IVehiclePositionsRepository.js +1 -2
- package/dist/output-gateway/public/index.d.ts +1 -1
- package/dist/output-gateway/public/index.js +1 -17
- package/dist/output-gateway/public/index.js.map +1 -1
- package/dist/output-gateway/public/ioc/Di.d.ts +1 -1
- package/dist/output-gateway/public/ioc/Di.js +83 -86
- package/dist/output-gateway/public/ioc/Di.js.map +1 -1
- package/dist/output-gateway/public/ioc/OgModuleToken.js +1 -4
- package/dist/output-gateway/public/ioc/OgModuleToken.js.map +1 -1
- package/dist/output-gateway/public/routers/index.d.ts +3 -3
- package/dist/output-gateway/public/routers/index.js +3 -9
- package/dist/output-gateway/public/routers/index.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/V2PublicDeparturesRouter.d.ts +3 -3
- package/dist/output-gateway/public/routers/v2/V2PublicDeparturesRouter.js +26 -28
- package/dist/output-gateway/public/routers/v2/V2PublicDeparturesRouter.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/V2PublicGtfsRouter.d.ts +3 -3
- package/dist/output-gateway/public/routers/v2/V2PublicGtfsRouter.js +19 -21
- package/dist/output-gateway/public/routers/v2/V2PublicGtfsRouter.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/V2PublicVehiclePositionsRouter.d.ts +3 -3
- package/dist/output-gateway/public/routers/v2/V2PublicVehiclePositionsRouter.js +28 -30
- package/dist/output-gateway/public/routers/v2/V2PublicVehiclePositionsRouter.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomBBoxValidator.d.ts +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomBBoxValidator.js +1 -5
- package/dist/output-gateway/public/routers/v2/helpers/CustomBBoxValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomScopeValidator.d.ts +2 -2
- package/dist/output-gateway/public/routers/v2/helpers/CustomScopeValidator.js +3 -7
- package/dist/output-gateway/public/routers/v2/helpers/CustomScopeValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomStopIdGroupValidator.d.ts +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomStopIdGroupValidator.js +1 -5
- package/dist/output-gateway/public/routers/v2/helpers/CustomStopIdGroupValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomTypeValidator.d.ts +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/CustomTypeValidator.js +3 -7
- package/dist/output-gateway/public/routers/v2/helpers/CustomTypeValidator.js.map +1 -1
- package/dist/output-gateway/public/routers/v2/helpers/DetailedTripScopeEnum.js +2 -5
- package/dist/output-gateway/public/routers/v2/helpers/DetailedTripScopeEnum.js.map +1 -1
- package/dist/output-gateway/public/service/facade/DepartureBoardFacade.d.ts +7 -7
- package/dist/output-gateway/public/service/facade/DepartureBoardFacade.js +23 -26
- package/dist/output-gateway/public/service/facade/DepartureBoardFacade.js.map +1 -1
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.d.ts +4 -4
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.js +8 -11
- package/dist/output-gateway/public/service/facade/DetailedTripFacade.js.map +1 -1
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.d.ts +3 -3
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.js +12 -15
- package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.js.map +1 -1
- package/dist/output-gateway/public/service/facade/VehiclePositionsFacade.d.ts +6 -6
- package/dist/output-gateway/public/service/facade/VehiclePositionsFacade.js +7 -11
- package/dist/output-gateway/public/service/facade/VehiclePositionsFacade.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/BoundingBoxHelper.d.ts +3 -3
- package/dist/output-gateway/public/service/helpers/BoundingBoxHelper.js +6 -9
- package/dist/output-gateway/public/service/helpers/BoundingBoxHelper.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/DepartureGroupRefiner.d.ts +1 -1
- package/dist/output-gateway/public/service/helpers/DepartureGroupRefiner.js +1 -5
- package/dist/output-gateway/public/service/helpers/DepartureGroupRefiner.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.d.ts +4 -4
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.js +17 -19
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/AbstractGtfsTripScopeHandler.d.ts +3 -3
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/AbstractGtfsTripScopeHandler.js +1 -5
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/AbstractGtfsTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/InfoTripScopeHandler.d.ts +4 -4
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/InfoTripScopeHandler.js +10 -13
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/InfoTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/ShapesTripScopeHandler.d.ts +4 -4
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/ShapesTripScopeHandler.js +12 -15
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/ShapesTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/StopTimesTripScopeHandler.d.ts +4 -4
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/StopTimesTripScopeHandler.js +12 -15
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/StopTimesTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/VehicleDescriptorTripScopeHandler.d.ts +4 -4
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/VehicleDescriptorTripScopeHandler.js +10 -13
- package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/strategy/VehicleDescriptorTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/interfaces/IBoundingBoxHelper.d.ts +1 -1
- package/dist/output-gateway/public/service/helpers/interfaces/IBoundingBoxHelper.js +1 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.d.ts +2 -2
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.js +22 -24
- package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractDetailedTripScopeHandler.d.ts +3 -3
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractDetailedTripScopeHandler.js +1 -5
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/AbstractDetailedTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/InfoTripScopeHandler.d.ts +3 -3
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/InfoTripScopeHandler.js +8 -11
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/InfoTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/ShapesTripScopeHandler.d.ts +5 -5
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/ShapesTripScopeHandler.js +17 -19
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/ShapesTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.d.ts +5 -5
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.js +20 -21
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/VehicleDescriptorTripScopeHandler.d.ts +4 -4
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/VehicleDescriptorTripScopeHandler.js +19 -22
- package/dist/output-gateway/public/service/helpers/trip-scope/strategy/VehicleDescriptorTripScopeHandler.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/PublicDepartureTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/PublicDepartureTransformation.js +17 -21
- package/dist/output-gateway/public/service/transformations/PublicDepartureTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/PublicVehiclePositionsTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/PublicVehiclePositionsTransformation.js +6 -10
- package/dist/output-gateway/public/service/transformations/PublicVehiclePositionsTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripInfoTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripInfoTransformation.js +8 -11
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripInfoTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripShapesTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripShapesTransformation.js +8 -11
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsTripShapesTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsVehicleDescriptorTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsVehicleDescriptorTransformation.js +9 -12
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicGtfsVehicleDescriptorTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicTripStopTimesTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicTripStopTimesTransformation.js +14 -16
- package/dist/output-gateway/public/service/transformations/gtfs-trip-scopes/PublicTripStopTimesTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripInfoTransformation.d.ts +5 -5
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripInfoTransformation.js +6 -10
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripInfoTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripShapesTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripShapesTransformation.js +4 -8
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripShapesTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripStopTimesTransformation.d.ts +4 -4
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripStopTimesTransformation.js +10 -14
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPTripStopTimesTransformation.js.map +1 -1
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPVehicleDescriptorTransformation.d.ts +3 -3
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPVehicleDescriptorTransformation.js +2 -6
- package/dist/output-gateway/public/service/transformations/scopes/PublicVPVehicleDescriptorTransformation.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/data-access/CisStopGroupRepository.d.ts +4 -4
- package/dist/output-gateway/ropid-gtfs/data-access/CisStopGroupRepository.js +17 -19
- package/dist/output-gateway/ropid-gtfs/data-access/CisStopGroupRepository.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/data-access/GtfsTripScheduleRepository.d.ts +2 -2
- package/dist/output-gateway/ropid-gtfs/data-access/GtfsTripScheduleRepository.js +11 -15
- package/dist/output-gateway/ropid-gtfs/data-access/GtfsTripScheduleRepository.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.d.ts +4 -4
- package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.js +21 -23
- package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsTripStopsRepository.d.ts +3 -3
- package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsTripStopsRepository.js +15 -17
- package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsTripStopsRepository.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/data-access/redis/RunTripsRedisRepository.d.ts +4 -4
- package/dist/output-gateway/ropid-gtfs/data-access/redis/RunTripsRedisRepository.js +16 -18
- package/dist/output-gateway/ropid-gtfs/data-access/redis/RunTripsRedisRepository.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/domain/repository/IRunTripsRedisRepository.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/domain/repository/IRunTripsRedisRepository.js +1 -2
- package/dist/output-gateway/ropid-gtfs/index.d.ts +2 -2
- package/dist/output-gateway/ropid-gtfs/index.js +2 -18
- package/dist/output-gateway/ropid-gtfs/index.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.js +16 -22
- package/dist/output-gateway/ropid-gtfs/models/GTFSCalendarModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSRoutesModel.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSRoutesModel.js +10 -13
- package/dist/output-gateway/ropid-gtfs/models/GTFSRoutesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.d.ts +2 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.js +12 -15
- package/dist/output-gateway/ropid-gtfs/models/GTFSShapesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.d.ts +3 -3
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js +37 -43
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModelInterfaces.d.ts +2 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModelInterfaces.js +1 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.d.ts +2 -2
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js +21 -27
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopTimesModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.d.ts +6 -6
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js +38 -44
- package/dist/output-gateway/ropid-gtfs/models/GTFSTripsModel.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/index.d.ts +6 -6
- package/dist/output-gateway/ropid-gtfs/models/index.js +13 -16
- package/dist/output-gateway/ropid-gtfs/models/index.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/models/interfaces/IGTFSModels.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/models/interfaces/IGTFSModels.js +1 -2
- package/dist/output-gateway/ropid-gtfs/routers/index.d.ts +1 -1
- package/dist/output-gateway/ropid-gtfs/routers/index.js +1 -5
- package/dist/output-gateway/ropid-gtfs/routers/index.js.map +1 -1
- package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.d.ts +9 -9
- package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.js +71 -75
- package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.js.map +1 -1
- package/dist/output-gateway/shared/DepartureCalculator.js +1 -5
- package/dist/output-gateway/shared/DepartureCalculator.js.map +1 -1
- package/dist/output-gateway/shared/PlatformCodeResolver.d.ts +1 -1
- package/dist/output-gateway/shared/PlatformCodeResolver.js +3 -7
- package/dist/output-gateway/shared/PlatformCodeResolver.js.map +1 -1
- package/dist/output-gateway/shared/RopidRouterUtils.d.ts +2 -2
- package/dist/output-gateway/shared/RopidRouterUtils.js +11 -17
- package/dist/output-gateway/shared/RopidRouterUtils.js.map +1 -1
- package/dist/output-gateway/shared/constants/index.d.ts +2 -2
- package/dist/output-gateway/shared/constants/index.js +2 -18
- package/dist/output-gateway/shared/constants/index.js.map +1 -1
- package/dist/output-gateway/shared/constants/route-version.js +2 -5
- package/dist/output-gateway/shared/constants/route-version.js.map +1 -1
- package/dist/output-gateway/shared/constants/validations.js +4 -10
- package/dist/output-gateway/shared/constants/validations.js.map +1 -1
- package/dist/output-gateway/shared/decorators/index.d.ts +1 -1
- package/dist/output-gateway/shared/decorators/index.js +1 -17
- package/dist/output-gateway/shared/decorators/index.js.map +1 -1
- package/dist/output-gateway/shared/decorators/transformers.js +5 -10
- package/dist/output-gateway/shared/decorators/transformers.js.map +1 -1
- package/dist/output-gateway/shared/index.d.ts +3 -3
- package/dist/output-gateway/shared/index.js +3 -19
- package/dist/output-gateway/shared/index.js.map +1 -1
- package/dist/output-gateway/shared/service/VPSubscriber.d.ts +1 -1
- package/dist/output-gateway/shared/service/VPSubscriber.js +2 -6
- package/dist/output-gateway/shared/service/VPSubscriber.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/PositionRepository.d.ts +5 -5
- package/dist/output-gateway/vehicle-positions/data-access/PositionRepository.js +15 -18
- package/dist/output-gateway/vehicle-positions/data-access/PositionRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/TripRepository.d.ts +5 -5
- package/dist/output-gateway/vehicle-positions/data-access/TripRepository.js +14 -17
- package/dist/output-gateway/vehicle-positions/data-access/TripRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/VehicleDescriptorRepository.d.ts +5 -5
- package/dist/output-gateway/vehicle-positions/data-access/VehicleDescriptorRepository.js +14 -17
- package/dist/output-gateway/vehicle-positions/data-access/VehicleDescriptorRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/VehicleTypeRepository.d.ts +5 -5
- package/dist/output-gateway/vehicle-positions/data-access/VehicleTypeRepository.js +15 -18
- package/dist/output-gateway/vehicle-positions/data-access/VehicleTypeRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/cache/NotPublicVehiclesRedisRepository.d.ts +2 -2
- package/dist/output-gateway/vehicle-positions/data-access/cache/NotPublicVehiclesRedisRepository.js +10 -13
- package/dist/output-gateway/vehicle-positions/data-access/cache/NotPublicVehiclesRedisRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/helpers/PositionOutputMapper.d.ts +2 -2
- package/dist/output-gateway/vehicle-positions/data-access/helpers/PositionOutputMapper.js +4 -8
- package/dist/output-gateway/vehicle-positions/data-access/helpers/PositionOutputMapper.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/index.d.ts +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/index.js +9 -12
- package/dist/output-gateway/vehicle-positions/data-access/index.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/interfaces/ITripWithPositionRepository.d.ts +3 -3
- package/dist/output-gateway/vehicle-positions/data-access/interfaces/ITripWithPositionRepository.js +1 -2
- package/dist/output-gateway/vehicle-positions/data-access/interfaces/IVPRepositoryInstances.d.ts +2 -2
- package/dist/output-gateway/vehicle-positions/data-access/interfaces/IVPRepositoryInstances.js +1 -2
- package/dist/output-gateway/vehicle-positions/data-access/views/ProcessedPositionRepository.d.ts +5 -5
- package/dist/output-gateway/vehicle-positions/data-access/views/ProcessedPositionRepository.js +14 -17
- package/dist/output-gateway/vehicle-positions/data-access/views/ProcessedPositionRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.d.ts +11 -11
- package/dist/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.js +69 -106
- package/dist/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/index.d.ts +2 -2
- package/dist/output-gateway/vehicle-positions/index.js +2 -18
- package/dist/output-gateway/vehicle-positions/index.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/ioc/Di.d.ts +1 -1
- package/dist/output-gateway/vehicle-positions/ioc/Di.js +19 -21
- package/dist/output-gateway/vehicle-positions/ioc/Di.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/ioc/OgVehiclePositionsToken.js +1 -4
- package/dist/output-gateway/vehicle-positions/ioc/OgVehiclePositionsToken.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/routers/index.d.ts +1 -1
- package/dist/output-gateway/vehicle-positions/routers/index.js +1 -5
- package/dist/output-gateway/vehicle-positions/routers/index.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/routers/v2/V2VehiclePositionsRouter.d.ts +4 -4
- package/dist/output-gateway/vehicle-positions/routers/v2/V2VehiclePositionsRouter.js +50 -54
- package/dist/output-gateway/vehicle-positions/routers/v2/V2VehiclePositionsRouter.js.map +1 -1
- package/dist/schema-definitions/const.js +1 -4
- package/dist/schema-definitions/const.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/DeparturesDirectionsJsonSchema.js +3 -6
- package/dist/schema-definitions/datasources/static-data/DeparturesDirectionsJsonSchema.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/MetroRailTrackJsonSchema.js +1 -4
- package/dist/schema-definitions/datasources/static-data/MetroRailTrackJsonSchema.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/NotPublicVehiclesJsonSchema.d.ts +2 -2
- package/dist/schema-definitions/datasources/static-data/NotPublicVehiclesJsonSchema.js +1 -4
- package/dist/schema-definitions/datasources/static-data/NotPublicVehiclesJsonSchema.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/index.d.ts +4 -4
- package/dist/schema-definitions/datasources/static-data/index.js +4 -20
- package/dist/schema-definitions/datasources/static-data/index.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/interfaces/DeparturesDirectionDataInterface.d.ts +1 -1
- package/dist/schema-definitions/datasources/static-data/interfaces/DeparturesDirectionDataInterface.js +1 -2
- package/dist/schema-definitions/datasources/static-data/interfaces/MetroRailTrackDataInterface.js +1 -2
- package/dist/schema-definitions/datasources/static-data/interfaces/MetroRailTrackDataInterface.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/interfaces/NotPublicVehiclesDataInterface.d.ts +1 -1
- package/dist/schema-definitions/datasources/static-data/interfaces/NotPublicVehiclesDataInterface.js +5 -9
- package/dist/schema-definitions/datasources/static-data/interfaces/NotPublicVehiclesDataInterface.js.map +1 -1
- package/dist/schema-definitions/datasources/static-data/interfaces/index.d.ts +3 -3
- package/dist/schema-definitions/datasources/static-data/interfaces/index.js +3 -19
- package/dist/schema-definitions/datasources/static-data/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/index.d.ts +3 -3
- package/dist/schema-definitions/index.js +3 -39
- package/dist/schema-definitions/index.js.map +1 -1
- package/dist/schema-definitions/jis/constants/jisEventCause.js +1 -4
- package/dist/schema-definitions/jis/constants/jisEventCause.js.map +1 -1
- package/dist/schema-definitions/jis/constants/jisEventEffect.js +2 -5
- package/dist/schema-definitions/jis/constants/jisEventEffect.js.map +1 -1
- package/dist/schema-definitions/jis/constants/jisEventType.js +1 -4
- package/dist/schema-definitions/jis/constants/jisEventType.js.map +1 -1
- package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.d.ts +2 -2
- package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js +12 -15
- package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js.map +1 -1
- package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.d.ts +2 -2
- package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js +3 -6
- package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js.map +1 -1
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.d.ts +6 -6
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEventAttachment.d.ts +1 -1
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEventAttachment.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEventAttachmentName.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEventTranslationText.d.ts +1 -1
- package/dist/schema-definitions/jis/datasources/interfaces/IJISEventTranslationText.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.d.ts +4 -4
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextPreset.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationTextNullable.js +1 -2
- package/dist/schema-definitions/jis/datasources/interfaces/index.d.ts +9 -9
- package/dist/schema-definitions/jis/datasources/interfaces/index.js +9 -25
- package/dist/schema-definitions/jis/datasources/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/jis/models/JISEventsModel.d.ts +10 -7
- package/dist/schema-definitions/jis/models/JISEventsModel.js +34 -37
- package/dist/schema-definitions/jis/models/JISEventsModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.d.ts +6 -3
- package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.js +8 -11
- package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/JISInfotextsModel.d.ts +9 -6
- package/dist/schema-definitions/jis/models/JISInfotextsModel.js +19 -22
- package/dist/schema-definitions/jis/models/JISInfotextsModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/JISInfotextsPresetsModel.d.ts +6 -3
- package/dist/schema-definitions/jis/models/JISInfotextsPresetsModel.js +7 -10
- package/dist/schema-definitions/jis/models/JISInfotextsPresetsModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.d.ts +6 -3
- package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.js +7 -10
- package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRopidGTFSStopsModel.d.ts +6 -3
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRopidGTFSStopsModel.js +7 -10
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRopidGTFSStopsModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRoutesModel.d.ts +6 -3
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRoutesModel.js +10 -13
- package/dist/schema-definitions/jis/models/RopidDeparturesPresetsRoutesModel.js.map +1 -1
- package/dist/schema-definitions/jis/models/interfaces/IJISEvent.d.ts +4 -4
- package/dist/schema-definitions/jis/models/interfaces/IJISEvent.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISEventTranslationText.d.ts +1 -1
- package/dist/schema-definitions/jis/models/interfaces/IJISEventTranslationText.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.d.ts +1 -1
- package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.d.ts +2 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsPresets.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IPresetsRopidGTFSStops.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/IPresetsRoutes.js +1 -2
- package/dist/schema-definitions/jis/models/interfaces/index.d.ts +8 -8
- package/dist/schema-definitions/jis/models/interfaces/index.js +8 -24
- package/dist/schema-definitions/jis/models/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/jis/redis/const.js +2 -5
- package/dist/schema-definitions/jis/redis/const.js.map +1 -1
- package/dist/schema-definitions/jis/redis/interfaces/IJISInfotextDto.d.ts +1 -1
- package/dist/schema-definitions/jis/redis/interfaces/IJISInfotextDto.js +1 -2
- package/dist/schema-definitions/jis/redis/interfaces/IJISMetadataDto.js +1 -2
- package/dist/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.js +1 -4
- package/dist/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.js.map +1 -1
- package/dist/schema-definitions/jis/redis/schemas/JISMetadataDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/jis/redis/schemas/JISMetadataDtoSchema.js +1 -4
- package/dist/schema-definitions/jis/redis/schemas/JISMetadataDtoSchema.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsOutputSchemas.js +1 -4
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsOutputSchemas.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsSDMA.d.ts +1 -1
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsSDMA.js +8 -10
- package/dist/schema-definitions/ropid-departures-directions/RopidDeparturesDirectionsSDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-directions/index.d.ts +3 -3
- package/dist/schema-definitions/ropid-departures-directions/index.js +6 -10
- package/dist/schema-definitions/ropid-departures-directions/index.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/GrafanaLokiJsonSchema.d.ts +2 -2
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/GrafanaLokiJsonSchema.js +1 -4
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/GrafanaLokiJsonSchema.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/index.js +1 -17
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/index.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/interfaces/ILogQueryData.js +1 -2
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/interfaces/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/interfaces/index.js +1 -17
- package/dist/schema-definitions/ropid-departures-preset-logs/datasources/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/models/PresetLogModel.d.ts +6 -3
- package/dist/schema-definitions/ropid-departures-preset-logs/models/PresetLogModel.js +15 -18
- package/dist/schema-definitions/ropid-departures-preset-logs/models/PresetLogModel.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/models/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/models/index.js +1 -17
- package/dist/schema-definitions/ropid-departures-preset-logs/models/index.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/models/interfaces/IPresetLogOutputDto.js +1 -2
- package/dist/schema-definitions/ropid-departures-preset-logs/models/interfaces/IPresetLogProcessedDto.js +1 -2
- package/dist/schema-definitions/ropid-departures-preset-logs/models/interfaces/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-departures-preset-logs/models/interfaces/index.js +1 -17
- package/dist/schema-definitions/ropid-departures-preset-logs/models/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsOutputSchemas.js +1 -4
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsOutputSchemas.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsSDMA.d.ts +1 -1
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsSDMA.js +10 -12
- package/dist/schema-definitions/ropid-departures-presets/RopidDeparturesPresetsSDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-presets/index.d.ts +3 -3
- package/dist/schema-definitions/ropid-departures-presets/index.js +6 -9
- package/dist/schema-definitions/ropid-departures-presets/index.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-presets/models/RopidDeparturesPresetsModel.d.ts +8 -5
- package/dist/schema-definitions/ropid-departures-presets/models/RopidDeparturesPresetsModel.js +10 -13
- package/dist/schema-definitions/ropid-departures-presets/models/RopidDeparturesPresetsModel.js.map +1 -1
- package/dist/schema-definitions/ropid-departures-presets/models/interfaces/IRopidDeparturesPresets.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.js +16 -18
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.js +13 -15
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.js +6 -11
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js +40 -42
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.js +10 -12
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.d.ts +20 -20
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js +21 -24
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/enums/TransferTypeEnum.js +2 -5
- package/dist/schema-definitions/ropid-gtfs/enums/TransferTypeEnum.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/index.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/index.js +53 -59
- package/dist/schema-definitions/ropid-gtfs/index.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IAgencyDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDatesDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/ICalendarDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IDeparturesDirectionDto.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IDeparturesDirectionDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IRouteDto.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IRouteDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IRouteSubAgencyDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IShapeDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopCisDto.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopCisDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopDto.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/IStopTimesDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITransferDto.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITransferDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto.d.ts +5 -5
- package/dist/schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/models/AgencyDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/AgencyDto.js +11 -14
- package/dist/schema-definitions/ropid-gtfs/models/AgencyDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDatesDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDatesDto.js +6 -9
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDatesDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDto.js +13 -16
- package/dist/schema-definitions/ropid-gtfs/models/CalendarDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/DeparturesDirectionDto.d.ts +7 -4
- package/dist/schema-definitions/ropid-gtfs/models/DeparturesDirectionDto.js +14 -17
- package/dist/schema-definitions/ropid-gtfs/models/DeparturesDirectionDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/RouteDto.d.ts +7 -4
- package/dist/schema-definitions/ropid-gtfs/models/RouteDto.js +15 -18
- package/dist/schema-definitions/ropid-gtfs/models/RouteDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/RouteSubAgencyDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/RouteSubAgencyDto.js +7 -10
- package/dist/schema-definitions/ropid-gtfs/models/RouteSubAgencyDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/ShapeDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/ShapeDto.js +8 -11
- package/dist/schema-definitions/ropid-gtfs/models/ShapeDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/StopCisDto.d.ts +5 -2
- package/dist/schema-definitions/ropid-gtfs/models/StopCisDto.js +15 -18
- package/dist/schema-definitions/ropid-gtfs/models/StopCisDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/StopDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/StopDto.js +23 -25
- package/dist/schema-definitions/ropid-gtfs/models/StopDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/StopTimesDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/StopTimesDto.js +21 -23
- package/dist/schema-definitions/ropid-gtfs/models/StopTimesDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/TransferDto.d.ts +7 -4
- package/dist/schema-definitions/ropid-gtfs/models/TransferDto.js +13 -16
- package/dist/schema-definitions/ropid-gtfs/models/TransferDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/TripDto.d.ts +6 -3
- package/dist/schema-definitions/ropid-gtfs/models/TripDto.js +16 -19
- package/dist/schema-definitions/ropid-gtfs/models/TripDto.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/DeparturesModel.d.ts +7 -4
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/DeparturesModel.js +42 -45
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/DeparturesModel.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/index.js +1 -17
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/index.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/interfaces/IDeparturesModel.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/interfaces/IDeparturesModel.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/MetroRailtrackGPSModel.d.ts +7 -4
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/MetroRailtrackGPSModel.js +9 -12
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/MetroRailtrackGPSModel.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/index.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/index.js +1 -17
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/index.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/interfaces/IMetroRailtrackGPSModel.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/railtrack/interfaces/IMetroRailtrackGPSModel.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/redis/const.js +6 -9
- package/dist/schema-definitions/ropid-gtfs/redis/const.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IDelayComputationDto.d.ts +1 -1
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IDelayComputationDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IGtfsTripStopsCacheDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IPublicGtfsDepartureCacheDto.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/redis/interfaces/IPublicGtfsDepartureCacheDto.js +1 -2
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.js +1 -4
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/DelayComputationDtoSchema.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/GtfsTripStopsCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/GtfsTripStopsCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/GtfsTripStopsCacheDtoSchema.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/PublicGtfsDepartureDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/PublicGtfsDepartureDtoSchema.js +1 -4
- package/dist/schema-definitions/ropid-gtfs/redis/schemas/PublicGtfsDepartureDtoSchema.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.js +1 -6
- package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.d.ts +2 -2
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js +45 -49
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/index.d.ts +3 -3
- package/dist/schema-definitions/ropid-vymi/index.js +10 -13
- package/dist/schema-definitions/ropid-vymi/index.js.map +1 -1
- package/dist/schema-definitions/shared/index.js +1 -2
- package/dist/schema-definitions/shared/interfaces/IMetadataDto.js +1 -2
- package/dist/schema-definitions/shared/models/MetadataDto.d.ts +6 -3
- package/dist/schema-definitions/shared/models/MetadataDto.js +8 -44
- package/dist/schema-definitions/shared/models/MetadataDto.js.map +1 -1
- package/dist/schema-definitions/vehicle-descriptors/datasources/SeznamAutobusuJsonSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-descriptors/datasources/SeznamAutobusuJsonSchema.js +1 -4
- package/dist/schema-definitions/vehicle-descriptors/datasources/SeznamAutobusuJsonSchema.js.map +1 -1
- package/dist/schema-definitions/vehicle-descriptors/datasources/index.d.ts +1 -1
- package/dist/schema-definitions/vehicle-descriptors/datasources/index.js +1 -17
- package/dist/schema-definitions/vehicle-descriptors/datasources/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-descriptors/datasources/interfaces/IVehicleListInfo.js +1 -2
- package/dist/schema-definitions/vehicle-descriptors/datasources/interfaces/index.d.ts +1 -1
- package/dist/schema-definitions/vehicle-descriptors/datasources/interfaces/index.js +1 -17
- package/dist/schema-definitions/vehicle-descriptors/datasources/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-descriptors/models/DescriptorModel.d.ts +8 -5
- package/dist/schema-definitions/vehicle-descriptors/models/DescriptorModel.js +21 -24
- package/dist/schema-definitions/vehicle-descriptors/models/DescriptorModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-descriptors/models/index.d.ts +1 -1
- package/dist/schema-definitions/vehicle-descriptors/models/index.js +1 -17
- package/dist/schema-definitions/vehicle-descriptors/models/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-descriptors/models/interfaces/IDescriptorOutputDto.js +1 -2
- package/dist/schema-definitions/vehicle-descriptors/models/interfaces/index.d.ts +1 -1
- package/dist/schema-definitions/vehicle-descriptors/models/interfaces/index.js +1 -17
- package/dist/schema-definitions/vehicle-descriptors/models/interfaces/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/index.js +1 -4
- package/dist/schema-definitions/vehicle-positions/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/interfaces/IMpvMessageInterfaces.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/CisStopModel.d.ts +6 -3
- package/dist/schema-definitions/vehicle-positions/models/CisStopModel.js +6 -9
- package/dist/schema-definitions/vehicle-positions/models/CisStopModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/CommonRunsMessagesModel.d.ts +7 -4
- package/dist/schema-definitions/vehicle-positions/models/CommonRunsMessagesModel.js +14 -17
- package/dist/schema-definitions/vehicle-positions/models/CommonRunsMessagesModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/CommonRunsModel.d.ts +6 -3
- package/dist/schema-definitions/vehicle-positions/models/CommonRunsModel.js +11 -14
- package/dist/schema-definitions/vehicle-positions/models/CommonRunsModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.d.ts +6 -3
- package/dist/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.js +11 -14
- package/dist/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/PositionDto.d.ts +7 -4
- package/dist/schema-definitions/vehicle-positions/models/PositionDto.js +38 -41
- package/dist/schema-definitions/vehicle-positions/models/PositionDto.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/RegionalBusRunsMessagesModel.d.ts +7 -4
- package/dist/schema-definitions/vehicle-positions/models/RegionalBusRunsMessagesModel.js +15 -18
- package/dist/schema-definitions/vehicle-positions/models/RegionalBusRunsMessagesModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.d.ts +8 -5
- package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.js +38 -41
- package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/VehicleTypeDto.d.ts +6 -3
- package/dist/schema-definitions/vehicle-positions/models/VehicleTypeDto.js +6 -42
- package/dist/schema-definitions/vehicle-positions/models/VehicleTypeDto.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/enums/ProviderSourceTypeEnum.js +2 -5
- package/dist/schema-definitions/vehicle-positions/models/enums/ProviderSourceTypeEnum.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/index.d.ts +5 -5
- package/dist/schema-definitions/vehicle-positions/models/index.js +5 -21
- package/dist/schema-definitions/vehicle-positions/models/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/ICisStopDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/ICommonRunWithMessageDto.d.ts +3 -3
- package/dist/schema-definitions/vehicle-positions/models/interfaces/ICommonRunWithMessageDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/ICommonRunsMessagesModel.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/ICommonRunsMessagesModel.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/ICommonRunsModel.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IGtfsRtTripDto.d.ts +3 -3
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IGtfsRtTripDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IPositionDto.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IPositionDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IRegionalBusRunsMessagesModel.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IRegionalBusRunsMessagesModel.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVPTripsModel.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVPTripsModel.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVPTripsPositionAttributes.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVPTripsPositionAttributes.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IVehicleTypeDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/interfaces/VPTripsLastPositionInterfaces.d.ts +3 -3
- package/dist/schema-definitions/vehicle-positions/models/interfaces/VPTripsLastPositionInterfaces.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/views/ProcessedPositionModel.d.ts +6 -3
- package/dist/schema-definitions/vehicle-positions/models/views/ProcessedPositionModel.js +23 -26
- package/dist/schema-definitions/vehicle-positions/models/views/ProcessedPositionModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.d.ts +7 -4
- package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.js +20 -23
- package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/views/TripWithLastPositionModel.d.ts +10 -7
- package/dist/schema-definitions/vehicle-positions/models/views/TripWithLastPositionModel.js +42 -45
- package/dist/schema-definitions/vehicle-positions/models/views/TripWithLastPositionModel.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/views/index.d.ts +3 -3
- package/dist/schema-definitions/vehicle-positions/models/views/index.js +3 -19
- package/dist/schema-definitions/vehicle-positions/models/views/index.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IProcessedPositionDto.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IProcessedPositionDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IPublicStopTimeDto.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IPublicStopTimeDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/ITripWithLastPositionDto.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/models/views/interfaces/ITripWithLastPositionDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/const.js +3 -6
- package/dist/schema-definitions/vehicle-positions/redis/const.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.d.ts +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicApiCacheDto.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicApiCacheDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicStopTimeCacheDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IRegionalBusCisCacheDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IRegionalBusGtfsCacheDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/ITripStopsCacheDto.js +1 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/RegionalBusCisCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/RegionalBusCisCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/RegionalBusCisCacheDtoSchema.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/RegionalBusGtfsCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/RegionalBusGtfsCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/RegionalBusGtfsCacheDtoSchema.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/schemas/TripStopsCacheDtoSchema.d.ts +2 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/TripStopsCacheDtoSchema.js +1 -4
- package/dist/schema-definitions/vehicle-positions/redis/schemas/TripStopsCacheDtoSchema.js.map +1 -1
- package/package.json +66 -26
- package/db/migrations/postgresql/20260908120000-vehiclepositions-logged-tables.js +0 -53
- package/db/migrations/postgresql/sqls/20260908120000-vehiclepositions-logged-tables-down.sql +0 -2
- package/db/migrations/postgresql/sqls/20260908120000-vehiclepositions-logged-tables-up.sql +0 -2
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const Di_1 = require("../ioc/Di");
|
|
16
|
-
const OgPidToken_1 = require("../ioc/OgPidToken");
|
|
17
|
-
const PIDDepartureModel_1 = __importDefault(require("./helpers/PIDDepartureModel"));
|
|
18
|
-
const RunHelper_1 = require("./helpers/RunHelper");
|
|
19
|
-
const RopidDeparturesDirectionsModel_1 = require("./RopidDeparturesDirectionsModel");
|
|
1
|
+
import { GtfsStopLocationType } from "#helpers/StopEnums";
|
|
2
|
+
import { DeparturesRepository } from "#og/pid/data-access/index";
|
|
3
|
+
import { models } from "#og/ropid-gtfs/models/index";
|
|
4
|
+
import { CoreToken } from "@golemio/core/dist/helpers/ioc/CoreToken.js";
|
|
5
|
+
import { createChildSpan } from "@golemio/core/dist/monitoring/opentelemetry/trace-provider.js";
|
|
6
|
+
import GolemioErrorsCore from "@golemio/core/dist/shared/golemio-errors.js";
|
|
7
|
+
const { AbstractGolemioError, GeneralError } = GolemioErrorsCore;
|
|
8
|
+
import moment from "@golemio/core/dist/shared/moment-timezone.js";
|
|
9
|
+
import { DepartureSkip } from "../helpers/enums/DepartureSkip.js";
|
|
10
|
+
import { OgPidContainer } from "../ioc/Di.js";
|
|
11
|
+
import { OgPidToken } from "../ioc/OgPidToken.js";
|
|
12
|
+
import PIDDeparturesModel from "./helpers/PIDDepartureModel.js";
|
|
13
|
+
import { RunHelper } from "./helpers/RunHelper.js";
|
|
14
|
+
import { RopidDeparturesDirectionsModel } from "./RopidDeparturesDirectionsModel.js";
|
|
20
15
|
const STOPS_MAX_COUNT = 100;
|
|
21
16
|
// TODO refactor - split into facade and multiple service/strategy classes
|
|
22
17
|
// Check V3TransferBoardsController and TransferFacade for inspiration
|
|
23
18
|
class PIDDepartureBoardsModel {
|
|
24
19
|
constructor() {
|
|
25
|
-
this.log =
|
|
26
|
-
this.ropidDeparturesDirectionsModel = new
|
|
27
|
-
this.departuresRepository = new
|
|
28
|
-
this.runTripsRedisRepository =
|
|
29
|
-
this.positionsRedisRepository =
|
|
30
|
-
this.infotextFacade =
|
|
20
|
+
this.log = OgPidContainer.resolve(CoreToken.Logger);
|
|
21
|
+
this.ropidDeparturesDirectionsModel = new RopidDeparturesDirectionsModel();
|
|
22
|
+
this.departuresRepository = new DeparturesRepository(OgPidContainer.resolve(CoreToken.PostgresConnector), OgPidContainer.resolve(CoreToken.SimpleConfig));
|
|
23
|
+
this.runTripsRedisRepository = OgPidContainer.resolve(OgPidToken.RunTripsRedisRepository);
|
|
24
|
+
this.positionsRedisRepository = OgPidContainer.resolve(OgPidToken.PublicVehiclePositionsRepository);
|
|
25
|
+
this.infotextFacade = OgPidContainer.resolve(OgPidToken.InfotextFacade);
|
|
31
26
|
}
|
|
32
27
|
async getAll(options) {
|
|
33
|
-
const currentMoment = (
|
|
28
|
+
const currentMoment = moment();
|
|
34
29
|
//#region Data retrieval from DB (GTFS stops, infotexts, directions, departures)
|
|
35
30
|
const { stopsToInclude, stopIds } = await this.retrieveAndReturnStops(options);
|
|
36
31
|
const [infotextsToInclude, directions, departures] = await Promise.all([
|
|
@@ -42,7 +37,7 @@ class PIDDepartureBoardsModel {
|
|
|
42
37
|
//#region Data retrieval from Redis (run schedule, untracked trips)
|
|
43
38
|
let runScheduleMap = new Map();
|
|
44
39
|
let untrackedTrips = new Set();
|
|
45
|
-
const isMissingRequested = options.skip.includes(
|
|
40
|
+
const isMissingRequested = options.skip.includes(DepartureSkip.MISSING) && !options.skip.includes(DepartureSkip.UNTRACKED);
|
|
46
41
|
// Note: The run schedule and untracked trips are populated only if the skip[]=missing (without untracked) is present
|
|
47
42
|
// Check the PIDDeparturesModel.skip function. In other cases they are not needed
|
|
48
43
|
if (isMissingRequested) {
|
|
@@ -51,7 +46,7 @@ class PIDDepartureBoardsModel {
|
|
|
51
46
|
if (!departure.route_id || !departure.run_number) {
|
|
52
47
|
continue;
|
|
53
48
|
}
|
|
54
|
-
runTuples.add(
|
|
49
|
+
runTuples.add(RunHelper.composeRunId(departure.route_id, departure.run_number));
|
|
55
50
|
}
|
|
56
51
|
const { runSchedule, runTripIds } = await this.retrieveAndReturnRunTrips(runTuples);
|
|
57
52
|
runScheduleMap = runSchedule;
|
|
@@ -59,9 +54,9 @@ class PIDDepartureBoardsModel {
|
|
|
59
54
|
}
|
|
60
55
|
//#endregion
|
|
61
56
|
//#region Processing and returning departures
|
|
62
|
-
const spanProcessing =
|
|
57
|
+
const spanProcessing = createChildSpan("V2PIDRouter.Processing");
|
|
63
58
|
try {
|
|
64
|
-
const departuresToInclude = new
|
|
59
|
+
const departuresToInclude = new PIDDeparturesModel(departures, {
|
|
65
60
|
limit: options.limit,
|
|
66
61
|
offset: options.offset,
|
|
67
62
|
total: options.total,
|
|
@@ -84,10 +79,10 @@ class PIDDepartureBoardsModel {
|
|
|
84
79
|
}
|
|
85
80
|
catch (error) {
|
|
86
81
|
spanProcessing?.recordException(error);
|
|
87
|
-
if (error instanceof
|
|
82
|
+
if (error instanceof AbstractGolemioError) {
|
|
88
83
|
throw error;
|
|
89
84
|
}
|
|
90
|
-
throw new
|
|
85
|
+
throw new GeneralError("Error while processing departures", this.constructor.name, error, 500);
|
|
91
86
|
}
|
|
92
87
|
finally {
|
|
93
88
|
spanProcessing?.end();
|
|
@@ -95,42 +90,42 @@ class PIDDepartureBoardsModel {
|
|
|
95
90
|
//#endregion
|
|
96
91
|
}
|
|
97
92
|
async retrieveAndReturnStops(options) {
|
|
98
|
-
const spanStops =
|
|
93
|
+
const spanStops = createChildSpan("V2PIDRouter.DB.stops");
|
|
99
94
|
spanStops?.setAttributes({ ...options, timeFrom: options.timeFrom?.toString() });
|
|
100
95
|
try {
|
|
101
|
-
const stopsToInclude = await
|
|
96
|
+
const stopsToInclude = await models.GTFSStopModel.GetAll({
|
|
102
97
|
includeMetroTrains: options.includeMetroTrains,
|
|
103
98
|
appendAswId: true,
|
|
104
99
|
aswIds: options.aswIds,
|
|
105
100
|
cisIds: options.cisIds,
|
|
106
101
|
gtfsIds: options.gtfsIds,
|
|
107
102
|
limit: STOPS_MAX_COUNT + 1,
|
|
108
|
-
locationType:
|
|
103
|
+
locationType: GtfsStopLocationType.StopOrPlatform,
|
|
109
104
|
names: options.names,
|
|
110
105
|
returnRaw: true,
|
|
111
106
|
});
|
|
112
107
|
if (stopsToInclude.length === 0) {
|
|
113
|
-
throw new
|
|
108
|
+
throw new GeneralError("No stops found.", this.constructor.name, undefined, 404);
|
|
114
109
|
}
|
|
115
110
|
else if (stopsToInclude.length > STOPS_MAX_COUNT) {
|
|
116
|
-
throw new
|
|
111
|
+
throw new GeneralError(`Too many stops, try lower number or split requests. The maximum is ${STOPS_MAX_COUNT} stops.`, this.constructor.name, undefined, 413);
|
|
117
112
|
}
|
|
118
113
|
const stopIds = stopsToInclude.map(({ stop_id }) => stop_id);
|
|
119
114
|
return { stopsToInclude, stopIds };
|
|
120
115
|
}
|
|
121
116
|
catch (error) {
|
|
122
117
|
spanStops?.recordException(error);
|
|
123
|
-
if (error instanceof
|
|
118
|
+
if (error instanceof AbstractGolemioError) {
|
|
124
119
|
throw error;
|
|
125
120
|
}
|
|
126
|
-
throw new
|
|
121
|
+
throw new GeneralError("Error while getting stops", this.constructor.name, error, 500);
|
|
127
122
|
}
|
|
128
123
|
finally {
|
|
129
124
|
spanStops?.end();
|
|
130
125
|
}
|
|
131
126
|
}
|
|
132
127
|
async retrieveAndReturnInfotexts(stopIds, currentMoment, options) {
|
|
133
|
-
const spanInfotexts =
|
|
128
|
+
const spanInfotexts = createChildSpan("V2PIDRouter.DB.infotexts");
|
|
134
129
|
try {
|
|
135
130
|
return await this.infotextFacade.getInfotextsForDepartureBoards(stopIds, currentMoment, options);
|
|
136
131
|
}
|
|
@@ -143,23 +138,23 @@ class PIDDepartureBoardsModel {
|
|
|
143
138
|
}
|
|
144
139
|
}
|
|
145
140
|
async retrieveAndReturnDirections(stopIds) {
|
|
146
|
-
const spanDirections =
|
|
141
|
+
const spanDirections = createChildSpan("V2PIDRouter.DB.directions");
|
|
147
142
|
try {
|
|
148
143
|
return await this.ropidDeparturesDirectionsModel.GetAll(stopIds);
|
|
149
144
|
}
|
|
150
145
|
catch (error) {
|
|
151
146
|
spanDirections?.recordException(error);
|
|
152
|
-
if (error instanceof
|
|
147
|
+
if (error instanceof AbstractGolemioError) {
|
|
153
148
|
throw error;
|
|
154
149
|
}
|
|
155
|
-
throw new
|
|
150
|
+
throw new GeneralError("Error while getting directions", this.constructor.name, error, 500);
|
|
156
151
|
}
|
|
157
152
|
finally {
|
|
158
153
|
spanDirections?.end();
|
|
159
154
|
}
|
|
160
155
|
}
|
|
161
156
|
async retrieveAndReturnDepartures(stopIds, currentMoment, options) {
|
|
162
|
-
const spanDepartures =
|
|
157
|
+
const spanDepartures = createChildSpan("V2PIDRouter.DB.departures");
|
|
163
158
|
spanDepartures?.setAttributes({ stopIds });
|
|
164
159
|
try {
|
|
165
160
|
const minutesOffset = options.timeFrom ? options.timeFrom.diff(currentMoment, "minutes") : 0;
|
|
@@ -175,10 +170,10 @@ class PIDDepartureBoardsModel {
|
|
|
175
170
|
}
|
|
176
171
|
catch (error) {
|
|
177
172
|
spanDepartures?.recordException(error);
|
|
178
|
-
if (error instanceof
|
|
173
|
+
if (error instanceof AbstractGolemioError) {
|
|
179
174
|
throw error;
|
|
180
175
|
}
|
|
181
|
-
throw new
|
|
176
|
+
throw new GeneralError("Error while getting departures", this.constructor.name, error, 500);
|
|
182
177
|
}
|
|
183
178
|
finally {
|
|
184
179
|
spanDepartures?.end();
|
|
@@ -187,7 +182,7 @@ class PIDDepartureBoardsModel {
|
|
|
187
182
|
async retrieveAndReturnRunTrips(runTuples) {
|
|
188
183
|
const runScheduleMap = new Map();
|
|
189
184
|
const tripIds = new Set();
|
|
190
|
-
const spanRunTrips =
|
|
185
|
+
const spanRunTrips = createChildSpan("V2PIDRouter.Redis.runTrips");
|
|
191
186
|
try {
|
|
192
187
|
const runTuplesArray = Array.from(runTuples);
|
|
193
188
|
const runSchedule = await this.runTripsRedisRepository.getMultipleSchedule(runTuplesArray);
|
|
@@ -222,7 +217,7 @@ class PIDDepartureBoardsModel {
|
|
|
222
217
|
}
|
|
223
218
|
async retrieveAndReturnUntrackedTrips(tripIds) {
|
|
224
219
|
let untrackedTrips = new Set();
|
|
225
|
-
const spanUntrackedTrips =
|
|
220
|
+
const spanUntrackedTrips = createChildSpan("V2PIDRouter.Redis.untrackedTrips");
|
|
226
221
|
try {
|
|
227
222
|
const tripIdsArray = Array.from(tripIds);
|
|
228
223
|
untrackedTrips = await this.positionsRedisRepository.getTripsWithUntrackedVehicles(tripIdsArray);
|
|
@@ -240,5 +235,5 @@ class PIDDepartureBoardsModel {
|
|
|
240
235
|
}
|
|
241
236
|
}
|
|
242
237
|
}
|
|
243
|
-
|
|
238
|
+
export { PIDDepartureBoardsModel };
|
|
244
239
|
//# sourceMappingURL=PIDDepartureBoardsModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PIDDepartureBoardsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/models/PIDDepartureBoardsModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PIDDepartureBoardsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/models/PIDDepartureBoardsModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAOrD,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAChG,OAAO,iBAAiB,MAAM,6CAA6C,CAAC;AAC5E,MAAM,EAAE,oBAAoB,EAAE,YAAY,EAAE,GAAG,iBAAiB,CAAC;AAEjE,OAAO,MAAM,MAAM,8CAA8C,CAAC;AAGlE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,kBAAkB,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,MAAM,eAAe,GAAG,GAAG,CAAC;AAE5B,0EAA0E;AAC1E,sEAAsE;AACtE,MAAM,uBAAuB;IAQzB;QACI,IAAI,CAAC,GAAG,GAAG,cAAc,CAAC,OAAO,CAAU,SAAS,CAAC,MAAM,CAAC,CAAC;QAC7D,IAAI,CAAC,8BAA8B,GAAG,IAAI,8BAA8B,EAAE,CAAC;QAC3E,I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aACtB,CAAC;QACN,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,YAAY,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;YACrC,IAAI,CAAC,GAAG,CAAC,KAAK,CACV,KAAK;YACL,mCAAmC;YACnC,mIAAmI,CACtI,CAAC;YACF,OAAO;gBACH,WAAW,EAAE,cAAc;gBAC3B,UAAU,EAAE,OAAO;aACtB,CAAC;QACN,CAAC;gBAAS,CAAC;YACP,YAAY,EAAE,GAAG,EAAE,CAAC;QACxB,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,+BAA+B,CAAC,OAAoB;QAC9D,IAAI,cAAc,GAAgB,IAAI,GAAG,EAAE,CAAC;QAC5C,MAAM,kBAAkB,GAAG,eAAe,CAAC,kCAAkC,CAAC,CAAC;QAE/E,IAAI,CAAC;YACD,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACzC,cAAc,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC;YACjG,OAAO,cAAc,CAAC;QAC1B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,kBAAkB,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;YAC3C,IAAI,CAAC,GAAG,CAAC,KAAK,CACV,KAAK;YACL,mCAAmC;YACnC,sIAAsI,CACzI,CAAC;YACF,OAAO,cAAc,CAAC;QAC1B,CAAC;gBAAS,CAAC;YACP,kBAAkB,EAAE,GAAG,EAAE,CAAC;QAC9B,CAAC;IACL,CAAC;CACJ;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IRopidDeparturesDirectionsOutput } from "
|
|
2
|
-
import { SequelizeModel } from "@golemio/core/dist/output-gateway";
|
|
1
|
+
import { type IRopidDeparturesDirectionsOutput } from "#sch/ropid-departures-directions/index";
|
|
2
|
+
import { SequelizeModel } from "@golemio/core/dist/output-gateway/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* Custom Postgres model for Ropid Departures Directions
|
|
5
5
|
*/
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.RopidDeparturesDirectionsModel = void 0;
|
|
7
|
-
const const_1 = require("../../../schema-definitions/const");
|
|
8
|
-
const ropid_departures_directions_1 = require("../../../schema-definitions/ropid-departures-directions");
|
|
9
|
-
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
10
|
-
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
1
|
+
import { PG_SCHEMA } from "#sch/const";
|
|
2
|
+
import { RopidDeparturesDirections, } from "#sch/ropid-departures-directions/index";
|
|
3
|
+
import { SequelizeModel } from "@golemio/core/dist/output-gateway/index.js";
|
|
4
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize.js";
|
|
11
5
|
/**
|
|
12
6
|
* Custom Postgres model for Ropid Departures Directions
|
|
13
7
|
*/
|
|
14
|
-
class RopidDeparturesDirectionsModel extends
|
|
8
|
+
export class RopidDeparturesDirectionsModel extends SequelizeModel {
|
|
15
9
|
constructor() {
|
|
16
|
-
super(
|
|
10
|
+
super(RopidDeparturesDirections.departureDirections.name + "Model", RopidDeparturesDirections.departureDirections.pgTableName, RopidDeparturesDirections.departureDirections.outputSequelizeAttributes, { schema: PG_SCHEMA });
|
|
17
11
|
this.convertItem = (item) => {
|
|
18
12
|
// converting types
|
|
19
13
|
return {
|
|
@@ -36,7 +30,7 @@ class RopidDeparturesDirectionsModel extends output_gateway_1.SequelizeModel {
|
|
|
36
30
|
return this.convertItems((await this.sequelizeModel.findAll({
|
|
37
31
|
where: {
|
|
38
32
|
departure_stop_id: {
|
|
39
|
-
[
|
|
33
|
+
[Sequelize.Op.in]: stopsIds,
|
|
40
34
|
},
|
|
41
35
|
},
|
|
42
36
|
order: [
|
|
@@ -47,5 +41,4 @@ class RopidDeparturesDirectionsModel extends output_gateway_1.SequelizeModel {
|
|
|
47
41
|
})));
|
|
48
42
|
}
|
|
49
43
|
}
|
|
50
|
-
exports.RopidDeparturesDirectionsModel = RopidDeparturesDirectionsModel;
|
|
51
44
|
//# sourceMappingURL=RopidDeparturesDirectionsModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RopidDeparturesDirectionsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/models/RopidDeparturesDirectionsModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RopidDeparturesDirectionsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/models/RopidDeparturesDirectionsModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAIH,yBAAyB,GAC5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAE/D;;GAEG;AACH,MAAM,OAAO,8BAA+B,SAAQ,cAAc;IAC9D;QACI,KAAK,CACD,yBAAyB,CAAC,mBAAmB,CAAC,IAAI,GAAG,OAAO,EAC5D,yBAAyB,CAAC,mBAAmB,CAAC,WAAW,EACzD,yBAAyB,CAAC,mBAAmB,CAAC,yBAAyB,EACvE,EAAE,MAAM,EAAE,SAAS,EAAE,CACxB,CAAC;QAOE,gBAAW,GAAG,CAAC,IAA0C,EAAoC,EAAE;YACnG,mBAAmB;YACnB,OAAO;gBACH,GAAG,IAAI;gBACP,mBAAmB,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC;gBACzD,SAAS,EAAE,IAAI,CAAC,SAAqC;aACpB,CAAC;QAC1C,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,KAA6C,EAAsC,EAAE;YACzG,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;QACvD,CAAC,CAAC;IAjBF,CAAC;IAED,MAAM,CAAC,EAAO;QACV,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;IAeD,KAAK,CAAC,MAAM,CAAC,QAAkB;QAC3B,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrC,OAAO,EAAwC,CAAC;QACpD,CAAC;QACD,OAAO,IAAI,CAAC,YAAY,CACpB,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;YAC/B,KAAK,EAAE;gBACH,iBAAiB,EAAE;oBACf,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ;iBAC9B;aACJ;YACD,KAAK,EAAE;gBACH,CAAC,mBAAmB,EAAE,KAAK,CAAC;gBAC5B,CAAC,YAAY,EAAE,KAAK,CAAC;aACxB;YACD,GAAG,EAAE,IAAI;SACZ,CAAC,CAA2C,CAChD,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DepartureFilter } from "
|
|
2
|
-
import { DepartureUnion } from "
|
|
1
|
+
import { DepartureFilter } from "#og/pid/helpers/enums/DepartureFilter";
|
|
2
|
+
import { type DepartureUnion } from "#og/pid/interfaces/DepartureUnion";
|
|
3
3
|
/** SplitDepartures type
|
|
4
4
|
* Departures in once array are the ones we want to show on Departure board.
|
|
5
5
|
* Fill array is only used for some filters allowing to fill final result with
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.FilterHelper = void 0;
|
|
4
|
-
const DepartureFilter_1 = require("../../helpers/enums/DepartureFilter");
|
|
5
|
-
class FilterHelper {
|
|
1
|
+
import { DepartureFilter } from "#og/pid/helpers/enums/DepartureFilter";
|
|
2
|
+
export class FilterHelper {
|
|
6
3
|
static routeOnceHeadingCondition(accumulator, currentDeparture) {
|
|
7
4
|
// only the first departure to respone for trips with same route_id and heading
|
|
8
5
|
return !FilterHelper.isInOnceBucketWithHeading(accumulator, currentDeparture);
|
|
@@ -17,9 +14,9 @@ class FilterHelper {
|
|
|
17
14
|
return !FilterHelper.isInOnceBucket(accumulator, currentDeparture);
|
|
18
15
|
}
|
|
19
16
|
static isFillFilterType(filter) {
|
|
20
|
-
return (filter ===
|
|
21
|
-
filter ===
|
|
22
|
-
filter ===
|
|
17
|
+
return (filter === DepartureFilter.ROUTE_ONCE_FILL ||
|
|
18
|
+
filter === DepartureFilter.ROUTE_HEADING_ONCE_FILL ||
|
|
19
|
+
filter === DepartureFilter.ROUTE_HEADING_ONCE_NOGAP_FILL);
|
|
23
20
|
}
|
|
24
21
|
static isInFillBucket(accumulator, currentDeparture) {
|
|
25
22
|
return accumulator.fill.some((e) => FilterHelper.sameRouteId(e, currentDeparture) && FilterHelper.samePlatformCode(e, currentDeparture));
|
|
@@ -48,7 +45,6 @@ class FilterHelper {
|
|
|
48
45
|
return accumulator.once.findIndex((e) => e.route_id === currentDeparture.route_id) >= 0;
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
|
-
exports.FilterHelper = FilterHelper;
|
|
52
48
|
FilterHelper.routeId = "route_id";
|
|
53
49
|
FilterHelper.platformCode = "platform_code";
|
|
54
50
|
FilterHelper.tripCisStopPlatformCode = "trip.cis_stop_platform_code";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterHelper.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/models/helpers/FilterHelper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilterHelper.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/models/helpers/FilterHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAYxE,MAAM,OAAO,YAAY;IA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AAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC5F,CAAC;;AA9EuB,oBAAO,GAAG,UAAU,CAAC;AACrB,yBAAY,GAAG,eAAe,CAAC;AAC/B,oCAAuB,GAAG,6BAA6B,CAAC;AACxD,yBAAY,GAAG,eAAe,CAAC;AAC/B,yBAAY,GAAG,eAAe,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DepartureUnion } from "
|
|
2
|
-
import { IPIDDeparture } from "
|
|
3
|
-
import { ITransferDeparture } from "
|
|
4
|
-
import IPIDDepartureQueryOptions from "./interfaces/IPIDDepartureQueryOptions";
|
|
1
|
+
import { type DepartureUnion } from "#og/pid/interfaces/DepartureUnion";
|
|
2
|
+
import { type IPIDDeparture } from "#og/pid/interfaces/IPIDDeparture";
|
|
3
|
+
import { type ITransferDeparture } from "#og/pid/interfaces/ITransferDeparture";
|
|
4
|
+
import type IPIDDepartureQueryOptions from "./interfaces/IPIDDepartureQueryOptions.js";
|
|
5
5
|
export default class PIDDeparturesModel {
|
|
6
6
|
private departures;
|
|
7
7
|
private options;
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const DepartureMode_1 = require("../../helpers/enums/DepartureMode");
|
|
8
|
-
const DepartureOrder_1 = require("../../helpers/enums/DepartureOrder");
|
|
9
|
-
const DepartureSkip_1 = require("../../helpers/enums/DepartureSkip");
|
|
10
|
-
const FilterHelper_1 = require("./FilterHelper");
|
|
11
|
-
const SkipHelper_1 = require("./SkipHelper");
|
|
1
|
+
import DepartureBoardMapper from "#og/pid/helpers/DepartureBoardMapper";
|
|
2
|
+
import { DepartureMode } from "#og/pid/helpers/enums/DepartureMode";
|
|
3
|
+
import { DepartureOrder } from "#og/pid/helpers/enums/DepartureOrder";
|
|
4
|
+
import { DepartureSkip } from "#og/pid/helpers/enums/DepartureSkip";
|
|
5
|
+
import { FilterHelper } from "./FilterHelper.js";
|
|
6
|
+
import { SkipHelper } from "./SkipHelper.js";
|
|
12
7
|
class PIDDeparturesModel {
|
|
13
8
|
constructor(departures, options) {
|
|
14
9
|
this.toArray = () => {
|
|
15
10
|
this.toArrayInternal();
|
|
16
|
-
return
|
|
11
|
+
return DepartureBoardMapper.mapDepartures(this, this.options.timezone, this.options.mode, this.options.appendHeadsignsLimit);
|
|
17
12
|
};
|
|
18
13
|
this.toArrayInternal = (shouldIncludeDirections = true) => {
|
|
19
14
|
this.skip();
|
|
@@ -28,7 +23,7 @@ class PIDDeparturesModel {
|
|
|
28
23
|
*/
|
|
29
24
|
this.filterAndLimit = () => {
|
|
30
25
|
const finalDepartures = this.filterDepartures();
|
|
31
|
-
if (
|
|
26
|
+
if (FilterHelper.isFillFilterType(this.options.filter)) {
|
|
32
27
|
// return all once in limit and if still under limit fill it with others
|
|
33
28
|
this.departures = finalDepartures.once
|
|
34
29
|
.slice(0, this.options.total)
|
|
@@ -53,36 +48,36 @@ class PIDDeparturesModel {
|
|
|
53
48
|
let isSkipCanceled = false;
|
|
54
49
|
let isSkipAtStop = false;
|
|
55
50
|
for (const skip of this.options.skip) {
|
|
56
|
-
if (skip ===
|
|
51
|
+
if (skip === DepartureSkip.UNTRACKED) {
|
|
57
52
|
isSkipUntracked = true;
|
|
58
53
|
}
|
|
59
|
-
else if (skip ===
|
|
54
|
+
else if (skip === DepartureSkip.MISSING) {
|
|
60
55
|
isSkipMissing = true;
|
|
61
56
|
}
|
|
62
|
-
else if (skip ===
|
|
57
|
+
else if (skip === DepartureSkip.CANCELED) {
|
|
63
58
|
isSkipCanceled = true;
|
|
64
59
|
}
|
|
65
|
-
else if (skip ===
|
|
60
|
+
else if (skip === DepartureSkip.AT_STOP) {
|
|
66
61
|
isSkipAtStop = true;
|
|
67
62
|
}
|
|
68
63
|
}
|
|
69
|
-
return !((this.options.tripNumber &&
|
|
70
|
-
(isSkipUntracked &&
|
|
64
|
+
return !((this.options.tripNumber && SkipHelper.isMatchingTripNumber(departure, this.options.tripNumber)) ||
|
|
65
|
+
(isSkipUntracked && SkipHelper.hasNoDelayInfo(departure)) ||
|
|
71
66
|
(!isSkipUntracked &&
|
|
72
67
|
isSkipMissing &&
|
|
73
|
-
|
|
74
|
-
(isSkipCanceled &&
|
|
75
|
-
(isSkipAtStop &&
|
|
68
|
+
SkipHelper.isVehicleMissing(departure, this.options.runScheduleMap, this.options.untrackedTrips)) ||
|
|
69
|
+
(isSkipCanceled && SkipHelper.isTripCanceled(departure)) ||
|
|
70
|
+
(isSkipAtStop && SkipHelper.isVehicleAtStop(departure)));
|
|
76
71
|
});
|
|
77
72
|
};
|
|
78
73
|
/** Sorts by proper datetime by given options
|
|
79
74
|
*/
|
|
80
75
|
this.sort = () => {
|
|
81
|
-
const datetimeToOrder = this.options.mode ===
|
|
82
|
-
? this.options.order ===
|
|
76
|
+
const datetimeToOrder = this.options.mode === DepartureMode.ARRIVALS
|
|
77
|
+
? this.options.order === DepartureOrder.REAL
|
|
83
78
|
? "arrival_datetime_real"
|
|
84
79
|
: "arrival_datetime"
|
|
85
|
-
: this.options.order ===
|
|
80
|
+
: this.options.order === DepartureOrder.REAL
|
|
86
81
|
? "departure_datetime_real"
|
|
87
82
|
: "departure_datetime";
|
|
88
83
|
this.departures = this.departures.sort((a, b) => a[datetimeToOrder].getTime() - b[datetimeToOrder].getTime());
|
|
@@ -133,13 +128,13 @@ class PIDDeparturesModel {
|
|
|
133
128
|
}
|
|
134
129
|
}
|
|
135
130
|
PIDDeparturesModel.FilterConditionMap = {
|
|
136
|
-
routeOnce:
|
|
137
|
-
routeOnceFill:
|
|
138
|
-
routeHeadingOnce:
|
|
139
|
-
routeHeadingOnceFill:
|
|
140
|
-
routeHeadingOnceNoGap:
|
|
141
|
-
routeHeadingOnceNoGapFill:
|
|
131
|
+
routeOnce: FilterHelper.routeOnceCondition,
|
|
132
|
+
routeOnceFill: FilterHelper.routeOnceCondition,
|
|
133
|
+
routeHeadingOnce: FilterHelper.routeOnceHeadingCondition,
|
|
134
|
+
routeHeadingOnceFill: FilterHelper.routeOnceHeadingCondition,
|
|
135
|
+
routeHeadingOnceNoGap: FilterHelper.routeOnceHeadingNoGapCondition,
|
|
136
|
+
routeHeadingOnceNoGapFill: FilterHelper.routeOnceHeadingNoGapCondition,
|
|
142
137
|
none: undefined,
|
|
143
138
|
};
|
|
144
|
-
|
|
139
|
+
export default PIDDeparturesModel;
|
|
145
140
|
//# sourceMappingURL=PIDDepartureModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PIDDepartureModel.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/models/helpers/PIDDepartureModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PIDDepartureModel.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/models/helpers/PIDDepartureModel.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIpE,OAAO,EAA6B,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,MAAqB,kBAAkB;IAcnC,YAAY,UAA4B,EAAE,OAAkC;QAKrE,YAAO,GAAG,GAAoB,EAAE;YACnC,IAAI,CAAC,eAAe,EAAE,CAAC;YAEvB,OAAO,oBAAoB,CAAC,aAAa,CACrC,IAAI,EACJ,IAAI,CAAC,OAAO,CAAC,QAAQ,EACrB,IAAI,CAAC,OAAO,CAAC,IAAI,EACjB,IAAI,CAAC,OAAO,CAAC,oBAAoB,CACpC,CAAC;QACN,CAAC,CAAC;Q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C,CAAC;iBAAM,CAAC;gBACJ,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACpC,CAAC;YACD,OAAO,GAAG,CAAC;QACf,CAAC,EACD,EAAE,IAAI,EAAE,EAAsB,EAAE,IAAI,EAAE,EAAsB,EAAE,CACjE,CAAC;IACN,CAAC;;AAjKc,qCAAkB,GAA8D;IAC3F,SAAS,EAAE,YAAY,CAAC,kBAAkB;IAC1C,aAAa,EAAE,YAAY,CAAC,kBAAkB;IAC9C,gBAAgB,EAAE,YAAY,CAAC,yBAAyB;IACxD,oBAAoB,EAAE,YAAY,CAAC,yBAAyB;IAC5D,qBAAqB,EAAE,YAAY,CAAC,8BAA8B;IAClE,yBAAyB,EAAE,YAAY,CAAC,8BAA8B;IACtE,IAAI,EAAE,SAAS;CAClB,AARgC,CAQ/B;eAZe,kBAAkB"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunHelper = void 0;
|
|
4
|
-
class RunHelper {
|
|
1
|
+
export class RunHelper {
|
|
5
2
|
static composeRunId(routeId, runNumber) {
|
|
6
3
|
// Route ID is guaranteed to start with the "L" letter
|
|
7
4
|
return `${routeId.slice(1)}_${runNumber}`;
|
|
8
5
|
}
|
|
9
6
|
}
|
|
10
|
-
exports.RunHelper = RunHelper;
|
|
11
7
|
//# sourceMappingURL=RunHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunHelper.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/models/helpers/RunHelper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RunHelper.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/models/helpers/RunHelper.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,SAAS;IACX,MAAM,CAAC,YAAY,CAAC,OAAe,EAAE,SAAiB;QACzD,sDAAsD;QACtD,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,SAAS,EAAE,CAAC;IAC9C,CAAC;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DepartureUnion } from "
|
|
2
|
-
import type { IScheduleDto } from "
|
|
1
|
+
import type { DepartureUnion } from "#og/pid/interfaces/DepartureUnion";
|
|
2
|
+
import type { IScheduleDto } from "#sch/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto";
|
|
3
3
|
export declare class SkipHelper {
|
|
4
4
|
/**
|
|
5
5
|
* Used exclusively in transfer boards to skip transfers for the current trip
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const RouteTypeEnums_1 = require("../../../../helpers/RouteTypeEnums");
|
|
5
|
-
const RunHelper_1 = require("./RunHelper");
|
|
6
|
-
const const_1 = require("./const");
|
|
1
|
+
import { GTFSRouteTypeEnum } from "#helpers/RouteTypeEnums";
|
|
2
|
+
import { RunHelper } from "./RunHelper.js";
|
|
3
|
+
import { DEPARTURED_MINUTES_THRESHOLD, START_SOON_METRO_MINUTES_THRESHOLD, START_SOON_MINUTES_THRESHOLD, TRIP_GAP_MINUTES_THRESHOLD, } from "./const.js";
|
|
7
4
|
/** Extracts the last numeric sequence from strings like:
|
|
8
5
|
* Os 1111 -> 1111
|
|
9
6
|
* Os 1111 B -> 1111
|
|
10
7
|
* Rx 1/1111 A -> 1111
|
|
11
8
|
*/
|
|
12
9
|
const TRIP_NUMBER_REGEX = /(\d+)(?!.*\d)/;
|
|
13
|
-
class SkipHelper {
|
|
10
|
+
export class SkipHelper {
|
|
14
11
|
/**
|
|
15
12
|
* Used exclusively in transfer boards to skip transfers for the current trip
|
|
16
13
|
* (i.e., transfers within the vehicle where the transfer board is located)
|
|
@@ -58,7 +55,7 @@ class SkipHelper {
|
|
|
58
55
|
return true;
|
|
59
56
|
}
|
|
60
57
|
// Cannot determine missing status without run schedule information
|
|
61
|
-
const runSchedule = runScheduleMap?.get(
|
|
58
|
+
const runSchedule = runScheduleMap?.get(RunHelper.composeRunId(departure.route_id, departure.run_number));
|
|
62
59
|
if (!runSchedule) {
|
|
63
60
|
return false;
|
|
64
61
|
}
|
|
@@ -112,16 +109,15 @@ class SkipHelper {
|
|
|
112
109
|
return isAtStop || isPassStop || isFinished;
|
|
113
110
|
}
|
|
114
111
|
static isOutsideStartThreshold(minutesToStart, routeType) {
|
|
115
|
-
const isMetro = routeType ===
|
|
116
|
-
return isMetro ? minutesToStart >=
|
|
112
|
+
const isMetro = routeType === GTFSRouteTypeEnum.METRO;
|
|
113
|
+
return isMetro ? minutesToStart >= START_SOON_METRO_MINUTES_THRESHOLD : minutesToStart >= START_SOON_MINUTES_THRESHOLD;
|
|
117
114
|
}
|
|
118
115
|
static hasAlreadyDeparted(minutesToStart) {
|
|
119
|
-
return minutesToStart <
|
|
116
|
+
return minutesToStart < DEPARTURED_MINUTES_THRESHOLD;
|
|
120
117
|
}
|
|
121
118
|
static hasLargeTimegapBetweenTrips(endTimestamp, startTimestamp) {
|
|
122
119
|
const minutesAfterPrevious = (startTimestamp.getTime() - endTimestamp.getTime()) / 60000;
|
|
123
|
-
return minutesAfterPrevious >=
|
|
120
|
+
return minutesAfterPrevious >= TRIP_GAP_MINUTES_THRESHOLD;
|
|
124
121
|
}
|
|
125
122
|
}
|
|
126
|
-
exports.SkipHelper = SkipHelper;
|
|
127
123
|
//# sourceMappingURL=SkipHelper.js.map
|