@golemio/pid 3.12.1 → 3.12.2-dev.1781559757

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/db/example/00_clear_test_data.sql +3 -1
  2. package/db/example/22_jis_events.sql +551 -0
  3. package/db/migrations/postgresql/20250415115907-jis-events.js +53 -0
  4. package/db/migrations/postgresql/sqls/20250415115907-jis-events-down.sql +3 -0
  5. package/db/migrations/postgresql/sqls/20250415115907-jis-events-up.sql +30 -0
  6. package/dist/{output-gateway/shared/constants/jis/InfotextSeverityLevelEnum.d.ts → helpers/jis/JISEventSeverityLevelEnum.d.ts} +1 -1
  7. package/dist/helpers/jis/JISEventSeverityLevelEnum.js +10 -0
  8. package/dist/helpers/jis/JISEventSeverityLevelEnum.js.map +1 -0
  9. package/dist/helpers/jis/JISInfotextSeverityLevelEnum.d.ts +5 -0
  10. package/dist/helpers/jis/JISInfotextSeverityLevelEnum.js +10 -0
  11. package/dist/helpers/jis/JISInfotextSeverityLevelEnum.js.map +1 -0
  12. package/dist/input-gateway/jis/JisInfotextsRouter.d.ts +4 -2
  13. package/dist/input-gateway/jis/JisInfotextsRouter.js +19 -5
  14. package/dist/input-gateway/jis/JisInfotextsRouter.js.map +1 -1
  15. package/dist/input-gateway/jis/controllers/JisEventsController.d.ts +9 -0
  16. package/dist/input-gateway/jis/controllers/JisEventsController.js +28 -0
  17. package/dist/input-gateway/jis/controllers/JisEventsController.js.map +1 -0
  18. package/dist/input-gateway/jis/{JisInfotextsController.js → controllers/JisInfotextsController.js} +1 -1
  19. package/dist/input-gateway/jis/controllers/JisInfotextsController.js.map +1 -0
  20. package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js +0 -1
  21. package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js.map +1 -1
  22. package/dist/integration-engine/data-retention/ioc/RetentionContainerToken.js +1 -1
  23. package/dist/integration-engine/data-retention/ioc/RetentionContainerToken.js.map +1 -1
  24. package/dist/integration-engine/ioc/ModuleContainerToken.js +9 -9
  25. package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
  26. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.d.ts +10 -0
  27. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js +52 -0
  28. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js.map +1 -0
  29. package/dist/integration-engine/jis/ioc/Di.js +16 -2
  30. package/dist/integration-engine/jis/ioc/Di.js.map +1 -1
  31. package/dist/integration-engine/jis/ioc/JISContainerToken.d.ts +8 -1
  32. package/dist/integration-engine/jis/ioc/JISContainerToken.js +15 -8
  33. package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -1
  34. package/dist/integration-engine/jis/repositories/JISEventsRepository.d.ts +29 -0
  35. package/dist/integration-engine/jis/repositories/JISEventsRepository.js +113 -0
  36. package/dist/integration-engine/jis/repositories/JISEventsRepository.js.map +1 -0
  37. package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.d.ts +30 -0
  38. package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.js +88 -0
  39. package/dist/integration-engine/jis/repositories/JISEventsRopidGTFSRoutesRepository.js.map +1 -0
  40. package/dist/integration-engine/jis/services/JISEventsDataService.d.ts +20 -0
  41. package/dist/integration-engine/jis/services/JISEventsDataService.js +74 -0
  42. package/dist/integration-engine/jis/services/JISEventsDataService.js.map +1 -0
  43. package/dist/integration-engine/jis/transformations/JISEventsTransformation.d.ts +13 -0
  44. package/dist/integration-engine/jis/transformations/JISEventsTransformation.js +48 -0
  45. package/dist/integration-engine/jis/transformations/JISEventsTransformation.js.map +1 -0
  46. package/dist/integration-engine/jis/workers/JISWorker.js +3 -1
  47. package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -1
  48. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.d.ts +9 -0
  49. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js +50 -0
  50. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js.map +1 -0
  51. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.d.ts +15 -0
  52. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js +61 -0
  53. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js.map +1 -0
  54. package/dist/integration-engine/ropid-gtfs/data-access/cache/DelayComputationRedisRepository.js.map +1 -1
  55. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js +29 -29
  56. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js.map +1 -1
  57. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js +43 -43
  58. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js.map +1 -1
  59. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.js.map +1 -1
  60. package/dist/output-gateway/pid/ioc/OgPidToken.js +22 -22
  61. package/dist/output-gateway/pid/ioc/OgPidToken.js.map +1 -1
  62. package/dist/output-gateway/pid/service/helpers/PriorityMapper.d.ts +2 -2
  63. package/dist/output-gateway/pid/service/helpers/PriorityMapper.js +4 -4
  64. package/dist/output-gateway/pid/service/helpers/PriorityMapper.js.map +1 -1
  65. package/dist/output-gateway/public/ioc/OgModuleToken.js +26 -26
  66. package/dist/output-gateway/public/ioc/OgModuleToken.js.map +1 -1
  67. package/dist/schema-definitions/jis/constants/jisEventCause.d.ts +1 -0
  68. package/dist/schema-definitions/jis/constants/jisEventCause.js +18 -0
  69. package/dist/schema-definitions/jis/constants/jisEventCause.js.map +1 -0
  70. package/dist/schema-definitions/jis/constants/jisEventEffect.d.ts +1 -0
  71. package/dist/schema-definitions/jis/constants/jisEventEffect.js +17 -0
  72. package/dist/schema-definitions/jis/constants/jisEventEffect.js.map +1 -0
  73. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.d.ts +3 -0
  74. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js +88 -0
  75. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js.map +1 -0
  76. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js +2 -2
  77. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js.map +1 -1
  78. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.d.ts +25 -0
  79. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.js +3 -0
  80. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.js.map +1 -0
  81. package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.d.ts +3 -0
  82. package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.js +3 -0
  83. package/dist/schema-definitions/jis/datasources/interfaces/IJISEventRoute.js.map +1 -0
  84. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.d.ts +2 -2
  85. package/dist/schema-definitions/jis/datasources/interfaces/index.d.ts +2 -0
  86. package/dist/schema-definitions/jis/datasources/interfaces/index.js +2 -0
  87. package/dist/schema-definitions/jis/datasources/interfaces/index.js.map +1 -1
  88. package/dist/schema-definitions/jis/models/JISEventsModel.d.ts +28 -0
  89. package/dist/schema-definitions/jis/models/JISEventsModel.js +137 -0
  90. package/dist/schema-definitions/jis/models/JISEventsModel.js.map +1 -0
  91. package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.d.ts +12 -0
  92. package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.js +41 -0
  93. package/dist/schema-definitions/jis/models/JISEventsRopidGTFSRoutesModel.js.map +1 -0
  94. package/dist/schema-definitions/jis/models/JISInfotextsModel.d.ts +2 -2
  95. package/dist/schema-definitions/jis/models/JISInfotextsModel.js +3 -3
  96. package/dist/schema-definitions/jis/models/JISInfotextsModel.js.map +1 -1
  97. package/dist/schema-definitions/jis/models/interfaces/IJISEvent.d.ts +19 -0
  98. package/dist/schema-definitions/jis/models/interfaces/IJISEvent.js +3 -0
  99. package/dist/schema-definitions/jis/models/interfaces/IJISEvent.js.map +1 -0
  100. package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.d.ts +4 -0
  101. package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.js +3 -0
  102. package/dist/schema-definitions/jis/models/interfaces/IJISEventsRopidGTFSRoutes.js.map +1 -0
  103. package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.d.ts +2 -2
  104. package/dist/schema-definitions/jis/models/interfaces/index.d.ts +2 -0
  105. package/dist/schema-definitions/jis/models/interfaces/index.js +2 -0
  106. package/dist/schema-definitions/jis/models/interfaces/index.js.map +1 -1
  107. package/docs/assets/pid_jis_erd.png +0 -0
  108. package/docs/asyncapi.yaml +278 -55
  109. package/docs/implementation_documentation.md +45 -1
  110. package/docs/openapi-input.yaml +328 -58
  111. package/package.json +2 -2
  112. package/dist/input-gateway/jis/JisInfotextsController.js.map +0 -1
  113. package/dist/output-gateway/shared/constants/jis/InfotextSeverityLevelEnum.js +0 -10
  114. package/dist/output-gateway/shared/constants/jis/InfotextSeverityLevelEnum.js.map +0 -1
  115. /package/dist/input-gateway/jis/{JisInfotextsController.d.ts → controllers/JisInfotextsController.d.ts} +0 -0
@@ -3,58 +3,58 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VPContainerToken = void 0;
4
4
  const VPContainerToken = {
5
5
  //#region Vehicle Positions
6
- TripRepository: Symbol(),
7
- PublicStopTimeRepository: Symbol(),
8
- PublicApiCacheRepository: Symbol(),
9
- PublicStopTimeCacheRepository: Symbol(),
10
- PublicApiTripTransformation: Symbol(),
11
- GtfsTripDataFixerFactory: Symbol(),
12
- HttpGtfsTripDataFixer: Symbol(),
13
- RefreshPublicTripCacheTask: Symbol(),
14
- RefreshPublicStopTimeCacheTask: Symbol(),
15
- RefreshGtfsTripDataTask: Symbol(),
16
- PositionsManager: Symbol(),
17
- RegionalBusPositionsManager: Symbol(),
6
+ TripRepository: Symbol("TripRepository"),
7
+ PublicStopTimeRepository: Symbol("PublicStopTimeRepository"),
8
+ PublicApiCacheRepository: Symbol("PublicApiCacheRepository"),
9
+ PublicStopTimeCacheRepository: Symbol("PublicStopTimeCacheRepository"),
10
+ PublicApiTripTransformation: Symbol("PublicApiTripTransformation"),
11
+ GtfsTripDataFixerFactory: Symbol("GtfsTripDataFixerFactory"),
12
+ HttpGtfsTripDataFixer: Symbol("HttpGtfsTripDataFixer"),
13
+ RefreshPublicTripCacheTask: Symbol("RefreshPublicTripCacheTask"),
14
+ RefreshPublicStopTimeCacheTask: Symbol("RefreshPublicStopTimeCacheTask"),
15
+ RefreshGtfsTripDataTask: Symbol("RefreshGtfsTripDataTask"),
16
+ PositionsManager: Symbol("PositionsManager"),
17
+ RegionalBusPositionsManager: Symbol("RegionalBusPositionsManager"),
18
18
  //#endregion
19
19
  //#region Runs
20
- RegionalBusCisCacheRepository: Symbol(),
21
- RegionalBusGtfsCacheRepository: Symbol(),
22
- RegionalBusRunsMessagesRepository: Symbol(),
23
- RegionalBusRunsMessagesTransformation: Symbol(),
24
- CisLookupManager: Symbol(),
25
- GtfsLookupManager: Symbol(),
26
- TripScheduleManager: Symbol(),
27
- BusMessageFilter: Symbol(),
28
- TramMessageFilter: Symbol(),
29
- RegionalBusMessageFilter: Symbol(),
30
- RegionalBusRunsFacade: Symbol(),
31
- SaveArrivaCityRunsToDBTask: Symbol(),
32
- SaveTramRunsToDBTask: Symbol(),
33
- SaveBusRunsToDBTask: Symbol(),
34
- SaveMetroRunsToDBTask: Symbol(),
35
- ProcessMetroRunMessagesTask: Symbol(),
36
- ProcessRegionalBusRunMessagesTask: Symbol(),
37
- MetroRunsMessagesTransformation: Symbol(),
38
- CommonRunsMessagesTransformation: Symbol(),
20
+ RegionalBusCisCacheRepository: Symbol("RegionalBusCisCacheRepository"),
21
+ RegionalBusGtfsCacheRepository: Symbol("RegionalBusGtfsCacheRepository"),
22
+ RegionalBusRunsMessagesRepository: Symbol("RegionalBusRunsMessagesRepository"),
23
+ RegionalBusRunsMessagesTransformation: Symbol("RegionalBusRunsMessagesTransformation"),
24
+ CisLookupManager: Symbol("CisLookupManager"),
25
+ GtfsLookupManager: Symbol("GtfsLookupManager"),
26
+ TripScheduleManager: Symbol("TripScheduleManager"),
27
+ BusMessageFilter: Symbol("BusMessageFilter"),
28
+ TramMessageFilter: Symbol("TramMessageFilter"),
29
+ RegionalBusMessageFilter: Symbol("RegionalBusMessageFilter"),
30
+ RegionalBusRunsFacade: Symbol("RegionalBusRunsFacade"),
31
+ SaveArrivaCityRunsToDBTask: Symbol("SaveArrivaCityRunsToDBTask"),
32
+ SaveTramRunsToDBTask: Symbol("SaveTramRunsToDBTask"),
33
+ SaveBusRunsToDBTask: Symbol("SaveBusRunsToDBTask"),
34
+ SaveMetroRunsToDBTask: Symbol("SaveMetroRunsToDBTask"),
35
+ ProcessMetroRunMessagesTask: Symbol("ProcessMetroRunMessagesTask"),
36
+ ProcessRegionalBusRunMessagesTask: Symbol("ProcessRegionalBusRunMessagesTask"),
37
+ MetroRunsMessagesTransformation: Symbol("MetroRunsMessagesTransformation"),
38
+ CommonRunsMessagesTransformation: Symbol("CommonRunsMessagesTransformation"),
39
39
  //#endregion
40
40
  //#region Vehicle Descriptors
41
- SeznamAutobusuDataSourceProvider: Symbol(),
42
- DescriptorDataSourceFactory: Symbol(),
43
- DescriptorRepository: Symbol(),
44
- DescriptorTransformation: Symbol(),
45
- DescriptorFilter: Symbol(),
46
- RefreshDescriptorsTask: Symbol(),
47
- DeleteDataTask: Symbol(),
41
+ SeznamAutobusuDataSourceProvider: Symbol("SeznamAutobusuDataSourceProvider"),
42
+ DescriptorDataSourceFactory: Symbol("DescriptorDataSourceFactory"),
43
+ DescriptorRepository: Symbol("DescriptorRepository"),
44
+ DescriptorTransformation: Symbol("DescriptorTransformation"),
45
+ DescriptorFilter: Symbol("DescriptorFilter"),
46
+ RefreshDescriptorsTask: Symbol("RefreshDescriptorsTask"),
47
+ DeleteDataTask: Symbol("DeleteDataTask"),
48
48
  //#endregion
49
49
  //#region Vehicle Positions
50
50
  //#region DataAccess
51
- MetroRailtrackGPSRepository: Symbol(),
52
- CachedMetroRailTrackLookup: Symbol(),
51
+ MetroRailtrackGPSRepository: Symbol("MetroRailtrackGPSRepository"),
52
+ CachedMetroRailTrackLookup: Symbol("CachedMetroRailTrackLookup"),
53
53
  //#endregion
54
54
  //#region Helpers
55
- MetroShapePointsFixer: Symbol(),
56
- TimestampValidator: Symbol(),
57
- ValidToCalculator: Symbol(),
55
+ MetroShapePointsFixer: Symbol("MetroShapePointsFixer"),
56
+ TimestampValidator: Symbol("TimestampValidator"),
57
+ ValidToCalculator: Symbol("ValidToCalculator"),
58
58
  //#endregion
59
59
  //#endregion
60
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"VPContainerToken.js","sourceRoot":"","sources":["../../../../src/integration-engine/vehicle-positions/ioc/VPContainerToken.ts"],"names":[],"mappings":";;;AAAA,MAAM,gBAAgB,GAAG;IACrB,2BAA2B;IAC3B,cAAc,EAAE,MAAM,EAAE;IACxB,wBAAwB,EAAE,MAAM,EAAE;IAClC,wBAAwB,EAAE,MAAM,EAAE;IAClC,6BAA6B,EAAE,MAAM,EAAE;IACvC,2BAA2B,EAAE,MAAM,EAAE;IACrC,wBAAwB,EAAE,MAAM,EAAE;IAClC,qBAAqB,EAAE,MAAM,EAAE;IAC/B,0BAA0B,EAAE,MAAM,EAAE;IACpC,8BAA8B,EAAE,MAAM,EAAE;IACxC,uBAAuB,EAAE,MAAM,EAAE;IACjC,gBAAgB,EAAE,MAAM,EAAE;IAC1B,2BAA2B,EAAE,MAAM,EAAE;IACrC,YAAY;IAEZ,cAAc;IACd,6BAA6B,EAAE,MAAM,EAAE;IACvC,8BAA8B,EAAE,MAAM,EAAE;IACxC,iCAAiC,EAAE,MAAM,EAAE;IAC3C,qCAAqC,EAAE,MAAM,EAAE;IAC/C,gBAAgB,EAAE,MAAM,EAAE;IAC1B,iBAAiB,EAAE,MAAM,EAAE;IAC3B,mBAAmB,EAAE,MAAM,EAAE;IAC7B,gBAAgB,EAAE,MAAM,EAAE;IAC1B,iBAAiB,EAAE,MAAM,EAAE;IAC3B,wBAAwB,EAAE,MAAM,EAAE;IAClC,qBAAqB,EAAE,MAAM,EAAE;IAC/B,0BAA0B,EAAE,MAAM,EAAE;IACpC,oBAAoB,EAAE,MAAM,EAAE;IAC9B,mBAAmB,EAAE,MAAM,EAAE;IAC7B,qBAAqB,EAAE,MAAM,EAAE;IAC/B,2BAA2B,EAAE,MAAM,EAAE;IACrC,iCAAiC,EAAE,MAAM,EAAE;IAC3C,+BAA+B,EAAE,MAAM,EAAE;IACzC,gCAAgC,EAAE,MAAM,EAAE;IAE1C,YAAY;IAEZ,6BAA6B;IAC7B,gCAAgC,EAAE,MAAM,EAAE;IAC1C,2BAA2B,EAAE,MAAM,EAAE;IACrC,oBAAoB,EAAE,MAAM,EAAE;IAC9B,wBAAwB,EAAE,MAAM,EAAE;IAClC,gBAAgB,EAAE,MAAM,EAAE;IAC1B,sBAAsB,EAAE,MAAM,EAAE;IAChC,cAAc,EAAE,MAAM,EAAE;IACxB,YAAY;IAEZ,2BAA2B;IAE3B,oBAAoB;IACpB,2BAA2B,EAAE,MAAM,EAAE;IACrC,0BAA0B,EAAE,MAAM,EAAE;IACpC,YAAY;IAEZ,iBAAiB;IACjB,qBAAqB,EAAE,MAAM,EAAE;IAC/B,kBAAkB,EAAE,MAAM,EAAE;IAC5B,iBAAiB,EAAE,MAAM,EAAE;IAC3B,YAAY;IAEZ,YAAY;CACf,CAAC;AAEO,4CAAgB"}
1
+ {"version":3,"file":"VPContainerToken.js","sourceRoot":"","sources":["../../../../src/integration-engine/vehicle-positions/ioc/VPContainerToken.ts"],"names":[],"mappings":";;;AAAA,MAAM,gBAAgB,GAAG;IACrB,2BAA2B;IAC3B,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC;IACxC,wBAAwB,EAAE,MAAM,CAAC,0BAA0B,CAAC;IAC5D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AAC,6BAA6B,CAAC;IAClE,iCAAiC,EAAE,MAAM,CAAC,mCAAmC,CAAC;IAC9E,+BAA+B,EAAE,MAAM,CAAC,iCAAiC,CAAC;IAC1E,gCAAgC,EAAE,MAAM,CAAC,kCAAkC,CAAC;IAE5E,YAAY;IAEZ,6BAA6B;IAC7B,gCAAgC,EAAE,MAAM,CAAC,kCAAkC,CAAC;IAC5E,2BAA2B,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAClE,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,wBAAwB,EAAE,MAAM,CAAC,0BAA0B,CAAC;IAC5D,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC;IAC5C,sBAAsB,EAAE,MAAM,CAAC,wBAAwB,CAAC;IACxD,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC;IACxC,YAAY;IAEZ,2BAA2B;IAE3B,oBAAoB;IACpB,2BAA2B,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAClE,0BAA0B,EAAE,MAAM,CAAC,4BAA4B,CAAC;IAChE,YAAY;IAEZ,iBAAiB;IACjB,qBAAqB,EAAE,MAAM,CAAC,uBAAuB,CAAC;IACtD,kBAAkB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,iBAAiB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAC9C,YAAY;IAEZ,YAAY;CACf,CAAC;AAEO,4CAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"PropagateTrainDelayTask.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.ts"],"names":[],"mappings":";;;AACA,sDAA2D;AAC3D,gGAAqF;AAErF,wEAAqE;AAErE,mEAAuF;AACvF,mEAAyD;AAGzD,mFAAqF;AACrF,sFAAmF;AAEnF,MAAa,uBAAwB,SAAQ,uDAAqD;IAU9F,YAAY,WAAmB;QAC3B,KAAK,CAAC,WAAW,CAAC,CAAC;QAVP,cA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GAAG,CAAC,OAAO,EAAE,CACvG,CAAC;aACL;SACJ;IACL,CAAC;CAkBJ;AApFD,0DAoFC"}
1
+ {"version":3,"file":"PropagateTrainDelayTask.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.ts"],"names":[],"mappings":";;;AACA,sDAA2D;AAC3D,gGAAqF;AAErF,wEAAqE;AAErE,mEAAuF;AACvF,mEAAyD;AAGzD,mFAAqF;AACrF,sFAAmF;AAEnF,MAAa,uBAAwB,SAAQ,uDAAqD;IAU9F,YAAY,WAAmB;QAC3B,KAAK,CAAC,WAAW,CAAC,CAAC;QAVP,cAAS,GAAG,qBAAqB,CAAC;QAClC,aAAQ,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,YAAY;QACtC,WAAM,GAAG,0DAA8B,CAAC;QAiEhD,sBAAiB,GAAG,KAAK,EAC7B,aAAiC,EACjC,eAAuB,EACI,EAAE;YAC7B,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC;gBAC5C,UAAU,EAAE,CAAC,cAAc,CAAC;gBAC5B,KAAK,EAAE;oBACH,aAAa,EAAE,aAAa;oBAC5B,eAAe,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,eAAe,EAAE;iBAChD;gBACD,KAAK,EAAE,CAAC,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;gBACnC,GAAG,EAAE,IAAI;aACZ,CAAC,CAAC;YAEH,OAAO,IAAI,EAAE,YAAY,CAAC;QAC9B,CAAC,CAAC;QAvEE,IAAI,CAAC,MAAM,GAAG,gCAA0B,CAAC,OAAO,CAAU,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC5E,IAAI,CAAC,oBAAoB,GAAG,uBAAkB,CAAC,OAAO,CAClD,iDAAuB,CAAC,yBAAyB,CACpD,CAAC;QAEF,IAAI,CAAC,MAAM,GAAG,gCAA0B,CAAC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eAAe;oBACjC,cAAc,EAAE,aAAc;oBAC9B,cAAc,EAAE,gBAAgB,CAAC,QAAQ,CAAC,OAAO;oBACjD,aAAa,EAAE,cAAc;wBACzB,CAAC,CAAC;4BACI;gCACI,OAAO,EAAE,cAAc;gCACvB,yBAAyB,EAAE,yBAAyB;6BACvD;yBACJ;wBACH,CAAC,CAAC,EAAE;oBACR,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,QAAQ;iBACvD,CAAC,CAAC;aACN;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,GAAG,IAAI,CAAC,SAAS,oDAAoD,YAAY,MAAM,GAAG,CAAC,OAAO,EAAE,CACvG,CAAC;aACL;SACJ;IACL,CAAC;CAkBJ;AApFD,0DAoFC"}
@@ -3,36 +3,36 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OgPidToken = void 0;
4
4
  exports.OgPidToken = {
5
5
  //#region Repositories
6
- CisStopGroupRepository: Symbol(),
7
- JISInfotextRopidGTFSStopsRepository: Symbol(),
8
- JISInfotextRepository: Symbol(),
9
- DeparturesRepository: Symbol(),
10
- RunTripsRedisRepository: Symbol(),
11
- PublicVehiclePositionsRepository: Symbol(),
12
- RopidDeparturesPresetRepository: Symbol(),
13
- RopidDeparturesPresetsRopidGTFSStopsRepository: Symbol(),
6
+ CisStopGroupRepository: Symbol("CisStopGroupRepository"),
7
+ JISInfotextRopidGTFSStopsRepository: Symbol("JISInfotextRopidGTFSStopsRepository"),
8
+ JISInfotextRepository: Symbol("JISInfotextRepository"),
9
+ DeparturesRepository: Symbol("DeparturesRepository"),
10
+ RunTripsRedisRepository: Symbol("RunTripsRedisRepository"),
11
+ PublicVehiclePositionsRepository: Symbol("PublicVehiclePositionsRepository"),
12
+ RopidDeparturesPresetRepository: Symbol("RopidDeparturesPresetRepository"),
13
+ RopidDeparturesPresetsRopidGTFSStopsRepository: Symbol("RopidDeparturesPresetsRopidGTFSStopsRepository"),
14
14
  //#endregion
15
15
  //#region Transformations
16
- JISInfotextDepartureTransformation: Symbol(),
17
- JISInfotextTransferTransformation: Symbol(),
18
- JISInfotextOverviewTransformation: Symbol(),
19
- TransferDepartureTransformation: Symbol(),
20
- RopidDeparturesPresetTransformation: Symbol(),
16
+ JISInfotextDepartureTransformation: Symbol("JISInfotextDepartureTransformation"),
17
+ JISInfotextTransferTransformation: Symbol("JISInfotextTransferTransformation"),
18
+ JISInfotextOverviewTransformation: Symbol("JISInfotextOverviewTransformation"),
19
+ TransferDepartureTransformation: Symbol("TransferDepartureTransformation"),
20
+ RopidDeparturesPresetTransformation: Symbol("RopidDeparturesPresetTransformation"),
21
21
  //#endregion
22
22
  //#region Facade
23
- StopFacade: Symbol(),
24
- InfotextFacade: Symbol(),
25
- TransferFacade: Symbol(),
26
- RopidDeparturesPresetFacade: Symbol(),
23
+ StopFacade: Symbol("StopFacade"),
24
+ InfotextFacade: Symbol("InfotextFacade"),
25
+ TransferFacade: Symbol("TransferFacade"),
26
+ RopidDeparturesPresetFacade: Symbol("RopidDeparturesPresetFacade"),
27
27
  //#endregion
28
28
  //#region Controllers
29
- V3TransferBoardsController: Symbol(),
30
- V3InfotextsController: Symbol(),
31
- V3RopidDeparturesPresetController: Symbol(),
29
+ V3TransferBoardsController: Symbol("V3TransferBoardsController"),
30
+ V3InfotextsController: Symbol("V3InfotextsController"),
31
+ V3RopidDeparturesPresetController: Symbol("V3RopidDeparturesPresetController"),
32
32
  //#endregion
33
33
  //#region Helpers
34
- JISInfotextStopSuppressionFilter: Symbol(),
35
- GtfsStopParser: Symbol(),
34
+ JISInfotextStopSuppressionFilter: Symbol("JISInfotextStopSuppressionFilter"),
35
+ GtfsStopParser: Symbol("GtfsStopParser"),
36
36
  //#endregion
37
37
  };
38
38
  //# sourceMappingURL=OgPidToken.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OgPidToken.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/ioc/OgPidToken.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACtB,sBAAsB;IACtB,sBAAsB,EAAE,MAAM,EAAE;IAChC,mCAAmC,EAAE,MAAM,EAAE;IAC7C,qBAAqB,EAAE,MAAM,EAAE;IAC/B,oBAAoB,EAAE,MAAM,EAAE;IAC9B,uBAAuB,EAAE,MAAM,EAAE;IACjC,gCAAgC,EAAE,MAAM,EAAE;IAC1C,+BAA+B,EAAE,MAAM,EAAE;IACzC,8CAA8C,EAAE,MAAM,EAAE;IACxD,YAAY;IAEZ,yBAAyB;IACzB,kCAAkC,EAAE,MAAM,EAAE;IAC5C,iCAAiC,EAAE,MAAM,EAAE;IAC3C,iCAAiC,EAAE,MAAM,EAAE;IAC3C,+BAA+B,EAAE,MAAM,EAAE;IACzC,mCAAmC,EAAE,MAAM,EAAE;IAC7C,YAAY;IAEZ,gBAAgB;IAChB,UAAU,EAAE,MAAM,EAAE;IACpB,cAAc,EAAE,MAAM,EAAE;IACxB,cAAc,EAAE,MAAM,EAAE;IACxB,2BAA2B,EAAE,MAAM,EAAE;IACrC,YAAY;IAEZ,qBAAqB;IACrB,0BAA0B,EAAE,MAAM,EAAE;IACpC,qBAAqB,EAAE,MAAM,EAAE;IAC/B,iCAAiC,EAAE,MAAM,EAAE;IAC3C,YAAY;IAEZ,iBAAiB;IACjB,gCAAgC,EAAE,MAAM,EAAE;IAC1C,cAAc,EAAE,MAAM,EAAE;IACxB,YAAY;CACf,CAAC"}
1
+ {"version":3,"file":"OgPidToken.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/ioc/OgPidToken.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACtB,sBAAsB;IACtB,sBAAsB,EAAE,MAAM,CAAC,wBAAwB,CAAC;IACxD,mCAAmC,EAAE,MAAM,CAAC,qCAAqC,CAAC;IAClF,qBAAqB,EAAE,MAAM,CAAC,uBAAuB,CAAC;IACtD,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,uBAAuB,EAAE,MAAM,CAAC,yBAAyB,CAAC;IAC1D,gCAAgC,EAAE,MAAM,CAAC,kCAAkC,CAAC;IAC5E,+BAA+B,EAAE,MAAM,CAAC,iCAAiC,CAAC;IAC1E,8CAA8C,EAAE,MAAM,CAAC,gDAAgD,CAAC;IACxG,YAAY;IAEZ,yBAAyB;IACzB,kCAAkC,EAAE,MAAM,CAAC,oCAAoC,CAAC;IAChF,iCAAiC,EAAE,MAAM,CAAC,mCAAmC,CAAC;IAC9E,iCAAiC,EAAE,MAAM,CAAC,mCAAmC,CAAC;IAC9E,+BAA+B,EAAE,MAAM,CAAC,iCAAiC,CAAC;IAC1E,mCAAmC,EAAE,MAAM,CAAC,qCAAqC,CAAC;IAClF,YAAY;IAEZ,gBAAgB;IAChB,UAAU,EAAE,MAAM,CAAC,YAAY,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC;IACxC,2BAA2B,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAClE,YAAY;IAEZ,qBAAqB;IACrB,0BAA0B,EAAE,MAAM,CAAC,4BAA4B,CAAC;IAChE,qBAAqB,EAAE,MAAM,CAAC,uBAAuB,CAAC;IACtD,iCAAiC,EAAE,MAAM,CAAC,mCAAmC,CAAC;IAC9E,YAAY;IAEZ,iBAAiB;IACjB,gCAAgC,EAAE,MAAM,CAAC,kCAAkC,CAAC;IAC5E,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC;IACxC,YAAY;CACf,CAAC"}
@@ -1,5 +1,5 @@
1
+ import { JISInfotextSeverityLevel } from "../../../../helpers/jis/JISInfotextSeverityLevelEnum";
1
2
  import { InfotextPriority } from "../../domain/InfotextPriorityEnum";
2
- import { InfotextSeverityLevel } from "../../../shared/constants/jis/InfotextSeverityLevelEnum";
3
3
  export declare class PriorityMapper {
4
4
  /**
5
5
  * Map input severity level from DB to output priority for API
@@ -7,5 +7,5 @@ export declare class PriorityMapper {
7
7
  * @param input Severity level type from DB
8
8
  * @returns Priority for API
9
9
  */
10
- static mapInputToOutputPriority(input: InfotextSeverityLevel): InfotextPriority;
10
+ static mapInputToOutputPriority(input: JISInfotextSeverityLevel): InfotextPriority;
11
11
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PriorityMapper = void 0;
4
+ const JISInfotextSeverityLevelEnum_1 = require("../../../../helpers/jis/JISInfotextSeverityLevelEnum");
4
5
  const InfotextPriorityEnum_1 = require("../../domain/InfotextPriorityEnum");
5
- const InfotextSeverityLevelEnum_1 = require("../../../shared/constants/jis/InfotextSeverityLevelEnum");
6
6
  const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
7
7
  class PriorityMapper {
8
8
  /**
@@ -13,11 +13,11 @@ class PriorityMapper {
13
13
  */
14
14
  static mapInputToOutputPriority(input) {
15
15
  switch (input) {
16
- case InfotextSeverityLevelEnum_1.InfotextSeverityLevel.Info:
16
+ case JISInfotextSeverityLevelEnum_1.JISInfotextSeverityLevel.Info:
17
17
  return InfotextPriorityEnum_1.InfotextPriority.Low;
18
- case InfotextSeverityLevelEnum_1.InfotextSeverityLevel.Warning:
18
+ case JISInfotextSeverityLevelEnum_1.JISInfotextSeverityLevel.Warning:
19
19
  return InfotextPriorityEnum_1.InfotextPriority.Normal;
20
- case InfotextSeverityLevelEnum_1.InfotextSeverityLevel.Severe:
20
+ case JISInfotextSeverityLevelEnum_1.JISInfotextSeverityLevel.Severe:
21
21
  return InfotextPriorityEnum_1.InfotextPriority.High;
22
22
  default:
23
23
  throw new golemio_errors_1.GeneralError(`Unknown severity level: ${input}`);
@@ -1 +1 @@
1
- {"version":3,"file":"PriorityMapper.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/service/helpers/PriorityMapper.ts"],"names":[],"mappings":";;;AAAA,4EAAuE;AACvE,uGAA2F;AAC3F,6EAAwE;AAExE,MAAa,cAAc;IACvB;;;;;OAKG;IACI,MAAM,CAAC,wBAAwB,CAAC,KAA4B;QAC/D,QAAQ,KAAK,EAAE;YACX,KAAK,iDAAqB,CAAC,IAAI;gBAC3B,OAAO,uCAAgB,CAAC,GAAG,CAAC;YAChC,KAAK,iDAAqB,CAAC,OAAO;gBAC9B,OAAO,uCAAgB,CAAC,MAAM,CAAC;YACnC,KAAK,iDAAqB,CAAC,MAAM;gBAC7B,OAAO,uCAAgB,CAAC,IAAI,CAAC;YACjC;gBACI,MAAM,IAAI,6BAAY,CAAC,2BAA2B,KAAK,EAAE,CAAC,CAAC;SAClE;IACL,CAAC;CACJ;AAnBD,wCAmBC"}
1
+ {"version":3,"file":"PriorityMapper.js","sourceRoot":"","sources":["../../../../../src/output-gateway/pid/service/helpers/PriorityMapper.ts"],"names":[],"mappings":";;;AAAA,uGAAqF;AACrF,4EAAuE;AACvE,6EAAwE;AAExE,MAAa,cAAc;IACvB;;;;;OAKG;IACI,MAAM,CAAC,wBAAwB,CAAC,KAA+B;QAClE,QAAQ,KAAK,EAAE;YACX,KAAK,uDAAwB,CAAC,IAAI;gBAC9B,OAAO,uCAAgB,CAAC,GAAG,CAAC;YAChC,KAAK,uDAAwB,CAAC,OAAO;gBACjC,OAAO,uCAAgB,CAAC,MAAM,CAAC;YACnC,KAAK,uDAAwB,CAAC,MAAM;gBAChC,OAAO,uCAAgB,CAAC,IAAI,CAAC;YACjC;gBACI,MAAM,IAAI,6BAAY,CAAC,2BAA2B,KAAK,EAAE,CAAC,CAAC;SAClE;IACL,CAAC;CACJ;AAnBD,wCAmBC"}
@@ -2,35 +2,35 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OgModuleToken = void 0;
4
4
  exports.OgModuleToken = {
5
- GeoMeasurementHelper: Symbol(),
6
- BoundingBoxHelper: Symbol(),
7
- VehicleDescriptorCachedRepository: Symbol(),
8
- PublicVehiclePositionsRepository: Symbol(),
9
- PublicStopTimeRepository: Symbol(),
10
- DelayComputationRepository: Symbol(),
11
- PublicGtfsDepartureRepository: Symbol(),
5
+ GeoMeasurementHelper: Symbol("GeoMeasurementHelper"),
6
+ BoundingBoxHelper: Symbol("BoundingBoxHelper"),
7
+ VehicleDescriptorCachedRepository: Symbol("VehicleDescriptorCachedRepository"),
8
+ PublicVehiclePositionsRepository: Symbol("PublicVehiclePositionsRepository"),
9
+ PublicStopTimeRepository: Symbol("PublicStopTimeRepository"),
10
+ DelayComputationRepository: Symbol("DelayComputationRepository"),
11
+ PublicGtfsDepartureRepository: Symbol("PublicGtfsDepartureRepository"),
12
12
  //#region DetailedTrip scope handlers
13
- InfoTripScopeHandler: Symbol(),
14
- StopTimesTripScopeHandler: Symbol(),
15
- ShapesTripScopeHandler: Symbol(),
16
- VehicleDescriptorTripScopeHandler: Symbol(),
17
- TripScopeHandlerFactory: Symbol(),
13
+ InfoTripScopeHandler: Symbol("InfoTripScopeHandler"),
14
+ StopTimesTripScopeHandler: Symbol("StopTimesTripScopeHandler"),
15
+ ShapesTripScopeHandler: Symbol("ShapesTripScopeHandler"),
16
+ VehicleDescriptorTripScopeHandler: Symbol("VehicleDescriptorTripScopeHandler"),
17
+ TripScopeHandlerFactory: Symbol("TripScopeHandlerFactory"),
18
18
  //#endregion
19
19
  //#region GtfsTripLookup scope handlers
20
- PublicGtfsTripInfoTransformation: Symbol(),
21
- PublicGtfsTripShapesTransformation: Symbol(),
22
- PublicGtfsVehicleDescriptorTransformation: Symbol(),
23
- PublicGtfsTripStopTimesTransformation: Symbol(),
24
- InfoGtfsTripScopeHandler: Symbol(),
25
- StopTimesGtfsTripScopeHandler: Symbol(),
26
- ShapesGtfsTripScopeHandler: Symbol(),
27
- VehicleDescriptorGtfsTripScopeHandler: Symbol(),
28
- GtfsTripScopeHandlerFactory: Symbol(),
20
+ PublicGtfsTripInfoTransformation: Symbol("PublicGtfsTripInfoTransformation"),
21
+ PublicGtfsTripShapesTransformation: Symbol("PublicGtfsTripShapesTransformation"),
22
+ PublicGtfsVehicleDescriptorTransformation: Symbol("PublicGtfsVehicleDescriptorTransformation"),
23
+ PublicGtfsTripStopTimesTransformation: Symbol("PublicGtfsTripStopTimesTransformation"),
24
+ InfoGtfsTripScopeHandler: Symbol("InfoGtfsTripScopeHandler"),
25
+ StopTimesGtfsTripScopeHandler: Symbol("StopTimesGtfsTripScopeHandler"),
26
+ ShapesGtfsTripScopeHandler: Symbol("ShapesGtfsTripScopeHandler"),
27
+ VehicleDescriptorGtfsTripScopeHandler: Symbol("VehicleDescriptorGtfsTripScopeHandler"),
28
+ GtfsTripScopeHandlerFactory: Symbol("GtfsTripScopeHandlerFactory"),
29
29
  //#endregion
30
- GtfsTripLookupFacade: Symbol(),
31
- PublicVehiclePositionsFacade: Symbol(),
32
- DetailedTripFacade: Symbol(),
33
- DepartureBoardFacade: Symbol(),
34
- VPSubscriber: Symbol(),
30
+ GtfsTripLookupFacade: Symbol("GtfsTripLookupFacade"),
31
+ PublicVehiclePositionsFacade: Symbol("PublicVehiclePositionsFacade"),
32
+ DetailedTripFacade: Symbol("DetailedTripFacade"),
33
+ DepartureBoardFacade: Symbol("DepartureBoardFacade"),
34
+ VPSubscriber: Symbol("VPSubscriber"),
35
35
  };
36
36
  //# sourceMappingURL=OgModuleToken.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OgModuleToken.js","sourceRoot":"","sources":["../../../../src/output-gateway/public/ioc/OgModuleToken.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IACzB,oBAAoB,EAAE,MAAM,EAAE;IAC9B,iBAAiB,EAAE,MAAM,EAAE;IAC3B,iCAAiC,EAAE,MAAM,EAAE;IAC3C,gCAAgC,EAAE,MAAM,EAAE;IAC1C,wBAAwB,EAAE,MAAM,EAAE;IAClC,0BAA0B,EAAE,MAAM,EAAE;IACpC,6BAA6B,EAAE,MAAM,EAAE;IACvC,qCAAqC;IACrC,oBAAoB,EAAE,MAAM,EAAE;IAC9B,yBAAyB,EAAE,MAAM,EAAE;IACnC,s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AE,MAAM,CAAC,mCAAmC,CAAC;IAC9E,uBAAuB,EAAE,MAAM,CAAC,yBAAyB,CAAC;IAC1D,YAAY;IACZ,uCAAuC;IACvC,gCAAgC,EAAE,MAAM,CAAC,kCAAkC,CAAC;IAC5E,kCAAkC,EAAE,MAAM,CAAC,oCAAoC,CAAC;IAChF,yCAAyC,EAAE,MAAM,CAAC,2CAA2C,CAAC;IAC9F,qCAAqC,EAAE,MAAM,CAAC,uCAAuC,CAAC;IACtF,wBAAwB,EAAE,MAAM,CAAC,0BAA0B,CAAC;IAC5D,6BAA6B,EAAE,MAAM,CAAC,+BAA+B,CAAC;IACtE,0BAA0B,EAAE,MAAM,CAAC,4BAA4B,CAAC;IAChE,qCAAqC,EAAE,MAAM,CAAC,uCAAuC,CAAC;IACtF,2BAA2B,EAAE,MAAM,CAAC,6BAA6B,CAAC;IAClE,YAAY;IACZ,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,4BAA4B,EAAE,MAAM,CAAC,8BAA8B,CAAC;IACpE,kBAAkB,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAChD,oBAAoB,EAAE,MAAM,CAAC,sBAAsB,CAAC;IACpD,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC;CACvC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const jisEventCause: readonly ["ACCIDENT", "STRIKE", "TECHNICAL_PROBLEM", "CONSTRUCTION", "WEATHER", "DEMONSTRATION", "POLICE_ACTIVITY", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "UNKNOWN_CAUSE", "HOLIDAY", "MAINTENANCE"];
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jisEventCause = void 0;
4
+ exports.jisEventCause = [
5
+ "ACCIDENT",
6
+ "STRIKE",
7
+ "TECHNICAL_PROBLEM",
8
+ "CONSTRUCTION",
9
+ "WEATHER",
10
+ "DEMONSTRATION",
11
+ "POLICE_ACTIVITY",
12
+ "MEDICAL_EMERGENCY",
13
+ "OTHER_CAUSE",
14
+ "UNKNOWN_CAUSE",
15
+ "HOLIDAY",
16
+ "MAINTENANCE",
17
+ ];
18
+ //# sourceMappingURL=jisEventCause.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jisEventCause.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/constants/jisEventCause.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IACzB,UAAU;IACV,QAAQ;IACR,mBAAmB;IACnB,cAAc;IACd,SAAS;IACT,eAAe;IACf,iBAAiB;IACjB,mBAAmB;IACnB,aAAa;IACb,eAAe;IACf,SAAS;IACT,aAAa;CACP,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const jisEventEffect: readonly ["DETOUR", "REDUCED_SERVICE", "MODIFIED_SERVICE", "SIGNIFICANT_DELAYS", "ADDITIONAL_SERVICE", "OTHER_EFFECT", "NO_SERVICE", "UNKNOWN_EFFECT", "STOP_MOVED", "NO_EFFECT", "ACCESSIBILITY_ISSUE"];
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jisEventEffect = void 0;
4
+ exports.jisEventEffect = [
5
+ "DETOUR",
6
+ "REDUCED_SERVICE",
7
+ "MODIFIED_SERVICE",
8
+ "SIGNIFICANT_DELAYS",
9
+ "ADDITIONAL_SERVICE",
10
+ "OTHER_EFFECT",
11
+ "NO_SERVICE",
12
+ "UNKNOWN_EFFECT",
13
+ "STOP_MOVED",
14
+ "NO_EFFECT",
15
+ "ACCESSIBILITY_ISSUE",
16
+ ];
17
+ //# sourceMappingURL=jisEventEffect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jisEventEffect.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/constants/jisEventEffect.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC1B,QAAQ;IACR,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,cAAc;IACd,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,WAAW;IACX,qBAAqB;CACf,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
2
+ import { IJISEvent } from "./interfaces/IJISEvent";
3
+ export declare const jisEventsJsonSchema: JSONSchemaType<IJISEvent[]>;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jisEventsJsonSchema = void 0;
4
+ const JISEventSeverityLevelEnum_1 = require("../../../helpers/jis/JISEventSeverityLevelEnum");
5
+ const jisEventCause_1 = require("../constants/jisEventCause");
6
+ const jisEventEffect_1 = require("../constants/jisEventEffect");
7
+ exports.jisEventsJsonSchema = {
8
+ type: "array",
9
+ items: {
10
+ type: "object",
11
+ properties: {
12
+ id: { type: "string" },
13
+ type: { type: "string", enum: ["INCIDENT", "DISRUPTION", "SERVICE_CHANGE"] },
14
+ header_text: { $ref: "#/definitions/Translation" },
15
+ cause: { type: "string", enum: jisEventCause_1.jisEventCause },
16
+ cause_detail: { $ref: "#/definitions/Translation" },
17
+ severity_level: { type: "string", enum: Object.values(JISEventSeverityLevelEnum_1.JISEventSeverityLevel) },
18
+ active_period: {
19
+ type: "object",
20
+ properties: {
21
+ start: { type: "string", format: "date-time" },
22
+ end: {
23
+ oneOf: [
24
+ { type: "string", format: "date-time" },
25
+ { type: "null", nullable: true },
26
+ ],
27
+ },
28
+ },
29
+ additionalProperties: false,
30
+ required: ["start"],
31
+ },
32
+ effect: { type: "string", enum: jisEventEffect_1.jisEventEffect },
33
+ effect_detail: { $ref: "#/definitions/Translation" },
34
+ description_text: { $ref: "#/definitions/Translation" },
35
+ url: { $ref: "#/definitions/Translation" },
36
+ organization_name: { type: "string" },
37
+ informed_entity: {
38
+ type: "object",
39
+ nullable: true,
40
+ properties: {
41
+ routes: {
42
+ type: "array",
43
+ nullable: true,
44
+ items: {
45
+ type: "object",
46
+ properties: {
47
+ id: { type: "string" },
48
+ },
49
+ additionalProperties: false,
50
+ required: ["id"],
51
+ },
52
+ },
53
+ },
54
+ additionalProperties: false,
55
+ },
56
+ created_timestamp: { type: "string", format: "date-time" },
57
+ last_modified_timestamp: { type: "string", format: "date-time" },
58
+ },
59
+ required: [
60
+ "id",
61
+ "type",
62
+ "header_text",
63
+ "cause",
64
+ "cause_detail",
65
+ "severity_level",
66
+ "active_period",
67
+ "effect",
68
+ "effect_detail",
69
+ "description_text",
70
+ "url",
71
+ "organization_name",
72
+ "created_timestamp",
73
+ "last_modified_timestamp",
74
+ ],
75
+ },
76
+ definitions: {
77
+ Translation: {
78
+ type: "object",
79
+ properties: {
80
+ cs: { type: "string" },
81
+ en: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
82
+ },
83
+ additionalProperties: false,
84
+ required: ["cs"],
85
+ },
86
+ },
87
+ };
88
+ //# sourceMappingURL=JISEventsJsonSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JISEventsJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/datasources/JISEventsJsonSchema.ts"],"names":[],"mappings":";;;AAAA,8FAA+E;AAE/E,8DAA2D;AAC3D,gEAA6D;AAGhD,QAAA,mBAAmB,GAAgC;IAC5D,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,gBAAgB,CAAC,EAAE;YAC5E,WAAW,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE;YAClD,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAAa,EAAE;YAC9C,YAAY,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE;YAC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,WAAW,EAAE;YAC1D,uBAAuB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;SACnE;QACD,QAAQ,EAAE;YACN,IAAI;YACJ,MAAM;YACN,aAAa;YACb,OAAO;YACP,cAAc;YACd,gBAAgB;YAChB,eAAe;YACf,QAAQ;YACR,eAAe;YACf,kBAAkB;YAClB,KAAK;YACL,mBAAmB;YACnB,mBAAmB;YACnB,yBAAyB;SAC5B;KACJ;IACD,WAAW,EAAE;QACT,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACtB,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;aACxE;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,IAAI,CAAC;SACnB;KACJ;CACJ,CAAC"}
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.jisInfotextsJsonSchema = void 0;
4
- const InfotextSeverityLevelEnum_1 = require("../../../output-gateway/shared/constants/jis/InfotextSeverityLevelEnum");
4
+ const JISInfotextSeverityLevelEnum_1 = require("../../../helpers/jis/JISInfotextSeverityLevelEnum");
5
5
  exports.jisInfotextsJsonSchema = {
6
6
  type: "array",
7
7
  items: {
8
8
  type: "object",
9
9
  properties: {
10
10
  id: { type: "string" },
11
- severity_level: { type: "string", enum: Object.values(InfotextSeverityLevelEnum_1.InfotextSeverityLevel) },
11
+ severity_level: { type: "string", enum: Object.values(JISInfotextSeverityLevelEnum_1.JISInfotextSeverityLevel) },
12
12
  display_type: { type: "string", enum: ["GENERAL", "INLINE"] },
13
13
  active_period: {
14
14
  type: "object",
@@ -1 +1 @@
1
- {"version":3,"file":"J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I,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,UAAU,EAAE;oBACR,KAAK,EAAE;wBACH,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,IAAI;wBACd,KAAK,EAAE;4BACH,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BACzB;4BACD,oBAAoB,EAAE,KAAK;4BAC3B,QAAQ,EAAE,CAAC,IAAI,CAAC;yBACnB;qBACJ;iBACJ;gBACD,oBAAoB,EAAE,KAAK;aAC9B;YACD,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;YAC1D,uBAAuB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;SACnE;QACD,QAAQ,EAAE;YACN,IAAI;YACJ,gBAAgB;YAChB,cAAc;YACd,eAAe;YACf,kBAAkB;YAClB,mBAAmB;YACnB,yBAAyB;SAC5B;KACJ;CACJ,CAAC"}
1
+ {"version":3,"file":"JISInfotextsJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/datasources/JISInfotextsJsonSchema.ts"],"names":[],"mappings":";;;AAAA,oGAAqF;AAIxE,QAAA,sBAAsB,GAAmC;IAClE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,uDAAwB,CAAC,EAAE;YACjF,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE;YAC7D,aAAa,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,KAAK,EAAE,E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,gBAAgB;YAChB,cAAc;YACd,eAAe;YACf,kBAAkB;YAClB,mBAAmB;YACnB,yBAAyB;SAC5B;KACJ;CACJ,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { JISEventSeverityLevel } from "../../../../helpers/jis/JISEventSeverityLevelEnum";
2
+ import { IJISEventRoute } from "./IJISEventRoute";
3
+ import { IJISTranslationText } from "./IJISTranslationText";
4
+ export interface IJISEvent {
5
+ id: string;
6
+ type: string;
7
+ header_text: IJISTranslationText;
8
+ cause: string;
9
+ cause_detail: IJISTranslationText;
10
+ severity_level: JISEventSeverityLevel;
11
+ active_period: {
12
+ start: string;
13
+ end: string | null;
14
+ };
15
+ effect: string;
16
+ effect_detail: IJISTranslationText;
17
+ description_text: IJISTranslationText;
18
+ url: IJISTranslationText;
19
+ organization_name: string;
20
+ informed_entity?: {
21
+ routes?: IJISEventRoute[] | null;
22
+ } | null;
23
+ created_timestamp: string;
24
+ last_modified_timestamp: string;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISEvent.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/IJISEvent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface IJISEventRoute {
2
+ id: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISEventRoute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISEventRoute.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/IJISEventRoute.ts"],"names":[],"mappings":""}
@@ -1,9 +1,9 @@
1
- import { InfotextSeverityLevel } from "../../../../output-gateway/shared/constants/jis/InfotextSeverityLevelEnum";
1
+ import { JISInfotextSeverityLevel } from "../../../../helpers/jis/JISInfotextSeverityLevelEnum";
2
2
  import { IJISInfotextStop } from "./IJISInfotextStop";
3
3
  import { IJISTranslationText } from "./IJISTranslationText";
4
4
  export interface IJISInfotext {
5
5
  id: string;
6
- severity_level: InfotextSeverityLevel;
6
+ severity_level: JISInfotextSeverityLevel;
7
7
  display_type: string;
8
8
  active_period: {
9
9
  start: string;
@@ -1,3 +1,5 @@
1
+ export * from "./IJISEvent";
2
+ export * from "./IJISEventRoute";
1
3
  export * from "./IJISInfotext";
2
4
  export * from "./IJISInfotextStop";
3
5
  export * from "./IJISTranslationText";
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IJISEvent"), exports);
18
+ __exportStar(require("./IJISEventRoute"), exports);
17
19
  __exportStar(require("./IJISInfotext"), exports);
18
20
  __exportStar(require("./IJISInfotextStop"), exports);
19
21
  __exportStar(require("./IJISTranslationText"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,qDAAmC;AACnC,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,mDAAiC;AACjC,iDAA+B;AAC/B,qDAAmC;AACnC,wDAAsC"}