@mrfylke/contact-form 0.1.3

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 (637) hide show
  1. package/lib/ContactFormRoot.d.ts +37 -0
  2. package/lib/ContactFormRoot.d.ts.map +1 -0
  3. package/lib/ContactFormRoot.js +53 -0
  4. package/lib/commoneEvents.d.ts +16 -0
  5. package/lib/commoneEvents.d.ts.map +1 -0
  6. package/lib/commoneEvents.js +4 -0
  7. package/lib/components/button/button.d.ts +17 -0
  8. package/lib/components/button/button.d.ts.map +1 -0
  9. package/lib/components/button/button.js +15 -0
  10. package/lib/components/button/button.module.css +399 -0
  11. package/lib/components/button/index.d.ts +5 -0
  12. package/lib/components/button/index.d.ts.map +1 -0
  13. package/lib/components/button/index.js +10 -0
  14. package/lib/components/button/link.d.ts +27 -0
  15. package/lib/components/button/link.d.ts.map +1 -0
  16. package/lib/components/button/link.js +19 -0
  17. package/lib/components/button/utils.d.ts +69 -0
  18. package/lib/components/button/utils.d.ts.map +1 -0
  19. package/lib/components/button/utils.js +33 -0
  20. package/lib/components/checkbox/checkbox.d.ts +13 -0
  21. package/lib/components/checkbox/checkbox.d.ts.map +1 -0
  22. package/lib/components/checkbox/checkbox.js +23 -0
  23. package/lib/components/checkbox/checkbox.module.css +96 -0
  24. package/lib/components/checkbox/index.d.ts +3 -0
  25. package/lib/components/checkbox/index.d.ts.map +1 -0
  26. package/lib/components/checkbox/index.js +8 -0
  27. package/lib/components/error-message/error-message.d.ts +6 -0
  28. package/lib/components/error-message/error-message.d.ts.map +1 -0
  29. package/lib/components/error-message/error-message.js +13 -0
  30. package/lib/components/error-message/error-message.module.css +6 -0
  31. package/lib/components/error-message/index.d.ts +3 -0
  32. package/lib/components/error-message/index.d.ts.map +1 -0
  33. package/lib/components/error-message/index.js +8 -0
  34. package/lib/components/external-link-page.d.ts +14 -0
  35. package/lib/components/external-link-page.d.ts.map +1 -0
  36. package/lib/components/external-link-page.js +27 -0
  37. package/lib/components/external-link-page.module.css +29 -0
  38. package/lib/components/form/date-selector.d.ts +11 -0
  39. package/lib/components/form/date-selector.d.ts.map +1 -0
  40. package/lib/components/form/date-selector.js +21 -0
  41. package/lib/components/form/description-modal.d.ts +13 -0
  42. package/lib/components/form/description-modal.d.ts.map +1 -0
  43. package/lib/components/form/description-modal.js +43 -0
  44. package/lib/components/form/field-wrapper-with-error/index.d.ts +8 -0
  45. package/lib/components/form/field-wrapper-with-error/index.d.ts.map +1 -0
  46. package/lib/components/form/field-wrapper-with-error/index.js +12 -0
  47. package/lib/components/form/fieldset/fieldset.module.css +26 -0
  48. package/lib/components/form/fieldset/index.d.ts +8 -0
  49. package/lib/components/form/fieldset/index.d.ts.map +1 -0
  50. package/lib/components/form/fieldset/index.js +17 -0
  51. package/lib/components/form/file-input.d.ts +10 -0
  52. package/lib/components/form/file-input.d.ts.map +1 -0
  53. package/lib/components/form/file-input.js +68 -0
  54. package/lib/components/form/form-component-label/form-component-label.module.css +10 -0
  55. package/lib/components/form/form-component-label/index.d.ts +9 -0
  56. package/lib/components/form/form-component-label/index.d.ts.map +1 -0
  57. package/lib/components/form/form-component-label/index.js +18 -0
  58. package/lib/components/form/form.module.css +573 -0
  59. package/lib/components/form/index.d.ts +11 -0
  60. package/lib/components/form/index.d.ts.map +1 -0
  61. package/lib/components/form/index.js +28 -0
  62. package/lib/components/form/input.d.ts +17 -0
  63. package/lib/components/form/input.d.ts.map +1 -0
  64. package/lib/components/form/input.js +42 -0
  65. package/lib/components/form/radio.d.ts +7 -0
  66. package/lib/components/form/radio.d.ts.map +1 -0
  67. package/lib/components/form/radio.js +14 -0
  68. package/lib/components/form/searchable-select/index.d.ts +3 -0
  69. package/lib/components/form/searchable-select/index.d.ts.map +1 -0
  70. package/lib/components/form/searchable-select/index.js +11 -0
  71. package/lib/components/form/searchable-select/searchable-select.d.ts +18 -0
  72. package/lib/components/form/searchable-select/searchable-select.d.ts.map +1 -0
  73. package/lib/components/form/searchable-select/searchable-select.js +55 -0
  74. package/lib/components/form/searchable-select/utils.d.ts +5 -0
  75. package/lib/components/form/searchable-select/utils.d.ts.map +1 -0
  76. package/lib/components/form/searchable-select/utils.js +19 -0
  77. package/lib/components/form/select.d.ts +15 -0
  78. package/lib/components/form/select.d.ts.map +1 -0
  79. package/lib/components/form/select.js +22 -0
  80. package/lib/components/form/textarea.d.ts +11 -0
  81. package/lib/components/form/textarea.d.ts.map +1 -0
  82. package/lib/components/form/textarea.js +17 -0
  83. package/lib/components/form/time-selector.d.ts +11 -0
  84. package/lib/components/form/time-selector.d.ts.map +1 -0
  85. package/lib/components/form/time-selector.js +22 -0
  86. package/lib/components/icon/checkbox-icon.d.ts +14 -0
  87. package/lib/components/icon/checkbox-icon.d.ts.map +1 -0
  88. package/lib/components/icon/checkbox-icon.js +18 -0
  89. package/lib/components/icon/color-icon.d.ts +17 -0
  90. package/lib/components/icon/color-icon.d.ts.map +1 -0
  91. package/lib/components/icon/color-icon.js +27 -0
  92. package/lib/components/icon/generated-icons.d.ts +1797 -0
  93. package/lib/components/icon/generated-icons.d.ts.map +1 -0
  94. package/lib/components/icon/generated-icons.js +1782 -0
  95. package/lib/components/icon/icon-wrapper.d.ts +30 -0
  96. package/lib/components/icon/icon-wrapper.d.ts.map +1 -0
  97. package/lib/components/icon/icon-wrapper.js +39 -0
  98. package/lib/components/icon/illustration.d.ts +7 -0
  99. package/lib/components/icon/illustration.d.ts.map +1 -0
  100. package/lib/components/icon/illustration.js +25 -0
  101. package/lib/components/icon/image.d.ts +7 -0
  102. package/lib/components/icon/image.d.ts.map +1 -0
  103. package/lib/components/icon/image.js +26 -0
  104. package/lib/components/icon/index.d.ts +6 -0
  105. package/lib/components/icon/index.d.ts.map +1 -0
  106. package/lib/components/icon/index.js +20 -0
  107. package/lib/components/icon/mono-icon-new.d.ts +32 -0
  108. package/lib/components/icon/mono-icon-new.d.ts.map +1 -0
  109. package/lib/components/icon/mono-icon-new.js +43 -0
  110. package/lib/components/icon/mono-icon.d.ts +29 -0
  111. package/lib/components/icon/mono-icon.d.ts.map +1 -0
  112. package/lib/components/icon/mono-icon.js +39 -0
  113. package/lib/components/icon/utils.d.ts +3 -0
  114. package/lib/components/icon/utils.d.ts.map +1 -0
  115. package/lib/components/icon/utils.js +12 -0
  116. package/lib/components/index.d.ts +3 -0
  117. package/lib/components/index.d.ts.map +1 -0
  118. package/lib/components/index.js +18 -0
  119. package/lib/components/loading/index.d.ts +15 -0
  120. package/lib/components/loading/index.d.ts.map +1 -0
  121. package/lib/components/loading/index.js +19 -0
  122. package/lib/components/loading/loading.module.css +17 -0
  123. package/lib/components/section-card/index.d.ts +2 -0
  124. package/lib/components/section-card/index.d.ts.map +1 -0
  125. package/lib/components/section-card/index.js +8 -0
  126. package/lib/components/section-card/section-card.d.ts +7 -0
  127. package/lib/components/section-card/section-card.d.ts.map +1 -0
  128. package/lib/components/section-card/section-card.js +14 -0
  129. package/lib/components/section-card/section-card.module.css +15 -0
  130. package/lib/components/typography/index.d.ts +19 -0
  131. package/lib/components/typography/index.d.ts.map +1 -0
  132. package/lib/components/typography/index.js +27 -0
  133. package/lib/components/typography/utils.d.ts +2 -0
  134. package/lib/components/typography/utils.d.ts.map +1 -0
  135. package/lib/components/typography/utils.js +4 -0
  136. package/lib/contact.module.css +76 -0
  137. package/lib/error-content/error-content.d.ts +2 -0
  138. package/lib/error-content/error-content.d.ts.map +1 -0
  139. package/lib/error-content/error-content.js +19 -0
  140. package/lib/error-content/error-content.module.css +11 -0
  141. package/lib/group-travel/index.d.ts +2 -0
  142. package/lib/group-travel/index.d.ts.map +1 -0
  143. package/lib/group-travel/index.js +15 -0
  144. package/lib/index.d.ts +25 -0
  145. package/lib/index.d.ts.map +1 -0
  146. package/lib/index.js +73 -0
  147. package/lib/journey-info/events.d.ts +14 -0
  148. package/lib/journey-info/events.d.ts.map +1 -0
  149. package/lib/journey-info/events.js +5 -0
  150. package/lib/journey-info/index.d.ts +2 -0
  151. package/lib/journey-info/index.d.ts.map +1 -0
  152. package/lib/journey-info/index.js +66 -0
  153. package/lib/journey-info/journeyInfoStateMachine.d.ts +179 -0
  154. package/lib/journey-info/journeyInfoStateMachine.d.ts.map +1 -0
  155. package/lib/journey-info/journeyInfoStateMachine.js +160 -0
  156. package/lib/layouts/contact-form-container.d.ts +10 -0
  157. package/lib/layouts/contact-form-container.d.ts.map +1 -0
  158. package/lib/layouts/contact-form-container.js +12 -0
  159. package/lib/layouts/contact-form-footer.d.ts +5 -0
  160. package/lib/layouts/contact-form-footer.d.ts.map +1 -0
  161. package/lib/layouts/contact-form-footer.js +59 -0
  162. package/lib/layouts/contact-form-header.d.ts +9 -0
  163. package/lib/layouts/contact-form-header.d.ts.map +1 -0
  164. package/lib/layouts/contact-form-header.js +45 -0
  165. package/lib/layouts/contact-page-layout.d.ts +24 -0
  166. package/lib/layouts/contact-page-layout.d.ts.map +1 -0
  167. package/lib/layouts/contact-page-layout.js +104 -0
  168. package/lib/layouts/container.module.css +15 -0
  169. package/lib/layouts/footer.module.css +109 -0
  170. package/lib/layouts/header.module.css +39 -0
  171. package/lib/layouts/index.d.ts +3 -0
  172. package/lib/layouts/index.d.ts.map +1 -0
  173. package/lib/layouts/index.js +11 -0
  174. package/lib/layouts/layout.module.css +80 -0
  175. package/lib/lines/use-lines.d.ts +25 -0
  176. package/lib/lines/use-lines.d.ts.map +1 -0
  177. package/lib/lines/use-lines.js +77 -0
  178. package/lib/lost-property/index.d.ts +2 -0
  179. package/lib/lost-property/index.d.ts.map +1 -0
  180. package/lib/lost-property/index.js +11 -0
  181. package/lib/means-of-transport/events.d.ts +17 -0
  182. package/lib/means-of-transport/events.d.ts.map +1 -0
  183. package/lib/means-of-transport/events.js +5 -0
  184. package/lib/means-of-transport/forms/delayForm.d.ts +11 -0
  185. package/lib/means-of-transport/forms/delayForm.d.ts.map +1 -0
  186. package/lib/means-of-transport/forms/delayForm.js +88 -0
  187. package/lib/means-of-transport/forms/driverForm.d.ts +11 -0
  188. package/lib/means-of-transport/forms/driverForm.d.ts.map +1 -0
  189. package/lib/means-of-transport/forms/driverForm.js +88 -0
  190. package/lib/means-of-transport/forms/index.d.ts +7 -0
  191. package/lib/means-of-transport/forms/index.d.ts.map +1 -0
  192. package/lib/means-of-transport/forms/index.js +18 -0
  193. package/lib/means-of-transport/forms/injuryForm.d.ts +11 -0
  194. package/lib/means-of-transport/forms/injuryForm.d.ts.map +1 -0
  195. package/lib/means-of-transport/forms/injuryForm.js +88 -0
  196. package/lib/means-of-transport/forms/serviceOfferingForm.d.ts +11 -0
  197. package/lib/means-of-transport/forms/serviceOfferingForm.d.ts.map +1 -0
  198. package/lib/means-of-transport/forms/serviceOfferingForm.js +64 -0
  199. package/lib/means-of-transport/forms/stopForm.d.ts +11 -0
  200. package/lib/means-of-transport/forms/stopForm.d.ts.map +1 -0
  201. package/lib/means-of-transport/forms/stopForm.js +76 -0
  202. package/lib/means-of-transport/forms/transportationForm.d.ts +11 -0
  203. package/lib/means-of-transport/forms/transportationForm.d.ts.map +1 -0
  204. package/lib/means-of-transport/forms/transportationForm.js +88 -0
  205. package/lib/means-of-transport/index.d.ts +3 -0
  206. package/lib/means-of-transport/index.d.ts.map +1 -0
  207. package/lib/means-of-transport/index.js +47 -0
  208. package/lib/means-of-transport/means-of-transport-form-machine.d.ts +291 -0
  209. package/lib/means-of-transport/means-of-transport-form-machine.d.ts.map +1 -0
  210. package/lib/means-of-transport/means-of-transport-form-machine.js +287 -0
  211. package/lib/modules/api-browser/index.d.ts +8 -0
  212. package/lib/modules/api-browser/index.d.ts.map +1 -0
  213. package/lib/modules/api-browser/index.js +54 -0
  214. package/lib/modules/api-server/external-client.d.ts +22 -0
  215. package/lib/modules/api-server/external-client.d.ts.map +1 -0
  216. package/lib/modules/api-server/external-client.js +86 -0
  217. package/lib/modules/api-server/index.d.ts +9 -0
  218. package/lib/modules/api-server/index.d.ts.map +1 -0
  219. package/lib/modules/api-server/index.js +24 -0
  220. package/lib/modules/api-server/requesters/graphql-requester.d.ts +6 -0
  221. package/lib/modules/api-server/requesters/graphql-requester.d.ts.map +1 -0
  222. package/lib/modules/api-server/requesters/graphql-requester.js +63 -0
  223. package/lib/modules/api-server/requesters/http-requester.d.ts +3 -0
  224. package/lib/modules/api-server/requesters/http-requester.d.ts.map +1 -0
  225. package/lib/modules/api-server/requesters/http-requester.js +110 -0
  226. package/lib/modules/api-server/requesters/types.d.ts +37 -0
  227. package/lib/modules/api-server/requesters/types.d.ts.map +1 -0
  228. package/lib/modules/api-server/requesters/types.js +34 -0
  229. package/lib/modules/api-server/requesters/utils.d.ts +17 -0
  230. package/lib/modules/api-server/requesters/utils.d.ts.map +1 -0
  231. package/lib/modules/api-server/requesters/utils.js +75 -0
  232. package/lib/modules/config/context.d.ts +54 -0
  233. package/lib/modules/config/context.d.ts.map +1 -0
  234. package/lib/modules/config/context.js +112 -0
  235. package/lib/modules/config/index.d.ts +4 -0
  236. package/lib/modules/config/index.d.ts.map +1 -0
  237. package/lib/modules/config/index.js +19 -0
  238. package/lib/modules/config/theme-adapter.d.ts +20 -0
  239. package/lib/modules/config/theme-adapter.d.ts.map +1 -0
  240. package/lib/modules/config/theme-adapter.js +56 -0
  241. package/lib/modules/config/types.d.ts +348 -0
  242. package/lib/modules/config/types.d.ts.map +1 -0
  243. package/lib/modules/config/types.js +6 -0
  244. package/lib/modules/cookies/constants.d.ts +4 -0
  245. package/lib/modules/cookies/constants.d.ts.map +1 -0
  246. package/lib/modules/cookies/constants.js +6 -0
  247. package/lib/modules/cookies/cookies-context.d.ts +17 -0
  248. package/lib/modules/cookies/cookies-context.d.ts.map +1 -0
  249. package/lib/modules/cookies/cookies-context.js +61 -0
  250. package/lib/modules/cookies/index.d.ts +15 -0
  251. package/lib/modules/cookies/index.d.ts.map +1 -0
  252. package/lib/modules/cookies/index.js +22 -0
  253. package/lib/modules/firebase/analytics.d.ts +3 -0
  254. package/lib/modules/firebase/analytics.d.ts.map +1 -0
  255. package/lib/modules/firebase/analytics.js +40 -0
  256. package/lib/modules/firebase/firebase.d.ts +4 -0
  257. package/lib/modules/firebase/firebase.d.ts.map +1 -0
  258. package/lib/modules/firebase/firebase.js +19 -0
  259. package/lib/modules/firebase/index.d.ts +5 -0
  260. package/lib/modules/firebase/index.d.ts.map +1 -0
  261. package/lib/modules/firebase/index.js +25 -0
  262. package/lib/modules/firebase/preassigned-fare-products.d.ts +8 -0
  263. package/lib/modules/firebase/preassigned-fare-products.d.ts.map +1 -0
  264. package/lib/modules/firebase/preassigned-fare-products.js +35 -0
  265. package/lib/modules/firebase/tariff-zones.d.ts +17 -0
  266. package/lib/modules/firebase/tariff-zones.d.ts.map +1 -0
  267. package/lib/modules/firebase/tariff-zones.js +32 -0
  268. package/lib/modules/firebase/transport-mode-filter.d.ts +27 -0
  269. package/lib/modules/firebase/transport-mode-filter.d.ts.map +1 -0
  270. package/lib/modules/firebase/transport-mode-filter.js +27 -0
  271. package/lib/modules/firebase/types.d.ts +19 -0
  272. package/lib/modules/firebase/types.d.ts.map +1 -0
  273. package/lib/modules/firebase/types.js +15 -0
  274. package/lib/modules/graphql-types/index.d.ts +1998 -0
  275. package/lib/modules/graphql-types/index.d.ts.map +1 -0
  276. package/lib/modules/graphql-types/index.js +442 -0
  277. package/lib/modules/graphql-types/journeyplanner-types_v3.generated.d.ts +2419 -0
  278. package/lib/modules/graphql-types/journeyplanner-types_v3.generated.d.ts.map +1 -0
  279. package/lib/modules/graphql-types/journeyplanner-types_v3.generated.js +524 -0
  280. package/lib/modules/logging/index.d.ts +6 -0
  281. package/lib/modules/logging/index.d.ts.map +1 -0
  282. package/lib/modules/logging/index.js +13 -0
  283. package/lib/modules/logging/log-api-response.d.ts +15 -0
  284. package/lib/modules/logging/log-api-response.d.ts.map +1 -0
  285. package/lib/modules/logging/log-api-response.js +52 -0
  286. package/lib/modules/logging/log-page-access.d.ts +20 -0
  287. package/lib/modules/logging/log-page-access.d.ts.map +1 -0
  288. package/lib/modules/logging/log-page-access.js +60 -0
  289. package/lib/modules/logging/logger.d.ts +3 -0
  290. package/lib/modules/logging/logger.d.ts.map +1 -0
  291. package/lib/modules/logging/logger.js +32 -0
  292. package/lib/modules/logging/timer.d.ts +6 -0
  293. package/lib/modules/logging/timer.d.ts.map +1 -0
  294. package/lib/modules/logging/timer.js +13 -0
  295. package/lib/modules/logging/with-access-logging.d.ts +5 -0
  296. package/lib/modules/logging/with-access-logging.d.ts.map +1 -0
  297. package/lib/modules/logging/with-access-logging.js +20 -0
  298. package/lib/modules/org-data/compat-layer.d.ts +8 -0
  299. package/lib/modules/org-data/compat-layer.d.ts.map +1 -0
  300. package/lib/modules/org-data/compat-layer.js +8 -0
  301. package/lib/modules/org-data/index.d.ts +12 -0
  302. package/lib/modules/org-data/index.d.ts.map +1 -0
  303. package/lib/modules/org-data/index.js +27 -0
  304. package/lib/modules/theme/index.d.ts +3 -0
  305. package/lib/modules/theme/index.d.ts.map +1 -0
  306. package/lib/modules/theme/index.js +9 -0
  307. package/lib/modules/theme/theme-context.d.ts +43 -0
  308. package/lib/modules/theme/theme-context.d.ts.map +1 -0
  309. package/lib/modules/theme/theme-context.js +73 -0
  310. package/lib/modules/transport-mode/filter/filter.d.ts +9 -0
  311. package/lib/modules/transport-mode/filter/filter.d.ts.map +1 -0
  312. package/lib/modules/transport-mode/filter/filter.js +64 -0
  313. package/lib/modules/transport-mode/filter/filter.module.css +98 -0
  314. package/lib/modules/transport-mode/filter/index.d.ts +3 -0
  315. package/lib/modules/transport-mode/filter/index.d.ts.map +1 -0
  316. package/lib/modules/transport-mode/filter/index.js +11 -0
  317. package/lib/modules/transport-mode/filter/types.d.ts +2 -0
  318. package/lib/modules/transport-mode/filter/types.d.ts.map +1 -0
  319. package/lib/modules/transport-mode/filter/types.js +2 -0
  320. package/lib/modules/transport-mode/filter/utils.d.ts +9 -0
  321. package/lib/modules/transport-mode/filter/utils.d.ts.map +1 -0
  322. package/lib/modules/transport-mode/filter/utils.js +21 -0
  323. package/lib/modules/transport-mode/icon/icon.module.css +33 -0
  324. package/lib/modules/transport-mode/icon/index.d.ts +29 -0
  325. package/lib/modules/transport-mode/icon/index.d.ts.map +1 -0
  326. package/lib/modules/transport-mode/icon/index.js +116 -0
  327. package/lib/modules/transport-mode/icon/transport-icon-new.d.ts +28 -0
  328. package/lib/modules/transport-mode/icon/transport-icon-new.d.ts.map +1 -0
  329. package/lib/modules/transport-mode/icon/transport-icon-new.js +114 -0
  330. package/lib/modules/transport-mode/index.d.ts +5 -0
  331. package/lib/modules/transport-mode/index.d.ts.map +1 -0
  332. package/lib/modules/transport-mode/index.js +29 -0
  333. package/lib/modules/transport-mode/types.d.ts +10 -0
  334. package/lib/modules/transport-mode/types.d.ts.map +1 -0
  335. package/lib/modules/transport-mode/types.js +141 -0
  336. package/lib/modules/transport-mode/utils.d.ts +9 -0
  337. package/lib/modules/transport-mode/utils.d.ts.map +1 -0
  338. package/lib/modules/transport-mode/utils.js +53 -0
  339. package/lib/refund/events.d.ts +32 -0
  340. package/lib/refund/events.d.ts.map +1 -0
  341. package/lib/refund/events.js +5 -0
  342. package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts +10 -0
  343. package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts.map +1 -0
  344. package/lib/refund/forms/refund-and-travel-guarantee/index.js +37 -0
  345. package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.d.ts +11 -0
  346. package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.d.ts.map +1 -0
  347. package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.js +133 -0
  348. package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.d.ts +11 -0
  349. package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.d.ts.map +1 -0
  350. package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.js +133 -0
  351. package/lib/refund/forms/refund-ticket/appTicketRefund.d.ts +12 -0
  352. package/lib/refund/forms/refund-ticket/appTicketRefund.d.ts.map +1 -0
  353. package/lib/refund/forms/refund-ticket/appTicketRefund.js +82 -0
  354. package/lib/refund/forms/refund-ticket/index.d.ts +10 -0
  355. package/lib/refund/forms/refund-ticket/index.d.ts.map +1 -0
  356. package/lib/refund/forms/refund-ticket/index.js +38 -0
  357. package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts +11 -0
  358. package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts.map +1 -0
  359. package/lib/refund/forms/refund-ticket/otherTicketRefund.js +109 -0
  360. package/lib/refund/forms/residualValueOnTravelCard/index.d.ts +2 -0
  361. package/lib/refund/forms/residualValueOnTravelCard/index.d.ts.map +1 -0
  362. package/lib/refund/forms/residualValueOnTravelCard/index.js +19 -0
  363. package/lib/refund/index.d.ts +3 -0
  364. package/lib/refund/index.d.ts.map +1 -0
  365. package/lib/refund/index.js +50 -0
  366. package/lib/refund/refundFormMachine.d.ts +406 -0
  367. package/lib/refund/refundFormMachine.d.ts.map +1 -0
  368. package/lib/refund/refundFormMachine.js +404 -0
  369. package/lib/server/contact/index.d.ts +11 -0
  370. package/lib/server/contact/index.d.ts.map +1 -0
  371. package/lib/server/contact/index.js +47 -0
  372. package/lib/server/index.d.ts +9 -0
  373. package/lib/server/index.d.ts.map +1 -0
  374. package/lib/server/index.js +14 -0
  375. package/lib/server/journey-planner/authority.d.ts +26 -0
  376. package/lib/server/journey-planner/authority.d.ts.map +1 -0
  377. package/lib/server/journey-planner/authority.js +48 -0
  378. package/lib/server/journey-planner/entur-client.d.ts +7 -0
  379. package/lib/server/journey-planner/entur-client.d.ts.map +1 -0
  380. package/lib/server/journey-planner/entur-client.js +46 -0
  381. package/lib/server/journey-planner/index.d.ts +11 -0
  382. package/lib/server/journey-planner/index.d.ts.map +1 -0
  383. package/lib/server/journey-planner/index.js +63 -0
  384. package/lib/server/journey-planner/journey-gql/lines.generated.d.ts +25 -0
  385. package/lib/server/journey-planner/journey-gql/lines.generated.d.ts.map +1 -0
  386. package/lib/server/journey-planner/journey-gql/lines.generated.js +30 -0
  387. package/lib/server/journey-planner/validators.d.ts +25 -0
  388. package/lib/server/journey-planner/validators.d.ts.map +1 -0
  389. package/lib/server/journey-planner/validators.js +17 -0
  390. package/lib/server/types.d.ts +5 -0
  391. package/lib/server/types.d.ts.map +1 -0
  392. package/lib/server/types.js +2 -0
  393. package/lib/success-content/success-content.d.ts +2 -0
  394. package/lib/success-content/success-content.d.ts.map +1 -0
  395. package/lib/success-content/success-content.js +19 -0
  396. package/lib/success-content/success-content.module.css +11 -0
  397. package/lib/ticket-control/events.d.ts +16 -0
  398. package/lib/ticket-control/events.d.ts.map +1 -0
  399. package/lib/ticket-control/events.js +5 -0
  400. package/lib/ticket-control/forms/feeComplaintForm.d.ts +11 -0
  401. package/lib/ticket-control/forms/feeComplaintForm.d.ts.map +1 -0
  402. package/lib/ticket-control/forms/feeComplaintForm.js +130 -0
  403. package/lib/ticket-control/forms/feedbackForm.d.ts +11 -0
  404. package/lib/ticket-control/forms/feedbackForm.d.ts.map +1 -0
  405. package/lib/ticket-control/forms/feedbackForm.js +75 -0
  406. package/lib/ticket-control/forms/postponePayment.d.ts +11 -0
  407. package/lib/ticket-control/forms/postponePayment.d.ts.map +1 -0
  408. package/lib/ticket-control/forms/postponePayment.js +37 -0
  409. package/lib/ticket-control/index.d.ts +3 -0
  410. package/lib/ticket-control/index.d.ts.map +1 -0
  411. package/lib/ticket-control/index.js +53 -0
  412. package/lib/ticket-control/ticket-control-form-machine.d.ts +277 -0
  413. package/lib/ticket-control/ticket-control-form-machine.d.ts.map +1 -0
  414. package/lib/ticket-control/ticket-control-form-machine.js +262 -0
  415. package/lib/ticketing/events.d.ts +28 -0
  416. package/lib/ticketing/events.d.ts.map +1 -0
  417. package/lib/ticketing/events.js +5 -0
  418. package/lib/ticketing/forms/app/appAccountForm.d.ts +11 -0
  419. package/lib/ticketing/forms/app/appAccountForm.d.ts.map +1 -0
  420. package/lib/ticketing/forms/app/appAccountForm.js +51 -0
  421. package/lib/ticketing/forms/app/appTicketingForm.d.ts +11 -0
  422. package/lib/ticketing/forms/app/appTicketingForm.d.ts.map +1 -0
  423. package/lib/ticketing/forms/app/appTicketingForm.js +59 -0
  424. package/lib/ticketing/forms/app/appTravelSuggestionForm.d.ts +11 -0
  425. package/lib/ticketing/forms/app/appTravelSuggestionForm.d.ts.map +1 -0
  426. package/lib/ticketing/forms/app/appTravelSuggestionForm.js +41 -0
  427. package/lib/ticketing/forms/app/index.d.ts +10 -0
  428. package/lib/ticketing/forms/app/index.d.ts.map +1 -0
  429. package/lib/ticketing/forms/app/index.js +23 -0
  430. package/lib/ticketing/forms/priceAndTicketTypesForm.d.ts +11 -0
  431. package/lib/ticketing/forms/priceAndTicketTypesForm.d.ts.map +1 -0
  432. package/lib/ticketing/forms/priceAndTicketTypesForm.js +41 -0
  433. package/lib/ticketing/forms/travel-card/index.d.ts +10 -0
  434. package/lib/ticketing/forms/travel-card/index.d.ts.map +1 -0
  435. package/lib/ticketing/forms/travel-card/index.js +24 -0
  436. package/lib/ticketing/forms/travel-card/orderTravelCard.d.ts +3 -0
  437. package/lib/ticketing/forms/travel-card/orderTravelCard.d.ts.map +1 -0
  438. package/lib/ticketing/forms/travel-card/orderTravelCard.js +21 -0
  439. package/lib/ticketing/forms/travel-card/travelCardQuestionForm.d.ts +11 -0
  440. package/lib/ticketing/forms/travel-card/travelCardQuestionForm.d.ts.map +1 -0
  441. package/lib/ticketing/forms/travel-card/travelCardQuestionForm.js +52 -0
  442. package/lib/ticketing/forms/webshop/index.d.ts +10 -0
  443. package/lib/ticketing/forms/webshop/index.d.ts.map +1 -0
  444. package/lib/ticketing/forms/webshop/index.js +22 -0
  445. package/lib/ticketing/forms/webshop/webshopAccountForm.d.ts +11 -0
  446. package/lib/ticketing/forms/webshop/webshopAccountForm.d.ts.map +1 -0
  447. package/lib/ticketing/forms/webshop/webshopAccountForm.js +51 -0
  448. package/lib/ticketing/forms/webshop/webshopTicketingForm.d.ts +11 -0
  449. package/lib/ticketing/forms/webshop/webshopTicketingForm.d.ts.map +1 -0
  450. package/lib/ticketing/forms/webshop/webshopTicketingForm.js +58 -0
  451. package/lib/ticketing/index.d.ts +3 -0
  452. package/lib/ticketing/index.d.ts.map +1 -0
  453. package/lib/ticketing/index.js +52 -0
  454. package/lib/ticketing/ticketingStateMachine.d.ts +438 -0
  455. package/lib/ticketing/ticketingStateMachine.d.ts.map +1 -0
  456. package/lib/ticketing/ticketingStateMachine.js +435 -0
  457. package/lib/translations/__tests__/utils.test.d.ts +2 -0
  458. package/lib/translations/__tests__/utils.test.d.ts.map +1 -0
  459. package/lib/translations/__tests__/utils.test.js +35 -0
  460. package/lib/translations/common/index.d.ts +3 -0
  461. package/lib/translations/common/index.d.ts.map +1 -0
  462. package/lib/translations/common/index.js +7 -0
  463. package/lib/translations/common/layout.d.ts +8 -0
  464. package/lib/translations/common/layout.d.ts.map +1 -0
  465. package/lib/translations/common/layout.js +39 -0
  466. package/lib/translations/common/titles.d.ts +4 -0
  467. package/lib/translations/common/titles.d.ts.map +1 -0
  468. package/lib/translations/common/titles.js +25 -0
  469. package/lib/translations/commons.d.ts +21 -0
  470. package/lib/translations/commons.d.ts.map +1 -0
  471. package/lib/translations/commons.js +39 -0
  472. package/lib/translations/components/clear-button.d.ts +4 -0
  473. package/lib/translations/components/clear-button.d.ts.map +1 -0
  474. package/lib/translations/components/clear-button.js +7 -0
  475. package/lib/translations/components/departure-date-selector.d.ts +8 -0
  476. package/lib/translations/components/departure-date-selector.d.ts.map +1 -0
  477. package/lib/translations/components/departure-date-selector.js +11 -0
  478. package/lib/translations/components/departure-time.d.ts +8 -0
  479. package/lib/translations/components/departure-time.d.ts.map +1 -0
  480. package/lib/translations/components/departure-time.js +11 -0
  481. package/lib/translations/components/empty-search.d.ts +18 -0
  482. package/lib/translations/components/empty-search.d.ts.map +1 -0
  483. package/lib/translations/components/empty-search.js +21 -0
  484. package/lib/translations/components/geolocation-button.d.ts +10 -0
  485. package/lib/translations/components/geolocation-button.d.ts.map +1 -0
  486. package/lib/translations/components/geolocation-button.js +13 -0
  487. package/lib/translations/components/index.d.ts +14 -0
  488. package/lib/translations/components/index.d.ts.map +1 -0
  489. package/lib/translations/components/index.js +29 -0
  490. package/lib/translations/components/loading.d.ts +4 -0
  491. package/lib/translations/components/loading.d.ts.map +1 -0
  492. package/lib/translations/components/loading.js +7 -0
  493. package/lib/translations/components/map.d.ts +19 -0
  494. package/lib/translations/components/map.d.ts.map +1 -0
  495. package/lib/translations/components/map.js +22 -0
  496. package/lib/translations/components/search.d.ts +9 -0
  497. package/lib/translations/components/search.d.ts.map +1 -0
  498. package/lib/translations/components/search.js +12 -0
  499. package/lib/translations/components/swap-button.d.ts +4 -0
  500. package/lib/translations/components/swap-button.d.ts.map +1 -0
  501. package/lib/translations/components/swap-button.js +7 -0
  502. package/lib/translations/components/tab-link.d.ts +5 -0
  503. package/lib/translations/components/tab-link.d.ts.map +1 -0
  504. package/lib/translations/components/tab-link.js +8 -0
  505. package/lib/translations/components/transport-mode-filter.d.ts +6 -0
  506. package/lib/translations/components/transport-mode-filter.d.ts.map +1 -0
  507. package/lib/translations/components/transport-mode-filter.js +9 -0
  508. package/lib/translations/components/transport-mode.d.ts +3 -0
  509. package/lib/translations/components/transport-mode.d.ts.map +1 -0
  510. package/lib/translations/components/transport-mode.js +28 -0
  511. package/lib/translations/components/venue-icon.d.ts +9 -0
  512. package/lib/translations/components/venue-icon.d.ts.map +1 -0
  513. package/lib/translations/components/venue-icon.js +12 -0
  514. package/lib/translations/dictionary.d.ts +33 -0
  515. package/lib/translations/dictionary.d.ts.map +1 -0
  516. package/lib/translations/dictionary.js +59 -0
  517. package/lib/translations/index.d.ts +16 -0
  518. package/lib/translations/index.d.ts.map +1 -0
  519. package/lib/translations/index.js +65 -0
  520. package/lib/translations/json-to-override.d.ts +19 -0
  521. package/lib/translations/json-to-override.d.ts.map +1 -0
  522. package/lib/translations/json-to-override.js +61 -0
  523. package/lib/translations/language-context.d.ts +37 -0
  524. package/lib/translations/language-context.d.ts.map +1 -0
  525. package/lib/translations/language-context.js +98 -0
  526. package/lib/translations/load-org-translations.d.ts +19 -0
  527. package/lib/translations/load-org-translations.d.ts.map +1 -0
  528. package/lib/translations/load-org-translations.js +23 -0
  529. package/lib/translations/merge-overrides.d.ts +28 -0
  530. package/lib/translations/merge-overrides.d.ts.map +1 -0
  531. package/lib/translations/merge-overrides.js +126 -0
  532. package/lib/translations/modules/index.d.ts +4 -0
  533. package/lib/translations/modules/index.d.ts.map +1 -0
  534. package/lib/translations/modules/index.js +9 -0
  535. package/lib/translations/modules/layout.d.ts +73 -0
  536. package/lib/translations/modules/layout.d.ts.map +1 -0
  537. package/lib/translations/modules/layout.js +106 -0
  538. package/lib/translations/modules/search-time.d.ts +8 -0
  539. package/lib/translations/modules/search-time.d.ts.map +1 -0
  540. package/lib/translations/modules/search-time.js +11 -0
  541. package/lib/translations/modules/situation.d.ts +8 -0
  542. package/lib/translations/modules/situation.d.ts.map +1 -0
  543. package/lib/translations/modules/situation.js +11 -0
  544. package/lib/translations/pages/assistant.d.ts +2 -0
  545. package/lib/translations/pages/assistant.d.ts.map +1 -0
  546. package/lib/translations/pages/assistant.js +303 -0
  547. package/lib/translations/pages/contact.d.ts +589 -0
  548. package/lib/translations/pages/contact.d.ts.map +1 -0
  549. package/lib/translations/pages/contact.js +679 -0
  550. package/lib/translations/pages/departures.d.ts +64 -0
  551. package/lib/translations/pages/departures.d.ts.map +1 -0
  552. package/lib/translations/pages/departures.js +75 -0
  553. package/lib/translations/pages/error.d.ts +8 -0
  554. package/lib/translations/pages/error.d.ts.map +1 -0
  555. package/lib/translations/pages/error.js +11 -0
  556. package/lib/translations/pages/index.d.ts +4 -0
  557. package/lib/translations/pages/index.d.ts.map +1 -0
  558. package/lib/translations/pages/index.js +9 -0
  559. package/lib/translations/server/endpoints.d.ts +67 -0
  560. package/lib/translations/server/endpoints.d.ts.map +1 -0
  561. package/lib/translations/server/endpoints.js +146 -0
  562. package/lib/translations/server/index.d.ts +2 -0
  563. package/lib/translations/server/index.d.ts.map +1 -0
  564. package/lib/translations/server/index.js +5 -0
  565. package/lib/translations/translations-context.d.ts +10 -0
  566. package/lib/translations/translations-context.d.ts.map +1 -0
  567. package/lib/translations/translations-context.js +20 -0
  568. package/lib/translations/types.d.ts +41 -0
  569. package/lib/translations/types.d.ts.map +1 -0
  570. package/lib/translations/types.js +24 -0
  571. package/lib/translations/utils.d.ts +16 -0
  572. package/lib/translations/utils.d.ts.map +1 -0
  573. package/lib/translations/utils.js +56 -0
  574. package/lib/types/submit-payloads.d.ts +119 -0
  575. package/lib/types/submit-payloads.d.ts.map +1 -0
  576. package/lib/types/submit-payloads.js +7 -0
  577. package/lib/types.d.ts +20 -0
  578. package/lib/types.d.ts.map +1 -0
  579. package/lib/types.js +12 -0
  580. package/lib/utils/color.d.ts +2 -0
  581. package/lib/utils/color.d.ts.map +1 -0
  582. package/lib/utils/color.js +50 -0
  583. package/lib/utils/css.d.ts +3 -0
  584. package/lib/utils/css.d.ts.map +1 -0
  585. package/lib/utils/css.js +15 -0
  586. package/lib/utils/date.d.ts +4 -0
  587. package/lib/utils/date.d.ts.map +1 -0
  588. package/lib/utils/date.js +21 -0
  589. package/lib/utils/enum-from-string.d.ts +4 -0
  590. package/lib/utils/enum-from-string.d.ts.map +1 -0
  591. package/lib/utils/enum-from-string.js +9 -0
  592. package/lib/utils/env.d.ts +10 -0
  593. package/lib/utils/env.d.ts.map +1 -0
  594. package/lib/utils/env.js +49 -0
  595. package/lib/utils/only-uniques.d.ts +3 -0
  596. package/lib/utils/only-uniques.d.ts.map +1 -0
  597. package/lib/utils/only-uniques.js +7 -0
  598. package/lib/utils/org-theme-definitions.d.ts +5 -0
  599. package/lib/utils/org-theme-definitions.d.ts.map +1 -0
  600. package/lib/utils/org-theme-definitions.js +13 -0
  601. package/lib/utils/presence.d.ts +2 -0
  602. package/lib/utils/presence.d.ts.map +1 -0
  603. package/lib/utils/presence.js +5 -0
  604. package/lib/utils/reference-data.d.ts +15 -0
  605. package/lib/utils/reference-data.d.ts.map +1 -0
  606. package/lib/utils/reference-data.js +15 -0
  607. package/lib/utils/use-client-width.d.ts +2 -0
  608. package/lib/utils/use-client-width.d.ts.map +1 -0
  609. package/lib/utils/use-client-width.js +18 -0
  610. package/lib/utils/use-debounce.d.ts +3 -0
  611. package/lib/utils/use-debounce.d.ts.map +1 -0
  612. package/lib/utils/use-debounce.js +14 -0
  613. package/lib/utils/use-interval.d.ts +2 -0
  614. package/lib/utils/use-interval.d.ts.map +1 -0
  615. package/lib/utils/use-interval.js +22 -0
  616. package/lib/utils/use-localstorage.d.ts +2 -0
  617. package/lib/utils/use-localstorage.d.ts.map +1 -0
  618. package/lib/utils/use-localstorage.js +40 -0
  619. package/lib/utils/use-now.d.ts +2 -0
  620. package/lib/utils/use-now.d.ts.map +1 -0
  621. package/lib/utils/use-now.js +13 -0
  622. package/lib/utils/user-media-query.d.ts +2 -0
  623. package/lib/utils/user-media-query.d.ts.map +1 -0
  624. package/lib/utils/user-media-query.js +36 -0
  625. package/lib/utils.d.ts +19 -0
  626. package/lib/utils.d.ts.map +1 -0
  627. package/lib/utils.js +126 -0
  628. package/lib/validation/commonInputValidator.d.ts +7 -0
  629. package/lib/validation/commonInputValidator.d.ts.map +1 -0
  630. package/lib/validation/commonInputValidator.js +28 -0
  631. package/lib/validation/index.d.ts +2 -0
  632. package/lib/validation/index.d.ts.map +1 -0
  633. package/lib/validation/index.js +8 -0
  634. package/lib/validation/validationRules.d.ts +11 -0
  635. package/lib/validation/validationRules.d.ts.map +1 -0
  636. package/lib/validation/validationRules.js +372 -0
  637. package/package.json +99 -0
@@ -0,0 +1,2419 @@
1
+ export type Maybe<T> = T | null;
2
+ export type InputMaybe<T> = Maybe<T>;
3
+ export type Exact<T extends {
4
+ [key: string]: unknown;
5
+ }> = {
6
+ [K in keyof T]: T[K];
7
+ };
8
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
+ [SubKey in K]?: Maybe<T[SubKey]>;
10
+ };
11
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
+ [SubKey in K]: Maybe<T[SubKey]>;
13
+ };
14
+ export type MakeEmpty<T extends {
15
+ [key: string]: unknown;
16
+ }, K extends keyof T> = {
17
+ [_ in K]?: never;
18
+ };
19
+ export type Incremental<T> = T | {
20
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
+ };
22
+ /** All built-in and custom scalars, mapped to their actual values */
23
+ export type Scalars = {
24
+ ID: {
25
+ input: string;
26
+ output: string;
27
+ };
28
+ String: {
29
+ input: string;
30
+ output: string;
31
+ };
32
+ Boolean: {
33
+ input: boolean;
34
+ output: boolean;
35
+ };
36
+ Int: {
37
+ input: number;
38
+ output: number;
39
+ };
40
+ Float: {
41
+ input: number;
42
+ output: number;
43
+ };
44
+ Coordinates: {
45
+ input: any;
46
+ output: any;
47
+ };
48
+ Cost: {
49
+ input: any;
50
+ output: any;
51
+ };
52
+ Date: {
53
+ input: any;
54
+ output: any;
55
+ };
56
+ DateTime: {
57
+ input: any;
58
+ output: any;
59
+ };
60
+ DoubleFunction: {
61
+ input: any;
62
+ output: any;
63
+ };
64
+ Duration: {
65
+ input: any;
66
+ output: any;
67
+ };
68
+ LocalTime: {
69
+ input: any;
70
+ output: any;
71
+ };
72
+ Long: {
73
+ input: any;
74
+ output: any;
75
+ };
76
+ Time: {
77
+ input: any;
78
+ output: any;
79
+ };
80
+ };
81
+ export declare enum AbsoluteDirection {
82
+ East = "east",
83
+ North = "north",
84
+ Northeast = "northeast",
85
+ Northwest = "northwest",
86
+ South = "south",
87
+ Southeast = "southeast",
88
+ Southwest = "southwest",
89
+ West = "west"
90
+ }
91
+ export type AffectedLine = {
92
+ __typename?: 'AffectedLine';
93
+ line?: Maybe<Line>;
94
+ };
95
+ export type AffectedServiceJourney = {
96
+ __typename?: 'AffectedServiceJourney';
97
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
98
+ operatingDay?: Maybe<Scalars['Date']['output']>;
99
+ serviceJourney?: Maybe<ServiceJourney>;
100
+ };
101
+ export type AffectedStopPlace = {
102
+ __typename?: 'AffectedStopPlace';
103
+ quay?: Maybe<Quay>;
104
+ stopConditions: Array<StopCondition>;
105
+ stopPlace?: Maybe<StopPlace>;
106
+ };
107
+ export type AffectedStopPlaceOnLine = {
108
+ __typename?: 'AffectedStopPlaceOnLine';
109
+ line?: Maybe<Line>;
110
+ quay?: Maybe<Quay>;
111
+ stopConditions: Array<StopCondition>;
112
+ stopPlace?: Maybe<StopPlace>;
113
+ };
114
+ export type AffectedStopPlaceOnServiceJourney = {
115
+ __typename?: 'AffectedStopPlaceOnServiceJourney';
116
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
117
+ operatingDay?: Maybe<Scalars['Date']['output']>;
118
+ quay?: Maybe<Quay>;
119
+ serviceJourney?: Maybe<ServiceJourney>;
120
+ stopConditions: Array<StopCondition>;
121
+ stopPlace?: Maybe<StopPlace>;
122
+ };
123
+ export type AffectedUnknown = {
124
+ __typename?: 'AffectedUnknown';
125
+ description?: Maybe<Scalars['String']['output']>;
126
+ };
127
+ export type Affects = AffectedLine | AffectedServiceJourney | AffectedStopPlace | AffectedStopPlaceOnLine | AffectedStopPlaceOnServiceJourney | AffectedUnknown;
128
+ export declare enum AlternativeLegsFilter {
129
+ NoFilter = "noFilter",
130
+ SameAuthority = "sameAuthority",
131
+ SameLine = "sameLine",
132
+ SameMode = "sameMode",
133
+ /** Must match both subMode and mode */
134
+ SameSubmode = "sameSubmode"
135
+ }
136
+ export declare enum ArrivalDeparture {
137
+ /** Only show arrivals */
138
+ Arrivals = "arrivals",
139
+ /** Show both arrivals and departures */
140
+ Both = "both",
141
+ /** Only show departures */
142
+ Departures = "departures"
143
+ }
144
+ /** Authority involved in public transportation. An organisation under which the responsibility of organising the transport service in a certain area is placed. */
145
+ export type Authority = {
146
+ __typename?: 'Authority';
147
+ fareUrl?: Maybe<Scalars['String']['output']>;
148
+ id: Scalars['ID']['output'];
149
+ lang?: Maybe<Scalars['String']['output']>;
150
+ lines: Array<Maybe<Line>>;
151
+ name: Scalars['String']['output'];
152
+ phone?: Maybe<Scalars['String']['output']>;
153
+ /** Get all situations active for the authority. */
154
+ situations: Array<PtSituationElement>;
155
+ timezone: Scalars['String']['output'];
156
+ url?: Maybe<Scalars['String']['output']>;
157
+ };
158
+ export declare enum BicycleOptimisationMethod {
159
+ Flat = "flat",
160
+ Greenways = "greenways",
161
+ Quick = "quick",
162
+ Safe = "safe",
163
+ Triangle = "triangle"
164
+ }
165
+ export type BikePark = PlaceInterface & {
166
+ __typename?: 'BikePark';
167
+ id: Scalars['ID']['output'];
168
+ latitude?: Maybe<Scalars['Float']['output']>;
169
+ longitude?: Maybe<Scalars['Float']['output']>;
170
+ name: Scalars['String']['output'];
171
+ realtime?: Maybe<Scalars['Boolean']['output']>;
172
+ spacesAvailable?: Maybe<Scalars['Int']['output']>;
173
+ };
174
+ /** Bicycle routing preferences. */
175
+ export type BikePreferencesInput = {
176
+ /** The set of characteristics that the user wants to optimize for during bicycle routing. */
177
+ optimisationMethod?: InputMaybe<VehicleOptimisationMethod>;
178
+ /** A measure of how bad biking is compared to being in transit for equal periods of time. Higher values make routing prefer other modes over biking. */
179
+ reluctance?: InputMaybe<Scalars['Float']['input']>;
180
+ /** The maximum bike speed along streets, in meters per second. */
181
+ speed?: InputMaybe<Scalars['Float']['input']>;
182
+ /** When using optimisationMethod 'triangle', these values tell the routing engine how important each factor is compared to the others. All values should add up to 1. */
183
+ triangleFactors?: InputMaybe<TriangleFactors>;
184
+ };
185
+ export type BikeRentalStation = PlaceInterface & {
186
+ __typename?: 'BikeRentalStation';
187
+ allowDropoff?: Maybe<Scalars['Boolean']['output']>;
188
+ bikesAvailable?: Maybe<Scalars['Int']['output']>;
189
+ id: Scalars['ID']['output'];
190
+ latitude?: Maybe<Scalars['Float']['output']>;
191
+ longitude?: Maybe<Scalars['Float']['output']>;
192
+ name: Scalars['String']['output'];
193
+ networks: Array<Maybe<Scalars['String']['output']>>;
194
+ realtimeOccupancyAvailable?: Maybe<Scalars['Boolean']['output']>;
195
+ spacesAvailable?: Maybe<Scalars['Int']['output']>;
196
+ };
197
+ export declare enum BikesAllowed {
198
+ /** The vehicle being used on this particular trip can accommodate at least one bicycle. */
199
+ Allowed = "allowed",
200
+ /** There is no bike information for the trip. */
201
+ NoInformation = "noInformation",
202
+ /** No bicycles are allowed on this trip. */
203
+ NotAllowed = "notAllowed"
204
+ }
205
+ export type BookingArrangement = {
206
+ __typename?: 'BookingArrangement';
207
+ /** Time constraints for booking */
208
+ bookWhen?: Maybe<PurchaseWhen>;
209
+ /** Who should ticket be contacted for booking */
210
+ bookingContact?: Maybe<Contact>;
211
+ /** How should service be booked? */
212
+ bookingMethods?: Maybe<Array<Maybe<BookingMethod>>>;
213
+ /** Textual description of booking arrangement for service */
214
+ bookingNote?: Maybe<Scalars['String']['output']>;
215
+ /** How many days prior to the travel the service needs to be booked */
216
+ latestBookingDay?: Maybe<Scalars['Int']['output']>;
217
+ /** Latest time the service can be booked. ISO 8601 timestamp */
218
+ latestBookingTime?: Maybe<Scalars['LocalTime']['output']>;
219
+ /** Minimum period in advance service can be booked as a ISO 8601 duration */
220
+ minimumBookingPeriod?: Maybe<Scalars['String']['output']>;
221
+ };
222
+ export declare enum BookingMethod {
223
+ CallDriver = "callDriver",
224
+ CallOffice = "callOffice",
225
+ Online = "online",
226
+ PhoneAtStop = "phoneAtStop",
227
+ Text = "text"
228
+ }
229
+ export type Branding = {
230
+ __typename?: 'Branding';
231
+ /** Description of branding. */
232
+ description?: Maybe<Scalars['String']['output']>;
233
+ id: Scalars['ID']['output'];
234
+ /** URL to an image be used for branding */
235
+ image?: Maybe<Scalars['String']['output']>;
236
+ /** Full name to be used for branding. */
237
+ name?: Maybe<Scalars['String']['output']>;
238
+ /** Short name to be used for branding. */
239
+ shortName?: Maybe<Scalars['String']['output']>;
240
+ /** URL to be used for branding */
241
+ url?: Maybe<Scalars['String']['output']>;
242
+ };
243
+ export type Contact = {
244
+ __typename?: 'Contact';
245
+ /** Name of person to contact */
246
+ contactPerson?: Maybe<Scalars['String']['output']>;
247
+ /** Email adress for contact */
248
+ email?: Maybe<Scalars['String']['output']>;
249
+ /** Textual description of how to get in contact */
250
+ furtherDetails?: Maybe<Scalars['String']['output']>;
251
+ /** Phone number for contact */
252
+ phone?: Maybe<Scalars['String']['output']>;
253
+ /** Url for contact */
254
+ url?: Maybe<Scalars['String']['output']>;
255
+ };
256
+ /** A planned journey on a specific day */
257
+ export type DatedServiceJourney = {
258
+ __typename?: 'DatedServiceJourney';
259
+ /** Returns scheduled passingTimes for this dated service journey, updated with real-time-updates (if available). */
260
+ estimatedCalls: Array<EstimatedCall>;
261
+ id: Scalars['ID']['output'];
262
+ /** JourneyPattern for the dated service journey. */
263
+ journeyPattern?: Maybe<JourneyPattern>;
264
+ /** The date this service runs. The date used is based on the service date as opposed to calendar date. */
265
+ operatingDay?: Maybe<Scalars['Date']['output']>;
266
+ /** Quays visited by the dated service journey. */
267
+ quays: Array<Quay>;
268
+ /** Dated service journeys this dated service journey is replaced by */
269
+ replacedByRelation: Array<ReplacedByRelation>;
270
+ /**
271
+ * List of the dated service journeys this dated service journeys replaces
272
+ * @deprecated Use replacementForRelation
273
+ */
274
+ replacementFor: Array<DatedServiceJourney>;
275
+ /** Dated service journeys this dated service journey replaces with full replacement information */
276
+ replacementForRelation: Array<ReplacementForRelation>;
277
+ /** The service journey this Dated Service Journey is based on */
278
+ serviceJourney: ServiceJourney;
279
+ /** Alterations specified on the Trip in the planned data */
280
+ tripAlteration?: Maybe<ServiceAlteration>;
281
+ };
282
+ /** A planned journey on a specific day */
283
+ export type DatedServiceJourneyQuaysArgs = {
284
+ first?: InputMaybe<Scalars['Int']['input']>;
285
+ last?: InputMaybe<Scalars['Int']['input']>;
286
+ };
287
+ /** An advertised destination of a specific journey pattern, usually displayed on a head sign or at other on-board locations. */
288
+ export type DestinationDisplay = {
289
+ __typename?: 'DestinationDisplay';
290
+ /** Name of destination to show on front of vehicle. */
291
+ frontText?: Maybe<Scalars['String']['output']>;
292
+ /** Intermediary destinations which the vehicle will pass before reaching its final destination. */
293
+ via?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
294
+ };
295
+ export declare enum DirectionType {
296
+ Anticlockwise = "anticlockwise",
297
+ Clockwise = "clockwise",
298
+ Inbound = "inbound",
299
+ Outbound = "outbound",
300
+ Unknown = "unknown"
301
+ }
302
+ /** Individual step of an elevation profile. */
303
+ export type ElevationProfileStep = {
304
+ __typename?: 'ElevationProfileStep';
305
+ /** The horizontal distance from the start of the step, in meters. */
306
+ distance?: Maybe<Scalars['Float']['output']>;
307
+ /**
308
+ * The elevation at this distance, in meters above sea level. It is negative if the
309
+ * location is below sea level.
310
+ *
311
+ */
312
+ elevation?: Maybe<Scalars['Float']['output']>;
313
+ };
314
+ /**
315
+ * Emission information for a trip-pattern or legs.
316
+ *
317
+ * For more information, go to https://data.entur.no/dataset/energy_emissions
318
+ */
319
+ export type Emission = {
320
+ __typename?: 'Emission';
321
+ /** The average CO₂ emission per passenger in grams. */
322
+ co2?: Maybe<Scalars['Float']['output']>;
323
+ };
324
+ /**
325
+ * The empirical delay indicates how late a service journey is based on historic data.
326
+ *
327
+ */
328
+ export type EmpiricalDelay = {
329
+ __typename?: 'EmpiricalDelay';
330
+ /** The median/50% percentile. This value is in the middle of the distribution. */
331
+ p50?: Maybe<Scalars['Duration']['output']>;
332
+ /** The 90% percentile. 90% of the values in the distribution is better and 10% is more delayed. */
333
+ p90?: Maybe<Scalars['Duration']['output']>;
334
+ };
335
+ /** List of calls on quays as part of vehicle journeys. Updated with real time information where available */
336
+ export type EstimatedCall = {
337
+ __typename?: 'EstimatedCall';
338
+ /** Actual time of arrival at quay. Updated from real time information if available. */
339
+ actualArrivalTime?: Maybe<Scalars['DateTime']['output']>;
340
+ /** Actual time of departure from quay. Updated with real time information if available. */
341
+ actualDepartureTime?: Maybe<Scalars['DateTime']['output']>;
342
+ /** Scheduled time of arrival at quay. Not affected by read time updated */
343
+ aimedArrivalTime: Scalars['DateTime']['output'];
344
+ /** Scheduled time of departure from quay. Not affected by read time updated */
345
+ aimedDepartureTime: Scalars['DateTime']['output'];
346
+ /** Booking arrangements for this EstimatedCall. */
347
+ bookingArrangements?: Maybe<BookingArrangement>;
348
+ /** Whether stop is cancelled. This means that either the ServiceJourney has a planned cancellation, the ServiceJourney has been cancelled by real-time data, or this particular StopPoint has been cancelled. This also means that both boarding and alighting has been cancelled. */
349
+ cancellation: Scalars['Boolean']['output'];
350
+ /** The date the estimated call is valid for. */
351
+ date: Scalars['Date']['output'];
352
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
353
+ destinationDisplay?: Maybe<DestinationDisplay>;
354
+ /** The typical delay for this trip on this day for this stop based on historical data. */
355
+ empiricalDelay?: Maybe<EmpiricalDelay>;
356
+ /** Expected time of arrival at quay. Updated with real time information if available. */
357
+ expectedArrivalTime: Scalars['DateTime']['output'];
358
+ /** Expected time of departure from quay. Updated with real time information if available. */
359
+ expectedDepartureTime: Scalars['DateTime']['output'];
360
+ /** Whether vehicle may be alighted at quay. */
361
+ forAlighting: Scalars['Boolean']['output'];
362
+ /** Whether vehicle may be boarded at quay. */
363
+ forBoarding: Scalars['Boolean']['output'];
364
+ notices: Array<Notice>;
365
+ occupancyStatus: OccupancyStatus;
366
+ /** Whether the updated estimates are expected to be inaccurate. */
367
+ predictionInaccurate: Scalars['Boolean']['output'];
368
+ quay: Quay;
369
+ /** Whether this call has been updated with real time information. */
370
+ realtime: Scalars['Boolean']['output'];
371
+ realtimeState: RealtimeState;
372
+ /** Whether vehicle will only stop on request. */
373
+ requestStop: Scalars['Boolean']['output'];
374
+ serviceJourney: ServiceJourney;
375
+ /** Estimated calls for the ServiceJourney on this date. */
376
+ serviceJourneyEstimatedCalls: SjEstimatedCalls;
377
+ /** Get all relevant situations for this EstimatedCall. */
378
+ situations: Array<PtSituationElement>;
379
+ stopPositionInPattern: Scalars['Int']['output'];
380
+ /** Whether this is a timing point or not. Boarding and alighting is not allowed at timing points. */
381
+ timingPoint: Scalars['Boolean']['output'];
382
+ };
383
+ export declare enum FilterPlaceType {
384
+ /** Bicycle rent stations */
385
+ BicycleRent = "bicycleRent",
386
+ /** Bike parks */
387
+ BikePark = "bikePark",
388
+ /** Car parks */
389
+ CarPark = "carPark",
390
+ /** Quay */
391
+ Quay = "quay",
392
+ /** StopPlace */
393
+ StopPlace = "stopPlace"
394
+ }
395
+ /** Additional (optional) grouping of lines for particular purposes such as e.g. fare harmonisation or public presentation. */
396
+ export type GroupOfLines = {
397
+ __typename?: 'GroupOfLines';
398
+ /** Description of group of lines */
399
+ description?: Maybe<Scalars['String']['output']>;
400
+ id: Scalars['ID']['output'];
401
+ /** All lines part of this group of lines */
402
+ lines: Array<Line>;
403
+ /** Full name for group of lines. */
404
+ name?: Maybe<Scalars['String']['output']>;
405
+ /** For internal use by operator/authority. */
406
+ privateCode?: Maybe<Scalars['String']['output']>;
407
+ /** Short name for group of lines. */
408
+ shortName?: Maybe<Scalars['String']['output']>;
409
+ };
410
+ /** Filter trips by disallowing lines involving certain elements. If both lines and authorities are specified, only one must be valid for each line to be banned. If a line is both banned and whitelisted, it will be counted as banned. */
411
+ export type InputBanned = {
412
+ /** Set of ids for authorities that should not be used */
413
+ authorities?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
414
+ /** Set of ids for lines that should not be used */
415
+ lines?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
416
+ /** NOT IMPLEMENTED. Set of ids of quays that should not be allowed for boarding or alighting. Trip patterns that travel through the quay will still be permitted. */
417
+ quays?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
418
+ /** NOT IMPLEMENTED. Set of ids of quays that should not be allowed for boarding, alighting or traveling thorugh. */
419
+ quaysHard?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
420
+ /** Set of ids of rental networks that should not be allowed for renting vehicles. */
421
+ rentalNetworks?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
422
+ /** Set of ids of service journeys that should not be used. */
423
+ serviceJourneys?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
424
+ };
425
+ /** Input type for coordinates in the WGS84 system */
426
+ export type InputCoordinates = {
427
+ /** The latitude of the place. */
428
+ latitude: Scalars['Float']['input'];
429
+ /** The longitude of the place. */
430
+ longitude: Scalars['Float']['input'];
431
+ };
432
+ export declare enum InputField {
433
+ DateTime = "dateTime",
434
+ From = "from",
435
+ IntermediatePlace = "intermediatePlace",
436
+ To = "to"
437
+ }
438
+ export type InputPlaceIds = {
439
+ /** Bike parks to include by id. */
440
+ bikeParks?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
441
+ /** Bike rentals to include by id. */
442
+ bikeRentalStations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
443
+ /** Car parks to include by id. */
444
+ carParks?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
445
+ /** Lines to include by id. */
446
+ lines?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
447
+ /** Quays to include by id. */
448
+ quays?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
449
+ };
450
+ /** Filter trips by only allowing lines involving certain elements. If both lines and authorities are specified, only one must be valid for each line to be used. If a line is both banned and whitelisted, it will be counted as banned. */
451
+ export type InputWhiteListed = {
452
+ /** Set of ids for authorities that should be used */
453
+ authorities?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
454
+ /** Set of ids for lines that should be used */
455
+ lines?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
456
+ /** Set of ids of rental networks that should be used for renting vehicles. */
457
+ rentalNetworks?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
458
+ };
459
+ export type Interchange = {
460
+ __typename?: 'Interchange';
461
+ /** @deprecated This is the same as using the `fromServiceJourney { line }` field. */
462
+ FromLine?: Maybe<Line>;
463
+ /** @deprecated Use fromServiceJourney instead */
464
+ FromServiceJourney?: Maybe<ServiceJourney>;
465
+ /** @deprecated This is the same as using the `toServiceJourney { line }` field. */
466
+ ToLine?: Maybe<Line>;
467
+ /** @deprecated Use toServiceJourney instead */
468
+ ToServiceJourney?: Maybe<ServiceJourney>;
469
+ fromServiceJourney?: Maybe<ServiceJourney>;
470
+ guaranteed?: Maybe<Scalars['Boolean']['output']>;
471
+ /** Maximum time after scheduled departure time the connecting transport is guaranteed to wait for the delayed trip. [NOT RESPECTED DURING ROUTING, JUST PASSED THROUGH] */
472
+ maximumWaitTime?: Maybe<Scalars['Int']['output']>;
473
+ /** The transfer priority is used to decide where a transfer should happen, at the highest prioritized location. If the guaranteed flag is set it take precedence priority. A guaranteed ALLOWED transfer is preferred over a PREFERRED none-guaranteed transfer. */
474
+ priority?: Maybe<InterchangePriority>;
475
+ staySeated?: Maybe<Scalars['Boolean']['output']>;
476
+ toServiceJourney?: Maybe<ServiceJourney>;
477
+ };
478
+ export declare enum InterchangePriority {
479
+ Allowed = "allowed",
480
+ NotAllowed = "notAllowed",
481
+ Preferred = "preferred",
482
+ Recommended = "recommended"
483
+ }
484
+ /** Deprecated. Use STOP_INTERCHANGE_PRIORITY */
485
+ export declare enum InterchangeWeighting {
486
+ /** Third highest priority interchange. */
487
+ InterchangeAllowed = "interchangeAllowed",
488
+ /** Interchange not allowed. */
489
+ NoInterchange = "noInterchange",
490
+ /** Highest priority interchange. */
491
+ PreferredInterchange = "preferredInterchange",
492
+ /** Second highest priority interchange. */
493
+ RecommendedInterchange = "recommendedInterchange"
494
+ }
495
+ /**
496
+ * Enable this to attach a system notice to itineraries instead of removing them. This is very
497
+ * convenient when tuning the itinerary-filter-chain.
498
+ */
499
+ export declare enum ItineraryFilterDebugProfile {
500
+ /**
501
+ * Only return the requested number of itineraries, counting both actual and deleted ones.
502
+ * The top `numItineraries` using the request sort order is returned. This does not work
503
+ * with paging, itineraries after the limit, but inside the search-window are skipped when
504
+ * moving to the next page.
505
+ */
506
+ LimitToNumOfItineraries = "limitToNumOfItineraries",
507
+ /**
508
+ * Return all itineraries, including deleted ones, inside the actual search-window used
509
+ * (the requested search-window may differ).
510
+ */
511
+ LimitToSearchWindow = "limitToSearchWindow",
512
+ /** List all itineraries, including all deleted itineraries. */
513
+ ListAll = "listAll",
514
+ /** By default, the debug itinerary filters is turned off. */
515
+ Off = "off"
516
+ }
517
+ /** Parameters for the OTP Itinerary Filter Chain. These parameters SHOULD be configured on the server side and should not be used by the client. They are made available here to be able to experiment and tune the server. */
518
+ export type ItineraryFilters = {
519
+ /**
520
+ * Use this parameter to debug the itinerary-filter-chain. The default is `off`
521
+ * (itineraries are filtered and not returned). For all other values the unwanted
522
+ * itineraries are returned with a system notice, and not deleted.
523
+ */
524
+ debug?: InputMaybe<ItineraryFilterDebugProfile>;
525
+ /** Pick ONE itinerary from each group after putting itineraries that is 85% similar together. */
526
+ groupSimilarityKeepOne?: InputMaybe<Scalars['Float']['input']>;
527
+ /** Reduce the number of itineraries in each group to to maximum 3 itineraries. The itineraries are grouped by similar legs (on board same journey). So, if 68% of the distance is traveled by similar legs, then two itineraries are in the same group. Default value is 68%, must be at least 50%. */
528
+ groupSimilarityKeepThree?: InputMaybe<Scalars['Float']['input']>;
529
+ /** Of the itineraries grouped to maximum of three itineraries, how much worse can the non-grouped legs be compared to the lowest cost. 2.0 means that they can be double the cost, and any itineraries having a higher cost will be filtered. Default value is 2.0, use a value lower than 1.0 to turn off */
530
+ groupedOtherThanSameLegsMaxCostMultiplier?: InputMaybe<Scalars['Float']['input']>;
531
+ /** Set a relative limit for all transit itineraries. The limit is calculated based on the transit itinerary generalized-cost and the time between itineraries Itineraries without transit legs are excluded from this filter. Example: costLimitFunction(x) = 3600 + 2.0 x and intervalRelaxFactor = 0.5. If the lowest cost returned is 10 000, then the limit is set to: 3 600 + 2 * 10 000 = 26 600 plus half of the time between either departure or arrival times of the itinerary. Default: {"costLimitFunction": 15m + 1.50 t, "intervalRelaxFactor": 0.75} */
532
+ transitGeneralizedCostLimit?: InputMaybe<TransitGeneralizedCostFilterParams>;
533
+ };
534
+ export type JourneyPattern = {
535
+ __typename?: 'JourneyPattern';
536
+ directionType?: Maybe<DirectionType>;
537
+ id: Scalars['ID']['output'];
538
+ line: Line;
539
+ name?: Maybe<Scalars['String']['output']>;
540
+ notices: Array<Notice>;
541
+ pointsOnLink?: Maybe<PointsOnLink>;
542
+ /** Quays visited by service journeys for this journey patterns */
543
+ quays: Array<Quay>;
544
+ serviceJourneys: Array<ServiceJourney>;
545
+ /** List of service journeys for the journey pattern for a given date */
546
+ serviceJourneysForDate: Array<ServiceJourney>;
547
+ /** Get all situations active for the journey pattern. */
548
+ situations: Array<PtSituationElement>;
549
+ /** Detailed path travelled by journey pattern divided into stop-to-stop sections. */
550
+ stopToStopGeometries?: Maybe<Array<Maybe<StopToStopGeometry>>>;
551
+ };
552
+ export type JourneyPatternServiceJourneysForDateArgs = {
553
+ date?: InputMaybe<Scalars['Date']['input']>;
554
+ };
555
+ /** Part of a trip pattern. Either a ride on a public transport vehicle or access or path link to/from/between places */
556
+ export type Leg = {
557
+ __typename?: 'Leg';
558
+ /** The aimed date and time this leg ends. */
559
+ aimedEndTime: Scalars['DateTime']['output'];
560
+ /** The aimed date and time this leg starts. */
561
+ aimedStartTime: Scalars['DateTime']['output'];
562
+ /** For ride legs, the service authority used for this legs. For non-ride legs, null. */
563
+ authority?: Maybe<Authority>;
564
+ bikeRentalNetworks: Array<Maybe<Scalars['String']['output']>>;
565
+ bookingArrangements?: Maybe<BookingArrangement>;
566
+ /** The dated service journey used for this leg. */
567
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
568
+ /** NOT IMPLEMENTED */
569
+ directDuration: Scalars['Long']['output'];
570
+ /** The distance traveled while traversing the leg in meters. */
571
+ distance: Scalars['Float']['output'];
572
+ /** The leg's duration in seconds */
573
+ duration: Scalars['Long']['output'];
574
+ /**
575
+ * The leg's elevation profile. All elevation values, including the first one, are in meters
576
+ * above sea level. The elevation is negative for places below sea level. The profile
577
+ * includes both the start and end coordinate.
578
+ *
579
+ */
580
+ elevationProfile: Array<Maybe<ElevationProfileStep>>;
581
+ /** The emission per person */
582
+ emission?: Maybe<Emission>;
583
+ /** The expected, real-time adjusted date and time this leg ends. */
584
+ expectedEndTime: Scalars['DateTime']['output'];
585
+ /** The expected, real-time adjusted date and time this leg starts. */
586
+ expectedStartTime: Scalars['DateTime']['output'];
587
+ /** EstimatedCall for the quay where the leg originates. */
588
+ fromEstimatedCall?: Maybe<EstimatedCall>;
589
+ /** The Place where the leg originates. */
590
+ fromPlace: Place;
591
+ /** Generalized cost or weight of the leg. Used for debugging. */
592
+ generalizedCost?: Maybe<Scalars['Int']['output']>;
593
+ /**
594
+ * An identifier for the leg, which can be used to re-fetch transit leg information. The
595
+ * identifier is valid for a maximum of 2 years, but sometimes it will fail after a few hours.
596
+ * We do not recommend storing IDs for a long time.
597
+ *
598
+ */
599
+ id?: Maybe<Scalars['ID']['output']>;
600
+ interchangeFrom?: Maybe<Interchange>;
601
+ interchangeTo?: Maybe<Interchange>;
602
+ /** For ride legs, estimated calls for quays between the Place where the leg originates and the Place where the leg ends. For non-ride legs, empty list. */
603
+ intermediateEstimatedCalls: Array<EstimatedCall>;
604
+ /** For ride legs, intermediate quays between the Place where the leg originates and the Place where the leg ends. For non-ride legs, empty list. */
605
+ intermediateQuays: Array<Quay>;
606
+ /** For ride legs, the line. For non-ride legs, null. */
607
+ line?: Maybe<Line>;
608
+ /** The mode of transport or access (e.g., foot) used when traversing this leg. */
609
+ mode: Mode;
610
+ /** Fetch the next legs, which can be used to replace this leg. The replacement legs do arrive/depart from/to the same stop places. It might be necessary to change other legs in an itinerary in order to be able to ride the returned legs. */
611
+ nextLegs?: Maybe<Array<Leg>>;
612
+ /** For ride legs, the operator used for this legs. For non-ride legs, null. */
613
+ operator?: Maybe<Operator>;
614
+ /** The leg's geometry. */
615
+ pointsOnLink?: Maybe<PointsOnLink>;
616
+ /** Fetch the previous legs, which can be used to replace this leg. The replacement legs do arrive/depart from/to the same stop places. It might be necessary to change other legs in an itinerary in order to be able to ride the returned legs. */
617
+ previousLegs?: Maybe<Array<Leg>>;
618
+ /** Whether there is real-time data about this leg */
619
+ realtime: Scalars['Boolean']['output'];
620
+ /** Whether this leg is with a rented bike. */
621
+ rentedBike?: Maybe<Scalars['Boolean']['output']>;
622
+ /** Whether this leg is a ride leg or not. */
623
+ ride: Scalars['Boolean']['output'];
624
+ /** For transit legs, the service date of the trip. For non-transit legs, null. */
625
+ serviceDate?: Maybe<Scalars['Date']['output']>;
626
+ /** For ride legs, the service journey. For non-ride legs, null. */
627
+ serviceJourney?: Maybe<ServiceJourney>;
628
+ /** For ride legs, all estimated calls for the service journey. For non-ride legs, empty list. */
629
+ serviceJourneyEstimatedCalls: Array<EstimatedCall>;
630
+ /** All relevant situations for this leg */
631
+ situations: Array<PtSituationElement>;
632
+ /** Do we continue from a specified via place */
633
+ steps: Array<Maybe<PathGuidance>>;
634
+ /** EstimatedCall for the quay where the leg ends. */
635
+ toEstimatedCall?: Maybe<EstimatedCall>;
636
+ /** The Place where the leg ends. */
637
+ toPlace: Place;
638
+ /** The transport sub mode (e.g., localBus or expressBus) used when traversing this leg. Null if leg is not a ride */
639
+ transportSubmode?: Maybe<TransportSubmode>;
640
+ /** Whether this leg is walking with a bike. */
641
+ walkingBike?: Maybe<Scalars['Boolean']['output']>;
642
+ };
643
+ /** Part of a trip pattern. Either a ride on a public transport vehicle or access or path link to/from/between places */
644
+ export type LegNextLegsArgs = {
645
+ filter?: InputMaybe<AlternativeLegsFilter>;
646
+ next?: InputMaybe<Scalars['Int']['input']>;
647
+ };
648
+ /** Part of a trip pattern. Either a ride on a public transport vehicle or access or path link to/from/between places */
649
+ export type LegPreviousLegsArgs = {
650
+ filter?: InputMaybe<AlternativeLegsFilter>;
651
+ previous?: InputMaybe<Scalars['Int']['input']>;
652
+ };
653
+ /** A group of routes which is generally known to the public by a similar name or number */
654
+ export type Line = {
655
+ __typename?: 'Line';
656
+ authority?: Maybe<Authority>;
657
+ bikesAllowed?: Maybe<BikesAllowed>;
658
+ /**
659
+ * Booking arrangements for flexible line.
660
+ * @deprecated BookingArrangements are defined per stop, and can be found under `passingTimes` or `estimatedCalls`
661
+ */
662
+ bookingArrangements?: Maybe<BookingArrangement>;
663
+ branding?: Maybe<Branding>;
664
+ description?: Maybe<Scalars['String']['output']>;
665
+ /** Type of flexible line, or null if line is not flexible. */
666
+ flexibleLineType?: Maybe<Scalars['String']['output']>;
667
+ /** Groups of lines that line is a part of. */
668
+ groupOfLines: Array<Maybe<GroupOfLines>>;
669
+ id: Scalars['ID']['output'];
670
+ /**
671
+ * Is this a replacement Line? In NeTEx/SIRI-sourced data this can be set by either
672
+ * a replacement submode, or a replacement link in a DatedServiceJourney. Only true
673
+ * for GTFS-sourced data if set by the extended GTFS type.
674
+ *
675
+ */
676
+ isReplacement: Scalars['Boolean']['output'];
677
+ journeyPatterns?: Maybe<Array<Maybe<JourneyPattern>>>;
678
+ name?: Maybe<Scalars['String']['output']>;
679
+ notices: Array<Notice>;
680
+ operator?: Maybe<Operator>;
681
+ presentation?: Maybe<Presentation>;
682
+ /** Publicly announced code for line, differentiating it from other lines for the same operator. */
683
+ publicCode?: Maybe<Scalars['String']['output']>;
684
+ quays: Array<Maybe<Quay>>;
685
+ /** Are there replacement DatedServiceJourneys for this Line? */
686
+ replacementsExist: Scalars['Boolean']['output'];
687
+ serviceJourneys: Array<Maybe<ServiceJourney>>;
688
+ /** Get all situations active for the line. */
689
+ situations: Array<PtSituationElement>;
690
+ transportMode?: Maybe<TransportMode>;
691
+ transportSubmode?: Maybe<TransportSubmode>;
692
+ url?: Maybe<Scalars['String']['output']>;
693
+ };
694
+ export declare enum Locale {
695
+ No = "no",
696
+ Us = "us"
697
+ }
698
+ /** Input format for specifying a location through either a place reference (id), coordinates or both. If both place and coordinates are provided the place ref will be used if found, coordinates will only be used if place is not known. */
699
+ export type Location = {
700
+ /** Coordinates for the location. This can be used alone or as fallback if the place id is not found. */
701
+ coordinates?: InputMaybe<InputCoordinates>;
702
+ /** The name of the location. This is pass-through informationand is not used in routing. */
703
+ name?: InputMaybe<Scalars['String']['input']>;
704
+ /** The id of an element in the OTP model. Currently supports Quay, StopPlace, multimodal StopPlace, and GroupOfStopPlaces. */
705
+ place?: InputMaybe<Scalars['String']['input']>;
706
+ };
707
+ export declare enum Mode {
708
+ Air = "air",
709
+ Bicycle = "bicycle",
710
+ Bus = "bus",
711
+ Cableway = "cableway",
712
+ Car = "car",
713
+ Carpool = "carpool",
714
+ Coach = "coach",
715
+ Foot = "foot",
716
+ Funicular = "funicular",
717
+ Lift = "lift",
718
+ Metro = "metro",
719
+ Monorail = "monorail",
720
+ Rail = "rail",
721
+ Scooter = "scooter",
722
+ SnowAndIce = "snowAndIce",
723
+ Taxi = "taxi",
724
+ Tram = "tram",
725
+ Trolleybus = "trolleybus",
726
+ Water = "water"
727
+ }
728
+ /** Input format for specifying which modes will be allowed for this search. If this element is not present, it will default to accessMode/egressMode/directMode of foot and all transport modes will be allowed. */
729
+ export type Modes = {
730
+ /** The mode used to get from the origin to the access stops in the transit network (first-mile). If the element is not present or null,only transit that can be immediately boarded from the origin will be used. */
731
+ accessMode?: InputMaybe<StreetMode>;
732
+ /** The mode used to get from the origin to the destination directly, without using the transit network. If the element is not present or null,direct travel without using transit will be disallowed. */
733
+ directMode?: InputMaybe<StreetMode>;
734
+ /** The mode used to get from the egress stops in the transit network tothe destination (last-mile). If the element is not present or null,only transit that can immediately arrive at the origin will be used. */
735
+ egressMode?: InputMaybe<StreetMode>;
736
+ /** The allowed modes for the transit part of the trip. Use an empty list to disallow transit for this search. If the element is not present or null, it will default to all transport modes. */
737
+ transportModes?: InputMaybe<Array<InputMaybe<TransportModes>>>;
738
+ };
739
+ export declare enum MultiModalMode {
740
+ /** Both multiModal parents and their mono modal child stop places. */
741
+ All = "all",
742
+ /** Only mono modal children stop places, not their multi modal parent stop */
743
+ Child = "child",
744
+ /** Multi modal parent stop places without their mono modal children. */
745
+ Parent = "parent"
746
+ }
747
+ /** Text with language */
748
+ export type MultilingualString = {
749
+ __typename?: 'MultilingualString';
750
+ language?: Maybe<Scalars['String']['output']>;
751
+ value: Scalars['String']['output'];
752
+ };
753
+ export type Notice = {
754
+ __typename?: 'Notice';
755
+ id: Scalars['ID']['output'];
756
+ publicCode?: Maybe<Scalars['String']['output']>;
757
+ text?: Maybe<Scalars['String']['output']>;
758
+ };
759
+ /** OccupancyStatus to be exposed in the API. The values are based on GTFS-RT */
760
+ export declare enum OccupancyStatus {
761
+ /**
762
+ * The vehicle or carriage can currently accommodate only standing passengers and has limited
763
+ * space for them. There isn't a big difference between this and `full` so it's possible to
764
+ * handle them as the same value, if one wants to limit the number of different values.
765
+ * SIRI nordic profile: merge into `standingRoomOnly`.
766
+ *
767
+ */
768
+ CrushedStandingRoomOnly = "crushedStandingRoomOnly",
769
+ /**
770
+ * The vehicle is considered empty by most measures, and has few or no passengers onboard, but is
771
+ * still accepting passengers. There isn't a big difference between this and `manySeatsAvailable`
772
+ * so it's possible to handle them as the same value, if one wants to limit the number of different
773
+ * values.
774
+ * SIRI nordic profile: merge these into `manySeatsAvailable`.
775
+ *
776
+ */
777
+ Empty = "empty",
778
+ /**
779
+ * The vehicle or carriage has a few seats available.
780
+ * SIRI nordic profile: less than ~50% of seats available.
781
+ *
782
+ */
783
+ FewSeatsAvailable = "fewSeatsAvailable",
784
+ /**
785
+ * The vehicle or carriage is considered full by most measures, but may still be allowing
786
+ * passengers to board.
787
+ *
788
+ */
789
+ Full = "full",
790
+ /**
791
+ * The vehicle or carriage has a large number of seats available.
792
+ * SIRI nordic profile: more than ~50% of seats available.
793
+ *
794
+ */
795
+ ManySeatsAvailable = "manySeatsAvailable",
796
+ /** The vehicle or carriage doesn't have any occupancy data available. */
797
+ NoData = "noData",
798
+ /**
799
+ * The vehicle or carriage has no seats or standing room available.
800
+ * SIRI nordic profile: if vehicle/carriage is not in use / unavailable, or passengers are only
801
+ * allowed to alight due to e.g. crowding.
802
+ *
803
+ */
804
+ NotAcceptingPassengers = "notAcceptingPassengers",
805
+ /**
806
+ * The vehicle or carriage only has standing room available.
807
+ * SIRI nordic profile: less than ~10% of seats available.
808
+ *
809
+ */
810
+ StandingRoomOnly = "standingRoomOnly"
811
+ }
812
+ /** Organisation providing public transport services. */
813
+ export type Operator = {
814
+ __typename?: 'Operator';
815
+ id: Scalars['ID']['output'];
816
+ lines: Array<Maybe<Line>>;
817
+ name: Scalars['String']['output'];
818
+ phone?: Maybe<Scalars['String']['output']>;
819
+ serviceJourney: Array<Maybe<ServiceJourney>>;
820
+ url?: Maybe<Scalars['String']['output']>;
821
+ };
822
+ /** Information about pagination in a connection. */
823
+ export type PageInfo = {
824
+ __typename?: 'PageInfo';
825
+ /** When paginating forwards, the cursor to continue. */
826
+ endCursor?: Maybe<Scalars['String']['output']>;
827
+ /** When paginating forwards, are there more items? */
828
+ hasNextPage: Scalars['Boolean']['output'];
829
+ /** When paginating backwards, are there more items? */
830
+ hasPreviousPage: Scalars['Boolean']['output'];
831
+ /** When paginating backwards, the cursor to continue. */
832
+ startCursor?: Maybe<Scalars['String']['output']>;
833
+ };
834
+ /** Defines one point which the journey must pass through. */
835
+ export type PassThroughPoint = {
836
+ /** Optional name of the pass-through point for debugging and logging. It is not used in routing. */
837
+ name?: InputMaybe<Scalars['String']['input']>;
838
+ /**
839
+ * The list of *stop location ids* which define the pass-through point. At least one id is required.
840
+ * Quay, StopPlace, multimodal StopPlace, and GroupOfStopPlaces are supported location types.
841
+ * The journey must pass through at least one of these entities - not all of them.
842
+ */
843
+ placeIds?: InputMaybe<Array<Scalars['String']['input']>>;
844
+ };
845
+ /** A series of turn by turn instructions used for walking, biking and driving. */
846
+ export type PathGuidance = {
847
+ __typename?: 'PathGuidance';
848
+ /** This step is on an open area, such as a plaza or train platform, and thus the directions should say something like "cross" */
849
+ area?: Maybe<Scalars['Boolean']['output']>;
850
+ /** The name of this street was generated by the system, so we should only display it once, and generally just display right/left directions */
851
+ bogusName?: Maybe<Scalars['Boolean']['output']>;
852
+ /** The distance in meters that this step takes. */
853
+ distance?: Maybe<Scalars['Float']['output']>;
854
+ /**
855
+ * The step's elevation profile. All elevation values, including the first one, are in meters
856
+ * above sea level. The elevation is negative for places below sea level. The profile
857
+ * includes both the start and end coordinate.
858
+ *
859
+ */
860
+ elevationProfile: Array<Maybe<ElevationProfileStep>>;
861
+ /** When exiting a highway or traffic circle, the exit name/number. */
862
+ exit?: Maybe<Scalars['String']['output']>;
863
+ /** The absolute direction of this step. */
864
+ heading?: Maybe<AbsoluteDirection>;
865
+ /** The latitude of the step. */
866
+ latitude?: Maybe<Scalars['Float']['output']>;
867
+ /** The longitude of the step. */
868
+ longitude?: Maybe<Scalars['Float']['output']>;
869
+ /** The relative direction of this step. */
870
+ relativeDirection?: Maybe<RelativeDirection>;
871
+ /** Indicates whether or not a street changes direction at an intersection. */
872
+ stayOn?: Maybe<Scalars['Boolean']['output']>;
873
+ /** The name of the street. */
874
+ streetName?: Maybe<Scalars['String']['output']>;
875
+ };
876
+ /** A combination of street mode and penalty for time and cost. */
877
+ export type PenaltyForStreetMode = {
878
+ /**
879
+ * This is used to take the time-penalty and multiply by the `costFactor`.
880
+ * The result is added to the generalized-cost.
881
+ *
882
+ */
883
+ costFactor?: InputMaybe<Scalars['Float']['input']>;
884
+ /**
885
+ * List of modes with the given penalty is applied to. A street-mode should not be listed
886
+ * in more than one element. If empty or null the penalty is applied to all unlisted modes,
887
+ * it becomes the default penalty for this query.
888
+ *
889
+ */
890
+ streetMode: StreetMode;
891
+ /**
892
+ * Penalty applied to the time for the given list of modes.
893
+ *
894
+ */
895
+ timePenalty: Scalars['DoubleFunction']['input'];
896
+ };
897
+ /** Common super class for all places (stop places, quays, car parks, bike parks and bike rental stations ) */
898
+ export type Place = {
899
+ __typename?: 'Place';
900
+ /** The bike rental station related to the place */
901
+ bikeRentalStation?: Maybe<BikeRentalStation>;
902
+ /** The flexible area related to the place. */
903
+ flexibleArea?: Maybe<Scalars['Coordinates']['output']>;
904
+ /** The latitude of the place. */
905
+ latitude: Scalars['Float']['output'];
906
+ /** The longitude of the place. */
907
+ longitude: Scalars['Float']['output'];
908
+ /** For transit quays, the name of the quay. For points of interest, the name of the POI. */
909
+ name?: Maybe<Scalars['String']['output']>;
910
+ /** The quay related to the place. */
911
+ quay?: Maybe<Quay>;
912
+ /** The rental vehicle related to the place */
913
+ rentalVehicle?: Maybe<RentalVehicle>;
914
+ /** Type of vertex. (Normal, Bike sharing station, Bike P+R, Transit quay) Mostly used for better localization of bike sharing and P+R station names */
915
+ vertexType?: Maybe<VertexType>;
916
+ /** This defines if the place is a requested via location, and what kind it is. If the value is `null`, this place is not a via location. */
917
+ viaLocationType?: Maybe<ViaLocationType>;
918
+ };
919
+ export type PlaceAtDistance = {
920
+ __typename?: 'PlaceAtDistance';
921
+ distance?: Maybe<Scalars['Float']['output']>;
922
+ /** @deprecated Id is not referable or meaningful and will be removed */
923
+ id: Scalars['ID']['output'];
924
+ place?: Maybe<PlaceInterface>;
925
+ };
926
+ /** Interface for places, i.e. quays, stop places, parks */
927
+ export type PlaceInterface = {
928
+ id: Scalars['ID']['output'];
929
+ latitude?: Maybe<Scalars['Float']['output']>;
930
+ longitude?: Maybe<Scalars['Float']['output']>;
931
+ };
932
+ /** A list of coordinates encoded as a polyline string (see http://code.google.com/apis/maps/documentation/polylinealgorithm.html) */
933
+ export type PointsOnLink = {
934
+ __typename?: 'PointsOnLink';
935
+ /** The distance in meters. */
936
+ distance?: Maybe<Scalars['Int']['output']>;
937
+ /** The number of points in the string */
938
+ length?: Maybe<Scalars['Int']['output']>;
939
+ /** The encoded points of the polyline. Be aware that the string could contain escape characters that need to be accounted for. (https://www.freeformatter.com/javascript-escape.html) */
940
+ points?: Maybe<Scalars['String']['output']>;
941
+ };
942
+ /** Types describing common presentation properties */
943
+ export type Presentation = {
944
+ __typename?: 'Presentation';
945
+ colour?: Maybe<Scalars['String']['output']>;
946
+ textColour?: Maybe<Scalars['String']['output']>;
947
+ };
948
+ /** Simple public transport situation element */
949
+ export type PtSituationElement = {
950
+ __typename?: 'PtSituationElement';
951
+ /** Advice of situation in all different translations available */
952
+ advice: Array<MultilingualString>;
953
+ /** Get all affected entities for the situation */
954
+ affects: Array<Affects>;
955
+ /**
956
+ * Get affected authority for this situation element
957
+ * @deprecated Use affects instead
958
+ */
959
+ authority?: Maybe<Authority>;
960
+ /** Timestamp for when the situation was created. */
961
+ creationTime?: Maybe<Scalars['DateTime']['output']>;
962
+ /** Description of situation in all different translations available */
963
+ description: Array<MultilingualString>;
964
+ id: Scalars['ID']['output'];
965
+ /** Optional links to more information. */
966
+ infoLinks?: Maybe<Array<InfoLink>>;
967
+ /** @deprecated Use affects instead */
968
+ lines: Array<Maybe<Line>>;
969
+ /** Codespace of the data source. */
970
+ participant?: Maybe<Scalars['String']['output']>;
971
+ /** Priority of this situation */
972
+ priority?: Maybe<Scalars['Int']['output']>;
973
+ /** @deprecated Use affects instead */
974
+ quays: Array<Quay>;
975
+ /**
976
+ * Authority that reported this situation. Always returns the first agency in the codespace
977
+ * @deprecated Not yet officially supported. May be removed or renamed.
978
+ */
979
+ reportAuthority?: Maybe<Authority>;
980
+ /** ReportType of this situation */
981
+ reportType?: Maybe<ReportType>;
982
+ /** @deprecated Use affects instead */
983
+ serviceJourneys: Array<Maybe<ServiceJourney>>;
984
+ /** Severity of this situation */
985
+ severity?: Maybe<Severity>;
986
+ /** Operator's internal id for this situation */
987
+ situationNumber?: Maybe<Scalars['String']['output']>;
988
+ /** @deprecated Use affects instead */
989
+ stopPlaces: Array<StopPlace>;
990
+ /** Summary of situation in all different translations available */
991
+ summary: Array<MultilingualString>;
992
+ /** Period this situation is in effect */
993
+ validityPeriod?: Maybe<ValidityPeriod>;
994
+ /** Operator's version number for the situation element. */
995
+ version?: Maybe<Scalars['Int']['output']>;
996
+ /** Timestamp when the situation element was updated. */
997
+ versionedAtTime?: Maybe<Scalars['DateTime']['output']>;
998
+ };
999
+ export declare enum PurchaseWhen {
1000
+ AdvanceAndDayOfTravel = "advanceAndDayOfTravel",
1001
+ DayOfTravelOnly = "dayOfTravelOnly",
1002
+ Other = "other",
1003
+ TimeOfTravelOnly = "timeOfTravelOnly",
1004
+ UntilPreviousDay = "untilPreviousDay"
1005
+ }
1006
+ /** A place such as platform, stance, or quayside where passengers have access to PT vehicles. */
1007
+ export type Quay = PlaceInterface & {
1008
+ __typename?: 'Quay';
1009
+ description?: Maybe<Scalars['String']['output']>;
1010
+ /** List of visits to this quay as part of vehicle journeys. */
1011
+ estimatedCalls: Array<EstimatedCall>;
1012
+ /** Geometry for flexible area. */
1013
+ flexibleArea?: Maybe<Scalars['Coordinates']['output']>;
1014
+ /** the Quays part of a flexible group. */
1015
+ flexibleGroup?: Maybe<Array<Maybe<Quay>>>;
1016
+ id: Scalars['ID']['output'];
1017
+ /** List of journey patterns servicing this quay */
1018
+ journeyPatterns: Array<Maybe<JourneyPattern>>;
1019
+ latitude?: Maybe<Scalars['Float']['output']>;
1020
+ /** List of lines servicing this quay */
1021
+ lines: Array<Line>;
1022
+ longitude?: Maybe<Scalars['Float']['output']>;
1023
+ name: Scalars['String']['output'];
1024
+ /** Public code used to identify this quay within the stop place. For instance a platform code. */
1025
+ publicCode?: Maybe<Scalars['String']['output']>;
1026
+ /** Get all situations active for the quay. */
1027
+ situations: Array<PtSituationElement>;
1028
+ /** The stop place to which this quay belongs to. */
1029
+ stopPlace?: Maybe<StopPlace>;
1030
+ stopType?: Maybe<Scalars['String']['output']>;
1031
+ tariffZones: Array<Maybe<TariffZone>>;
1032
+ timeZone?: Maybe<Scalars['String']['output']>;
1033
+ /** Whether this quay is suitable for wheelchair boarding. */
1034
+ wheelchairAccessible?: Maybe<WheelchairBoarding>;
1035
+ };
1036
+ /** A place such as platform, stance, or quayside where passengers have access to PT vehicles. */
1037
+ export type QuayEstimatedCallsArgs = {
1038
+ arrivalDeparture?: InputMaybe<ArrivalDeparture>;
1039
+ includeCancelledTrips?: InputMaybe<Scalars['Boolean']['input']>;
1040
+ numberOfDepartures?: InputMaybe<Scalars['Int']['input']>;
1041
+ numberOfDeparturesPerLineAndDestinationDisplay?: InputMaybe<Scalars['Int']['input']>;
1042
+ startTime?: InputMaybe<Scalars['DateTime']['input']>;
1043
+ timeRange?: InputMaybe<Scalars['Int']['input']>;
1044
+ whiteListed?: InputMaybe<InputWhiteListed>;
1045
+ whiteListedModes?: InputMaybe<Array<InputMaybe<TransportMode>>>;
1046
+ };
1047
+ /** A place such as platform, stance, or quayside where passengers have access to PT vehicles. */
1048
+ export type QuayNameArgs = {
1049
+ language?: InputMaybe<Scalars['String']['input']>;
1050
+ };
1051
+ export type QuayAtDistance = {
1052
+ __typename?: 'QuayAtDistance';
1053
+ /** The distance in meters to the given quay. */
1054
+ distance?: Maybe<Scalars['Float']['output']>;
1055
+ id: Scalars['ID']['output'];
1056
+ quay?: Maybe<Quay>;
1057
+ };
1058
+ export type QueryType = {
1059
+ __typename?: 'QueryType';
1060
+ /** Get all authorities */
1061
+ authorities: Array<Maybe<Authority>>;
1062
+ /** Get an authority by ID */
1063
+ authority?: Maybe<Authority>;
1064
+ /** Get a single bike park based on its id */
1065
+ bikePark?: Maybe<BikePark>;
1066
+ /** Get all bike parks */
1067
+ bikeParks: Array<Maybe<BikePark>>;
1068
+ /** Get all bike rental stations */
1069
+ bikeRentalStation?: Maybe<BikeRentalStation>;
1070
+ /** Get all bike rental stations */
1071
+ bikeRentalStations: Array<Maybe<BikeRentalStation>>;
1072
+ /** Get all bike rental stations within the specified bounding box. */
1073
+ bikeRentalStationsByBbox: Array<Maybe<BikeRentalStation>>;
1074
+ /** Get a single dated service journey based on its id */
1075
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
1076
+ /** Get all dated service journeys, matching the filters */
1077
+ datedServiceJourneys: Array<DatedServiceJourney>;
1078
+ /** Get a single group of lines based on its id */
1079
+ groupOfLines?: Maybe<GroupOfLines>;
1080
+ /** Get all groups of lines */
1081
+ groupsOfLines: Array<GroupOfLines>;
1082
+ /** Refetch a single transit leg based on its id */
1083
+ leg?: Maybe<Leg>;
1084
+ /** Get a single line based on its id */
1085
+ line?: Maybe<Line>;
1086
+ /** Get all _lines_ */
1087
+ lines: Array<Maybe<Line>>;
1088
+ /** Get all places (quays, stop places, car parks etc. with coordinates) within the specified radius from a location. The returned type has two fields place and distance. The search is done by walking so the distance is according to the network of walkables. */
1089
+ nearest?: Maybe<PlaceAtDistanceConnection>;
1090
+ /** Get a operator by ID */
1091
+ operator?: Maybe<Operator>;
1092
+ /** Get all operators */
1093
+ operators: Array<Maybe<Operator>>;
1094
+ /** Get a single quay based on its id) */
1095
+ quay?: Maybe<Quay>;
1096
+ /** Get all quays */
1097
+ quays: Array<Maybe<Quay>>;
1098
+ /** Get all quays within the specified bounding box */
1099
+ quaysByBbox: Array<Maybe<Quay>>;
1100
+ /** Get all quays within the specified walking radius from a location. There are no maximum limits for the input parameters, but the query will timeout and return if the parameters are too high. */
1101
+ quaysByRadius?: Maybe<QuayAtDistanceConnection>;
1102
+ /** Get default routing parameters. */
1103
+ routingParameters?: Maybe<RoutingParameters>;
1104
+ /** Get OTP deployment information. This is only useful for developers of OTP itself not regular API users. */
1105
+ serverInfo: ServerInfo;
1106
+ /** Get a single service journey based on its id */
1107
+ serviceJourney?: Maybe<ServiceJourney>;
1108
+ /** Get all _service journeys_ */
1109
+ serviceJourneys: Array<Maybe<ServiceJourney>>;
1110
+ /** Get a single situation based on its situationNumber */
1111
+ situation?: Maybe<PtSituationElement>;
1112
+ /** Get all active situations. */
1113
+ situations: Array<PtSituationElement>;
1114
+ /** Get a single stopPlace based on its id) */
1115
+ stopPlace?: Maybe<StopPlace>;
1116
+ /** Get all stopPlaces */
1117
+ stopPlaces: Array<Maybe<StopPlace>>;
1118
+ /** Get all stop places within the specified bounding box */
1119
+ stopPlacesByBbox: Array<Maybe<StopPlace>>;
1120
+ /** Get information about the transit data available in the system. */
1121
+ transitInfo: TransitInfo;
1122
+ /** Input type for executing a travel search for a trip between two locations. Returns trip patterns describing suggested alternatives for the trip. */
1123
+ trip: Trip;
1124
+ /**
1125
+ * Via trip search. Find trip patterns traveling via one or more intermediate (via) locations.
1126
+ * @deprecated Use the regular trip query with via stop instead.
1127
+ */
1128
+ viaTrip: ViaTrip;
1129
+ };
1130
+ export type QueryTypeAuthorityArgs = {
1131
+ id: Scalars['String']['input'];
1132
+ };
1133
+ export type QueryTypeBikeParkArgs = {
1134
+ id: Scalars['String']['input'];
1135
+ };
1136
+ export type QueryTypeBikeRentalStationArgs = {
1137
+ id: Scalars['String']['input'];
1138
+ };
1139
+ export type QueryTypeBikeRentalStationsArgs = {
1140
+ ids?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1141
+ };
1142
+ export type QueryTypeBikeRentalStationsByBboxArgs = {
1143
+ maximumLatitude?: InputMaybe<Scalars['Float']['input']>;
1144
+ maximumLongitude?: InputMaybe<Scalars['Float']['input']>;
1145
+ minimumLatitude?: InputMaybe<Scalars['Float']['input']>;
1146
+ minimumLongitude?: InputMaybe<Scalars['Float']['input']>;
1147
+ };
1148
+ export type QueryTypeDatedServiceJourneyArgs = {
1149
+ id?: InputMaybe<Scalars['String']['input']>;
1150
+ };
1151
+ export type QueryTypeDatedServiceJourneysArgs = {
1152
+ alterations?: InputMaybe<Array<ServiceAlteration>>;
1153
+ authorities?: InputMaybe<Array<Scalars['String']['input']>>;
1154
+ lines?: InputMaybe<Array<Scalars['String']['input']>>;
1155
+ operatingDays: Array<Scalars['Date']['input']>;
1156
+ privateCodes?: InputMaybe<Array<Scalars['String']['input']>>;
1157
+ replacementFor?: InputMaybe<Array<Scalars['String']['input']>>;
1158
+ serviceJourneys?: InputMaybe<Array<Scalars['String']['input']>>;
1159
+ };
1160
+ export type QueryTypeGroupOfLinesArgs = {
1161
+ id: Scalars['String']['input'];
1162
+ };
1163
+ export type QueryTypeLegArgs = {
1164
+ id: Scalars['ID']['input'];
1165
+ };
1166
+ export type QueryTypeLineArgs = {
1167
+ id: Scalars['ID']['input'];
1168
+ };
1169
+ export type QueryTypeLinesArgs = {
1170
+ authorities?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1171
+ flexibleOnly?: InputMaybe<Scalars['Boolean']['input']>;
1172
+ ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1173
+ name?: InputMaybe<Scalars['String']['input']>;
1174
+ publicCode?: InputMaybe<Scalars['String']['input']>;
1175
+ publicCodes?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1176
+ transportModes?: InputMaybe<Array<InputMaybe<TransportMode>>>;
1177
+ };
1178
+ export type QueryTypeNearestArgs = {
1179
+ after?: InputMaybe<Scalars['String']['input']>;
1180
+ before?: InputMaybe<Scalars['String']['input']>;
1181
+ filterByIds?: InputMaybe<InputPlaceIds>;
1182
+ filterByInUse?: InputMaybe<Scalars['Boolean']['input']>;
1183
+ filterByModes?: InputMaybe<Array<InputMaybe<TransportMode>>>;
1184
+ filterByPlaceTypes?: InputMaybe<Array<InputMaybe<FilterPlaceType>>>;
1185
+ first?: InputMaybe<Scalars['Int']['input']>;
1186
+ last?: InputMaybe<Scalars['Int']['input']>;
1187
+ latitude: Scalars['Float']['input'];
1188
+ longitude: Scalars['Float']['input'];
1189
+ maximumDistance?: Scalars['Float']['input'];
1190
+ maximumResults?: InputMaybe<Scalars['Int']['input']>;
1191
+ multiModalMode?: InputMaybe<MultiModalMode>;
1192
+ };
1193
+ export type QueryTypeOperatorArgs = {
1194
+ id: Scalars['String']['input'];
1195
+ };
1196
+ export type QueryTypeQuayArgs = {
1197
+ id: Scalars['String']['input'];
1198
+ };
1199
+ export type QueryTypeQuaysArgs = {
1200
+ ids?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1201
+ name?: InputMaybe<Scalars['String']['input']>;
1202
+ };
1203
+ export type QueryTypeQuaysByBboxArgs = {
1204
+ filterByInUse?: InputMaybe<Scalars['Boolean']['input']>;
1205
+ maximumLatitude: Scalars['Float']['input'];
1206
+ maximumLongitude: Scalars['Float']['input'];
1207
+ minimumLatitude: Scalars['Float']['input'];
1208
+ minimumLongitude: Scalars['Float']['input'];
1209
+ };
1210
+ export type QueryTypeQuaysByRadiusArgs = {
1211
+ after?: InputMaybe<Scalars['String']['input']>;
1212
+ authority?: InputMaybe<Scalars['String']['input']>;
1213
+ before?: InputMaybe<Scalars['String']['input']>;
1214
+ first?: InputMaybe<Scalars['Int']['input']>;
1215
+ last?: InputMaybe<Scalars['Int']['input']>;
1216
+ latitude: Scalars['Float']['input'];
1217
+ longitude: Scalars['Float']['input'];
1218
+ radius: Scalars['Float']['input'];
1219
+ };
1220
+ export type QueryTypeServiceJourneyArgs = {
1221
+ id: Scalars['String']['input'];
1222
+ };
1223
+ export type QueryTypeServiceJourneysArgs = {
1224
+ activeDates?: InputMaybe<Array<InputMaybe<Scalars['Date']['input']>>>;
1225
+ authorities?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1226
+ lines?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1227
+ privateCodes?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1228
+ };
1229
+ export type QueryTypeSituationArgs = {
1230
+ situationNumber: Scalars['String']['input'];
1231
+ };
1232
+ export type QueryTypeSituationsArgs = {
1233
+ codespaces?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1234
+ severities?: InputMaybe<Array<InputMaybe<Severity>>>;
1235
+ };
1236
+ export type QueryTypeStopPlaceArgs = {
1237
+ id: Scalars['String']['input'];
1238
+ };
1239
+ export type QueryTypeStopPlacesArgs = {
1240
+ ids?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1241
+ };
1242
+ export type QueryTypeStopPlacesByBboxArgs = {
1243
+ authority?: InputMaybe<Scalars['String']['input']>;
1244
+ filterByInUse?: InputMaybe<Scalars['Boolean']['input']>;
1245
+ maximumLatitude: Scalars['Float']['input'];
1246
+ maximumLongitude: Scalars['Float']['input'];
1247
+ minimumLatitude: Scalars['Float']['input'];
1248
+ minimumLongitude: Scalars['Float']['input'];
1249
+ multiModalMode?: InputMaybe<MultiModalMode>;
1250
+ };
1251
+ export type QueryTypeTripArgs = {
1252
+ accessEgressPenalty?: InputMaybe<Array<PenaltyForStreetMode>>;
1253
+ alightSlackDefault?: InputMaybe<Scalars['Int']['input']>;
1254
+ alightSlackList?: InputMaybe<Array<InputMaybe<TransportModeSlack>>>;
1255
+ arriveBy?: InputMaybe<Scalars['Boolean']['input']>;
1256
+ banned?: InputMaybe<InputBanned>;
1257
+ bikePreferences?: InputMaybe<BikePreferencesInput>;
1258
+ boardSlackDefault?: InputMaybe<Scalars['Int']['input']>;
1259
+ boardSlackList?: InputMaybe<Array<InputMaybe<TransportModeSlack>>>;
1260
+ bookingTime?: InputMaybe<Scalars['DateTime']['input']>;
1261
+ dateTime?: InputMaybe<Scalars['DateTime']['input']>;
1262
+ filters?: InputMaybe<Array<TripFilterInput>>;
1263
+ from: Location;
1264
+ ignoreRealtimeUpdates?: InputMaybe<Scalars['Boolean']['input']>;
1265
+ includePlannedCancellations?: InputMaybe<Scalars['Boolean']['input']>;
1266
+ includeRealtimeCancellations?: InputMaybe<Scalars['Boolean']['input']>;
1267
+ itineraryFilters?: InputMaybe<ItineraryFilters>;
1268
+ locale?: InputMaybe<Locale>;
1269
+ maxAccessEgressDurationForMode?: InputMaybe<Array<StreetModeDurationInput>>;
1270
+ maxDirectDurationForMode?: InputMaybe<Array<StreetModeDurationInput>>;
1271
+ maximumAdditionalTransfers?: InputMaybe<Scalars['Int']['input']>;
1272
+ maximumTransfers?: InputMaybe<Scalars['Int']['input']>;
1273
+ modes?: InputMaybe<Modes>;
1274
+ numTripPatterns?: InputMaybe<Scalars['Int']['input']>;
1275
+ pageCursor?: InputMaybe<Scalars['String']['input']>;
1276
+ relaxTransitGroupPriority?: InputMaybe<RelaxCostInput>;
1277
+ scooterPreferences?: InputMaybe<ScooterPreferencesInput>;
1278
+ searchWindow?: InputMaybe<Scalars['Int']['input']>;
1279
+ timetableView?: InputMaybe<Scalars['Boolean']['input']>;
1280
+ to: Location;
1281
+ transferPenalty?: InputMaybe<Scalars['Int']['input']>;
1282
+ transferSlack?: InputMaybe<Scalars['Int']['input']>;
1283
+ useBikeRentalAvailabilityInformation?: InputMaybe<Scalars['Boolean']['input']>;
1284
+ via?: InputMaybe<Array<TripViaLocationInput>>;
1285
+ waitReluctance?: InputMaybe<Scalars['Float']['input']>;
1286
+ walkReluctance?: InputMaybe<Scalars['Float']['input']>;
1287
+ walkSpeed?: InputMaybe<Scalars['Float']['input']>;
1288
+ wheelchairAccessible?: InputMaybe<Scalars['Boolean']['input']>;
1289
+ whiteListed?: InputMaybe<InputWhiteListed>;
1290
+ };
1291
+ export type QueryTypeViaTripArgs = {
1292
+ dateTime?: InputMaybe<Scalars['DateTime']['input']>;
1293
+ from: Location;
1294
+ locale?: InputMaybe<Locale>;
1295
+ numTripPatterns?: InputMaybe<Scalars['Int']['input']>;
1296
+ pageCursor?: InputMaybe<Scalars['String']['input']>;
1297
+ searchWindow: Scalars['Duration']['input'];
1298
+ segments?: InputMaybe<Array<ViaSegmentInput>>;
1299
+ to: Location;
1300
+ via: Array<ViaLocationInput>;
1301
+ wheelchairAccessible?: InputMaybe<Scalars['Boolean']['input']>;
1302
+ };
1303
+ export declare enum RealtimeState {
1304
+ /** The service journey has been added using a real-time update, i.e. the service journey was not present in the regular time table. */
1305
+ Added = "Added",
1306
+ /** The service journey has been canceled by a real-time update. */
1307
+ Canceled = "canceled",
1308
+ /** The service journey information has been updated and resulted in a different journey pattern compared to the journey pattern of the scheduled service journey. */
1309
+ Modified = "modified",
1310
+ /** The service journey information comes from the regular time table, i.e. no real-time update has been applied. */
1311
+ Scheduled = "scheduled",
1312
+ /** The service journey information has been updated, but the journey pattern stayed the same as the journey pattern of the scheduled service journey. */
1313
+ Updated = "updated"
1314
+ }
1315
+ export declare enum RelativeDirection {
1316
+ CircleClockwise = "circleClockwise",
1317
+ CircleCounterclockwise = "circleCounterclockwise",
1318
+ Continue = "continue",
1319
+ Depart = "depart",
1320
+ Elevator = "elevator",
1321
+ EnterStation = "enterStation",
1322
+ ExitStation = "exitStation",
1323
+ FollowSigns = "followSigns",
1324
+ HardLeft = "hardLeft",
1325
+ HardRight = "hardRight",
1326
+ Left = "left",
1327
+ Right = "right",
1328
+ SlightlyLeft = "slightlyLeft",
1329
+ SlightlyRight = "slightlyRight",
1330
+ UturnLeft = "uturnLeft",
1331
+ UturnRight = "uturnRight"
1332
+ }
1333
+ /**
1334
+ * A relax-cost is used to increase the limit when comparing one cost to another cost.
1335
+ * This is used to include more results into the result. A `ratio=2.0` means a path (itinerary)
1336
+ * with twice as high cost as another one, is accepted. A `constant=$300` means a "fixed"
1337
+ * constant is added to the limit. A `{ratio=1.0, constant=0}` is said to be the NORMAL relaxed
1338
+ * cost - the limit is the same as the cost used to calculate the limit. The NORMAL is usually
1339
+ * the default. We can express the RelaxCost as a function `f(t) = constant + ratio * t`.
1340
+ * `f(t)=t` is the NORMAL function.
1341
+ *
1342
+ */
1343
+ export type RelaxCostInput = {
1344
+ /** The constant value to add to the limit. Must be a positive number. The value is equivalent to transit-cost-seconds. Integers are treated as seconds, but you may use the duration format. Example: '3665 = 'DT1h1m5s' = '1h1m5s'. */
1345
+ constant?: InputMaybe<Scalars['Cost']['input']>;
1346
+ /** The factor to multiply with the 'other cost'. Minimum value is 1.0. */
1347
+ ratio?: InputMaybe<Scalars['Float']['input']>;
1348
+ };
1349
+ export type RentalVehicle = PlaceInterface & {
1350
+ __typename?: 'RentalVehicle';
1351
+ currentRangeMeters?: Maybe<Scalars['Float']['output']>;
1352
+ id: Scalars['ID']['output'];
1353
+ latitude: Scalars['Float']['output'];
1354
+ longitude: Scalars['Float']['output'];
1355
+ network: Scalars['String']['output'];
1356
+ vehicleType: RentalVehicleType;
1357
+ };
1358
+ export type RentalVehicleType = {
1359
+ __typename?: 'RentalVehicleType';
1360
+ formFactor: Scalars['String']['output'];
1361
+ maxRangeMeters?: Maybe<Scalars['Float']['output']>;
1362
+ name?: Maybe<Scalars['String']['output']>;
1363
+ propulsionType: Scalars['String']['output'];
1364
+ vehicleTypeId: Scalars['String']['output'];
1365
+ };
1366
+ /**
1367
+ * Relation for indicating the DatedServiceJourney which is replacing an older one. Exists as a
1368
+ * place to put additional information on the replacement when we get SIRI 2.1 support.
1369
+ */
1370
+ export type ReplacedByRelation = {
1371
+ __typename?: 'ReplacedByRelation';
1372
+ /** The replacing DatedServiceJourney. */
1373
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
1374
+ };
1375
+ /**
1376
+ * Relation for indicating the DatedServiceJourney which is replaced by a newer one. Exists as a
1377
+ * place to put additional information on the replacement when we get SIRI 2.1 support.
1378
+ */
1379
+ export type ReplacementForRelation = {
1380
+ __typename?: 'ReplacementForRelation';
1381
+ /** The replaced DatedServiceJourney. */
1382
+ datedServiceJourney?: Maybe<DatedServiceJourney>;
1383
+ };
1384
+ export declare enum ReportType {
1385
+ /** Indicates a general info-message that should not affect trip. */
1386
+ General = "general",
1387
+ /** Indicates an incident that may affect trip. */
1388
+ Incident = "incident"
1389
+ }
1390
+ /** Description of the reason, why the planner did not return any results */
1391
+ export type RoutingError = {
1392
+ __typename?: 'RoutingError';
1393
+ /** An enum describing the reason */
1394
+ code: RoutingErrorCode;
1395
+ /** A textual description of why the search failed. The clients are expected to have their own translations based on the code, for user visible error messages. */
1396
+ description: Scalars['String']['output'];
1397
+ /** An enum describing the field which should be changed, in order for the search to succeed */
1398
+ inputField?: Maybe<InputField>;
1399
+ };
1400
+ export declare enum RoutingErrorCode {
1401
+ /** The specified location is not close to any streets or transit stops */
1402
+ LocationNotFound = "locationNotFound",
1403
+ /** No stops are reachable from the location specified. You can try searching using a different access or egress mode */
1404
+ NoStopsInRange = "noStopsInRange",
1405
+ /** No transit connection was found between the origin and destination withing the operating day or the next day */
1406
+ NoTransitConnection = "noTransitConnection",
1407
+ /** A transit connection was found, but it was outside the search window. Use paging to navigate to a result. */
1408
+ NoTransitConnectionInSearchWindow = "noTransitConnectionInSearchWindow",
1409
+ /** The coordinates are outside the bounds of the data currently loaded into the system */
1410
+ OutsideBounds = "outsideBounds",
1411
+ /** The date specified is outside the range of data currently loaded into the system */
1412
+ OutsideServicePeriod = "outsideServicePeriod",
1413
+ /** The origin and destination are so close to each other, that walking is always better, but no direct mode was specified for the search */
1414
+ WalkingBetterThanTransit = "walkingBetterThanTransit"
1415
+ }
1416
+ /** The default parameters used in travel searches. */
1417
+ export type RoutingParameters = {
1418
+ __typename?: 'RoutingParameters';
1419
+ /** The alightSlack is the minimum extra time after exiting a public transport vehicle. This is the default value used, if not overridden by the 'alightSlackList'. */
1420
+ alightSlackDefault?: Maybe<Scalars['Int']['output']>;
1421
+ /** List of alightSlack for a given set of modes. */
1422
+ alightSlackList?: Maybe<Array<Maybe<TransportModeSlackType>>>;
1423
+ /** @deprecated Rental is specified by modes */
1424
+ allowBikeRental?: Maybe<Scalars['Boolean']['output']>;
1425
+ /** Separate cost for boarding a vehicle with a bicycle, which is more difficult than on foot. */
1426
+ bikeBoardCost?: Maybe<Scalars['Int']['output']>;
1427
+ /** Cost to park a bike. */
1428
+ bikeParkCost?: Maybe<Scalars['Int']['output']>;
1429
+ /** Time to park a bike. */
1430
+ bikeParkTime?: Maybe<Scalars['Int']['output']>;
1431
+ /** Cost to drop-off a rented bike. */
1432
+ bikeRentalDropOffCost?: Maybe<Scalars['Int']['output']>;
1433
+ /** Time to drop-off a rented bike. */
1434
+ bikeRentalDropOffTime?: Maybe<Scalars['Int']['output']>;
1435
+ /** Cost to rent a bike. */
1436
+ bikeRentalPickupCost?: Maybe<Scalars['Int']['output']>;
1437
+ /** Time to rent a bike. */
1438
+ bikeRentalPickupTime?: Maybe<Scalars['Int']['output']>;
1439
+ /** Max bike speed along streets, in meters per second */
1440
+ bikeSpeed?: Maybe<Scalars['Float']['output']>;
1441
+ /** The boardSlack is the minimum extra time to board a public transport vehicle. This is the same as the 'minimumTransferTime', except that this also applies to to the first transit leg in the trip. This is the default value used, if not overridden by the 'boardSlackList'. */
1442
+ boardSlackDefault?: Maybe<Scalars['Int']['output']>;
1443
+ /** List of boardSlack for a given set of modes. */
1444
+ boardSlackList?: Maybe<Array<Maybe<TransportModeSlackType>>>;
1445
+ /** The acceleration speed of an automobile, in meters per second per second. */
1446
+ carAccelerationSpeed?: Maybe<Scalars['Float']['output']>;
1447
+ /** The deceleration speed of an automobile, in meters per second per second. */
1448
+ carDecelerationSpeed?: Maybe<Scalars['Float']['output']>;
1449
+ /** Time to park a car in a park and ride, w/o taking into account driving and walking cost. */
1450
+ carDropOffTime?: Maybe<Scalars['Int']['output']>;
1451
+ /**
1452
+ * Max car speed along streets, in meters per second
1453
+ * @deprecated This parameter is no longer configurable.
1454
+ */
1455
+ carSpeed?: Maybe<Scalars['Float']['output']>;
1456
+ /** @deprecated NOT IN USE IN OTP2. */
1457
+ compactLegsByReversedSearch?: Maybe<Scalars['Boolean']['output']>;
1458
+ /** @deprecated Use `itineraryFilter.debug` instead. */
1459
+ debugItineraryFilter?: Maybe<Scalars['Boolean']['output']>;
1460
+ /**
1461
+ * Option to disable the default filtering of GTFS-RT alerts by time.
1462
+ * @deprecated This is not supported!
1463
+ */
1464
+ disableAlertFiltering?: Maybe<Scalars['Boolean']['output']>;
1465
+ /** If true, the remaining weight heuristic is disabled. */
1466
+ disableRemainingWeightHeuristic?: Maybe<Scalars['Boolean']['output']>;
1467
+ /** What is the cost of boarding a elevator? */
1468
+ elevatorBoardCost?: Maybe<Scalars['Int']['output']>;
1469
+ /** How long it takes to get on an elevator, on average. */
1470
+ elevatorBoardTime?: Maybe<Scalars['Int']['output']>;
1471
+ /**
1472
+ * What is the cost of travelling one floor on an elevator?
1473
+ * @deprecated Use elevatorReluctance to set cost instead.
1474
+ */
1475
+ elevatorHopCost?: Maybe<Scalars['Int']['output']>;
1476
+ /** How long it takes to advance one floor on an elevator, on average. */
1477
+ elevatorHopTime?: Maybe<Scalars['Int']['output']>;
1478
+ /** A multiplier to specify how bad using an elevator is. */
1479
+ elevatorReluctance?: Maybe<Scalars['Float']['output']>;
1480
+ /** Whether to apply the ellipsoid->geoid offset to all elevations in the response. */
1481
+ geoIdElevation?: Maybe<Scalars['Boolean']['output']>;
1482
+ /** When true, real-time updates are ignored during this search. */
1483
+ ignoreRealTimeUpdates?: Maybe<Scalars['Boolean']['output']>;
1484
+ /** When true, service journeys cancelled in scheduled route data will be included during this search. */
1485
+ includedPlannedCancellations?: Maybe<Scalars['Boolean']['output']>;
1486
+ /** @deprecated Parking is specified by modes */
1487
+ kissAndRide?: Maybe<Scalars['Boolean']['output']>;
1488
+ /** Maximum number of transfers allowed in addition to the result with least number of transfers */
1489
+ maxAdditionalTransfers?: Maybe<Scalars['Int']['output']>;
1490
+ /** This is the maximum duration in seconds for a direct street search. This is a performance limit and should therefore be set high. Use filters to limit what is presented to the client. */
1491
+ maxDirectStreetDuration?: Maybe<Scalars['Int']['output']>;
1492
+ /** The maximum slope of streets for wheelchair trips. */
1493
+ maxSlope?: Maybe<Scalars['Float']['output']>;
1494
+ /** Maximum number of transfers returned in a trip plan. */
1495
+ maxTransfers?: Maybe<Scalars['Int']['output']>;
1496
+ /** The maximum number of itineraries to return. */
1497
+ numItineraries?: Maybe<Scalars['Int']['output']>;
1498
+ /**
1499
+ * Accept only paths that use transit (no street-only paths).
1500
+ * @deprecated This is replaced by modes input object
1501
+ */
1502
+ onlyTransitTrips?: Maybe<Scalars['Boolean']['output']>;
1503
+ /** Penalty added for using every route that is not preferred if user set any route as preferred. We return number of seconds that we are willing to wait for preferred route. */
1504
+ otherThanPreferredRoutesPenalty?: Maybe<Scalars['Int']['output']>;
1505
+ /** @deprecated Parking is specified by modes */
1506
+ parkAndRide?: Maybe<Scalars['Boolean']['output']>;
1507
+ /** @deprecated NOT IN USE IN OTP2. */
1508
+ reverseOptimizeOnTheFly?: Maybe<Scalars['Boolean']['output']>;
1509
+ /**
1510
+ * Whether the planner should return intermediate stops lists for transit legs.
1511
+ * @deprecated This parameter is always enabled
1512
+ */
1513
+ showIntermediateStops?: Maybe<Scalars['Boolean']['output']>;
1514
+ /** A multiplier to specify how bad walking on stairs is, compared to walking on flat ground, on top of the walk reluctance. */
1515
+ stairsReluctance?: Maybe<Scalars['Float']['output']>;
1516
+ /** An extra penalty added on transfers (i.e. all boardings except the first one). */
1517
+ transferPenalty?: Maybe<Scalars['Int']['output']>;
1518
+ /** A global minimum transfer time (in seconds) that specifies the minimum amount of time that must pass between exiting one transit vehicle and boarding another. */
1519
+ transferSlack?: Maybe<Scalars['Int']['output']>;
1520
+ /** Multiplicative factor on expected turning time. */
1521
+ turnReluctance?: Maybe<Scalars['Float']['output']>;
1522
+ /** How much worse is waiting for a transit vehicle than being on a transit vehicle, as a multiplier. */
1523
+ waitReluctance?: Maybe<Scalars['Float']['output']>;
1524
+ /** This prevents unnecessary transfers by adding a cost for boarding a vehicle. */
1525
+ walkBoardCost?: Maybe<Scalars['Int']['output']>;
1526
+ /** A multiplier for how bad walking is, compared to being in transit for equal lengths of time. */
1527
+ walkReluctance?: Maybe<Scalars['Float']['output']>;
1528
+ /** Max walk speed along streets, in meters per second */
1529
+ walkSpeed?: Maybe<Scalars['Float']['output']>;
1530
+ /** Whether the trip must be wheelchair accessible. */
1531
+ wheelChairAccessible?: Maybe<Scalars['Boolean']['output']>;
1532
+ };
1533
+ /** List of visits to quays as part of a vehicle journey, relative to the current quay and for a given date. Includes real-time updates */
1534
+ export type SjEstimatedCalls = {
1535
+ __typename?: 'SJEstimatedCalls';
1536
+ /** The first call in this service journey */
1537
+ first: EstimatedCall;
1538
+ /** The last call in this service journey */
1539
+ last: EstimatedCall;
1540
+ /** The list of subsequent calls in this service journey after the current call */
1541
+ next: Array<EstimatedCall>;
1542
+ /** The list of previous calls in this service journey before the current call */
1543
+ previous: Array<EstimatedCall>;
1544
+ };
1545
+ /** List of visits to quays as part of a vehicle journey, relative to the current quay and for a given date. Includes real-time updates */
1546
+ export type SjEstimatedCallsNextArgs = {
1547
+ count?: InputMaybe<Scalars['Int']['input']>;
1548
+ };
1549
+ /** List of visits to quays as part of a vehicle journey, relative to the current quay and for a given date. Includes real-time updates */
1550
+ export type SjEstimatedCallsPreviousArgs = {
1551
+ count?: InputMaybe<Scalars['Int']['input']>;
1552
+ };
1553
+ /** Scooter routing preferences. */
1554
+ export type ScooterPreferencesInput = {
1555
+ /** The set of characteristics that the user wants to optimize for during scooter routing. */
1556
+ optimisationMethod?: InputMaybe<VehicleOptimisationMethod>;
1557
+ /** A measure of how bad scooter travel is compared to being in transit for equal periods of time. Higher values make routing prefer other modes over scooter. */
1558
+ reluctance?: InputMaybe<Scalars['Float']['input']>;
1559
+ /** The maximum scooter speed along streets, in meters per second. */
1560
+ speed?: InputMaybe<Scalars['Float']['input']>;
1561
+ /** When using optimisationMethod 'triangle', these values tell the routing engine how important each factor is compared to the others. All values should add up to 1. */
1562
+ triangleFactors?: InputMaybe<TriangleFactors>;
1563
+ };
1564
+ /**
1565
+ * Information about the deployment. This is only useful to developers of OTP itself.
1566
+ * It is not recommended for regular API consumers to use this type as it has no
1567
+ * stability guarantees.
1568
+ *
1569
+ */
1570
+ export type ServerInfo = {
1571
+ __typename?: 'ServerInfo';
1572
+ /** The 'configVersion' of the build-config.json file. */
1573
+ buildConfigVersion?: Maybe<Scalars['String']['output']>;
1574
+ /** OTP Build timestamp */
1575
+ buildTime?: Maybe<Scalars['String']['output']>;
1576
+ gitBranch?: Maybe<Scalars['String']['output']>;
1577
+ gitCommit?: Maybe<Scalars['String']['output']>;
1578
+ gitCommitTime?: Maybe<Scalars['String']['output']>;
1579
+ /**
1580
+ * The internal time zone of the transit data.
1581
+ *
1582
+ * Note: The input data can be in several time zones, but OTP internally operates on a single one.
1583
+ *
1584
+ */
1585
+ internalTransitModelTimeZone?: Maybe<Scalars['String']['output']>;
1586
+ /** Number of CPU cores on the OTP server */
1587
+ numberOfCores?: Maybe<Scalars['Int']['output']>;
1588
+ /** The 'configVersion' of the otp-config.json file. */
1589
+ otpConfigVersion?: Maybe<Scalars['String']['output']>;
1590
+ /** The otp-serialization-version-id used to check graphs for compatibility with current version of OTP. */
1591
+ otpSerializationVersionId?: Maybe<Scalars['String']['output']>;
1592
+ /** The 'configVersion' of the router-config.json file. */
1593
+ routerConfigVersion?: Maybe<Scalars['String']['output']>;
1594
+ /** Maven version */
1595
+ version?: Maybe<Scalars['String']['output']>;
1596
+ };
1597
+ export declare enum ServiceAlteration {
1598
+ Cancellation = "cancellation",
1599
+ ExtraJourney = "extraJourney",
1600
+ Planned = "planned",
1601
+ Replaced = "replaced"
1602
+ }
1603
+ /** A planned vehicle journey with passengers. */
1604
+ export type ServiceJourney = {
1605
+ __typename?: 'ServiceJourney';
1606
+ activeDates: Array<Maybe<Scalars['Date']['output']>>;
1607
+ /** Whether bikes are allowed on service journey. */
1608
+ bikesAllowed?: Maybe<BikesAllowed>;
1609
+ /**
1610
+ * Booking arrangements for flexible services.
1611
+ * @deprecated BookingArrangements are defined per stop, and can be found under `passingTimes` or `estimatedCalls`
1612
+ */
1613
+ bookingArrangements?: Maybe<BookingArrangement>;
1614
+ directionType?: Maybe<DirectionType>;
1615
+ /**
1616
+ * Returns scheduled passingTimes for this ServiceJourney for a given date, updated with real-time-updates (if available).
1617
+ * NB! This takes a date as argument (default=today) and returns estimatedCalls for that date and should only be used if the date is
1618
+ * known when creating the request. For fetching estimatedCalls for a given trip.leg, use leg.serviceJourneyEstimatedCalls instead.
1619
+ *
1620
+ */
1621
+ estimatedCalls: Array<EstimatedCall>;
1622
+ id: Scalars['ID']['output'];
1623
+ /**
1624
+ * Is this a replacement ServiceJourney? In NeTEx/SIRI-sourced data this can be set by
1625
+ * either a replacement submode, or a replacement link in a DatedServiceJourney. Only
1626
+ * true for GTFS-sourced data if set by the extended GTFS type.
1627
+ *
1628
+ */
1629
+ isReplacement: Scalars['Boolean']['output'];
1630
+ /**
1631
+ * JourneyPattern for the service journey, according to scheduled data. If the
1632
+ * ServiceJourney is not included in the scheduled data, null is returned.
1633
+ *
1634
+ */
1635
+ journeyPattern?: Maybe<JourneyPattern>;
1636
+ line: Line;
1637
+ notices: Array<Notice>;
1638
+ operator?: Maybe<Operator>;
1639
+ /** Returns scheduled passing times only - without real-time-updates, for realtime-data use 'estimatedCalls' */
1640
+ passingTimes: Array<Maybe<TimetabledPassingTime>>;
1641
+ /** Detailed path travelled by service journey. Not available for flexible trips. */
1642
+ pointsOnLink?: Maybe<PointsOnLink>;
1643
+ /** For internal use by operators. */
1644
+ privateCode?: Maybe<Scalars['String']['output']>;
1645
+ /** Publicly announced code for service journey, differentiating it from other service journeys for the same line. */
1646
+ publicCode?: Maybe<Scalars['String']['output']>;
1647
+ /**
1648
+ * Quays visited by service journey, according to scheduled data. If the
1649
+ * ServiceJourney is not included in the scheduled data, an empty list is returned.
1650
+ *
1651
+ */
1652
+ quays: Array<Quay>;
1653
+ /** Are there replacement DatedServiceJourneys for this ServiceJourney? */
1654
+ replacementsExist: Scalars['Boolean']['output'];
1655
+ /** @deprecated The service journey alteration will be moved out of SJ and grouped together with the SJ and date. In Netex this new type is called DatedServiceJourney. We will create artificial DSJs for the old SJs. */
1656
+ serviceAlteration?: Maybe<ServiceAlteration>;
1657
+ /** Get all situations active for the service journey. */
1658
+ situations: Array<PtSituationElement>;
1659
+ transportMode?: Maybe<TransportMode>;
1660
+ transportSubmode?: Maybe<TransportSubmode>;
1661
+ /** Whether service journey is accessible with wheelchair. */
1662
+ wheelchairAccessible?: Maybe<WheelchairBoarding>;
1663
+ };
1664
+ /** A planned vehicle journey with passengers. */
1665
+ export type ServiceJourneyEstimatedCallsArgs = {
1666
+ date?: InputMaybe<Scalars['Date']['input']>;
1667
+ };
1668
+ /** A planned vehicle journey with passengers. */
1669
+ export type ServiceJourneyQuaysArgs = {
1670
+ first?: InputMaybe<Scalars['Int']['input']>;
1671
+ last?: InputMaybe<Scalars['Int']['input']>;
1672
+ };
1673
+ export declare enum Severity {
1674
+ /** Situation has no impact on trips. */
1675
+ NoImpact = "noImpact",
1676
+ /** Situation has an impact on trips (default). */
1677
+ Normal = "normal",
1678
+ /** Situation has a severe impact on trips. */
1679
+ Severe = "severe",
1680
+ /** Situation has a slight impact on trips. */
1681
+ Slight = "slight",
1682
+ /** Severity is undefined. */
1683
+ Undefined = "undefined",
1684
+ /** Situation has unknown impact on trips. */
1685
+ Unknown = "unknown",
1686
+ /** Situation has a very severe impact on trips. */
1687
+ VerySevere = "verySevere",
1688
+ /** Situation has a very slight impact on trips. */
1689
+ VerySlight = "verySlight"
1690
+ }
1691
+ export declare enum StopCondition {
1692
+ /** Situation applies when stop is the destination of the leg. */
1693
+ Destination = "destination",
1694
+ /** Situation applies when transfering to another leg at the stop. */
1695
+ ExceptionalStop = "exceptionalStop",
1696
+ /** Situation applies when passing the stop, without stopping. */
1697
+ NotStopping = "notStopping",
1698
+ /** Situation applies when at the stop, and the stop requires a request to stop. */
1699
+ RequestStop = "requestStop",
1700
+ /** Situation applies when stop is the startpoint of the leg. */
1701
+ StartPoint = "startPoint"
1702
+ }
1703
+ export declare enum StopInterchangePriority {
1704
+ /** Allow transfers from/to this stop. This is the default. NeTEx equivalent is INTERCHANGE_ALLOWED. */
1705
+ Allowed = "allowed",
1706
+ /** Block transfers from/to this stop. In OTP this is not a definitive block, just a huge penalty is added to the cost function. NeTEx equivalent is NO_INTERCHANGE. */
1707
+ Discouraged = "discouraged",
1708
+ /** Preferred place to transfer, strongly recommended. NeTEx equivalent is PREFERRED_INTERCHANGE. */
1709
+ Preferred = "preferred",
1710
+ /** Recommended stop place. NeTEx equivalent is RECOMMENDED_INTERCHANGE. */
1711
+ Recommended = "recommended"
1712
+ }
1713
+ /** Named place where public transport may be accessed. May be a building complex (e.g. a station) or an on-street location. */
1714
+ export type StopPlace = PlaceInterface & {
1715
+ __typename?: 'StopPlace';
1716
+ description?: Maybe<Scalars['String']['output']>;
1717
+ /** List of visits to this stop place as part of vehicle journeys. */
1718
+ estimatedCalls: Array<EstimatedCall>;
1719
+ id: Scalars['ID']['output'];
1720
+ latitude?: Maybe<Scalars['Float']['output']>;
1721
+ longitude?: Maybe<Scalars['Float']['output']>;
1722
+ name: Scalars['String']['output'];
1723
+ /** Returns parent stop for this stop */
1724
+ parent?: Maybe<StopPlace>;
1725
+ /** Returns all quays that are children of this stop place */
1726
+ quays?: Maybe<Array<Maybe<Quay>>>;
1727
+ /** Get all situations active for the stop place. Situations affecting individual quays are not returned, and should be fetched directly from the quay. */
1728
+ situations: Array<PtSituationElement>;
1729
+ /** Specify the priority of interchanges at this stop */
1730
+ stopInterchangePriority?: Maybe<StopInterchangePriority>;
1731
+ tariffZones: Array<Maybe<TariffZone>>;
1732
+ timeZone?: Maybe<Scalars['String']['output']>;
1733
+ /** The transport modes of quays under this stop place. */
1734
+ transportMode?: Maybe<Array<Maybe<TransportMode>>>;
1735
+ /** The transport submode serviced by this stop place. */
1736
+ transportSubmode?: Maybe<Array<Maybe<TransportSubmode>>>;
1737
+ /**
1738
+ * Relative weighting of this stop with regards to interchanges. NOT IMPLEMENTED
1739
+ * @deprecated Not implemented. Use stopInterchangePriority
1740
+ */
1741
+ weighting?: Maybe<InterchangeWeighting>;
1742
+ };
1743
+ /** Named place where public transport may be accessed. May be a building complex (e.g. a station) or an on-street location. */
1744
+ export type StopPlaceEstimatedCallsArgs = {
1745
+ arrivalDeparture?: InputMaybe<ArrivalDeparture>;
1746
+ includeCancelledTrips?: InputMaybe<Scalars['Boolean']['input']>;
1747
+ numberOfDepartures?: InputMaybe<Scalars['Int']['input']>;
1748
+ numberOfDeparturesPerLineAndDestinationDisplay?: InputMaybe<Scalars['Int']['input']>;
1749
+ startTime?: InputMaybe<Scalars['DateTime']['input']>;
1750
+ timeRange?: InputMaybe<Scalars['Int']['input']>;
1751
+ whiteListed?: InputMaybe<InputWhiteListed>;
1752
+ whiteListedModes?: InputMaybe<Array<InputMaybe<TransportMode>>>;
1753
+ };
1754
+ /** Named place where public transport may be accessed. May be a building complex (e.g. a station) or an on-street location. */
1755
+ export type StopPlaceNameArgs = {
1756
+ language?: InputMaybe<Scalars['String']['input']>;
1757
+ };
1758
+ /** Named place where public transport may be accessed. May be a building complex (e.g. a station) or an on-street location. */
1759
+ export type StopPlaceQuaysArgs = {
1760
+ filterByInUse?: InputMaybe<Scalars['Boolean']['input']>;
1761
+ };
1762
+ /** List of coordinates between two stops as a polyline */
1763
+ export type StopToStopGeometry = {
1764
+ __typename?: 'StopToStopGeometry';
1765
+ /** Origin Quay */
1766
+ fromQuay?: Maybe<Quay>;
1767
+ /** A list of coordinates encoded as a polyline string between two stops (see http://code.google.com/apis/maps/documentation/polylinealgorithm.html) */
1768
+ pointsOnLink?: Maybe<PointsOnLink>;
1769
+ /** Destination Quay */
1770
+ toQuay?: Maybe<Quay>;
1771
+ };
1772
+ export declare enum StreetMode {
1773
+ /** Bike only. This can be used as access/egress, but transfers will still be walk only. */
1774
+ Bicycle = "bicycle",
1775
+ /** Bike to a bike parking area, then walk the rest of the way. Direct mode and access mode only. */
1776
+ BikePark = "bike_park",
1777
+ /** Walk to a bike rental point, bike to a bike rental drop-off point, and walk the rest of the way. This can include bike rental at fixed locations or free-floating services. */
1778
+ BikeRental = "bike_rental",
1779
+ /** Car only. Direct mode only. */
1780
+ Car = "car",
1781
+ /** Start in the car, drive to a parking area, and walk the rest of the way. Direct mode and access mode only. */
1782
+ CarPark = "car_park",
1783
+ /** Walk to a pickup point along the road, drive to a drop-off point along the road, and walk the rest of the way. This can include various taxi-services or kiss & ride. */
1784
+ CarPickup = "car_pickup",
1785
+ /** Walk to a car rental point along the road, drive to a drop-off point along the road, and walk the rest of the way. This can include car rentals at fixed locations or free-floating services. */
1786
+ CarRental = "car_rental",
1787
+ /** Share a car ride with a driver and other passengers going in the same direction. */
1788
+ Carpool = "carpool",
1789
+ /** Walk to an eligible pickup area for flexible transportation, ride to an eligible drop-off area and then walk the rest of the way. */
1790
+ Flexible = "flexible",
1791
+ /** Walk only */
1792
+ Foot = "foot",
1793
+ /** Walk to a scooter rental point, ride a scooter to a scooter rental drop-off point, and walk the rest of the way. This can include scooter rental at fixed locations or free-floating services. */
1794
+ ScooterRental = "scooter_rental"
1795
+ }
1796
+ /** A combination of street mode and corresponding duration */
1797
+ export type StreetModeDurationInput = {
1798
+ duration: Scalars['Duration']['input'];
1799
+ streetMode: StreetMode;
1800
+ };
1801
+ /** Input format for specifying which modes will be allowed for this search. If this element is not present, it will default to all to foot. */
1802
+ export type StreetModes = {
1803
+ /** The mode used to get from the origin to the access stops in the transit network the transit network (first-mile). If the element is not present or null,only transit that can be immediately boarded from the origin will be used. */
1804
+ accessMode?: InputMaybe<StreetMode>;
1805
+ /** The mode used to get from the origin to the destination directly, without using the transit network. If the element is not present or null,direct travel without using transit will be disallowed. */
1806
+ directMode?: InputMaybe<StreetMode>;
1807
+ /** The mode used to get from the egress stops in the transit network tothe destination (last-mile). If the element is not present or null,only transit that can immediately arrive at the origin will be used. */
1808
+ egressMode?: InputMaybe<StreetMode>;
1809
+ };
1810
+ /**
1811
+ * A system notice is used to tag elements with system information for debugging or other
1812
+ * system related purpose. One use-case is to run a routing search with
1813
+ * `itineraryFilters.debug=listAll`. This will then tag itineraries instead of removing
1814
+ * them from the result. This make it possible to inspect the itinerary-filter-chain. A
1815
+ * SystemNotice only have english text, because the primary user are technical staff, like
1816
+ * testers and developers.
1817
+ *
1818
+ * **NOTE!** _A SystemNotice is for debugging the system, avoid putting logic on it in the
1819
+ * client. The tags and usage may change without notice._
1820
+ */
1821
+ export type SystemNotice = {
1822
+ __typename?: 'SystemNotice';
1823
+ tag?: Maybe<Scalars['String']['output']>;
1824
+ text?: Maybe<Scalars['String']['output']>;
1825
+ };
1826
+ /** A **zone** used to define a zonal fare structure in a zone-counting or zone-matrix system. This includes TariffZone, as well as the specialised FareZone elements. TariffZones are deprecated, please use FareZones. **TariffZone data will not be maintained from 1. MAY 2025 (Entur).** */
1827
+ export type TariffZone = {
1828
+ __typename?: 'TariffZone';
1829
+ id: Scalars['ID']['output'];
1830
+ name?: Maybe<Scalars['String']['output']>;
1831
+ };
1832
+ export type TimeAndDayOffset = {
1833
+ __typename?: 'TimeAndDayOffset';
1834
+ /** Number of days offset from base line time */
1835
+ dayOffset?: Maybe<Scalars['Int']['output']>;
1836
+ /** Local time */
1837
+ time?: Maybe<Scalars['Time']['output']>;
1838
+ };
1839
+ /**
1840
+ * The time-penalty is applied to either the access-legs and/or egress-legs. Both access and
1841
+ * egress may contain more than one leg; Hence, the penalty is not a field on leg.
1842
+ *
1843
+ * Note! This is for debugging only. This type can change without notice.
1844
+ *
1845
+ */
1846
+ export type TimePenaltyWithCost = {
1847
+ __typename?: 'TimePenaltyWithCost';
1848
+ /**
1849
+ * The time-penalty is applied to either the access-legs and/or egress-legs. Both access
1850
+ * and egress may contain more than one leg; Hence, the penalty is not a field on leg. The
1851
+ * `appliedTo` describe which part of the itinerary that this instance applies to.
1852
+ *
1853
+ */
1854
+ appliedTo?: Maybe<Scalars['String']['output']>;
1855
+ /**
1856
+ * The time-penalty does also propagate to the `generalizedCost`. As a result of the given
1857
+ * time-penalty, the generalized-cost also increased by the given amount. This delta is
1858
+ * included in the itinerary generalized-cost. In some cases the generalized-cost-delta is
1859
+ * excluded when comparing itineraries - that happens if one of the itineraries is a
1860
+ * "direct/street-only" itinerary. Time-penalty can not be set for direct searches, so it
1861
+ * needs to be excluded from such comparison to be fair. The unit is transit-seconds.
1862
+ *
1863
+ */
1864
+ generalizedCostDelta?: Maybe<Scalars['Int']['output']>;
1865
+ /**
1866
+ * The time-penalty added to the actual time/duration when comparing the itinerary with
1867
+ * other itineraries. This is used to decide which is the best option, but is not visible
1868
+ * - the actual departure and arrival-times are not modified.
1869
+ *
1870
+ */
1871
+ timePenalty?: Maybe<Scalars['String']['output']>;
1872
+ };
1873
+ /** Scheduled passing times. These are not affected by real time updates. */
1874
+ export type TimetabledPassingTime = {
1875
+ __typename?: 'TimetabledPassingTime';
1876
+ /** Scheduled time of arrival at quay */
1877
+ arrival?: Maybe<TimeAndDayOffset>;
1878
+ /** Booking arrangements for this passing time. */
1879
+ bookingArrangements?: Maybe<BookingArrangement>;
1880
+ /** Scheduled time of departure from quay */
1881
+ departure?: Maybe<TimeAndDayOffset>;
1882
+ destinationDisplay?: Maybe<DestinationDisplay>;
1883
+ /** Earliest possible departure time for a service journey with a service window. */
1884
+ earliestDepartureTime?: Maybe<TimeAndDayOffset>;
1885
+ /** Whether vehicle may be alighted at quay. */
1886
+ forAlighting: Scalars['Boolean']['output'];
1887
+ /** Whether vehicle may be boarded at quay. */
1888
+ forBoarding: Scalars['Boolean']['output'];
1889
+ /** Latest possible (planned) arrival time for a service journey with a service window. */
1890
+ latestArrivalTime?: Maybe<TimeAndDayOffset>;
1891
+ notices: Array<Notice>;
1892
+ quay: Quay;
1893
+ /** Whether vehicle will only stop on request. */
1894
+ requestStop: Scalars['Boolean']['output'];
1895
+ serviceJourney: ServiceJourney;
1896
+ /** Whether this is a timing point or not. Boarding and alighting is not allowed at timing points. */
1897
+ timingPoint: Scalars['Boolean']['output'];
1898
+ };
1899
+ export type TransitGeneralizedCostFilterParams = {
1900
+ costLimitFunction: Scalars['DoubleFunction']['input'];
1901
+ intervalRelaxFactor: Scalars['Float']['input'];
1902
+ };
1903
+ /** Information about the transit data available in the system. */
1904
+ export type TransitInfo = {
1905
+ __typename?: 'TransitInfo';
1906
+ /** The validity period for the transit data currently loaded in the system. */
1907
+ validityPeriod?: Maybe<ValidityPeriod>;
1908
+ };
1909
+ export declare enum TransportMode {
1910
+ Air = "air",
1911
+ Bus = "bus",
1912
+ Cableway = "cableway",
1913
+ Coach = "coach",
1914
+ Funicular = "funicular",
1915
+ Lift = "lift",
1916
+ Metro = "metro",
1917
+ Monorail = "monorail",
1918
+ Rail = "rail",
1919
+ Taxi = "taxi",
1920
+ Tram = "tram",
1921
+ Trolleybus = "trolleybus",
1922
+ Unknown = "unknown",
1923
+ Water = "water"
1924
+ }
1925
+ /** Used to specify board and alight slack for a given modes. */
1926
+ export type TransportModeSlack = {
1927
+ /** List of modes for which the given slack apply. */
1928
+ modes: Array<TransportMode>;
1929
+ /** The slack used for all given modes. */
1930
+ slack: Scalars['Int']['input'];
1931
+ };
1932
+ /** Used to specify board and alight slack for a given modes. */
1933
+ export type TransportModeSlackType = {
1934
+ __typename?: 'TransportModeSlackType';
1935
+ modes: Array<TransportMode>;
1936
+ slack: Scalars['Int']['output'];
1937
+ };
1938
+ export type TransportModes = {
1939
+ /** A transportMode that should be allowed for this search. You can furthernarrow it down by specifying a list of transportSubModes */
1940
+ transportMode?: InputMaybe<TransportMode>;
1941
+ /** The allowed transportSubModes for this search. If this element is notpresent or null, it will default to all transportSubModes for the specifiedTransportMode. Be aware that all transportSubModes have an associated TransportMode, which must match what is specified in the transportMode field. */
1942
+ transportSubModes?: InputMaybe<Array<InputMaybe<TransportSubmode>>>;
1943
+ };
1944
+ export declare enum TransportSubmode {
1945
+ SchengenAreaFlight = "SchengenAreaFlight",
1946
+ AirportBoatLink = "airportBoatLink",
1947
+ AirportLinkBus = "airportLinkBus",
1948
+ AirportLinkRail = "airportLinkRail",
1949
+ AirshipService = "airshipService",
1950
+ AllFunicularServices = "allFunicularServices",
1951
+ AllHireVehicles = "allHireVehicles",
1952
+ AllTaxiServices = "allTaxiServices",
1953
+ BikeTaxi = "bikeTaxi",
1954
+ BlackCab = "blackCab",
1955
+ CableCar = "cableCar",
1956
+ CableFerry = "cableFerry",
1957
+ CanalBarge = "canalBarge",
1958
+ CarTransportRailService = "carTransportRailService",
1959
+ ChairLift = "chairLift",
1960
+ CharterTaxi = "charterTaxi",
1961
+ CityTram = "cityTram",
1962
+ CommunalTaxi = "communalTaxi",
1963
+ CommuterCoach = "commuterCoach",
1964
+ CrossCountryRail = "crossCountryRail",
1965
+ DedicatedLaneBus = "dedicatedLaneBus",
1966
+ DemandAndResponseBus = "demandAndResponseBus",
1967
+ DomesticCharterFlight = "domesticCharterFlight",
1968
+ DomesticFlight = "domesticFlight",
1969
+ DomesticScheduledFlight = "domesticScheduledFlight",
1970
+ DragLift = "dragLift",
1971
+ ExpressBus = "expressBus",
1972
+ Funicular = "funicular",
1973
+ HelicopterService = "helicopterService",
1974
+ HighFrequencyBus = "highFrequencyBus",
1975
+ HighSpeedPassengerService = "highSpeedPassengerService",
1976
+ HighSpeedRail = "highSpeedRail",
1977
+ HighSpeedVehicleService = "highSpeedVehicleService",
1978
+ HireCar = "hireCar",
1979
+ HireCycle = "hireCycle",
1980
+ HireMotorbike = "hireMotorbike",
1981
+ HireVan = "hireVan",
1982
+ IntercontinentalCharterFlight = "intercontinentalCharterFlight",
1983
+ IntercontinentalFlight = "intercontinentalFlight",
1984
+ International = "international",
1985
+ InternationalCarFerry = "internationalCarFerry",
1986
+ InternationalCharterFlight = "internationalCharterFlight",
1987
+ InternationalCoach = "internationalCoach",
1988
+ InternationalFlight = "internationalFlight",
1989
+ InternationalPassengerFerry = "internationalPassengerFerry",
1990
+ InterregionalRail = "interregionalRail",
1991
+ Lift = "lift",
1992
+ Local = "local",
1993
+ LocalBus = "localBus",
1994
+ LocalCarFerry = "localCarFerry",
1995
+ LocalPassengerFerry = "localPassengerFerry",
1996
+ LocalTram = "localTram",
1997
+ LongDistance = "longDistance",
1998
+ Metro = "metro",
1999
+ MiniCab = "miniCab",
2000
+ MobilityBus = "mobilityBus",
2001
+ MobilityBusForRegisteredDisabled = "mobilityBusForRegisteredDisabled",
2002
+ NationalCarFerry = "nationalCarFerry",
2003
+ NationalCoach = "nationalCoach",
2004
+ NationalPassengerFerry = "nationalPassengerFerry",
2005
+ NightBus = "nightBus",
2006
+ NightRail = "nightRail",
2007
+ PostBoat = "postBoat",
2008
+ PostBus = "postBus",
2009
+ RackAndPinionRailway = "rackAndPinionRailway",
2010
+ RailReplacementBus = "railReplacementBus",
2011
+ RailShuttle = "railShuttle",
2012
+ RailTaxi = "railTaxi",
2013
+ RegionalBus = "regionalBus",
2014
+ RegionalCarFerry = "regionalCarFerry",
2015
+ RegionalCoach = "regionalCoach",
2016
+ RegionalPassengerFerry = "regionalPassengerFerry",
2017
+ RegionalRail = "regionalRail",
2018
+ RegionalTram = "regionalTram",
2019
+ ReplacementRailService = "replacementRailService",
2020
+ RiverBus = "riverBus",
2021
+ RoadFerryLink = "roadFerryLink",
2022
+ RoundTripCharterFlight = "roundTripCharterFlight",
2023
+ ScheduledFerry = "scheduledFerry",
2024
+ SchoolAndPublicServiceBus = "schoolAndPublicServiceBus",
2025
+ SchoolBoat = "schoolBoat",
2026
+ SchoolBus = "schoolBus",
2027
+ SchoolCoach = "schoolCoach",
2028
+ ShortHaulInternationalFlight = "shortHaulInternationalFlight",
2029
+ ShuttleBus = "shuttleBus",
2030
+ ShuttleCoach = "shuttleCoach",
2031
+ ShuttleFerryService = "shuttleFerryService",
2032
+ ShuttleFlight = "shuttleFlight",
2033
+ ShuttleTram = "shuttleTram",
2034
+ SightseeingBus = "sightseeingBus",
2035
+ SightseeingCoach = "sightseeingCoach",
2036
+ SightseeingFlight = "sightseeingFlight",
2037
+ SightseeingService = "sightseeingService",
2038
+ SightseeingTram = "sightseeingTram",
2039
+ SleeperRailService = "sleeperRailService",
2040
+ SpecialCoach = "specialCoach",
2041
+ SpecialNeedsBus = "specialNeedsBus",
2042
+ SpecialTrain = "specialTrain",
2043
+ StreetCableCar = "streetCableCar",
2044
+ SuburbanRailway = "suburbanRailway",
2045
+ Telecabin = "telecabin",
2046
+ TelecabinLink = "telecabinLink",
2047
+ TouristCoach = "touristCoach",
2048
+ TouristRailway = "touristRailway",
2049
+ TrainFerry = "trainFerry",
2050
+ TrainTram = "trainTram",
2051
+ Tube = "tube",
2052
+ Undefined = "undefined",
2053
+ UndefinedFunicular = "undefinedFunicular",
2054
+ Unknown = "unknown",
2055
+ UrbanRailway = "urbanRailway",
2056
+ WaterTaxi = "waterTaxi"
2057
+ }
2058
+ /** How much the factors safety, slope and distance are weighted relative to each other when routing bicycle legs. In total all three values need to add up to 1. */
2059
+ export type TriangleFactors = {
2060
+ /** How important is bicycle safety expressed as a fraction of 1. */
2061
+ safety: Scalars['Float']['input'];
2062
+ /** How important is slope/elevation expressed as a fraction of 1. */
2063
+ slope: Scalars['Float']['input'];
2064
+ /** How important is time expressed as a fraction of 1. Note that what this really optimises for is distance (even if that means going over terrible surfaces, so I might be slower than the safe route). */
2065
+ time: Scalars['Float']['input'];
2066
+ };
2067
+ /** Description of a travel between two places. */
2068
+ export type Trip = {
2069
+ __typename?: 'Trip';
2070
+ /** The time and date of travel */
2071
+ dateTime?: Maybe<Scalars['DateTime']['output']>;
2072
+ /** Information about the timings for the trip generation */
2073
+ debugOutput: DebugOutput;
2074
+ /** The origin */
2075
+ fromPlace: Place;
2076
+ /**
2077
+ * A list of possible error messages as enum
2078
+ * @deprecated Use routingErrors instead
2079
+ */
2080
+ messageEnums: Array<Maybe<Scalars['String']['output']>>;
2081
+ /**
2082
+ * A list of possible error messages in cleartext
2083
+ * @deprecated Use routingErrors instead
2084
+ */
2085
+ messageStrings: Array<Maybe<Scalars['String']['output']>>;
2086
+ /** The trip request metadata. */
2087
+ metadata?: Maybe<TripSearchData>;
2088
+ /**
2089
+ * Use the cursor to get the next page of results. Use this cursor for the pageCursor parameter in the trip query in order to get the next page.
2090
+ * The next page is a set of itineraries departing AFTER the last itinerary in this result.
2091
+ */
2092
+ nextPageCursor?: Maybe<Scalars['String']['output']>;
2093
+ /**
2094
+ * Use the cursor to get the previous page of results. Use this cursor for the pageCursor parameter in the trip query in order to get the previous page.
2095
+ * The previous page is a set of itineraries departing BEFORE the first itinerary in this result.
2096
+ */
2097
+ previousPageCursor?: Maybe<Scalars['String']['output']>;
2098
+ /** A list of routing errors, and fields which caused them */
2099
+ routingErrors: Array<RoutingError>;
2100
+ /** The destination */
2101
+ toPlace: Place;
2102
+ /** A list of possible trip patterns */
2103
+ tripPatterns: Array<TripPattern>;
2104
+ };
2105
+ /** Description of a travel between two places. */
2106
+ export type TripMessageStringsArgs = {
2107
+ language?: InputMaybe<Scalars['String']['input']>;
2108
+ };
2109
+ /** A collection of selectors for what lines/trips should be included in / excluded from search */
2110
+ export type TripFilterInput = {
2111
+ /** A list of selectors for what lines/trips should be excluded during the search. If line/trip matches with at least one selector it will be excluded. */
2112
+ not?: InputMaybe<Array<TripFilterSelectInput>>;
2113
+ /** A list of selectors for what lines/trips should be allowed during search. In order to be accepted a trip/line has to match with at least one selector. An empty list means that everything should be allowed. */
2114
+ select?: InputMaybe<Array<TripFilterSelectInput>>;
2115
+ };
2116
+ /** A list of selectors for filter allow-list / exclude-list. An empty list means that everything is allowed. A trip/line will match with selectors if it matches with all non-empty lists. The `select` is always applied first, then `not`. If only `not` not is present, the exclude is applied to the existing set of lines. */
2117
+ export type TripFilterSelectInput = {
2118
+ /** Set of ids for authorities that should be included in/excluded from search */
2119
+ authorities?: InputMaybe<Array<Scalars['ID']['input']>>;
2120
+ /** Set of ids for group of lines that should be included in/excluded from the search */
2121
+ groupOfLines?: InputMaybe<Array<Scalars['ID']['input']>>;
2122
+ /** Set of ids for lines that should be included in/excluded from search */
2123
+ lines?: InputMaybe<Array<Scalars['ID']['input']>>;
2124
+ /** Set of ids for service journeys that should be included in/excluded from search */
2125
+ serviceJourneys?: InputMaybe<Array<Scalars['ID']['input']>>;
2126
+ /** The allowed modes for the transit part of the trip. Use an empty list to disallow transit for this search. If the element is not present or null, it will default to all transport modes. */
2127
+ transportModes?: InputMaybe<Array<TransportModes>>;
2128
+ };
2129
+ /**
2130
+ * One of the listed stop locations must be visited on-board a transit vehicle or the journey must
2131
+ * alight or board at the location.
2132
+ *
2133
+ */
2134
+ export type TripPassThroughViaLocationInput = {
2135
+ /** The label/name of the location. This is pass-through information and is not used in routing. */
2136
+ label?: InputMaybe<Scalars['String']['input']>;
2137
+ /**
2138
+ * A list of stop locations. A stop location can be a quay, a stop place, a multimodal
2139
+ * stop place or a group of stop places. It is enough to visit ONE of the locations
2140
+ * listed.
2141
+ *
2142
+ */
2143
+ stopLocationIds: Array<Scalars['String']['input']>;
2144
+ };
2145
+ /** List of legs constituting a suggested sequence of rides and links for a specific trip. */
2146
+ export type TripPattern = {
2147
+ __typename?: 'TripPattern';
2148
+ /** The aimed date and time the trip ends. */
2149
+ aimedEndTime: Scalars['DateTime']['output'];
2150
+ /** The aimed date and time the trip starts. */
2151
+ aimedStartTime: Scalars['DateTime']['output'];
2152
+ /** NOT IMPLEMENTED. */
2153
+ directDuration?: Maybe<Scalars['Long']['output']>;
2154
+ /** Total distance for the trip, in meters. NOT IMPLEMENTED */
2155
+ distance?: Maybe<Scalars['Float']['output']>;
2156
+ /** Duration of the trip, in seconds. */
2157
+ duration?: Maybe<Scalars['Long']['output']>;
2158
+ /**
2159
+ * The total emission per person. The total emission is only available if all transit
2160
+ * and car leg emissions can be calculated. If only a partial result is obtained, this
2161
+ * will be null.
2162
+ *
2163
+ */
2164
+ emission?: Maybe<Emission>;
2165
+ /**
2166
+ * Time that the trip arrives.
2167
+ * @deprecated Replaced with expectedEndTime
2168
+ */
2169
+ endTime?: Maybe<Scalars['DateTime']['output']>;
2170
+ /** The expected, real-time adjusted date and time the trip ends. */
2171
+ expectedEndTime: Scalars['DateTime']['output'];
2172
+ /** The expected, real-time adjusted date and time the trip starts. */
2173
+ expectedStartTime: Scalars['DateTime']['output'];
2174
+ /** Generalized cost or weight of the itinerary. Used for debugging. */
2175
+ generalizedCost?: Maybe<Scalars['Int']['output']>;
2176
+ /** A second cost or weight of the itinerary. Some use-cases like pass-through and transit-priority-groups use a second cost during routing. This is used for debugging. */
2177
+ generalizedCost2?: Maybe<Scalars['Int']['output']>;
2178
+ /** A list of legs. Each leg is either a walking (cycling, car) portion of the trip, or a ride leg on a particular vehicle. So a trip where the use walks to the Q train, transfers to the 6, then walks to their destination, has four legs. */
2179
+ legs: Array<Leg>;
2180
+ /**
2181
+ * Time that the trip departs.
2182
+ * @deprecated Replaced with expectedStartTime
2183
+ */
2184
+ startTime?: Maybe<Scalars['DateTime']['output']>;
2185
+ /** How far the user has to walk, bike and/or drive in meters. It includes all street (none transit) modes. */
2186
+ streetDistance?: Maybe<Scalars['Float']['output']>;
2187
+ /** Get all system notices. */
2188
+ systemNotices: Array<SystemNotice>;
2189
+ /**
2190
+ * A time and cost penalty applied to access and egress to favor regular scheduled
2191
+ * transit over potentially faster options with FLEX, Car, bike and scooter.
2192
+ *
2193
+ * Note! This field is meant for debugging only. The field can be removed without notice
2194
+ * in the future.
2195
+ *
2196
+ */
2197
+ timePenalty: Array<TimePenaltyWithCost>;
2198
+ /** A cost calculated to favor transfer with higher priority. This field is meant for debugging only. */
2199
+ transferPriorityCost?: Maybe<Scalars['Int']['output']>;
2200
+ /** A cost calculated to distribute wait-time and avoid very short transfers. This field is meant for debugging only. */
2201
+ waitTimeOptimizedCost?: Maybe<Scalars['Int']['output']>;
2202
+ /** How much time is spent waiting for transit to arrive, in seconds. */
2203
+ waitingTime?: Maybe<Scalars['Long']['output']>;
2204
+ /** @deprecated Replaced by `streetDistance`. */
2205
+ walkDistance?: Maybe<Scalars['Float']['output']>;
2206
+ /** How much time is spent walking, in seconds. */
2207
+ walkTime?: Maybe<Scalars['Long']['output']>;
2208
+ };
2209
+ /** Trips search metadata. */
2210
+ export type TripSearchData = {
2211
+ __typename?: 'TripSearchData';
2212
+ /**
2213
+ * This will not be available after March 2026!
2214
+ * @deprecated Use pageCursor instead
2215
+ */
2216
+ nextDateTime?: Maybe<Scalars['DateTime']['output']>;
2217
+ /** The end-time of the search-window/page for trip departure times. See `pageDepartureTimeStart` */
2218
+ pageDepartureTimeEnd?: Maybe<Scalars['DateTime']['output']>;
2219
+ /**
2220
+ * The start-time of the search-window/page for trip departure times.
2221
+ *
2222
+ * The search-window/page start and end time describe the time-window the search is
2223
+ * performed in. All results in the window is expected to be inside the given window. When
2224
+ * navigating to the next/previous window the new window might overlap.
2225
+ *
2226
+ * **Merging results from multiple searches**
2227
+ *
2228
+ * Trips from separate searches (multiple OTP calls or other search engines) can be merged
2229
+ * into the current page/result set if the following conditions are met:
2230
+ * - The page is empty and the candidate trip departure time is between
2231
+ * `pageDepartureTimeStart` and `pageDepartureTimeEnd`, or
2232
+ * - The candidate trip sorts before the last trip in the current page(if trips exists).
2233
+ *
2234
+ * If the trip sorts after the last trip, it should be merged into the next page instead.
2235
+ * Note that the sort order is diffrent for arrive-by and depart-after search. The sort
2236
+ * vector is:
2237
+ * - Depart-after: _departure-time_ → _generalized-cost_ → _number-of-transfers_ → _arrival-time_
2238
+ * - Arrive-by: _arrival-time_ → _generalized-cost_ → _number-of-transfers_ → _departure-time_
2239
+ *
2240
+ * **Special case for arrive-by searches:** For the first request (no paging cursor used)
2241
+ * with `arriveBy=true`, the `pageDepartureTimeEnd` can be ignored - trips departing after
2242
+ * this time can still be merged into the current page.
2243
+ *
2244
+ */
2245
+ pageDepartureTimeStart?: Maybe<Scalars['DateTime']['output']>;
2246
+ /**
2247
+ * This will not be available after March 2026!
2248
+ * @deprecated Use pageCursor instead
2249
+ */
2250
+ prevDateTime?: Maybe<Scalars['DateTime']['output']>;
2251
+ /**
2252
+ * This is the time window used by the raptor search. The input searchWindow is an optional parameter and is dynamically assigned if not set. OTP might override the value if it is too small or too large. When paging OTP adjusts it to the appropriate size, depending on the number of itineraries found in the current search window. The scaling of the search window ensures faster paging and limits resource usage. The unit is minutes.
2253
+ * @deprecated This not needed for debugging, and is misleading if the window is cropped.
2254
+ */
2255
+ searchWindowUsed: Scalars['Int']['output'];
2256
+ };
2257
+ /**
2258
+ * A via-location is used to specifying a location as an intermediate place the router must
2259
+ * route through. The via-location is either a pass-through-location or a visit-via-location.
2260
+ *
2261
+ */
2262
+ export type TripViaLocationInput = {
2263
+ /** Board, alight or pass-through (on-board) at the stop location. */
2264
+ passThrough?: InputMaybe<TripPassThroughViaLocationInput>;
2265
+ /** Board or alight at a stop location or visit a coordinate. */
2266
+ visit?: InputMaybe<TripVisitViaLocationInput>;
2267
+ };
2268
+ /**
2269
+ * A visit-via-location is a physical visit to one of the stop locations or coordinates listed. An
2270
+ * on-board visit does not count, the traveler must alight or board at the given stop for it to to
2271
+ * be accepted. To visit a coordinate, the traveler must walk (bike or drive) to the closest point
2272
+ * in the street network from a stop and back to another stop to join the transit network.
2273
+ *
2274
+ */
2275
+ export type TripVisitViaLocationInput = {
2276
+ /** A coordinate to route through. */
2277
+ coordinate?: InputMaybe<InputCoordinates>;
2278
+ /** The label/name of the location. This is pass-through information and is not used in routing. */
2279
+ label?: InputMaybe<Scalars['String']['input']>;
2280
+ /**
2281
+ * The minimum wait time is used to force the trip to stay the given duration at the
2282
+ * via-location before the trip is continued.
2283
+ *
2284
+ */
2285
+ minimumWaitTime?: InputMaybe<Scalars['Duration']['input']>;
2286
+ /**
2287
+ * A list of stop locations. A stop location can be a quay, a stop place, a multimodal
2288
+ * stop place or a group of stop places. It is enough to visit ONE of the locations
2289
+ * listed.
2290
+ *
2291
+ */
2292
+ stopLocationIds?: InputMaybe<Array<Scalars['String']['input']>>;
2293
+ };
2294
+ export type ValidityPeriod = {
2295
+ __typename?: 'ValidityPeriod';
2296
+ /** End of validity period. Will return 'null' if validity is open-ended. */
2297
+ endTime?: Maybe<Scalars['DateTime']['output']>;
2298
+ /** Start of validity period */
2299
+ startTime?: Maybe<Scalars['DateTime']['output']>;
2300
+ };
2301
+ /** Optimization methods for vehicle routing (bicycle, scooter, etc.). */
2302
+ export declare enum VehicleOptimisationMethod {
2303
+ /** Prefer flat terrain */
2304
+ Flat = "flat",
2305
+ /** Prefer faster routes */
2306
+ Quick = "quick",
2307
+ /** Prefer safer routes */
2308
+ Safe = "safe",
2309
+ /** Custom optimization using triangle factors */
2310
+ Triangle = "triangle"
2311
+ }
2312
+ export declare enum VertexType {
2313
+ BikePark = "bikePark",
2314
+ BikeShare = "bikeShare",
2315
+ Normal = "normal",
2316
+ Transit = "transit"
2317
+ }
2318
+ /** An acceptable combination of trip patterns between two segments of the via search */
2319
+ export type ViaConnection = {
2320
+ __typename?: 'ViaConnection';
2321
+ /** The index of the trip pattern in the segment before the via point */
2322
+ from?: Maybe<Scalars['Int']['output']>;
2323
+ /** The index of the trip pattern in the segment after the via point */
2324
+ to?: Maybe<Scalars['Int']['output']>;
2325
+ };
2326
+ /** Input format for specifying a location through either a place reference (id), coordinates or both. If both place and coordinates are provided the place ref will be used if found, coordinates will only be used if place is not known. The location also contain information about the minimum and maximum time the user is willing to stay at the via location. */
2327
+ export type ViaLocationInput = {
2328
+ /** Coordinates for the location. This can be used alone or as fallback if the place id is not found. */
2329
+ coordinates?: InputMaybe<InputCoordinates>;
2330
+ /** The maximum time the user wants to stay in the via location before continuing his journey */
2331
+ maxSlack?: InputMaybe<Scalars['Duration']['input']>;
2332
+ /** The minimum time the user wants to stay in the via location before continuing his journey */
2333
+ minSlack?: InputMaybe<Scalars['Duration']['input']>;
2334
+ /** The name of the location. This is pass-through information and is not used in routing. */
2335
+ name?: InputMaybe<Scalars['String']['input']>;
2336
+ /** The id of an element in the OTP model. Currently supports Quay, StopPlace, multimodal StopPlace, and GroupOfStopPlaces. */
2337
+ place?: InputMaybe<Scalars['String']['input']>;
2338
+ };
2339
+ /** Categorization for via locations. */
2340
+ export declare enum ViaLocationType {
2341
+ /** The via stop location must be visited as part of a transit trip as at the boarding stop, the intermediate stop, or the alighting stop. */
2342
+ PassThrough = "passThrough",
2343
+ /** The location is visited physically by boarding or alighting a transit trip at a given stop, or by traveling via requested coordinate location as part of a access, transfer, egress or direct segment. Intermediate stops visited on-board do not count. */
2344
+ Visit = "visit"
2345
+ }
2346
+ export type ViaSegmentInput = {
2347
+ /** A list of filters for which trips should be included. A trip will be included if it matches with at least one filter. An empty list of filters means that all trips should be included. */
2348
+ filters?: InputMaybe<Array<TripFilterInput>>;
2349
+ /** The set of access/egress/direct modes to be used for this search. */
2350
+ modes?: InputMaybe<StreetModes>;
2351
+ };
2352
+ /** Description of a trip via one or more intermediate locations. For example from A, via B, then C to D. */
2353
+ export type ViaTrip = {
2354
+ __typename?: 'ViaTrip';
2355
+ /** A list of routing errors, and fields which caused them */
2356
+ routingErrors: Array<RoutingError>;
2357
+ /** A list of the acceptable combinations of the trip patterns in this segment and the next segment. */
2358
+ tripPatternCombinations: Array<Array<ViaConnection>>;
2359
+ /** A list of segments of the via search. The first segment is from the start location to the first entry in the locations list and the last is from the last entry in the locations list to the end location. */
2360
+ tripPatternsPerSegment: Array<ViaTripPatternSegment>;
2361
+ };
2362
+ /** A segment of the via search. The first segment is from the start location to the first entry in the locations list and the last is from the last entry in the locations list to the end location. */
2363
+ export type ViaTripPatternSegment = {
2364
+ __typename?: 'ViaTripPatternSegment';
2365
+ /** A list of trip patterns for this segment of the search */
2366
+ tripPatterns: Array<TripPattern>;
2367
+ };
2368
+ export declare enum WheelchairBoarding {
2369
+ /** There is no accessibility information for the stopPlace/quay. */
2370
+ NoInformation = "noInformation",
2371
+ /** Wheelchair boarding/alighting is not possible at this stop. */
2372
+ NotPossible = "notPossible",
2373
+ /** Boarding wheelchair-accessible serviceJourneys is possible at this stopPlace/quay. */
2374
+ Possible = "possible"
2375
+ }
2376
+ export type DebugOutput = {
2377
+ __typename?: 'debugOutput';
2378
+ totalTime?: Maybe<Scalars['Long']['output']>;
2379
+ };
2380
+ export type InfoLink = {
2381
+ __typename?: 'infoLink';
2382
+ /** Label */
2383
+ label?: Maybe<Scalars['String']['output']>;
2384
+ /** URI */
2385
+ uri: Scalars['String']['output'];
2386
+ };
2387
+ /** A connection to a list of items. */
2388
+ export type PlaceAtDistanceConnection = {
2389
+ __typename?: 'placeAtDistanceConnection';
2390
+ /** a list of edges */
2391
+ edges?: Maybe<Array<Maybe<PlaceAtDistanceEdge>>>;
2392
+ /** details about this specific page */
2393
+ pageInfo: PageInfo;
2394
+ };
2395
+ /** An edge in a connection */
2396
+ export type PlaceAtDistanceEdge = {
2397
+ __typename?: 'placeAtDistanceEdge';
2398
+ /** cursor marks a unique position or index into the connection */
2399
+ cursor: Scalars['String']['output'];
2400
+ /** The item at the end of the edge */
2401
+ node?: Maybe<PlaceAtDistance>;
2402
+ };
2403
+ /** A connection to a list of items. */
2404
+ export type QuayAtDistanceConnection = {
2405
+ __typename?: 'quayAtDistanceConnection';
2406
+ /** a list of edges */
2407
+ edges?: Maybe<Array<Maybe<QuayAtDistanceEdge>>>;
2408
+ /** details about this specific page */
2409
+ pageInfo: PageInfo;
2410
+ };
2411
+ /** An edge in a connection */
2412
+ export type QuayAtDistanceEdge = {
2413
+ __typename?: 'quayAtDistanceEdge';
2414
+ /** cursor marks a unique position or index into the connection */
2415
+ cursor: Scalars['String']['output'];
2416
+ /** The item at the end of the edge */
2417
+ node?: Maybe<QuayAtDistance>;
2418
+ };
2419
+ //# sourceMappingURL=journeyplanner-types_v3.generated.d.ts.map