@tiducto/spider-sdk-typescript 1.1.0 → 1.2.0

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 (325) hide show
  1. package/README.md +2 -2
  2. package/dist/contract/routing/AccessibilityPreferencesInput.d.ts +1 -0
  3. package/dist/contract/routing/AccessibilityPreferencesInput.d.ts.map +1 -1
  4. package/dist/contract/routing/AlightPreferencesInput.d.ts +2 -0
  5. package/dist/contract/routing/AlightPreferencesInput.d.ts.map +1 -1
  6. package/dist/contract/routing/BoardPreferencesInput.d.ts +4 -1
  7. package/dist/contract/routing/BoardPreferencesInput.d.ts.map +1 -1
  8. package/dist/contract/routing/{StopDeparturesStop2.d.ts → DepartureBoard.d.ts} +4 -2
  9. package/dist/contract/routing/DepartureBoard.d.ts.map +1 -0
  10. package/dist/contract/routing/DepartureBoard.js +2 -0
  11. package/dist/contract/routing/DepartureBoard.js.map +1 -0
  12. package/dist/contract/routing/DeparturesRequest.d.ts +12 -0
  13. package/dist/contract/routing/DeparturesRequest.d.ts.map +1 -0
  14. package/dist/contract/routing/DeparturesRequest.js +2 -0
  15. package/dist/contract/routing/DeparturesRequest.js.map +1 -0
  16. package/dist/contract/routing/DeparturesResponse.d.ts +6 -0
  17. package/dist/contract/routing/DeparturesResponse.d.ts.map +1 -0
  18. package/dist/contract/routing/DeparturesResponse.js +2 -0
  19. package/dist/contract/routing/DeparturesResponse.js.map +1 -0
  20. package/dist/contract/routing/ErrorResponse.d.ts +4 -1
  21. package/dist/contract/routing/ErrorResponse.d.ts.map +1 -1
  22. package/dist/contract/routing/Geometry.d.ts +1 -0
  23. package/dist/contract/routing/Geometry.d.ts.map +1 -1
  24. package/dist/contract/routing/Itinerary.d.ts +4 -1
  25. package/dist/contract/routing/Itinerary.d.ts.map +1 -1
  26. package/dist/contract/routing/Leg.d.ts +9 -2
  27. package/dist/contract/routing/Leg.d.ts.map +1 -1
  28. package/dist/contract/routing/LegTime.d.ts +1 -0
  29. package/dist/contract/routing/LegTime.d.ts.map +1 -1
  30. package/dist/contract/routing/Place.d.ts +1 -0
  31. package/dist/contract/routing/Place.d.ts.map +1 -1
  32. package/dist/contract/routing/PlanCoordinateInput.d.ts +3 -0
  33. package/dist/contract/routing/PlanCoordinateInput.d.ts.map +1 -1
  34. package/dist/contract/routing/PlanDateTimeInput.d.ts +3 -0
  35. package/dist/contract/routing/PlanDateTimeInput.d.ts.map +1 -1
  36. package/dist/contract/routing/PlanLabeledLocationInput.d.ts +1 -1
  37. package/dist/contract/routing/PlanLabeledLocationInput.d.ts.map +1 -1
  38. package/dist/contract/routing/PlanLocationInput.d.ts +3 -0
  39. package/dist/contract/routing/PlanLocationInput.d.ts.map +1 -1
  40. package/dist/contract/routing/PlanModesInput.d.ts +4 -3
  41. package/dist/contract/routing/PlanModesInput.d.ts.map +1 -1
  42. package/dist/contract/routing/PlanPageInfo.d.ts +3 -0
  43. package/dist/contract/routing/PlanPageInfo.d.ts.map +1 -1
  44. package/dist/contract/routing/PlanPassThroughViaLocationInput.d.ts +2 -1
  45. package/dist/contract/routing/PlanPassThroughViaLocationInput.d.ts.map +1 -1
  46. package/dist/contract/routing/PlanPreferencesInput.d.ts +2 -1
  47. package/dist/contract/routing/PlanPreferencesInput.d.ts.map +1 -1
  48. package/dist/contract/routing/PlanStopLocationInput.d.ts +2 -0
  49. package/dist/contract/routing/PlanStopLocationInput.d.ts.map +1 -1
  50. package/dist/contract/routing/PlanStreamChunkEvent.d.ts +13 -0
  51. package/dist/contract/routing/PlanStreamChunkEvent.d.ts.map +1 -0
  52. package/dist/contract/routing/PlanStreamChunkEvent.js +2 -0
  53. package/dist/contract/routing/PlanStreamChunkEvent.js.map +1 -0
  54. package/dist/contract/routing/PlanStreamDoneEvent.d.ts +12 -0
  55. package/dist/contract/routing/PlanStreamDoneEvent.d.ts.map +1 -0
  56. package/dist/contract/routing/PlanStreamDoneEvent.js +2 -0
  57. package/dist/contract/routing/PlanStreamDoneEvent.js.map +1 -0
  58. package/dist/contract/routing/PlanStreamPageInfoEvent.d.ts +15 -0
  59. package/dist/contract/routing/PlanStreamPageInfoEvent.d.ts.map +1 -0
  60. package/dist/contract/routing/PlanStreamPageInfoEvent.js +2 -0
  61. package/dist/contract/routing/PlanStreamPageInfoEvent.js.map +1 -0
  62. package/dist/contract/routing/PlanStreamRequest.d.ts +29 -0
  63. package/dist/contract/routing/PlanStreamRequest.d.ts.map +1 -0
  64. package/dist/contract/routing/PlanStreamRequest.js +2 -0
  65. package/dist/contract/routing/PlanStreamRequest.js.map +1 -0
  66. package/dist/contract/routing/PlanStreetPreferencesInput.d.ts +1 -6
  67. package/dist/contract/routing/PlanStreetPreferencesInput.d.ts.map +1 -1
  68. package/dist/contract/routing/PlanTransitModePreferenceInput.d.ts +2 -1
  69. package/dist/contract/routing/PlanTransitModePreferenceInput.d.ts.map +1 -1
  70. package/dist/contract/routing/PlanTransitModesInput.d.ts +2 -6
  71. package/dist/contract/routing/PlanTransitModesInput.d.ts.map +1 -1
  72. package/dist/contract/routing/PlanTripRequest.d.ts +31 -0
  73. package/dist/contract/routing/PlanTripRequest.d.ts.map +1 -0
  74. package/dist/contract/routing/PlanTripRequest.js +2 -0
  75. package/dist/contract/routing/PlanTripRequest.js.map +1 -0
  76. package/dist/contract/routing/PlanTripResponse.d.ts +13 -0
  77. package/dist/contract/routing/PlanTripResponse.d.ts.map +1 -0
  78. package/dist/contract/routing/PlanTripResponse.js +2 -0
  79. package/dist/contract/routing/PlanTripResponse.js.map +1 -0
  80. package/dist/contract/routing/PlanViaLocationInput.d.ts +3 -0
  81. package/dist/contract/routing/PlanViaLocationInput.d.ts.map +1 -1
  82. package/dist/contract/routing/PlanVisitViaLocationInput.d.ts +4 -4
  83. package/dist/contract/routing/PlanVisitViaLocationInput.d.ts.map +1 -1
  84. package/dist/contract/routing/RealTimeEstimate.d.ts +1 -0
  85. package/dist/contract/routing/RealTimeEstimate.d.ts.map +1 -1
  86. package/dist/contract/routing/Reliability.d.ts +1 -1
  87. package/dist/contract/routing/Reliability.d.ts.map +1 -1
  88. package/dist/contract/routing/Route.d.ts +2 -0
  89. package/dist/contract/routing/Route.d.ts.map +1 -1
  90. package/dist/contract/routing/RoutingError.d.ts +2 -0
  91. package/dist/contract/routing/RoutingError.d.ts.map +1 -1
  92. package/dist/contract/routing/Stop.d.ts +2 -0
  93. package/dist/contract/routing/Stop.d.ts.map +1 -1
  94. package/dist/contract/routing/StopDeparturesRoute.d.ts +2 -0
  95. package/dist/contract/routing/StopDeparturesRoute.d.ts.map +1 -1
  96. package/dist/contract/routing/StopDeparturesStop.d.ts +1 -0
  97. package/dist/contract/routing/StopDeparturesStop.d.ts.map +1 -1
  98. package/dist/contract/routing/StopDeparturesStoptime.d.ts +6 -1
  99. package/dist/contract/routing/StopDeparturesStoptime.d.ts.map +1 -1
  100. package/dist/contract/routing/Stoptime.d.ts +7 -1
  101. package/dist/contract/routing/Stoptime.d.ts.map +1 -1
  102. package/dist/contract/routing/TransferPreferencesInput.d.ts +5 -2
  103. package/dist/contract/routing/TransferPreferencesInput.d.ts.map +1 -1
  104. package/dist/contract/routing/TransitFilterInput.d.ts +2 -1
  105. package/dist/contract/routing/TransitFilterInput.d.ts.map +1 -1
  106. package/dist/contract/routing/TransitFilterSelectInput.d.ts +4 -1
  107. package/dist/contract/routing/TransitFilterSelectInput.d.ts.map +1 -1
  108. package/dist/contract/routing/TransitModePreferenceCostInput.d.ts +2 -0
  109. package/dist/contract/routing/TransitModePreferenceCostInput.d.ts.map +1 -1
  110. package/dist/contract/routing/TransitPreferencesInput.d.ts +4 -4
  111. package/dist/contract/routing/TransitPreferencesInput.d.ts.map +1 -1
  112. package/dist/contract/routing/TripGeometry.d.ts +2 -0
  113. package/dist/contract/routing/TripGeometry.d.ts.map +1 -1
  114. package/dist/contract/routing/TripRequest.d.ts +8 -0
  115. package/dist/contract/routing/TripRequest.d.ts.map +1 -0
  116. package/dist/contract/routing/TripRequest.js +2 -0
  117. package/dist/contract/routing/TripRequest.js.map +1 -0
  118. package/dist/contract/routing/TripResponse.d.ts +3 -4
  119. package/dist/contract/routing/TripResponse.d.ts.map +1 -1
  120. package/dist/contract/routing/TripRoute.d.ts +2 -0
  121. package/dist/contract/routing/TripRoute.d.ts.map +1 -1
  122. package/dist/contract/routing/TripStop.d.ts +2 -0
  123. package/dist/contract/routing/TripStop.d.ts.map +1 -1
  124. package/dist/contract/routing/{TripTrip.d.ts → TripTimetable.d.ts} +4 -2
  125. package/dist/contract/routing/TripTimetable.d.ts.map +1 -0
  126. package/dist/contract/routing/TripTimetable.js +2 -0
  127. package/dist/contract/routing/TripTimetable.js.map +1 -0
  128. package/dist/contract/routing/WalkPreferencesInput.d.ts +6 -3
  129. package/dist/contract/routing/WalkPreferencesInput.d.ts.map +1 -1
  130. package/dist/contract/routing/WheelchairPreferencesInput.d.ts +2 -0
  131. package/dist/contract/routing/WheelchairPreferencesInput.d.ts.map +1 -1
  132. package/dist/contract/routing/index.d.ts +11 -41
  133. package/dist/contract/routing/index.d.ts.map +1 -1
  134. package/dist/contractVersion.d.ts +1 -1
  135. package/dist/contractVersion.js +1 -1
  136. package/dist/errors.d.ts +7 -16
  137. package/dist/errors.d.ts.map +1 -1
  138. package/dist/errors.js +11 -17
  139. package/dist/errors.js.map +1 -1
  140. package/dist/http.d.ts +2 -29
  141. package/dist/http.d.ts.map +1 -1
  142. package/dist/http.js +5 -37
  143. package/dist/http.js.map +1 -1
  144. package/dist/location.d.ts +4 -2
  145. package/dist/location.d.ts.map +1 -1
  146. package/dist/location.js +4 -2
  147. package/dist/location.js.map +1 -1
  148. package/dist/realtime.js +4 -4
  149. package/dist/realtime.js.map +1 -1
  150. package/dist/routing.d.ts +5 -2
  151. package/dist/routing.d.ts.map +1 -1
  152. package/dist/routing.js +54 -90
  153. package/dist/routing.js.map +1 -1
  154. package/dist/sdk.d.ts +1 -1
  155. package/dist/sdkVersion.d.ts +1 -1
  156. package/dist/sdkVersion.js +1 -1
  157. package/dist/stops.js +2 -2
  158. package/dist/stops.js.map +1 -1
  159. package/package.json +1 -1
  160. package/dist/contract/routing/BicycleParkingPreferencesInput.d.ts +0 -7
  161. package/dist/contract/routing/BicycleParkingPreferencesInput.d.ts.map +0 -1
  162. package/dist/contract/routing/BicycleParkingPreferencesInput.js +0 -2
  163. package/dist/contract/routing/BicycleParkingPreferencesInput.js.map +0 -1
  164. package/dist/contract/routing/BicyclePreferencesInput.d.ts +0 -14
  165. package/dist/contract/routing/BicyclePreferencesInput.d.ts.map +0 -1
  166. package/dist/contract/routing/BicyclePreferencesInput.js +0 -2
  167. package/dist/contract/routing/BicyclePreferencesInput.js.map +0 -1
  168. package/dist/contract/routing/BicycleRentalPreferencesInput.d.ts +0 -7
  169. package/dist/contract/routing/BicycleRentalPreferencesInput.d.ts.map +0 -1
  170. package/dist/contract/routing/BicycleRentalPreferencesInput.js +0 -2
  171. package/dist/contract/routing/BicycleRentalPreferencesInput.js.map +0 -1
  172. package/dist/contract/routing/BicycleWalkPreferencesCostInput.d.ts +0 -5
  173. package/dist/contract/routing/BicycleWalkPreferencesCostInput.d.ts.map +0 -1
  174. package/dist/contract/routing/BicycleWalkPreferencesCostInput.js +0 -2
  175. package/dist/contract/routing/BicycleWalkPreferencesCostInput.js.map +0 -1
  176. package/dist/contract/routing/BicycleWalkPreferencesInput.d.ts +0 -7
  177. package/dist/contract/routing/BicycleWalkPreferencesInput.d.ts.map +0 -1
  178. package/dist/contract/routing/BicycleWalkPreferencesInput.js +0 -2
  179. package/dist/contract/routing/BicycleWalkPreferencesInput.js.map +0 -1
  180. package/dist/contract/routing/CarParkingPreferencesInput.d.ts +0 -7
  181. package/dist/contract/routing/CarParkingPreferencesInput.d.ts.map +0 -1
  182. package/dist/contract/routing/CarParkingPreferencesInput.js +0 -2
  183. package/dist/contract/routing/CarParkingPreferencesInput.js.map +0 -1
  184. package/dist/contract/routing/CarPreferencesInput.d.ts +0 -9
  185. package/dist/contract/routing/CarPreferencesInput.d.ts.map +0 -1
  186. package/dist/contract/routing/CarPreferencesInput.js +0 -2
  187. package/dist/contract/routing/CarPreferencesInput.js.map +0 -1
  188. package/dist/contract/routing/CarRentalPreferencesInput.d.ts +0 -6
  189. package/dist/contract/routing/CarRentalPreferencesInput.d.ts.map +0 -1
  190. package/dist/contract/routing/CarRentalPreferencesInput.js +0 -2
  191. package/dist/contract/routing/CarRentalPreferencesInput.js.map +0 -1
  192. package/dist/contract/routing/CyclingOptimizationInput.d.ts +0 -7
  193. package/dist/contract/routing/CyclingOptimizationInput.d.ts.map +0 -1
  194. package/dist/contract/routing/CyclingOptimizationInput.js +0 -2
  195. package/dist/contract/routing/CyclingOptimizationInput.js.map +0 -1
  196. package/dist/contract/routing/CyclingOptimizationType.d.ts +0 -2
  197. package/dist/contract/routing/CyclingOptimizationType.d.ts.map +0 -1
  198. package/dist/contract/routing/CyclingOptimizationType.js +0 -2
  199. package/dist/contract/routing/CyclingOptimizationType.js.map +0 -1
  200. package/dist/contract/routing/DestinationBicyclePolicyInput.d.ts +0 -5
  201. package/dist/contract/routing/DestinationBicyclePolicyInput.d.ts.map +0 -1
  202. package/dist/contract/routing/DestinationBicyclePolicyInput.js +0 -2
  203. package/dist/contract/routing/DestinationBicyclePolicyInput.js.map +0 -1
  204. package/dist/contract/routing/DestinationScooterPolicyInput.d.ts +0 -5
  205. package/dist/contract/routing/DestinationScooterPolicyInput.d.ts.map +0 -1
  206. package/dist/contract/routing/DestinationScooterPolicyInput.js +0 -2
  207. package/dist/contract/routing/DestinationScooterPolicyInput.js.map +0 -1
  208. package/dist/contract/routing/GraphQLError.d.ts +0 -5
  209. package/dist/contract/routing/GraphQLError.d.ts.map +0 -1
  210. package/dist/contract/routing/GraphQLError.js +0 -2
  211. package/dist/contract/routing/GraphQLError.js.map +0 -1
  212. package/dist/contract/routing/ParkingFilter.d.ts +0 -6
  213. package/dist/contract/routing/ParkingFilter.d.ts.map +0 -1
  214. package/dist/contract/routing/ParkingFilter.js +0 -2
  215. package/dist/contract/routing/ParkingFilter.js.map +0 -1
  216. package/dist/contract/routing/ParkingFilterOperation.d.ts +0 -4
  217. package/dist/contract/routing/ParkingFilterOperation.d.ts.map +0 -1
  218. package/dist/contract/routing/ParkingFilterOperation.js +0 -2
  219. package/dist/contract/routing/ParkingFilterOperation.js.map +0 -1
  220. package/dist/contract/routing/PlanAccessMode.d.ts +0 -2
  221. package/dist/contract/routing/PlanAccessMode.d.ts.map +0 -1
  222. package/dist/contract/routing/PlanAccessMode.js +0 -2
  223. package/dist/contract/routing/PlanAccessMode.js.map +0 -1
  224. package/dist/contract/routing/PlanConnection.d.ts +0 -10
  225. package/dist/contract/routing/PlanConnection.d.ts.map +0 -1
  226. package/dist/contract/routing/PlanConnection.js +0 -2
  227. package/dist/contract/routing/PlanConnection.js.map +0 -1
  228. package/dist/contract/routing/PlanConnectionData.d.ts +0 -5
  229. package/dist/contract/routing/PlanConnectionData.d.ts.map +0 -1
  230. package/dist/contract/routing/PlanConnectionData.js +0 -2
  231. package/dist/contract/routing/PlanConnectionData.js.map +0 -1
  232. package/dist/contract/routing/PlanConnectionResponse.d.ts +0 -7
  233. package/dist/contract/routing/PlanConnectionResponse.d.ts.map +0 -1
  234. package/dist/contract/routing/PlanConnectionResponse.js +0 -2
  235. package/dist/contract/routing/PlanConnectionResponse.js.map +0 -1
  236. package/dist/contract/routing/PlanConnectionStreamData.d.ts +0 -5
  237. package/dist/contract/routing/PlanConnectionStreamData.d.ts.map +0 -1
  238. package/dist/contract/routing/PlanConnectionStreamData.js +0 -2
  239. package/dist/contract/routing/PlanConnectionStreamData.js.map +0 -1
  240. package/dist/contract/routing/PlanConnectionStreamResponse.d.ts +0 -7
  241. package/dist/contract/routing/PlanConnectionStreamResponse.d.ts.map +0 -1
  242. package/dist/contract/routing/PlanConnectionStreamResponse.js +0 -2
  243. package/dist/contract/routing/PlanConnectionStreamResponse.js.map +0 -1
  244. package/dist/contract/routing/PlanConnectionStreamVariables.d.ts +0 -21
  245. package/dist/contract/routing/PlanConnectionStreamVariables.d.ts.map +0 -1
  246. package/dist/contract/routing/PlanConnectionStreamVariables.js +0 -2
  247. package/dist/contract/routing/PlanConnectionStreamVariables.js.map +0 -1
  248. package/dist/contract/routing/PlanConnectionVariables.d.ts +0 -20
  249. package/dist/contract/routing/PlanConnectionVariables.d.ts.map +0 -1
  250. package/dist/contract/routing/PlanConnectionVariables.js +0 -2
  251. package/dist/contract/routing/PlanConnectionVariables.js.map +0 -1
  252. package/dist/contract/routing/PlanDirectMode.d.ts +0 -2
  253. package/dist/contract/routing/PlanDirectMode.d.ts.map +0 -1
  254. package/dist/contract/routing/PlanDirectMode.js +0 -2
  255. package/dist/contract/routing/PlanDirectMode.js.map +0 -1
  256. package/dist/contract/routing/PlanEdge.d.ts +0 -6
  257. package/dist/contract/routing/PlanEdge.d.ts.map +0 -1
  258. package/dist/contract/routing/PlanEdge.js +0 -2
  259. package/dist/contract/routing/PlanEdge.js.map +0 -1
  260. package/dist/contract/routing/PlanEgressMode.d.ts +0 -2
  261. package/dist/contract/routing/PlanEgressMode.d.ts.map +0 -1
  262. package/dist/contract/routing/PlanEgressMode.js +0 -2
  263. package/dist/contract/routing/PlanEgressMode.js.map +0 -1
  264. package/dist/contract/routing/PlanTransferMode.d.ts +0 -2
  265. package/dist/contract/routing/PlanTransferMode.d.ts.map +0 -1
  266. package/dist/contract/routing/PlanTransferMode.js +0 -2
  267. package/dist/contract/routing/PlanTransferMode.js.map +0 -1
  268. package/dist/contract/routing/ScooterOptimizationInput.d.ts +0 -7
  269. package/dist/contract/routing/ScooterOptimizationInput.d.ts.map +0 -1
  270. package/dist/contract/routing/ScooterOptimizationInput.js +0 -2
  271. package/dist/contract/routing/ScooterOptimizationInput.js.map +0 -1
  272. package/dist/contract/routing/ScooterOptimizationType.d.ts +0 -2
  273. package/dist/contract/routing/ScooterOptimizationType.d.ts.map +0 -1
  274. package/dist/contract/routing/ScooterOptimizationType.js +0 -2
  275. package/dist/contract/routing/ScooterOptimizationType.js.map +0 -1
  276. package/dist/contract/routing/ScooterPreferencesInput.d.ts +0 -9
  277. package/dist/contract/routing/ScooterPreferencesInput.d.ts.map +0 -1
  278. package/dist/contract/routing/ScooterPreferencesInput.js +0 -2
  279. package/dist/contract/routing/ScooterPreferencesInput.js.map +0 -1
  280. package/dist/contract/routing/ScooterRentalPreferencesInput.d.ts +0 -7
  281. package/dist/contract/routing/ScooterRentalPreferencesInput.d.ts.map +0 -1
  282. package/dist/contract/routing/ScooterRentalPreferencesInput.js +0 -2
  283. package/dist/contract/routing/ScooterRentalPreferencesInput.js.map +0 -1
  284. package/dist/contract/routing/StopDeparturesData.d.ts +0 -6
  285. package/dist/contract/routing/StopDeparturesData.d.ts.map +0 -1
  286. package/dist/contract/routing/StopDeparturesData.js +0 -2
  287. package/dist/contract/routing/StopDeparturesData.js.map +0 -1
  288. package/dist/contract/routing/StopDeparturesResponse.d.ts +0 -7
  289. package/dist/contract/routing/StopDeparturesResponse.d.ts.map +0 -1
  290. package/dist/contract/routing/StopDeparturesResponse.js +0 -2
  291. package/dist/contract/routing/StopDeparturesResponse.js.map +0 -1
  292. package/dist/contract/routing/StopDeparturesStop2.d.ts.map +0 -1
  293. package/dist/contract/routing/StopDeparturesStop2.js +0 -2
  294. package/dist/contract/routing/StopDeparturesStop2.js.map +0 -1
  295. package/dist/contract/routing/StopDeparturesVariables.d.ts +0 -7
  296. package/dist/contract/routing/StopDeparturesVariables.d.ts.map +0 -1
  297. package/dist/contract/routing/StopDeparturesVariables.js +0 -2
  298. package/dist/contract/routing/StopDeparturesVariables.js.map +0 -1
  299. package/dist/contract/routing/TimetablePreferencesInput.d.ts +0 -6
  300. package/dist/contract/routing/TimetablePreferencesInput.d.ts.map +0 -1
  301. package/dist/contract/routing/TimetablePreferencesInput.js +0 -2
  302. package/dist/contract/routing/TimetablePreferencesInput.js.map +0 -1
  303. package/dist/contract/routing/TriangleCyclingFactorsInput.d.ts +0 -6
  304. package/dist/contract/routing/TriangleCyclingFactorsInput.d.ts.map +0 -1
  305. package/dist/contract/routing/TriangleCyclingFactorsInput.js +0 -2
  306. package/dist/contract/routing/TriangleCyclingFactorsInput.js.map +0 -1
  307. package/dist/contract/routing/TriangleScooterFactorsInput.d.ts +0 -6
  308. package/dist/contract/routing/TriangleScooterFactorsInput.d.ts.map +0 -1
  309. package/dist/contract/routing/TriangleScooterFactorsInput.js +0 -2
  310. package/dist/contract/routing/TriangleScooterFactorsInput.js.map +0 -1
  311. package/dist/contract/routing/TripData.d.ts +0 -5
  312. package/dist/contract/routing/TripData.d.ts.map +0 -1
  313. package/dist/contract/routing/TripData.js +0 -2
  314. package/dist/contract/routing/TripData.js.map +0 -1
  315. package/dist/contract/routing/TripTrip.d.ts.map +0 -1
  316. package/dist/contract/routing/TripTrip.js +0 -2
  317. package/dist/contract/routing/TripTrip.js.map +0 -1
  318. package/dist/contract/routing/TripVariables.d.ts +0 -5
  319. package/dist/contract/routing/TripVariables.d.ts.map +0 -1
  320. package/dist/contract/routing/TripVariables.js +0 -2
  321. package/dist/contract/routing/TripVariables.js.map +0 -1
  322. package/dist/persistedQueries.d.ts +0 -9
  323. package/dist/persistedQueries.d.ts.map +0 -1
  324. package/dist/persistedQueries.js +0 -5
  325. package/dist/persistedQueries.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"PlanTransitModesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTransitModesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C"}
1
+ {"version":3,"file":"PlanTransitModesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTransitModesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,wCAAwC;AACxC,MAAM,WAAW,qBAAqB;IACpC,kGAAkG;IAClG,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C"}
@@ -0,0 +1,31 @@
1
+ import type { PlanDateTimeInput } from './PlanDateTimeInput.ts';
2
+ import type { PlanLabeledLocationInput } from './PlanLabeledLocationInput.ts';
3
+ import type { PlanModesInput } from './PlanModesInput.ts';
4
+ import type { PlanPreferencesInput } from './PlanPreferencesInput.ts';
5
+ import type { PlanViaLocationInput } from './PlanViaLocationInput.ts';
6
+ import type { Reliability } from './Reliability.ts';
7
+ /** POST body for `/routing/v1/plan`: one page of itineraries. Paging: `before` and `after` are exclusive. Use `first` with `after` or with no cursor, and `last` only with `before`. The next page is the same body plus `after` (the page's `pageInfo.endCursor`), sized by `first`. The previous page is the same body without `first` and `after`, plus `before` (`pageInfo.startCursor`), sized by `last`. Any other pairing is a 400 naming the member that breaks it. A key not listed here, at any depth, is a 400 `<path> is not allowed`. Every bound is rejected, never clamped. `null` on an optional member means absent. */
8
+ export interface PlanTripRequest {
9
+ dateTime: PlanDateTimeInput;
10
+ /** Where the journey starts. An unknown stop id is a 200 with the `routingErrors` code `LOCATION_NOT_FOUND` on `FROM`. */
11
+ origin: PlanLabeledLocationInput;
12
+ /** Where the journey ends. An unknown stop id is a 200 with the `routingErrors` code `LOCATION_NOT_FOUND` on `TO`. */
13
+ destination: PlanLabeledLocationInput;
14
+ /** Locations the journey must visit or pass through, in the order given. How many a request takes is an environment setting, and an environment set to 0 has via turned off; more is a 400 naming `via`. An unknown via stop id is a 200 with the `routingErrors` code `LOCATION_NOT_FOUND` on `VIA`. */
15
+ via?: PlanViaLocationInput[];
16
+ modes?: PlanModesInput;
17
+ preferences?: PlanPreferencesInput;
18
+ /** How much time after `dateTime` the search covers (before it, for `latestArrival`), as an ISO-8601 duration such as `PT2H`: above zero and at most the environment's search-window limit; rejected, never clamped. */
19
+ searchWindow: string;
20
+ /** Itineraries on this page: 1 up to the environment's itinerary limit; rejected, never clamped. Absent means the limit. With `after` or no cursor, never with `before`. */
21
+ first?: number;
22
+ /** Itineraries on the previous page: 1 up to the environment's itinerary limit; rejected, never clamped. Absent means the limit. Only with `before`. */
23
+ last?: number;
24
+ /** `pageInfo.startCursor` of a page, to fetch the page before it. Never with `after`. */
25
+ before?: string;
26
+ /** `pageInfo.endCursor` of a page, to fetch the page after it. Never with `before`. */
27
+ after?: string;
28
+ /** Delay-aware planning level; omitted or null plans on the timetable alone. */
29
+ reliability?: Reliability;
30
+ }
31
+ //# sourceMappingURL=PlanTripRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanTripRequest.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTripRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,ymBAAymB;AACzmB,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,0HAA0H;IAC1H,MAAM,EAAE,wBAAwB,CAAC;IACjC,sHAAsH;IACtH,WAAW,EAAE,wBAAwB,CAAC;IACtC,ySAAyS;IACzS,GAAG,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,wNAAwN;IACxN,YAAY,EAAE,MAAM,CAAC;IACrB,4KAA4K;IAC5K,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wJAAwJ;IACxJ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yFAAyF;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PlanTripRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanTripRequest.js","sourceRoot":"","sources":["../../../src/contract/routing/PlanTripRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { Itinerary } from './Itinerary.ts';
2
+ import type { PlanPageInfo } from './PlanPageInfo.ts';
3
+ import type { RoutingError } from './RoutingError.ts';
4
+ /** One page of itineraries. An empty `itineraries` with empty `routingErrors` means the search ran and found nothing in the window: page on with `after` or widen `searchWindow`. A plan the router declines has no itineraries and the reason in `routingErrors`. */
5
+ export interface PlanTripResponse {
6
+ itineraries: Itinerary[];
7
+ pageInfo: PlanPageInfo;
8
+ /** Why the plan was declined; empty when it was not. */
9
+ routingErrors: RoutingError[];
10
+ /** The date-time the search started from. */
11
+ searchDateTime?: string;
12
+ }
13
+ //# sourceMappingURL=PlanTripResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanTripResponse.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTripResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,sQAAsQ;AACtQ,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,SAAS,EAAE,CAAC;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,wDAAwD;IACxD,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PlanTripResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanTripResponse.js","sourceRoot":"","sources":["../../../src/contract/routing/PlanTripResponse.ts"],"names":[],"mappings":""}
@@ -1,7 +1,10 @@
1
1
  import type { PlanPassThroughViaLocationInput } from './PlanPassThroughViaLocationInput.ts';
2
2
  import type { PlanVisitViaLocationInput } from './PlanVisitViaLocationInput.ts';
3
+ /** Exactly one of `passThrough`, `visit`. */
3
4
  export interface PlanViaLocationInput {
5
+ /** The journey passes the location, on board or by changing vehicles there. */
4
6
  passThrough?: PlanPassThroughViaLocationInput;
7
+ /** The journey stops at the location: it alights there and boards again after `minimumWaitTime`. */
5
8
  visit?: PlanVisitViaLocationInput;
6
9
  }
7
10
  //# sourceMappingURL=PlanViaLocationInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlanViaLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanViaLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,+BAA+B,CAAC;IAC9C,KAAK,CAAC,EAAE,yBAAyB,CAAC;CACnC"}
1
+ {"version":3,"file":"PlanViaLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanViaLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,6CAA6C;AAC7C,MAAM,WAAW,oBAAoB;IACnC,+EAA+E;IAC/E,WAAW,CAAC,EAAE,+BAA+B,CAAC;IAC9C,oGAAoG;IACpG,KAAK,CAAC,EAAE,yBAAyB,CAAC;CACnC"}
@@ -1,8 +1,8 @@
1
- import type { PlanCoordinateInput } from './PlanCoordinateInput.ts';
1
+ /** A location the journey stops at. */
2
2
  export interface PlanVisitViaLocationInput {
3
- coordinate?: PlanCoordinateInput;
4
- label?: string;
5
- minimumWaitTime?: string;
3
+ /** 1 to 10 feed-prefixed stop or station ids; visiting any one of them is enough. Absent, empty, or more than 10 is a 400 naming `via`. */
6
4
  stopLocationIds?: string[];
5
+ /** Least time to stay at the location, as an ISO-8601 duration: `PT0S` to `PT1H`; rejected, never clamped. Absent means `PT0S`. */
6
+ minimumWaitTime?: string;
7
7
  }
8
8
  //# sourceMappingURL=PlanVisitViaLocationInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlanVisitViaLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanVisitViaLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B"}
1
+ {"version":3,"file":"PlanVisitViaLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanVisitViaLocationInput.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,MAAM,WAAW,yBAAyB;IACxC,2IAA2I;IAC3I,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -1,5 +1,6 @@
1
1
  export interface RealTimeEstimate {
2
2
  time: string;
3
+ /** The difference from the schedule, as an ISO-8601 duration; negative when early. */
3
4
  delay: string;
4
5
  }
5
6
  //# sourceMappingURL=RealTimeEstimate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RealTimeEstimate.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/RealTimeEstimate.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"RealTimeEstimate.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/RealTimeEstimate.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,3 +1,3 @@
1
- /** Planning level: `STANDARD` plans arrivals with the p50 delay, `SAFE` p70, `VERY_SAFE` p90; omitted plans on the timetable. */
1
+ /** Planning level: `STANDARD` plans arrivals with the p50 delay, `SAFE` p70, `VERY_SAFE` p90; omitted plans on the timetable. Each leg's arrival is planned with that trip's typical delay at the stop on the service date's day type, from the environment's realtime history. Boarding keeps the scheduled departure, and a trip with live realtime uses its realtime times. */
2
2
  export type Reliability = 'STANDARD' | 'SAFE' | 'VERY_SAFE' | (string & {});
3
3
  //# sourceMappingURL=Reliability.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Reliability.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Reliability.ts"],"names":[],"mappings":"AAAA,iIAAiI;AACjI,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,MAAM,GACN,WAAW,GACX,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"Reliability.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Reliability.ts"],"names":[],"mappings":"AAAA,kXAAkX;AAClX,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,MAAM,GACN,WAAW,GACX,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
@@ -2,7 +2,9 @@ export interface Route {
2
2
  gtfsId: string;
3
3
  shortName?: string;
4
4
  longName?: string;
5
+ /** Hex without `#`; null when the feed has none. */
5
6
  color?: string;
7
+ /** Hex without `#`; null when the feed has none. */
6
8
  textColor?: string;
7
9
  }
8
10
  //# sourceMappingURL=Route.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Route.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Route.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"Route.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Route.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,8 +1,10 @@
1
1
  import type { InputField } from './InputField.ts';
2
2
  import type { RoutingErrorCode } from './RoutingErrorCode.ts';
3
+ /** Why the router declined the plan: `LOCATION_NOT_FOUND` for an unknown stop id (`inputField` `FROM`, `TO` or `VIA`), `WALKING_BETTER_THAN_TRANSIT` when the origin and destination are close enough that walking beats transit (`inputField` null), or `OUTSIDE_SERVICE_PERIOD` for a date the feed does not cover (`DATE_TIME`). New codes may be added. */
3
4
  export interface RoutingError {
4
5
  code: RoutingErrorCode;
5
6
  description: string;
7
+ /** The request member at fault; null when it is none in particular. */
6
8
  inputField?: InputField;
7
9
  }
8
10
  //# sourceMappingURL=RoutingError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RoutingError.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/RoutingError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,gBAAgB,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"}
1
+ {"version":3,"file":"RoutingError.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/RoutingError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,+VAA+V;AAC/V,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,gBAAgB,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"}
@@ -2,7 +2,9 @@ import type { WheelchairBoarding } from './WheelchairBoarding.ts';
2
2
  export interface Stop {
3
3
  gtfsId: string;
4
4
  wheelchairBoarding?: WheelchairBoarding;
5
+ /** Null when the feed has none. */
5
6
  platformCode?: string;
7
+ /** Null when the feed has none. */
6
8
  zoneId?: string;
7
9
  }
8
10
  //# sourceMappingURL=Stop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stop.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Stop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"Stop.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Stop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -4,7 +4,9 @@ export interface StopDeparturesRoute {
4
4
  shortName?: string;
5
5
  longName?: string;
6
6
  mode?: TransitMode;
7
+ /** Hex without `#`; null when the feed has none. */
7
8
  color?: string;
9
+ /** Hex without `#`; null when the feed has none. */
8
10
  textColor?: string;
9
11
  }
10
12
  //# sourceMappingURL=StopDeparturesRoute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StopDeparturesRoute.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/StopDeparturesRoute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"StopDeparturesRoute.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/StopDeparturesRoute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,5 +1,6 @@
1
1
  export interface StopDeparturesStop {
2
2
  gtfsId: string;
3
+ /** Null when the feed has none. */
3
4
  platformCode?: string;
4
5
  }
5
6
  //# sourceMappingURL=StopDeparturesStop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StopDeparturesStop.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/StopDeparturesStop.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"StopDeparturesStop.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/StopDeparturesStop.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -2,14 +2,19 @@ import type { RealtimeState } from './RealtimeState.ts';
2
2
  import type { StopDeparturesStop } from './StopDeparturesStop.ts';
3
3
  import type { StopDeparturesTrip } from './StopDeparturesTrip.ts';
4
4
  export interface StopDeparturesStoptime {
5
+ /** Unix seconds at the start of the trip's service day; it plus a seconds field gives that time as Unix seconds. */
5
6
  serviceDay?: number;
7
+ /** Seconds after `serviceDay`. */
6
8
  scheduledDeparture?: number;
9
+ /** Seconds after `serviceDay`, realtime merged in; the schedule when there is none. */
7
10
  realtimeDeparture?: number;
11
+ /** True when `realtimeDeparture` comes from realtime. */
8
12
  realtime?: boolean;
9
13
  realtimeState?: RealtimeState;
10
- /** Typical (p50) delay at this stop in seconds for this trip on the service date's day type; null when unknown. */
14
+ /** The usual delay at this stop in seconds: the median recorded for that trip on the service date's day type, from the environment's realtime history. Null when there is no history. */
11
15
  typicalDelay?: number;
12
16
  headsign?: string;
17
+ /** The platform or stand the departure leaves from, which tells a station's platforms apart. */
13
18
  stop?: StopDeparturesStop;
14
19
  trip?: StopDeparturesTrip;
15
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"StopDeparturesStoptime.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/StopDeparturesStoptime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,mHAAmH;IACnH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC3B"}
1
+ {"version":3,"file":"StopDeparturesStoptime.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/StopDeparturesStoptime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,sBAAsB;IACrC,oHAAoH;IACpH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,yLAAyL;IACzL,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gGAAgG;IAChG,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC3B"}
@@ -1,14 +1,20 @@
1
1
  import type { RealtimeState } from './RealtimeState.ts';
2
2
  import type { TripStop } from './TripStop.ts';
3
3
  export interface Stoptime {
4
+ /** Unix seconds at the start of the trip's service day; it plus a seconds field gives that time as Unix seconds. */
4
5
  serviceDay?: number;
6
+ /** Seconds after `serviceDay`. */
5
7
  scheduledArrival?: number;
8
+ /** Seconds after `serviceDay`. */
6
9
  scheduledDeparture?: number;
10
+ /** Seconds after `serviceDay`, realtime merged in; the schedule when there is none. */
7
11
  realtimeArrival?: number;
12
+ /** Seconds after `serviceDay`, realtime merged in; the schedule when there is none. */
8
13
  realtimeDeparture?: number;
14
+ /** True when `realtimeArrival` and `realtimeDeparture` come from realtime. */
9
15
  realtime?: boolean;
10
16
  realtimeState?: RealtimeState;
11
- /** Typical (p50) delay at this stop in seconds for this trip on the service date's day type; null when unknown. */
17
+ /** The usual delay at this stop in seconds: the median recorded for that trip on the service date's day type, from the environment's realtime history. Null when there is no history. */
12
18
  typicalDelay?: number;
13
19
  stop?: TripStop;
14
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Stoptime.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Stoptime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,QAAQ;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,mHAAmH;IACnH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB"}
1
+ {"version":3,"file":"Stoptime.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Stoptime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,QAAQ;IACvB,oHAAoH;IACpH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uFAAuF;IACvF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,yLAAyL;IACzL,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB"}
@@ -1,7 +1,10 @@
1
+ /** Transfer preferences. */
1
2
  export interface TransferPreferencesInput {
3
+ /** Generalized cost added for each transfer, an integer from 0 to 1000000; rejected, never clamped. */
2
4
  cost?: number;
3
- maximumAdditionalTransfers?: number;
4
- maximumTransfers?: number;
5
+ /** Least time between alighting one vehicle and boarding the next, on top of the walk between stops, as an ISO-8601 duration: `PT0S` to `PT1H`; rejected, never clamped. */
5
6
  slack?: string;
7
+ /** Most rides an itinerary may take: `N` allows `N - 1` transfers, and `0` allows walking only. From 0 up to the environment's transfer limit plus 1; rejected, never clamped. Absent means the environment's limit. */
8
+ maximumTransfers?: number;
6
9
  }
7
10
  //# sourceMappingURL=TransferPreferencesInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransferPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransferPreferencesInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"TransferPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransferPreferencesInput.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,MAAM,WAAW,wBAAwB;IACvC,uGAAuG;IACvG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4KAA4K;IAC5K,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wNAAwN;IACxN,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -1,6 +1,7 @@
1
1
  import type { TransitFilterSelectInput } from './TransitFilterSelectInput.ts';
2
+ /** A filter on the trips the search may ride. */
2
3
  export interface TransitFilterInput {
4
+ /** Leave out every trip of a route or agency that any of these selectors names. */
3
5
  exclude?: TransitFilterSelectInput[];
4
- include?: TransitFilterSelectInput[];
5
6
  }
6
7
  //# sourceMappingURL=TransitFilterInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransitFilterInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitFilterInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACrC,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACtC"}
1
+ {"version":3,"file":"TransitFilterInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitFilterInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,iDAAiD;AACjD,MAAM,WAAW,kBAAkB;IACjC,mFAAmF;IACnF,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACtC"}
@@ -1,5 +1,8 @@
1
+ /** Exactly one of `routes`, `agencies`. */
1
2
  export interface TransitFilterSelectInput {
2
- agencies?: string[];
3
+ /** Feed-prefixed route ids (`<feedId>:<routeId>`). */
3
4
  routes?: string[];
5
+ /** Feed-prefixed agency ids (`<feedId>:<agencyId>`). */
6
+ agencies?: string[];
4
7
  }
5
8
  //# sourceMappingURL=TransitFilterSelectInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransitFilterSelectInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitFilterSelectInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB"}
1
+ {"version":3,"file":"TransitFilterSelectInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitFilterSelectInput.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,MAAM,WAAW,wBAAwB;IACvC,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB"}
@@ -1,4 +1,6 @@
1
+ /** Cost settings for a transit mode. */
1
2
  export interface TransitModePreferenceCostInput {
3
+ /** Multiplier on the time spent riding this mode, from 0.1 to 100000: above 1 avoids the mode, below 1 favours it; rejected, never clamped. */
2
4
  reluctance: number;
3
5
  }
4
6
  //# sourceMappingURL=TransitModePreferenceCostInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransitModePreferenceCostInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitModePreferenceCostInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"TransitModePreferenceCostInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitModePreferenceCostInput.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,MAAM,WAAW,8BAA8B;IAC7C,+IAA+I;IAC/I,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,13 +1,13 @@
1
1
  import type { AlightPreferencesInput } from './AlightPreferencesInput.ts';
2
2
  import type { BoardPreferencesInput } from './BoardPreferencesInput.ts';
3
- import type { TimetablePreferencesInput } from './TimetablePreferencesInput.ts';
4
3
  import type { TransferPreferencesInput } from './TransferPreferencesInput.ts';
5
4
  import type { TransitFilterInput } from './TransitFilterInput.ts';
5
+ /** Transit preferences. */
6
6
  export interface TransitPreferencesInput {
7
- alight?: AlightPreferencesInput;
7
+ transfer?: TransferPreferencesInput;
8
8
  board?: BoardPreferencesInput;
9
+ alight?: AlightPreferencesInput;
10
+ /** Routes or agencies to leave out of the search. */
9
11
  filters?: TransitFilterInput[];
10
- timetable?: TimetablePreferencesInput;
11
- transfer?: TransferPreferencesInput;
12
12
  }
13
13
  //# sourceMappingURL=TransitPreferencesInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransitPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,uBAAuB;IACtC,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC,QAAQ,CAAC,EAAE,wBAAwB,CAAC;CACrC"}
1
+ {"version":3,"file":"TransitPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TransitPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,2BAA2B;AAC3B,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,qDAAqD;IACrD,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC"}
@@ -1,5 +1,7 @@
1
1
  export interface TripGeometry {
2
+ /** Encoded polyline (precision 1e5). */
2
3
  points?: string;
4
+ /** Number of points. */
3
5
  length?: number;
4
6
  }
5
7
  //# sourceMappingURL=TripGeometry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TripGeometry.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripGeometry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"TripGeometry.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripGeometry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,8 @@
1
+ /** POST body for `/routing/v1/trip`. A key not listed here is a 400 `<key> is not allowed`. */
2
+ export interface TripRequest {
3
+ /** Feed-prefixed trip id (`<feedId>:<id>`). */
4
+ id: string;
5
+ /** The service date, `YYYY-MM-DD` (`YYYYMMDD` also works). Absent means today in the feed's time zone. A value that is not a real date is a 400 naming `serviceDate`. */
6
+ serviceDate?: string;
7
+ }
8
+ //# sourceMappingURL=TripRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TripRequest.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripRequest.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,MAAM,WAAW,WAAW;IAC1B,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,yKAAyK;IACzK,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TripRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TripRequest.js","sourceRoot":"","sources":["../../../src/contract/routing/TripRequest.ts"],"names":[],"mappings":""}
@@ -1,7 +1,6 @@
1
- import type { GraphQLError } from './GraphQLError.ts';
2
- import type { TripData } from './TripData.ts';
1
+ import type { TripTimetable } from './TripTimetable.ts';
2
+ /** `trip` is null for an unknown id. */
3
3
  export interface TripResponse {
4
- data?: TripData;
5
- errors?: GraphQLError[];
4
+ trip?: TripTimetable;
6
5
  }
7
6
  //# sourceMappingURL=TripResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TripResponse.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;CACzB"}
1
+ {"version":3,"file":"TripResponse.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,wCAAwC;AACxC,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB"}
@@ -4,7 +4,9 @@ export interface TripRoute {
4
4
  shortName?: string;
5
5
  longName?: string;
6
6
  mode?: TransitMode;
7
+ /** Hex without `#`; null when the feed has none. */
7
8
  color?: string;
9
+ /** Hex without `#`; null when the feed has none. */
8
10
  textColor?: string;
9
11
  }
10
12
  //# sourceMappingURL=TripRoute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TripRoute.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripRoute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"TripRoute.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripRoute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -5,7 +5,9 @@ export interface TripStop {
5
5
  lat?: number;
6
6
  lon?: number;
7
7
  wheelchairBoarding?: WheelchairBoarding;
8
+ /** Null when the feed has none. */
8
9
  platformCode?: string;
10
+ /** Null when the feed has none. */
9
11
  zoneId?: string;
10
12
  }
11
13
  //# sourceMappingURL=TripStop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TripStop.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripStop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"TripStop.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripStop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -3,7 +3,8 @@ import type { Stoptime } from './Stoptime.ts';
3
3
  import type { TripGeometry } from './TripGeometry.ts';
4
4
  import type { TripRoute } from './TripRoute.ts';
5
5
  import type { WheelchairBoarding } from './WheelchairBoarding.ts';
6
- export interface TripTrip {
6
+ /** One trip on one service date: its stops and times, realtime merged in. On a date without realtime, the rows carry the schedule alone. */
7
+ export interface TripTimetable {
7
8
  gtfsId: string;
8
9
  directionId?: string;
9
10
  tripHeadsign?: string;
@@ -11,6 +12,7 @@ export interface TripTrip {
11
12
  wheelchairAccessible?: WheelchairBoarding;
12
13
  route: TripRoute;
13
14
  stoptimesForDate?: Stoptime[];
15
+ /** The trip's path; null when the feed has no shapes. */
14
16
  tripGeometry?: TripGeometry;
15
17
  }
16
- //# sourceMappingURL=TripTrip.d.ts.map
18
+ //# sourceMappingURL=TripTimetable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TripTimetable.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/TripTimetable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,4IAA4I;AAC5I,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,oBAAoB,CAAC,EAAE,kBAAkB,CAAC;IAC1C,KAAK,EAAE,SAAS,CAAC;IACjB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC9B,yDAAyD;IACzD,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TripTimetable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TripTimetable.js","sourceRoot":"","sources":["../../../src/contract/routing/TripTimetable.ts"],"names":[],"mappings":""}
@@ -1,7 +1,10 @@
1
+ /** Walking preferences. */
1
2
  export interface WalkPreferencesInput {
2
- boardCost?: number;
3
- reluctance?: number;
4
- safetyFactor?: number;
3
+ /** Walking speed on flat ground in metres per second, at least 0.1; rejected, never clamped. */
5
4
  speed?: number;
5
+ /** How much worse walking is than riding for the same time, a multiplier from 0.1 to 100000; rejected, never clamped. */
6
+ reluctance?: number;
7
+ /** Generalized cost added for each boarding, an integer from 0 to 1000000; rejected, never clamped. */
8
+ boardCost?: number;
6
9
  }
7
10
  //# sourceMappingURL=WalkPreferencesInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WalkPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/WalkPreferencesInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"WalkPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/WalkPreferencesInput.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,WAAW,oBAAoB;IACnC,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yHAAyH;IACzH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uGAAuG;IACvG,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,4 +1,6 @@
1
+ /** Wheelchair preferences. */
1
2
  export interface WheelchairPreferencesInput {
3
+ /** Consider wheelchair accessibility in routing. The feed's accessibility data limits what this guarantees. */
2
4
  enabled?: boolean;
3
5
  }
4
6
  //# sourceMappingURL=WheelchairPreferencesInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WheelchairPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/WheelchairPreferencesInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
1
+ {"version":3,"file":"WheelchairPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/WheelchairPreferencesInput.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,MAAM,WAAW,0BAA0B;IACzC,+GAA+G;IAC/G,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}