@golemio/pid 2.18.0 → 2.18.1-dev.1427397189

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 (262) hide show
  1. package/db/example/00_clear_test_data.sql +2 -0
  2. package/db/example/03_ropidgtfs_dump.sql +36 -0
  3. package/db/example/20_jis_infotexts.sql +214 -0
  4. package/db/migrations/postgresql/20240801141948-jis-infotexts.js +53 -0
  5. package/db/migrations/postgresql/20240809084521-jis-infotexts-severity-level.js +53 -0
  6. package/db/migrations/postgresql/sqls/20240801141948-jis-infotexts-down.sql +2 -0
  7. package/db/migrations/postgresql/sqls/20240801141948-jis-infotexts-up.sql +19 -0
  8. package/db/migrations/postgresql/sqls/20240809084521-jis-infotexts-severity-level-down.sql +8 -0
  9. package/db/migrations/postgresql/sqls/20240809084521-jis-infotexts-severity-level-up.sql +7 -0
  10. package/dist/integration-engine/index.js +4 -0
  11. package/dist/integration-engine/index.js.map +1 -1
  12. package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.d.ts +10 -0
  13. package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js +49 -0
  14. package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js.map +1 -0
  15. package/dist/integration-engine/jis/index.d.ts +1 -0
  16. package/dist/{output-gateway/pid/controllers → integration-engine/jis}/index.js +1 -2
  17. package/dist/integration-engine/jis/index.js.map +1 -0
  18. package/dist/integration-engine/jis/ioc/Di.d.ts +3 -0
  19. package/dist/integration-engine/jis/ioc/Di.js +31 -0
  20. package/dist/integration-engine/jis/ioc/Di.js.map +1 -0
  21. package/dist/integration-engine/jis/ioc/JISContainerToken.d.ts +9 -0
  22. package/dist/integration-engine/jis/ioc/JISContainerToken.js +18 -0
  23. package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -0
  24. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.d.ts +36 -0
  25. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js +101 -0
  26. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js.map +1 -0
  27. package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.d.ts +36 -0
  28. package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.js +101 -0
  29. package/dist/integration-engine/jis/repositories/JISInfotextsRopidGTFSStopsRepository.js.map +1 -0
  30. package/dist/integration-engine/jis/services/JISInfotextsDataService.d.ts +20 -0
  31. package/dist/integration-engine/jis/services/JISInfotextsDataService.js +78 -0
  32. package/dist/integration-engine/jis/services/JISInfotextsDataService.js.map +1 -0
  33. package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.d.ts +13 -0
  34. package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.js +41 -0
  35. package/dist/integration-engine/jis/transformations/JISInfotextsTransformation.js.map +1 -0
  36. package/dist/integration-engine/jis/workers/JISWorker.d.ts +7 -0
  37. package/dist/integration-engine/jis/workers/JISWorker.js +21 -0
  38. package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -0
  39. package/dist/integration-engine/jis/workers/constants.d.ts +1 -0
  40. package/dist/integration-engine/jis/workers/constants.js +5 -0
  41. package/dist/integration-engine/jis/workers/constants.js.map +1 -0
  42. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.d.ts +14 -0
  43. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js +72 -0
  44. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js.map +1 -0
  45. package/dist/integration-engine/ropid-gtfs/data-access/helpers/RawQueryProvider.d.ts +3 -0
  46. package/dist/integration-engine/ropid-gtfs/data-access/helpers/RawQueryProvider.js +62 -0
  47. package/dist/integration-engine/ropid-gtfs/data-access/helpers/RawQueryProvider.js.map +1 -0
  48. package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.d.ts +2 -0
  49. package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js +21 -0
  50. package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js.map +1 -1
  51. package/dist/integration-engine/ropid-gtfs/interfaces/TripScheduleInterfaces.d.ts +22 -0
  52. package/dist/integration-engine/ropid-gtfs/interfaces/TripScheduleInterfaces.js +3 -0
  53. package/dist/integration-engine/ropid-gtfs/interfaces/TripScheduleInterfaces.js.map +1 -0
  54. package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.d.ts +1 -4
  55. package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js +11 -27
  56. package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js.map +1 -1
  57. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.d.ts +1 -1
  58. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +22 -49
  59. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js.map +1 -1
  60. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.d.ts +0 -1
  61. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.js +1 -80
  62. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/RawQueryProvider.js.map +1 -1
  63. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.d.ts +0 -17
  64. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.d.ts +3 -6
  65. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js +8 -19
  66. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js.map +1 -1
  67. package/dist/output-gateway/departure-boards/index.d.ts +1 -1
  68. package/dist/output-gateway/departure-boards/index.js +1 -1
  69. package/dist/output-gateway/departure-boards/index.js.map +1 -1
  70. package/dist/output-gateway/departure-boards/routers/index.d.ts +1 -0
  71. package/dist/output-gateway/departure-boards/routers/index.js +6 -0
  72. package/dist/output-gateway/departure-boards/routers/index.js.map +1 -0
  73. package/dist/output-gateway/departure-boards/{DepartureBoardsRouter.d.ts → routers/v2/V2DepartureBoardsRouter.d.ts} +9 -8
  74. package/dist/output-gateway/departure-boards/{DepartureBoardsRouter.js → routers/v2/V2DepartureBoardsRouter.js} +19 -18
  75. package/dist/output-gateway/departure-boards/routers/v2/V2DepartureBoardsRouter.js.map +1 -0
  76. package/dist/output-gateway/index.d.ts +1 -0
  77. package/dist/output-gateway/index.js +25 -1
  78. package/dist/output-gateway/index.js.map +1 -1
  79. package/dist/output-gateway/pid/controllers/{DepartureBoardsController.d.ts → v2/V2DepartureBoardsController.d.ts} +1 -1
  80. package/dist/output-gateway/pid/controllers/{DepartureBoardsController.js → v2/V2DepartureBoardsController.js} +9 -9
  81. package/dist/output-gateway/pid/controllers/v2/V2DepartureBoardsController.js.map +1 -0
  82. package/dist/output-gateway/pid/controllers/{InfotextsController.d.ts → v2/V2InfotextsController.d.ts} +1 -1
  83. package/dist/output-gateway/pid/controllers/{InfotextsController.js → v2/V2InfotextsController.js} +6 -6
  84. package/dist/output-gateway/pid/controllers/v2/V2InfotextsController.js.map +1 -0
  85. package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.d.ts +10 -0
  86. package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.js +57 -0
  87. package/dist/output-gateway/pid/controllers/v3/V3InfotextsController.js.map +1 -0
  88. package/dist/output-gateway/pid/data-access/JISInfotextRepository.d.ts +27 -0
  89. package/dist/output-gateway/pid/data-access/JISInfotextRepository.js +157 -0
  90. package/dist/output-gateway/pid/data-access/JISInfotextRepository.js.map +1 -0
  91. package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.d.ts +11 -0
  92. package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.js +37 -0
  93. package/dist/output-gateway/pid/data-access/JISInfotextRopidGTFSStopsRepository.js.map +1 -0
  94. package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.d.ts +4 -0
  95. package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.js +9 -0
  96. package/dist/output-gateway/pid/domain/InfotextDisplayTypeEnum.js.map +1 -0
  97. package/dist/output-gateway/pid/domain/InfotextInterfaces.d.ts +28 -0
  98. package/dist/output-gateway/pid/domain/InfotextInterfaces.js +3 -0
  99. package/dist/output-gateway/pid/domain/InfotextInterfaces.js.map +1 -0
  100. package/dist/output-gateway/pid/dto/DepartureBoardsDTO.d.ts +3 -3
  101. package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js +1 -1
  102. package/dist/output-gateway/pid/dto/DepartureBoardsDTO.js.map +1 -1
  103. package/dist/output-gateway/pid/index.d.ts +1 -1
  104. package/dist/output-gateway/pid/index.js +1 -1
  105. package/dist/output-gateway/pid/index.js.map +1 -1
  106. package/dist/output-gateway/pid/ioc/Di.d.ts +3 -0
  107. package/dist/output-gateway/pid/ioc/Di.js +23 -0
  108. package/dist/output-gateway/pid/ioc/Di.js.map +1 -0
  109. package/dist/output-gateway/pid/ioc/OgPidToken.d.ts +7 -0
  110. package/dist/output-gateway/pid/ioc/OgPidToken.js +17 -0
  111. package/dist/output-gateway/pid/ioc/OgPidToken.js.map +1 -0
  112. package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.d.ts +2 -1
  113. package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +20 -10
  114. package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
  115. package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.d.ts +2 -19
  116. package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.js +4 -64
  117. package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.js.map +1 -1
  118. package/dist/output-gateway/pid/routers/index.d.ts +2 -0
  119. package/dist/output-gateway/pid/routers/index.js +8 -0
  120. package/dist/output-gateway/pid/routers/index.js.map +1 -0
  121. package/dist/output-gateway/pid/{PIDRouter.d.ts → routers/v2/V2PIDRouter.d.ts} +5 -4
  122. package/dist/output-gateway/pid/{PIDRouter.js → routers/v2/V2PIDRouter.js} +20 -17
  123. package/dist/output-gateway/pid/routers/v2/V2PIDRouter.js.map +1 -0
  124. package/dist/output-gateway/pid/routers/v3/V3PIDRouter.d.ts +11 -0
  125. package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js +31 -0
  126. package/dist/output-gateway/pid/routers/v3/V3PIDRouter.js.map +1 -0
  127. package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.d.ts +10 -0
  128. package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.js +25 -0
  129. package/dist/output-gateway/pid/service/helpers/DisplayTypeMapper.js.map +1 -0
  130. package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.d.ts +13 -0
  131. package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.js +35 -0
  132. package/dist/output-gateway/pid/service/transformations/JISInfotextDepartureTransformation.js.map +1 -0
  133. package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.d.ts +19 -0
  134. package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js +43 -0
  135. package/dist/output-gateway/pid/service/transformations/JISInfotextOverviewTransformation.js.map +1 -0
  136. package/dist/output-gateway/public/controllers/{v1/PublicDepartureBoardsController.d.ts → v2/V2PublicDepartureBoardsController.d.ts} +1 -1
  137. package/dist/output-gateway/public/controllers/{v1/PublicDepartureBoardsController.js → v2/V2PublicDepartureBoardsController.js} +5 -5
  138. package/dist/output-gateway/public/controllers/v2/V2PublicDepartureBoardsController.js.map +1 -0
  139. package/dist/output-gateway/public/controllers/{v1/PublicGtfsController.d.ts → v2/V2PublicGtfsController.d.ts} +1 -1
  140. package/dist/output-gateway/public/controllers/{v1/PublicGtfsController.js → v2/V2PublicGtfsController.js} +5 -5
  141. package/dist/output-gateway/public/controllers/v2/V2PublicGtfsController.js.map +1 -0
  142. package/dist/output-gateway/public/controllers/{v1/PublicVehiclePositionsController.d.ts → v2/V2PublicVehiclePositionsController.d.ts} +1 -1
  143. package/dist/output-gateway/public/controllers/{v1/PublicVehiclePositionsController.js → v2/V2PublicVehiclePositionsController.js} +4 -4
  144. package/dist/output-gateway/public/controllers/v2/V2PublicVehiclePositionsController.js.map +1 -0
  145. package/dist/output-gateway/public/controllers/{v1 → v2}/interfaces/PublicParamsInterfaces.d.ts +1 -1
  146. package/dist/output-gateway/public/controllers/{v1 → v2}/interfaces/PublicParamsInterfaces.js.map +1 -1
  147. package/dist/output-gateway/public/index.d.ts +1 -0
  148. package/dist/output-gateway/public/index.js +18 -0
  149. package/dist/output-gateway/public/index.js.map +1 -0
  150. package/dist/output-gateway/public/routers/index.d.ts +3 -0
  151. package/dist/output-gateway/public/routers/index.js +10 -0
  152. package/dist/output-gateway/public/routers/index.js.map +1 -0
  153. package/dist/output-gateway/public/routers/{v1/PublicDeparturesRouter.d.ts → v2/V2PublicDeparturesRouter.d.ts} +4 -3
  154. package/dist/output-gateway/public/routers/{v1/PublicDeparturesRouter.js → v2/V2PublicDeparturesRouter.js} +11 -8
  155. package/dist/output-gateway/public/routers/v2/V2PublicDeparturesRouter.js.map +1 -0
  156. package/dist/output-gateway/public/routers/{v1/PublicGtfsRouter.d.ts → v2/V2PublicGtfsRouter.d.ts} +4 -3
  157. package/dist/output-gateway/public/routers/{v1/PublicGtfsRouter.js → v2/V2PublicGtfsRouter.js} +11 -8
  158. package/dist/output-gateway/public/routers/v2/V2PublicGtfsRouter.js.map +1 -0
  159. package/dist/output-gateway/public/routers/{v1/PublicVehiclePositionsRouter.d.ts → v2/V2PublicVehiclePositionsRouter.d.ts} +4 -3
  160. package/dist/output-gateway/public/routers/{v1/PublicVehiclePositionsRouter.js → v2/V2PublicVehiclePositionsRouter.js} +11 -8
  161. package/dist/output-gateway/public/routers/v2/V2PublicVehiclePositionsRouter.js.map +1 -0
  162. package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomScopeValidator.js.map +1 -1
  163. package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomStopIdGroupValidator.js.map +1 -1
  164. package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomTypeValidator.js.map +1 -1
  165. package/dist/output-gateway/public/routers/{v1 → v2}/helpers/DetailedTripScopeEnum.js.map +1 -1
  166. package/dist/output-gateway/public/service/facade/DepartureBoardFacade.d.ts +1 -1
  167. package/dist/output-gateway/public/service/facade/DetailedTripFacade.d.ts +1 -1
  168. package/dist/output-gateway/public/service/facade/DetailedTripFacade.js +1 -1
  169. package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.d.ts +1 -1
  170. package/dist/output-gateway/public/service/facade/GtfsTripLookupFacade.js +1 -1
  171. package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.d.ts +1 -1
  172. package/dist/output-gateway/public/service/helpers/gtfs-trip-scope/GtfsTripScopeHandlerFactory.js +1 -1
  173. package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.d.ts +1 -1
  174. package/dist/output-gateway/public/service/helpers/trip-scope/TripScopeHandlerFactory.js +1 -1
  175. package/dist/output-gateway/ropid-gtfs/index.d.ts +1 -1
  176. package/dist/output-gateway/ropid-gtfs/index.js +1 -1
  177. package/dist/output-gateway/ropid-gtfs/index.js.map +1 -1
  178. package/dist/output-gateway/ropid-gtfs/routers/index.d.ts +1 -0
  179. package/dist/output-gateway/ropid-gtfs/routers/index.js +6 -0
  180. package/dist/output-gateway/ropid-gtfs/routers/index.js.map +1 -0
  181. package/dist/output-gateway/ropid-gtfs/{GTFSRouter.d.ts → routers/v2/V2GTFSRouter.d.ts} +11 -13
  182. package/dist/output-gateway/ropid-gtfs/{GTFSRouter.js → routers/v2/V2GTFSRouter.js} +16 -16
  183. package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.js.map +1 -0
  184. package/dist/output-gateway/shared/RopidRouterUtils.d.ts +4 -0
  185. package/dist/output-gateway/shared/RopidRouterUtils.js +11 -0
  186. package/dist/output-gateway/shared/RopidRouterUtils.js.map +1 -1
  187. package/dist/output-gateway/shared/constants/index.d.ts +1 -0
  188. package/dist/output-gateway/shared/constants/index.js +1 -0
  189. package/dist/output-gateway/shared/constants/index.js.map +1 -1
  190. package/dist/output-gateway/shared/constants/route-version.d.ts +5 -0
  191. package/dist/output-gateway/shared/constants/route-version.js +10 -0
  192. package/dist/output-gateway/shared/constants/route-version.js.map +1 -0
  193. package/dist/output-gateway/vehicle-positions/index.d.ts +1 -1
  194. package/dist/output-gateway/vehicle-positions/index.js +1 -1
  195. package/dist/output-gateway/vehicle-positions/index.js.map +1 -1
  196. package/dist/output-gateway/vehicle-positions/routers/index.d.ts +1 -0
  197. package/dist/output-gateway/vehicle-positions/routers/index.js +6 -0
  198. package/dist/output-gateway/vehicle-positions/routers/index.js.map +1 -0
  199. package/dist/output-gateway/vehicle-positions/{VehiclePositionsRouter.d.ts → routers/v2/V2VehiclePositionsRouter.d.ts} +6 -6
  200. package/dist/output-gateway/vehicle-positions/{VehiclePositionsRouter.js → routers/v2/V2VehiclePositionsRouter.js} +12 -11
  201. package/dist/output-gateway/vehicle-positions/routers/v2/V2VehiclePositionsRouter.js.map +1 -0
  202. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.d.ts +3 -0
  203. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js +59 -0
  204. package/dist/schema-definitions/jis/datasources/JISInfotextsJsonSchema.js.map +1 -0
  205. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.d.ts +16 -0
  206. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.js +3 -0
  207. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotext.js.map +1 -0
  208. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.d.ts +3 -0
  209. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.js +3 -0
  210. package/dist/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.js.map +1 -0
  211. package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.d.ts +4 -0
  212. package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.js +3 -0
  213. package/dist/schema-definitions/jis/datasources/interfaces/IJISTranslationText.js.map +1 -0
  214. package/dist/schema-definitions/jis/datasources/interfaces/index.d.ts +3 -0
  215. package/dist/schema-definitions/jis/datasources/interfaces/index.js +20 -0
  216. package/dist/schema-definitions/jis/datasources/interfaces/index.js.map +1 -0
  217. package/dist/schema-definitions/jis/models/JISInfotextsModel.d.ts +19 -0
  218. package/dist/schema-definitions/jis/models/JISInfotextsModel.js +80 -0
  219. package/dist/schema-definitions/jis/models/JISInfotextsModel.js.map +1 -0
  220. package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.d.ts +12 -0
  221. package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.js +41 -0
  222. package/dist/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.js.map +1 -0
  223. package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.d.ts +10 -0
  224. package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.js +3 -0
  225. package/dist/schema-definitions/jis/models/interfaces/IJISInfotext.js.map +1 -0
  226. package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.d.ts +4 -0
  227. package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.js +3 -0
  228. package/dist/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.js.map +1 -0
  229. package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.d.ts +4 -0
  230. package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.js +3 -0
  231. package/dist/schema-definitions/jis/models/interfaces/IJISTranslationText.js.map +1 -0
  232. package/dist/schema-definitions/jis/models/interfaces/index.d.ts +3 -0
  233. package/dist/schema-definitions/jis/models/interfaces/index.js +20 -0
  234. package/dist/schema-definitions/jis/models/interfaces/index.js.map +1 -0
  235. package/docs/assets/pid_jis_erd.png +0 -0
  236. package/docs/asyncapi.yaml +1371 -1332
  237. package/docs/implementation_documentation.md +86 -35
  238. package/docs/openapi-output.yaml +128 -69
  239. package/package.json +3 -3
  240. package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js.map +0 -1
  241. package/dist/output-gateway/pid/PIDRouter.js.map +0 -1
  242. package/dist/output-gateway/pid/controllers/DepartureBoardsController.js.map +0 -1
  243. package/dist/output-gateway/pid/controllers/InfotextsController.js.map +0 -1
  244. package/dist/output-gateway/pid/controllers/index.d.ts +0 -2
  245. package/dist/output-gateway/pid/controllers/index.js.map +0 -1
  246. package/dist/output-gateway/public/controllers/v1/PublicDepartureBoardsController.js.map +0 -1
  247. package/dist/output-gateway/public/controllers/v1/PublicGtfsController.js.map +0 -1
  248. package/dist/output-gateway/public/controllers/v1/PublicVehiclePositionsController.js.map +0 -1
  249. package/dist/output-gateway/public/routers/v1/PublicDeparturesRouter.js.map +0 -1
  250. package/dist/output-gateway/public/routers/v1/PublicGtfsRouter.js.map +0 -1
  251. package/dist/output-gateway/public/routers/v1/PublicVehiclePositionsRouter.js.map +0 -1
  252. package/dist/output-gateway/ropid-gtfs/GTFSRouter.js.map +0 -1
  253. package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js.map +0 -1
  254. /package/dist/output-gateway/public/controllers/{v1 → v2}/interfaces/PublicParamsInterfaces.js +0 -0
  255. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomScopeValidator.d.ts +0 -0
  256. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomScopeValidator.js +0 -0
  257. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomStopIdGroupValidator.d.ts +0 -0
  258. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomStopIdGroupValidator.js +0 -0
  259. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomTypeValidator.d.ts +0 -0
  260. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/CustomTypeValidator.js +0 -0
  261. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/DetailedTripScopeEnum.d.ts +0 -0
  262. /package/dist/output-gateway/public/routers/{v1 → v2}/helpers/DetailedTripScopeEnum.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-version.js","sourceRoot":"","sources":["../../../../src/output-gateway/shared/constants/route-version.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,yBAAS,CAAA;IACT,yBAAS,CAAA;IACT,yBAAS,CAAA;AACb,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
@@ -1,2 +1,2 @@
1
- export * from "./VehiclePositionsRouter";
1
+ export * from "./routers";
2
2
  export * from "./data-access";
@@ -14,6 +14,6 @@ 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("./VehiclePositionsRouter"), exports);
17
+ __exportStar(require("./routers"), exports);
18
18
  __exportStar(require("./data-access"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/output-gateway/vehicle-positions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/output-gateway/vehicle-positions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B"}
@@ -0,0 +1 @@
1
+ export { v2VehiclepositionsRouter } from "./v2/V2VehiclePositionsRouter";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v2VehiclepositionsRouter = void 0;
4
+ var V2VehiclePositionsRouter_1 = require("./v2/V2VehiclePositionsRouter");
5
+ Object.defineProperty(exports, "v2VehiclepositionsRouter", { enumerable: true, get: function () { return V2VehiclePositionsRouter_1.v2VehiclepositionsRouter; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/output-gateway/vehicle-positions/routers/index.ts"],"names":[],"mappings":";;;AAAA,0EAAyE;AAAhE,oIAAA,wBAAwB,OAAA"}
@@ -1,12 +1,12 @@
1
1
  /**
2
- *
3
2
  * Router /WEB LAYER/: maps routes to specific controller functions, passes request parameters and handles responses.
4
3
  * Handles web logic (http request, response). Sets response headers, handles error responses.
5
4
  */
6
5
  /// <reference types="express" />
7
6
  import { NextFunction, Request, Response, Router } from "@golemio/core/dist/shared/express";
8
- import { ITripWithPositionRepository } from "./data-access/interfaces/ITripWithPositionRepository";
9
- export declare class VehiclePositionsRouter {
7
+ import { ITripWithPositionRepository } from "../../data-access/interfaces/ITripWithPositionRepository";
8
+ import { AbstractRouter } from "@golemio/core/dist/helpers/routing/AbstractRouter";
9
+ export declare class V2VehiclePositionsRouter extends AbstractRouter {
10
10
  router: Router;
11
11
  private cacheHeaderMiddleware;
12
12
  private compressionByDefaultMiddleware;
@@ -19,7 +19,7 @@ export declare class VehiclePositionsRouter {
19
19
  * Initiates all routes. Should respond with correct data to a HTTP requests to all routes.
20
20
  * @param {number|string} expire TTL for the caching middleware
21
21
  */
22
- private initRoutes;
22
+ protected initRoutes: () => void;
23
23
  }
24
- declare const vehiclepositionsRouter: Router;
25
- export { vehiclepositionsRouter };
24
+ declare const v2VehiclepositionsRouter: AbstractRouter;
25
+ export { v2VehiclepositionsRouter };
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /**
3
- *
4
3
  * Router /WEB LAYER/: maps routes to specific controller functions, passes request parameters and handles responses.
5
4
  * Handles web logic (http request, response). Sets response headers, handles error responses.
6
5
  */
@@ -17,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
17
  };
19
18
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.vehiclepositionsRouter = exports.VehiclePositionsRouter = void 0;
21
- const shared_1 = require("../shared");
22
- const constants_1 = require("../shared/constants");
19
+ exports.v2VehiclepositionsRouter = exports.V2VehiclePositionsRouter = void 0;
20
+ const shared_1 = require("../../../shared");
21
+ const constants_1 = require("../../../shared/constants");
23
22
  const trace_provider_1 = require("@golemio/core/dist/monitoring/opentelemetry/trace-provider");
24
23
  const Utils_1 = require("@golemio/core/dist/output-gateway/Utils");
25
24
  const Validation_1 = require("@golemio/core/dist/output-gateway/Validation");
@@ -30,12 +29,14 @@ const express_validator_1 = require("@golemio/core/dist/shared/express-validator
30
29
  const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
31
30
  const moment_timezone_1 = __importDefault(require("@golemio/core/dist/shared/moment-timezone"));
32
31
  const util_1 = require("util");
33
- const data_access_1 = require("./data-access");
34
- class VehiclePositionsRouter {
32
+ const data_access_1 = require("../../data-access");
33
+ const AbstractRouter_1 = require("@golemio/core/dist/helpers/routing/AbstractRouter");
34
+ class V2VehiclePositionsRouter extends AbstractRouter_1.AbstractRouter {
35
35
  constructor() {
36
+ super(constants_1.RouteVersion.v2, "vehiclepositions");
36
37
  this.GetAll = (req, res, next) => __awaiter(this, void 0, void 0, function* () {
37
38
  const preferredTimezone = shared_1.RopidRouterUtils.getPreferredTimezone(req.query.preferredTimezone);
38
- const span = (0, trace_provider_1.createChildSpan)("VehiclePositionsRouter.GetAll");
39
+ const span = (0, trace_provider_1.createChildSpan)("V2VehiclePositionsRouter.GetAll");
39
40
  try {
40
41
  const result = yield this.tripWithPositionRepository.GetAll({
41
42
  cisTripNumber: Number(req.query.cisTripNumber) || undefined,
@@ -146,7 +147,7 @@ class VehiclePositionsRouter {
146
147
  this.initRoutes();
147
148
  }
148
149
  }
149
- exports.VehiclePositionsRouter = VehiclePositionsRouter;
150
- const vehiclepositionsRouter = new VehiclePositionsRouter().router;
151
- exports.vehiclepositionsRouter = vehiclepositionsRouter;
152
- //# sourceMappingURL=VehiclePositionsRouter.js.map
150
+ exports.V2VehiclePositionsRouter = V2VehiclePositionsRouter;
151
+ const v2VehiclepositionsRouter = new V2VehiclePositionsRouter();
152
+ exports.v2VehiclepositionsRouter = v2VehiclepositionsRouter;
153
+ //# sourceMappingURL=V2VehiclePositionsRouter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V2VehiclePositionsRouter.js","sourceRoot":"","sources":["../../../../../src/output-gateway/vehicle-positions/routers/v2/V2VehiclePositionsRouter.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;AAEH,4CAA8C;AAC9C,yDAAsE;AACtE,+FAA6F;AAG7F,mEAAiF;AACjF,6EAAkH;AAClH,+DAA+F;AAC/F,mEAAyE;AACzE,+DAA4G;AAC5G,mFAA2E;AAC3E,6EAAwE;AACxE,gGAA+D;AAC/D,+BAAiC;AACjC,mDAAiE;AAEjE,sFAAmF;AAEnF,MAAa,wBAAyB,SAAQ,+BAAc;IAMxD;QACI,KAAK,CAAC,wBAAY,CAAC,EAAE,EAAE,kBAAkB,CAAC,CAAC;QAUxC,WAAM,GAAG,CAAO,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YACtE,MAAM,iBAAiB,GAAG,yBAAgB,CAAC,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;YAC7F,MAAM,IAAI,GAAG,IAAA,gCAAe,EAAC,iCAAiC,CAAC,CAAC;YAChE,IAAI;gBACA,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC;oBACxD,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,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E,CAAC;AACvE,4DAAwB"}
@@ -0,0 +1,3 @@
1
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
2
+ import { IJISInfotext } from "./interfaces/IJISInfotext";
3
+ export declare const jisInfotextsJsonSchema: JSONSchemaType<IJISInfotext[]>;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jisInfotextsJsonSchema = void 0;
4
+ exports.jisInfotextsJsonSchema = {
5
+ type: "array",
6
+ items: {
7
+ type: "object",
8
+ properties: {
9
+ id: { type: "string" },
10
+ severity_level: { type: "string", enum: ["INFO", "WARNING", "SEVERE"] },
11
+ display_type: { type: "string", enum: ["GENERAL", "INLINE"] },
12
+ active_period: {
13
+ type: "object",
14
+ properties: {
15
+ start: { type: "string", format: "date-time" },
16
+ end: {
17
+ oneOf: [
18
+ { type: "string", format: "date-time" },
19
+ { type: "null", nullable: true },
20
+ ],
21
+ },
22
+ },
23
+ additionalProperties: false,
24
+ required: ["start"],
25
+ },
26
+ description_text: {
27
+ type: "object",
28
+ properties: {
29
+ cs: { type: "string" },
30
+ en: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
31
+ },
32
+ additionalProperties: false,
33
+ required: ["cs"],
34
+ },
35
+ informed_entity: {
36
+ type: "object",
37
+ nullable: true,
38
+ properties: {
39
+ stops: {
40
+ type: "array",
41
+ nullable: true,
42
+ items: {
43
+ type: "object",
44
+ properties: {
45
+ stop_id: { type: "string" },
46
+ },
47
+ additionalProperties: false,
48
+ required: ["stop_id"],
49
+ },
50
+ },
51
+ },
52
+ additionalProperties: false,
53
+ },
54
+ created_timestamp: { type: "string", format: "date-time" },
55
+ },
56
+ required: ["id", "severity_level", "display_type", "active_period", "description_text", "created_timestamp"],
57
+ },
58
+ };
59
+ //# sourceMappingURL=JISInfotextsJsonSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JISInfotextsJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-defin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;oBACR,KAAK,EAAE;wBACH,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,IAAI;wBACd,KAAK,EAAE;4BACH,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACR,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BAC9B;4BACD,oBAAoB,EAAE,KAAK;4BAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;yBACxB;qBACJ;iBACJ;gBACD,oBAAoB,EAAE,KAAK;aAC9B;YACD,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;SAC7D;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;KAC/G;CACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { IJISInfotextStop } from "./IJISInfotextStop";
2
+ import { IJISTranslationText } from "./IJISTranslationText";
3
+ export interface IJISInfotext {
4
+ id: string;
5
+ severity_level: string;
6
+ display_type: string;
7
+ active_period: {
8
+ start: string;
9
+ end: string | null;
10
+ };
11
+ description_text: IJISTranslationText;
12
+ informed_entity?: {
13
+ stops?: IJISInfotextStop[] | null;
14
+ } | null;
15
+ created_timestamp: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISInfotext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISInfotext.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/IJISInfotext.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface IJISInfotextStop {
2
+ stop_id: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISInfotextStop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISInfotextStop.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/IJISInfotextStop.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IJISTranslationText {
2
+ cs: string;
3
+ en: string | null;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISTranslationText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISTranslationText.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/datasources/interfaces/IJISTranslationText.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./IJISInfotext";
2
+ export * from "./IJISInfotextStop";
3
+ export * from "./IJISTranslationText";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IJISInfotext"), exports);
18
+ __exportStar(require("./IJISInfotextStop"), exports);
19
+ __exportStar(require("./IJISTranslationText"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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"}
@@ -0,0 +1,19 @@
1
+ import { StopDto } from "../../ropid-gtfs/models/StopDto";
2
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
3
+ import { CreationOptional, InferAttributes, InferCreationAttributes, Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
4
+ import { IJISInfotext, IJISTranslationText } from "./interfaces";
5
+ export declare class JISInfotextsModel extends Model<InferAttributes<JISInfotextsModel>, InferCreationAttributes<JISInfotextsModel>> implements IJISInfotext {
6
+ static tableName: string;
7
+ id: string;
8
+ severity_level: string;
9
+ display_type: string;
10
+ active_period_start: Date;
11
+ active_period_end: Date | null;
12
+ description_text: IJISTranslationText;
13
+ created_timestamp: Date;
14
+ created_at: CreationOptional<Date>;
15
+ updated_at: CreationOptional<Date>;
16
+ stops?: StopDto[];
17
+ static attributeModel: ModelAttributes<JISInfotextsModel>;
18
+ static jsonSchema: JSONSchemaType<IJISInfotext[]>;
19
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JISInfotextsModel = void 0;
4
+ const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
+ class JISInfotextsModel extends sequelize_1.Model {
6
+ }
7
+ exports.JISInfotextsModel = JISInfotextsModel;
8
+ JISInfotextsModel.tableName = "jis_infotexts";
9
+ JISInfotextsModel.attributeModel = {
10
+ id: {
11
+ primaryKey: true,
12
+ allowNull: false,
13
+ type: sequelize_1.DataTypes.UUID,
14
+ },
15
+ severity_level: {
16
+ type: sequelize_1.DataTypes.STRING(255),
17
+ allowNull: false,
18
+ },
19
+ display_type: {
20
+ type: sequelize_1.DataTypes.STRING(255),
21
+ allowNull: false,
22
+ },
23
+ active_period_start: {
24
+ type: sequelize_1.DataTypes.DATE,
25
+ allowNull: false,
26
+ },
27
+ active_period_end: {
28
+ type: sequelize_1.DataTypes.DATE,
29
+ },
30
+ description_text: {
31
+ type: sequelize_1.DataTypes.JSONB,
32
+ allowNull: false,
33
+ },
34
+ created_timestamp: {
35
+ type: sequelize_1.DataTypes.DATE,
36
+ allowNull: false,
37
+ },
38
+ created_at: {
39
+ type: sequelize_1.DataTypes.DATE,
40
+ allowNull: false,
41
+ },
42
+ updated_at: {
43
+ type: sequelize_1.DataTypes.DATE,
44
+ allowNull: false,
45
+ },
46
+ };
47
+ JISInfotextsModel.jsonSchema = {
48
+ type: "array",
49
+ items: {
50
+ type: "object",
51
+ properties: {
52
+ id: { type: "string" },
53
+ severity_level: { type: "string", enum: ["INFO", "WARNING", "SEVERE"] },
54
+ display_type: { type: "string", enum: ["GENERAL", "INLINE"] },
55
+ active_period_start: { type: "object", required: ["toISOString"] },
56
+ active_period_end: {
57
+ oneOf: [
58
+ { type: "object", required: ["toISOString"] },
59
+ { type: "null", nullable: true },
60
+ ],
61
+ },
62
+ description_text: { $ref: "#/definitions/Translation" },
63
+ created_timestamp: { type: "object", required: ["toISOString"] },
64
+ },
65
+ additionalProperties: false,
66
+ required: ["id", "severity_level", "display_type", "active_period_start", "description_text", "created_timestamp"],
67
+ },
68
+ definitions: {
69
+ Translation: {
70
+ type: "object",
71
+ properties: {
72
+ cs: { type: "string" },
73
+ en: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
74
+ },
75
+ additionalProperties: false,
76
+ required: ["cs"],
77
+ },
78
+ },
79
+ };
80
+ //# sourceMappingURL=JISInfotextsModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JISInfotextsModel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/models/JISInfotextsModel.ts"],"names":[],"mappings":";;;AAEA,mEAO6C;AAG7C,MAAa,iBACT,SAAQ,iBAAqF;;AADjG,8CA2FC;AAvFiB,2BAAS,GAAG,eAAe,CAAC;AAe5B,gCAAc,GAAuC;IAC/D,EAAE,EAAE;QACA,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,qBAAS,CAAC,IAAI;KACvB;IACD,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AAE,CAAC,aAAa,CAAC,EAAE;oBAC7C,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;iBACnC;aACJ;YACD,gBAAgB,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE;YACvD,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE;SACnE;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,cAAc,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;KACrH;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"}
@@ -0,0 +1,12 @@
1
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
2
+ import { CreationOptional, InferAttributes, InferCreationAttributes, Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
3
+ import { IJISInfotextsRopidGTFSStops } from "./interfaces";
4
+ export declare class JISInfotextsRopidGTFSStopsModel extends Model<InferAttributes<JISInfotextsRopidGTFSStopsModel>, InferCreationAttributes<JISInfotextsRopidGTFSStopsModel>> implements IJISInfotextsRopidGTFSStops {
5
+ static tableName: string;
6
+ infotext_id: string;
7
+ stop_id: string;
8
+ created_at: CreationOptional<Date>;
9
+ updated_at: CreationOptional<Date>;
10
+ static attributeModel: ModelAttributes<JISInfotextsRopidGTFSStopsModel>;
11
+ static jsonSchema: JSONSchemaType<IJISInfotextsRopidGTFSStops[]>;
12
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JISInfotextsRopidGTFSStopsModel = void 0;
4
+ const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
+ class JISInfotextsRopidGTFSStopsModel extends sequelize_1.Model {
6
+ }
7
+ exports.JISInfotextsRopidGTFSStopsModel = JISInfotextsRopidGTFSStopsModel;
8
+ JISInfotextsRopidGTFSStopsModel.tableName = "jis_infotexts_ropidgtfs_stops";
9
+ JISInfotextsRopidGTFSStopsModel.attributeModel = {
10
+ infotext_id: {
11
+ primaryKey: true,
12
+ type: sequelize_1.DataTypes.UUID,
13
+ allowNull: false,
14
+ },
15
+ stop_id: {
16
+ primaryKey: true,
17
+ type: sequelize_1.DataTypes.STRING(50),
18
+ allowNull: false,
19
+ },
20
+ created_at: {
21
+ type: sequelize_1.DataTypes.DATE,
22
+ allowNull: false,
23
+ },
24
+ updated_at: {
25
+ type: sequelize_1.DataTypes.DATE,
26
+ allowNull: false,
27
+ },
28
+ };
29
+ JISInfotextsRopidGTFSStopsModel.jsonSchema = {
30
+ type: "array",
31
+ items: {
32
+ type: "object",
33
+ properties: {
34
+ infotext_id: { type: "string" },
35
+ stop_id: { type: "string" },
36
+ },
37
+ additionalProperties: false,
38
+ required: ["infotext_id", "stop_id"],
39
+ },
40
+ };
41
+ //# sourceMappingURL=JISInfotextsRopidGTFSStopsModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JISInfotextsRopidGTFSStopsModel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/models/JISInfotextsRopidGTFSStopsModel.ts"],"names":[],"mappings":";;;AACA,mEAO6C;AAG7C,MAAa,+BACT,SAAQ,iBAAiH;;AAD7H,0EA4CC;AAxCiB,yCAAS,GAAG,+BAA+B,CAAC;AAO5C,8CAAc,GAAqD;IAC7E,WAAW,EAAE;QACT,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;IACD,OAAO,EAAE;QACL,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,SAAS,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;CACJ,CAAC;AAEY,0CAAU,GAAkD;IACtE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC/B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC9B;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC;KACvC;CACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { IJISTranslationText } from "./IJISTranslationText";
2
+ export interface IJISInfotext {
3
+ id: string;
4
+ severity_level: string;
5
+ display_type: string;
6
+ active_period_start: Date;
7
+ active_period_end: Date | null;
8
+ description_text: IJISTranslationText;
9
+ created_timestamp: Date;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISInfotext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISInfotext.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/models/interfaces/IJISInfotext.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IJISInfotextsRopidGTFSStops {
2
+ infotext_id: string;
3
+ stop_id: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISInfotextsRopidGTFSStops.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISInfotextsRopidGTFSStops.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/models/interfaces/IJISInfotextsRopidGTFSStops.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IJISTranslationText {
2
+ cs: string;
3
+ en?: string | null;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IJISTranslationText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IJISTranslationText.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/models/interfaces/IJISTranslationText.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./IJISInfotext";
2
+ export * from "./IJISInfotextsRopidGTFSStops";
3
+ export * from "./IJISTranslationText";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IJISInfotext"), exports);
18
+ __exportStar(require("./IJISInfotextsRopidGTFSStops"), exports);
19
+ __exportStar(require("./IJISTranslationText"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/models/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gEAA8C;AAC9C,wDAAsC"}
Binary file