@sabstravtech/obtservices 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/.editorconfig +13 -0
  2. package/.gitmodules +0 -0
  3. package/.vscode/settings.json +4 -0
  4. package/README.md +27 -0
  5. package/angular.json +45 -0
  6. package/audit.config.json +6 -0
  7. package/codegen.yml +18 -0
  8. package/ng-package.json +7 -0
  9. package/package.json +84 -0
  10. package/projects/obtservices/README.md +24 -0
  11. package/projects/obtservices/angular/package.json +3 -0
  12. package/projects/obtservices/angular/src/classes.ts +3 -0
  13. package/projects/obtservices/angular/src/components/basket-panel.ts +139 -0
  14. package/projects/obtservices/angular/src/components/with-component.ts +40 -0
  15. package/projects/obtservices/angular/src/components.ts +2 -0
  16. package/projects/obtservices/angular/src/data.ts +5 -0
  17. package/projects/obtservices/angular/src/fetchers.ts +32 -0
  18. package/projects/obtservices/angular/src/lib/vendor/classes/environment.ts +5 -0
  19. package/projects/obtservices/angular/src/lib/vendor/classes/event-messenager.ts +11 -0
  20. package/projects/obtservices/angular/src/lib/vendor/classes/helpers.ts +87 -0
  21. package/projects/obtservices/angular/src/lib/vendor/data/airports.data.json +5508 -0
  22. package/projects/obtservices/angular/src/lib/vendor/data/animations.ts +38 -0
  23. package/projects/obtservices/angular/src/lib/vendor/data/booking-expected-responses.json +100 -0
  24. package/projects/obtservices/angular/src/lib/vendor/data/cities.data.json +31499 -0
  25. package/projects/obtservices/angular/src/lib/vendor/data/countries.json +1212 -0
  26. package/projects/obtservices/angular/src/lib/vendor/data/flight-booking.data.json +136 -0
  27. package/projects/obtservices/angular/src/lib/vendor/data/postcodes1.json +194 -0
  28. package/projects/obtservices/angular/src/lib/vendor/data/rail_addresses.json +2524 -0
  29. package/projects/obtservices/angular/src/lib/vendor/fetchers/basket-fetcher.ts +14 -0
  30. package/projects/obtservices/angular/src/lib/vendor/fetchers/cabhire-quote-fetcher.ts +15 -0
  31. package/projects/obtservices/angular/src/lib/vendor/fetchers/carhire-availability-detail.fetcher.ts +17 -0
  32. package/projects/obtservices/angular/src/lib/vendor/fetchers/carhire-quote-fetcher.ts +16 -0
  33. package/projects/obtservices/angular/src/lib/vendor/fetchers/conferma-office-names.fetcher.ts +16 -0
  34. package/projects/obtservices/angular/src/lib/vendor/fetchers/conferma-quicklist.fetcher.ts +16 -0
  35. package/projects/obtservices/angular/src/lib/vendor/fetchers/eurostar-quote.fetcher.ts +16 -0
  36. package/projects/obtservices/angular/src/lib/vendor/fetchers/flight-quote.fetcher.ts +16 -0
  37. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-rail-cards.fetcher.ts +16 -0
  38. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-rail-station.fetcher.ts +16 -0
  39. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-risk-alerts.fetcher.ts +18 -0
  40. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-user-company-offices.fetcher.ts +16 -0
  41. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-user-current-carbon-allowance.fetcher.ts +16 -0
  42. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-user-recent-searches.fetcher.ts +16 -0
  43. package/projects/obtservices/angular/src/lib/vendor/fetchers/get-users-baskets-fetcher.ts +16 -0
  44. package/projects/obtservices/angular/src/lib/vendor/fetchers/getMiAutoSugestions.fetcher.ts +16 -0
  45. package/projects/obtservices/angular/src/lib/vendor/fetchers/hotel-avaliability-fetcher.ts +17 -0
  46. package/projects/obtservices/angular/src/lib/vendor/fetchers/hotel-quote-fetcher.ts +16 -0
  47. package/projects/obtservices/angular/src/lib/vendor/fetchers/irl-quote-fetcher.ts +16 -0
  48. package/projects/obtservices/angular/src/lib/vendor/fetchers/lounge-quote.fetcher.ts +16 -0
  49. package/projects/obtservices/angular/src/lib/vendor/fetchers/parking-quote-fetcher.ts +16 -0
  50. package/projects/obtservices/angular/src/lib/vendor/fetchers/rail-quote-fetcher.ts +16 -0
  51. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-airlines-fetcher.ts +14 -0
  52. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-airports-fetcher.ts +14 -0
  53. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-cities.fetcher.ts +16 -0
  54. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-conferma-cities.fetcher.ts +14 -0
  55. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-depots.fetcher.ts +18 -0
  56. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-hotel-chains.fetcher.ts +16 -0
  57. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-postcodes.fetcher.ts +16 -0
  58. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-rail-stations.fetcher.ts +16 -0
  59. package/projects/obtservices/angular/src/lib/vendor/fetchers/search-users-can-book-for-fetcher.ts +16 -0
  60. package/projects/obtservices/angular/src/lib/vendor/fetchers/user-addresses.fetcher.ts +16 -0
  61. package/projects/obtservices/angular/src/lib/vendor/fetchers/user-fetcher.ts +14 -0
  62. package/projects/obtservices/angular/src/lib/vendor/fetchers/user-message.fetcher.ts +16 -0
  63. package/projects/obtservices/angular/src/lib/vendor/fetchers/user-products-fetcher.ts +16 -0
  64. package/projects/obtservices/angular/src/lib/vendor/fetchers/user-ui-configs-fetcher.ts +16 -0
  65. package/projects/obtservices/angular/src/lib/vendor/services/enterprise-basket.service.ts +133 -0
  66. package/projects/obtservices/angular/src/lib/vendor/services/hotel-avallibility.service.ts +19 -0
  67. package/projects/obtservices/angular/src/lib/vendor/services/http-call.service.ts +252 -0
  68. package/projects/obtservices/angular/src/lib/vendor/services/logon.service.ts +40 -0
  69. package/projects/obtservices/angular/src/lib/vendor/services/modal-opener.service.ts +9 -0
  70. package/projects/obtservices/angular/src/lib/vendor/services/my-bookings.service.ts +21 -0
  71. package/projects/obtservices/angular/src/lib/vendor/services/route-happy.service.ts +11 -0
  72. package/projects/obtservices/angular/src/lib/vendor/services/search.service.ts +213 -0
  73. package/projects/obtservices/angular/src/lib/vendor/services/storage.service.ts +82 -0
  74. package/projects/obtservices/angular/src/lib/vendor/services/user.service.ts +36 -0
  75. package/projects/obtservices/angular/src/lib/vendor/services/webtoken.service.ts +62 -0
  76. package/projects/obtservices/angular/src/lib/vendor/testers/postcode-validate.tester.ts +14 -0
  77. package/projects/obtservices/angular/src/lib/vendor/testers/validate-mi-free-value.tester.ts +14 -0
  78. package/projects/obtservices/angular/src/lib/vendor/types/graphql.angular.types.ts +11081 -0
  79. package/projects/obtservices/angular/src/lib/vendor/updaters/accept-new-price.updater.ts +14 -0
  80. package/projects/obtservices/angular/src/lib/vendor/updaters/add-item-to-basket.updater.ts +14 -0
  81. package/projects/obtservices/angular/src/lib/vendor/updaters/addUserToBasketItem.ts +14 -0
  82. package/projects/obtservices/angular/src/lib/vendor/updaters/book-basket-updater.ts +14 -0
  83. package/projects/obtservices/angular/src/lib/vendor/updaters/create-basket-updater.ts +14 -0
  84. package/projects/obtservices/angular/src/lib/vendor/updaters/move-basket-item-to-basket.ts +14 -0
  85. package/projects/obtservices/angular/src/lib/vendor/updaters/remove-basket-updater.ts +14 -0
  86. package/projects/obtservices/angular/src/lib/vendor/updaters/remove-item-from-basket.updater.ts +14 -0
  87. package/projects/obtservices/angular/src/lib/vendor/updaters/remove-recent-search.updater.ts +14 -0
  88. package/projects/obtservices/angular/src/lib/vendor/updaters/remove-user-address.updater.ts +14 -0
  89. package/projects/obtservices/angular/src/lib/vendor/updaters/revalidate-basket-updater.ts +14 -0
  90. package/projects/obtservices/angular/src/lib/vendor/updaters/save-recent-search.updater.ts +14 -0
  91. package/projects/obtservices/angular/src/lib/vendor/updaters/save-user-address.updater.ts +11 -0
  92. package/projects/obtservices/angular/src/lib/vendor/updaters/send-basket-for-approval.updater.ts +14 -0
  93. package/projects/obtservices/angular/src/lib/vendor/updaters/set-basket-item-lead-passenger.updater.ts +14 -0
  94. package/projects/obtservices/angular/src/lib/vendor/updaters/set-basket-item-mi-group.ts +14 -0
  95. package/projects/obtservices/angular/src/lib/vendor/updaters/set-basket-item-mi-value-updater.ts +15 -0
  96. package/projects/obtservices/angular/src/lib/vendor/updaters/set-payment-option.updater.ts +15 -0
  97. package/projects/obtservices/angular/src/lib/vendor/updaters/update-basket-notes-updater.ts +14 -0
  98. package/projects/obtservices/angular/src/lib/vendor/updaters/update-basket-title-updater.ts +14 -0
  99. package/projects/obtservices/angular/src/obtservices.module.ts +131 -0
  100. package/projects/obtservices/angular/src/public_api.ts +8 -0
  101. package/projects/obtservices/angular/src/services.ts +11 -0
  102. package/projects/obtservices/angular/src/testers.ts +2 -0
  103. package/projects/obtservices/angular/src/types.ts +1 -0
  104. package/projects/obtservices/angular/src/updaters.ts +13 -0
  105. package/projects/obtservices/base/package.json +3 -0
  106. package/projects/obtservices/base/src/classes.ts +27 -0
  107. package/projects/obtservices/base/src/custom.d.ts +3 -0
  108. package/projects/obtservices/base/src/fetchers.ts +36 -0
  109. package/projects/obtservices/base/src/interfaces.ts +29 -0
  110. package/projects/obtservices/base/src/lib/vendor/classes/base-enterprise.ts +126 -0
  111. package/projects/obtservices/base/src/lib/vendor/classes/base-network-call.ts +40 -0
  112. package/projects/obtservices/base/src/lib/vendor/classes/basket-info-mi-details.impl.ts +68 -0
  113. package/projects/obtservices/base/src/lib/vendor/classes/bookable-basket.ts +343 -0
  114. package/projects/obtservices/base/src/lib/vendor/classes/cabhire-enterprise-search.ts +907 -0
  115. package/projects/obtservices/base/src/lib/vendor/classes/carhire-enterprise-search.ts +1597 -0
  116. package/projects/obtservices/base/src/lib/vendor/classes/empty-enterprise-search.ts +75 -0
  117. package/projects/obtservices/base/src/lib/vendor/classes/enviroment.ts +25 -0
  118. package/projects/obtservices/base/src/lib/vendor/classes/eurostar-enterprise-search.ts +2126 -0
  119. package/projects/obtservices/base/src/lib/vendor/classes/eurostar-search-type.enum.ts +4 -0
  120. package/projects/obtservices/base/src/lib/vendor/classes/event-messenager.ts +23 -0
  121. package/projects/obtservices/base/src/lib/vendor/classes/flight-enterprise-search.ts +2399 -0
  122. package/projects/obtservices/base/src/lib/vendor/classes/flight-search-type.enum.ts +5 -0
  123. package/projects/obtservices/base/src/lib/vendor/classes/helpers.ts +1233 -0
  124. package/projects/obtservices/base/src/lib/vendor/classes/hotel-enterprise-search.ts +1370 -0
  125. package/projects/obtservices/base/src/lib/vendor/classes/irl-enterprise-search.ts +1380 -0
  126. package/projects/obtservices/base/src/lib/vendor/classes/limited-cache.class.ts +70 -0
  127. package/projects/obtservices/base/src/lib/vendor/classes/lounges-enterprise-search.ts +444 -0
  128. package/projects/obtservices/base/src/lib/vendor/classes/management-info-and-valid.ts +268 -0
  129. package/projects/obtservices/base/src/lib/vendor/classes/modal-types.enum.ts +28 -0
  130. package/projects/obtservices/base/src/lib/vendor/classes/parking-enterprise-search.ts +541 -0
  131. package/projects/obtservices/base/src/lib/vendor/classes/rail-direction.enum.ts +4 -0
  132. package/projects/obtservices/base/src/lib/vendor/classes/rail-enterprise-search.ts +1751 -0
  133. package/projects/obtservices/base/src/lib/vendor/classes/routehappy-request.ts +146 -0
  134. package/projects/obtservices/base/src/lib/vendor/classes/routehappy-response.ts +128 -0
  135. package/projects/obtservices/base/src/lib/vendor/classes/supplementary-booking-info-impl.ts +375 -0
  136. package/projects/obtservices/base/src/lib/vendor/classes/user-favourite.enum.ts +12 -0
  137. package/projects/obtservices/base/src/lib/vendor/classes/validator.checker.ts +7 -0
  138. package/projects/obtservices/base/src/lib/vendor/data/airports.data.json +5508 -0
  139. package/projects/obtservices/base/src/lib/vendor/data/booking-expected-responses.json +100 -0
  140. package/projects/obtservices/base/src/lib/vendor/data/cities.data.json +31499 -0
  141. package/projects/obtservices/base/src/lib/vendor/data/countries.json +1212 -0
  142. package/projects/obtservices/base/src/lib/vendor/data/euro-stations.json +30 -0
  143. package/projects/obtservices/base/src/lib/vendor/data/flight-booking.data.json +136 -0
  144. package/projects/obtservices/base/src/lib/vendor/data/postcodes1.json +194 -0
  145. package/projects/obtservices/base/src/lib/vendor/data/rail_addresses.json +2524 -0
  146. package/projects/obtservices/base/src/lib/vendor/fetchers/basket-fetcher.ts +29 -0
  147. package/projects/obtservices/base/src/lib/vendor/fetchers/cabhire-quote-fetcher.ts +34 -0
  148. package/projects/obtservices/base/src/lib/vendor/fetchers/carhire-availability-detail.fetcher.ts +35 -0
  149. package/projects/obtservices/base/src/lib/vendor/fetchers/carhire-quote-fetcher.ts +34 -0
  150. package/projects/obtservices/base/src/lib/vendor/fetchers/conferma-office-names.fetcher.ts +34 -0
  151. package/projects/obtservices/base/src/lib/vendor/fetchers/conferma-quicklist.fetcher.ts +35 -0
  152. package/projects/obtservices/base/src/lib/vendor/fetchers/eurostar-quote.fetcher.ts +35 -0
  153. package/projects/obtservices/base/src/lib/vendor/fetchers/flight-quote.fetcher.ts +35 -0
  154. package/projects/obtservices/base/src/lib/vendor/fetchers/get-rail-cards.fetcher.ts +35 -0
  155. package/projects/obtservices/base/src/lib/vendor/fetchers/get-rail-station.fetcher.ts +35 -0
  156. package/projects/obtservices/base/src/lib/vendor/fetchers/get-risk-alerts.fetcher.ts +35 -0
  157. package/projects/obtservices/base/src/lib/vendor/fetchers/get-user-company-offices.fetcher.ts +34 -0
  158. package/projects/obtservices/base/src/lib/vendor/fetchers/get-user-current-carbon-allowance.fetcher.ts +35 -0
  159. package/projects/obtservices/base/src/lib/vendor/fetchers/get-user-recent-searches.fetcher.ts +36 -0
  160. package/projects/obtservices/base/src/lib/vendor/fetchers/get-users-baskets-fetcher.ts +33 -0
  161. package/projects/obtservices/base/src/lib/vendor/fetchers/getMiAutoSugestions.fetcher.ts +35 -0
  162. package/projects/obtservices/base/src/lib/vendor/fetchers/hotel-avaliability-fetcher.ts +53 -0
  163. package/projects/obtservices/base/src/lib/vendor/fetchers/hotel-quote-fetcher.ts +35 -0
  164. package/projects/obtservices/base/src/lib/vendor/fetchers/irl-quote-fetcher.ts +34 -0
  165. package/projects/obtservices/base/src/lib/vendor/fetchers/list-fetchable-enterprise.ts +59 -0
  166. package/projects/obtservices/base/src/lib/vendor/fetchers/lounge-quote.fetcher.ts +34 -0
  167. package/projects/obtservices/base/src/lib/vendor/fetchers/object-fetchable-enterprise.ts +20 -0
  168. package/projects/obtservices/base/src/lib/vendor/fetchers/parking-quote-fetcher.ts +34 -0
  169. package/projects/obtservices/base/src/lib/vendor/fetchers/rail-quote-fetcher.ts +34 -0
  170. package/projects/obtservices/base/src/lib/vendor/fetchers/search-airlines.fetcher.ts +30 -0
  171. package/projects/obtservices/base/src/lib/vendor/fetchers/search-airports-fetcher.ts +29 -0
  172. package/projects/obtservices/base/src/lib/vendor/fetchers/search-cities.fetcher.ts +34 -0
  173. package/projects/obtservices/base/src/lib/vendor/fetchers/search-conferma-cities.fetcher.ts +32 -0
  174. package/projects/obtservices/base/src/lib/vendor/fetchers/search-depots.fetcher.ts +34 -0
  175. package/projects/obtservices/base/src/lib/vendor/fetchers/search-hotel-chains.fetcher.ts +34 -0
  176. package/projects/obtservices/base/src/lib/vendor/fetchers/search-postcodes.fetcher.ts +37 -0
  177. package/projects/obtservices/base/src/lib/vendor/fetchers/search-rail-stations.fetcher.ts +35 -0
  178. package/projects/obtservices/base/src/lib/vendor/fetchers/search-users-can-book-for-fetcher.ts +35 -0
  179. package/projects/obtservices/base/src/lib/vendor/fetchers/user-addresses.fetcher.ts +34 -0
  180. package/projects/obtservices/base/src/lib/vendor/fetchers/user-fetcher.ts +27 -0
  181. package/projects/obtservices/base/src/lib/vendor/fetchers/user-message.fetcher.ts +34 -0
  182. package/projects/obtservices/base/src/lib/vendor/fetchers/user-products-fetcher.ts +35 -0
  183. package/projects/obtservices/base/src/lib/vendor/fetchers/user-ui-configs-fetcher.ts +35 -0
  184. package/projects/obtservices/base/src/lib/vendor/interfaces/Icabhire-enterprise-search.ts +174 -0
  185. package/projects/obtservices/base/src/lib/vendor/interfaces/Icarhire-enterprise-search.ts +143 -0
  186. package/projects/obtservices/base/src/lib/vendor/interfaces/Ienterprise-basket.service.ts +127 -0
  187. package/projects/obtservices/base/src/lib/vendor/interfaces/Ieurostar-enterprise-search.ts +197 -0
  188. package/projects/obtservices/base/src/lib/vendor/interfaces/Iflight-enterprise-search.ts +196 -0
  189. package/projects/obtservices/base/src/lib/vendor/interfaces/Ihotel-enterprise-search.ts +219 -0
  190. package/projects/obtservices/base/src/lib/vendor/interfaces/Iirl-enterprise-search.ts +135 -0
  191. package/projects/obtservices/base/src/lib/vendor/interfaces/Ilounges-enterprise-search.ts +58 -0
  192. package/projects/obtservices/base/src/lib/vendor/interfaces/Imybookings.service.ts +27 -0
  193. package/projects/obtservices/base/src/lib/vendor/interfaces/Iparking-enterprise-search.ts +72 -0
  194. package/projects/obtservices/base/src/lib/vendor/interfaces/Irail-enterprise-search.ts +161 -0
  195. package/projects/obtservices/base/src/lib/vendor/interfaces/Isearch.service.ts +178 -0
  196. package/projects/obtservices/base/src/lib/vendor/interfaces/Isupplementary-booking-info-impl.ts +63 -0
  197. package/projects/obtservices/base/src/lib/vendor/interfaces/Iuser.service.ts +87 -0
  198. package/projects/obtservices/base/src/lib/vendor/interfaces/car-hire-classes.interface.ts +8 -0
  199. package/projects/obtservices/base/src/lib/vendor/interfaces/car-hire-filters.interface.ts +11 -0
  200. package/projects/obtservices/base/src/lib/vendor/interfaces/car-hire-sort.interface.ts +4 -0
  201. package/projects/obtservices/base/src/lib/vendor/interfaces/cheapest-price.ts +4 -0
  202. package/projects/obtservices/base/src/lib/vendor/interfaces/code-name.ts +4 -0
  203. package/projects/obtservices/base/src/lib/vendor/interfaces/flight-filters.interface.ts +41 -0
  204. package/projects/obtservices/base/src/lib/vendor/interfaces/flight-multi-destination.interface.ts +8 -0
  205. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-airport-express-stations.interface.ts +4 -0
  206. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-basket-item.interface.ts +79 -0
  207. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-journey-leg.interface.ts +6 -0
  208. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-recent-search-args.interface.ts +20 -0
  209. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-selected-ticket.interface.ts +11 -0
  210. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-ticket-group.interface.ts +29 -0
  211. package/projects/obtservices/base/src/lib/vendor/interfaces/rail-ticket-groups.interface.ts +5 -0
  212. package/projects/obtservices/base/src/lib/vendor/interfaces/search-objects.interface.ts +17 -0
  213. package/projects/obtservices/base/src/lib/vendor/interfaces/select-filter.interface.ts +5 -0
  214. package/projects/obtservices/base/src/lib/vendor/interfaces/user.data.ts +22 -0
  215. package/projects/obtservices/base/src/lib/vendor/interfaces/value-display.ts +4 -0
  216. package/projects/obtservices/base/src/lib/vendor/models/login.model.ts +97 -0
  217. package/projects/obtservices/base/src/lib/vendor/models/regexp.model.ts +13 -0
  218. package/projects/obtservices/base/src/lib/vendor/models/traveller.object.ts +61 -0
  219. package/projects/obtservices/base/src/lib/vendor/services/enterprise-basket.service.ts +1150 -0
  220. package/projects/obtservices/base/src/lib/vendor/services/hotel-avallibility.service.ts +251 -0
  221. package/projects/obtservices/base/src/lib/vendor/services/http-call.service.ts +57 -0
  222. package/projects/obtservices/base/src/lib/vendor/services/logon.service.ts +245 -0
  223. package/projects/obtservices/base/src/lib/vendor/services/modal-opener.service.ts +30 -0
  224. package/projects/obtservices/base/src/lib/vendor/services/my-bookings.service.ts +184 -0
  225. package/projects/obtservices/base/src/lib/vendor/services/routehappy.service.ts +275 -0
  226. package/projects/obtservices/base/src/lib/vendor/services/search.service.ts +2026 -0
  227. package/projects/obtservices/base/src/lib/vendor/services/storage.service.ts +15 -0
  228. package/projects/obtservices/base/src/lib/vendor/services/url.service.ts +12 -0
  229. package/projects/obtservices/base/src/lib/vendor/services/user.service.ts +354 -0
  230. package/projects/obtservices/base/src/lib/vendor/services/webtoken.service.ts +66 -0
  231. package/projects/obtservices/base/src/lib/vendor/testers/base.tester.ts +18 -0
  232. package/projects/obtservices/base/src/lib/vendor/testers/postcode-validate.tester.ts +24 -0
  233. package/projects/obtservices/base/src/lib/vendor/testers/validate-mi-free-value.tester.ts +23 -0
  234. package/projects/obtservices/base/src/lib/vendor/types/graphql.types.ts +6184 -0
  235. package/projects/obtservices/base/src/lib/vendor/types/types.ts +630 -0
  236. package/projects/obtservices/base/src/lib/vendor/updaters/accept-new-price.updater.ts +31 -0
  237. package/projects/obtservices/base/src/lib/vendor/updaters/add-item-to-basket.updater.ts +29 -0
  238. package/projects/obtservices/base/src/lib/vendor/updaters/addUserToBasketItem.ts +30 -0
  239. package/projects/obtservices/base/src/lib/vendor/updaters/book-basket-updater.ts +28 -0
  240. package/projects/obtservices/base/src/lib/vendor/updaters/create-basket-updater.ts +29 -0
  241. package/projects/obtservices/base/src/lib/vendor/updaters/move-basket-item-to-basket.ts +30 -0
  242. package/projects/obtservices/base/src/lib/vendor/updaters/object-updater-enterprise.ts +20 -0
  243. package/projects/obtservices/base/src/lib/vendor/updaters/remove-basket-updater.ts +29 -0
  244. package/projects/obtservices/base/src/lib/vendor/updaters/remove-item-from-basket.updater.ts +28 -0
  245. package/projects/obtservices/base/src/lib/vendor/updaters/remove-recent-search-updater.ts +29 -0
  246. package/projects/obtservices/base/src/lib/vendor/updaters/remove-user-address-updater.ts +29 -0
  247. package/projects/obtservices/base/src/lib/vendor/updaters/revalidate-basket-updater.ts +29 -0
  248. package/projects/obtservices/base/src/lib/vendor/updaters/save-recent-search-updater.ts +30 -0
  249. package/projects/obtservices/base/src/lib/vendor/updaters/save-user-address.updater.ts +30 -0
  250. package/projects/obtservices/base/src/lib/vendor/updaters/send-basket-for-approval.updater.ts +31 -0
  251. package/projects/obtservices/base/src/lib/vendor/updaters/set-basket-item-lead-passenger.updater.ts +30 -0
  252. package/projects/obtservices/base/src/lib/vendor/updaters/set-basket-item-mi-group.ts +32 -0
  253. package/projects/obtservices/base/src/lib/vendor/updaters/set-basket-item-mi-value-updater.ts +30 -0
  254. package/projects/obtservices/base/src/lib/vendor/updaters/set-basket-item-paymenr-option.updater.ts +28 -0
  255. package/projects/obtservices/base/src/lib/vendor/updaters/update-basket-notes-updater.ts +30 -0
  256. package/projects/obtservices/base/src/lib/vendor/updaters/update-basket-title-updater.ts +30 -0
  257. package/projects/obtservices/base/src/models.ts +3 -0
  258. package/projects/obtservices/base/src/public_api.ts +8 -0
  259. package/projects/obtservices/base/src/services.ts +12 -0
  260. package/projects/obtservices/base/src/testers.ts +2 -0
  261. package/projects/obtservices/base/src/types.ts +1 -0
  262. package/projects/obtservices/base/src/updaters.ts +20 -0
  263. package/projects/obtservices/graphQL/autogenerated/index.js +2 -0
  264. package/projects/obtservices/graphQL/autogenerated/mutations/acceptNewPrice.gql +1580 -0
  265. package/projects/obtservices/graphQL/autogenerated/mutations/addItemToBasket.gql +1580 -0
  266. package/projects/obtservices/graphQL/autogenerated/mutations/addUsersToBasketItem.gql +1580 -0
  267. package/projects/obtservices/graphQL/autogenerated/mutations/bookBasket.gql +1580 -0
  268. package/projects/obtservices/graphQL/autogenerated/mutations/cancelBooking.gql +6 -0
  269. package/projects/obtservices/graphQL/autogenerated/mutations/confermaCreateCard.gql +23 -0
  270. package/projects/obtservices/graphQL/autogenerated/mutations/confermaDeleteCard.gql +3 -0
  271. package/projects/obtservices/graphQL/autogenerated/mutations/createBasket.gql +1580 -0
  272. package/projects/obtservices/graphQL/autogenerated/mutations/deleteBasket.gql +3 -0
  273. package/projects/obtservices/graphQL/autogenerated/mutations/deleteFavouriteSearch.gql +3 -0
  274. package/projects/obtservices/graphQL/autogenerated/mutations/deleteRecentSearch.gql +3 -0
  275. package/projects/obtservices/graphQL/autogenerated/mutations/deleteUserAddress.gql +3 -0
  276. package/projects/obtservices/graphQL/autogenerated/mutations/index.js +36 -0
  277. package/projects/obtservices/graphQL/autogenerated/mutations/moveItemToADifferentBasket.gql +1580 -0
  278. package/projects/obtservices/graphQL/autogenerated/mutations/removeItemFromBasket.gql +1580 -0
  279. package/projects/obtservices/graphQL/autogenerated/mutations/removeItemsFromBasket.gql +1580 -0
  280. package/projects/obtservices/graphQL/autogenerated/mutations/removeUserFromBasketItem.gql +1580 -0
  281. package/projects/obtservices/graphQL/autogenerated/mutations/reopenBasket.gql +1580 -0
  282. package/projects/obtservices/graphQL/autogenerated/mutations/revalidateBasket.gql +1580 -0
  283. package/projects/obtservices/graphQL/autogenerated/mutations/revalidateBasketItem.gql +1580 -0
  284. package/projects/obtservices/graphQL/autogenerated/mutations/saveFavouriteSearch.gql +348 -0
  285. package/projects/obtservices/graphQL/autogenerated/mutations/saveRecentSearch.gql +348 -0
  286. package/projects/obtservices/graphQL/autogenerated/mutations/saveUserAddress.gql +14 -0
  287. package/projects/obtservices/graphQL/autogenerated/mutations/sendBasketForApproval.gql +1580 -0
  288. package/projects/obtservices/graphQL/autogenerated/mutations/setAddressAsUserPrimary.gql +14 -0
  289. package/projects/obtservices/graphQL/autogenerated/mutations/setBasketItemLeadPassenger.gql +1580 -0
  290. package/projects/obtservices/graphQL/autogenerated/mutations/setBasketItemMIGroup.gql +1580 -0
  291. package/projects/obtservices/graphQL/autogenerated/mutations/setBasketItemMIValue.gql +1580 -0
  292. package/projects/obtservices/graphQL/autogenerated/mutations/setBasketItemPaymentMethod.gql +1580 -0
  293. package/projects/obtservices/graphQL/autogenerated/mutations/setMIDefaultValue.gql +3 -0
  294. package/projects/obtservices/graphQL/autogenerated/mutations/setUserLanguage.gql +339 -0
  295. package/projects/obtservices/graphQL/autogenerated/mutations/updateBasketNotes.gql +1580 -0
  296. package/projects/obtservices/graphQL/autogenerated/mutations/updateBasketTitle.gql +1580 -0
  297. package/projects/obtservices/graphQL/autogenerated/queries/alive.gql +3 -0
  298. package/projects/obtservices/graphQL/autogenerated/queries/carHireAvailabilityDetailRequest.gql +42 -0
  299. package/projects/obtservices/graphQL/autogenerated/queries/confermaBlockClientHotels.gql +23 -0
  300. package/projects/obtservices/graphQL/autogenerated/queries/confermaBlockConsumerHotels.gql +23 -0
  301. package/projects/obtservices/graphQL/autogenerated/queries/confermaListCards.gql +11 -0
  302. package/projects/obtservices/graphQL/autogenerated/queries/confermaUnblockClientHotels.gql +23 -0
  303. package/projects/obtservices/graphQL/autogenerated/queries/confermaUnblockConsumerHotels.gql +23 -0
  304. package/projects/obtservices/graphQL/autogenerated/queries/getCOVIDMicrositeToken.gql +3 -0
  305. package/projects/obtservices/graphQL/autogenerated/queries/getCancellationInfo.gql +7 -0
  306. package/projects/obtservices/graphQL/autogenerated/queries/getCarHireDepots.gql +13 -0
  307. package/projects/obtservices/graphQL/autogenerated/queries/getConfermaOffice.gql +50 -0
  308. package/projects/obtservices/graphQL/autogenerated/queries/getConfermaOfficeNames.gql +26 -0
  309. package/projects/obtservices/graphQL/autogenerated/queries/getConfermaQuicklist.gql +131 -0
  310. package/projects/obtservices/graphQL/autogenerated/queries/getCountries.gql +8 -0
  311. package/projects/obtservices/graphQL/autogenerated/queries/getHotelAvailability.gql +78 -0
  312. package/projects/obtservices/graphQL/autogenerated/queries/getHotelChains.gql +3 -0
  313. package/projects/obtservices/graphQL/autogenerated/queries/getIRLSupplierStation.gql +28 -0
  314. package/projects/obtservices/graphQL/autogenerated/queries/getMultipleHotelsAvailability.gql +78 -0
  315. package/projects/obtservices/graphQL/autogenerated/queries/getPostcodeDetails.gql +25 -0
  316. package/projects/obtservices/graphQL/autogenerated/queries/getRailStation.gql +27 -0
  317. package/projects/obtservices/graphQL/autogenerated/queries/getRailcards.gql +6 -0
  318. package/projects/obtservices/graphQL/autogenerated/queries/getRiskAlerts.gql +17 -0
  319. package/projects/obtservices/graphQL/autogenerated/queries/getUser.gql +339 -0
  320. package/projects/obtservices/graphQL/autogenerated/queries/getUserAddresses.gql +14 -0
  321. package/projects/obtservices/graphQL/autogenerated/queries/getUserBasket.gql +1580 -0
  322. package/projects/obtservices/graphQL/autogenerated/queries/getUserBaskets.gql +1580 -0
  323. package/projects/obtservices/graphQL/autogenerated/queries/getUserCompanyOffices.gql +88 -0
  324. package/projects/obtservices/graphQL/autogenerated/queries/getUserCurrentCarbonAllowance.gql +524 -0
  325. package/projects/obtservices/graphQL/autogenerated/queries/getUserFavouriteSearches.gql +348 -0
  326. package/projects/obtservices/graphQL/autogenerated/queries/getUserMIAutoSuggestValues.gql +10 -0
  327. package/projects/obtservices/graphQL/autogenerated/queries/getUserMessages.gql +10 -0
  328. package/projects/obtservices/graphQL/autogenerated/queries/getUserPhoneNumbers.gql +13 -0
  329. package/projects/obtservices/graphQL/autogenerated/queries/getUserRecentSearches.gql +348 -0
  330. package/projects/obtservices/graphQL/autogenerated/queries/getUserServices.gql +16 -0
  331. package/projects/obtservices/graphQL/autogenerated/queries/getUserTravelRules.gql +111 -0
  332. package/projects/obtservices/graphQL/autogenerated/queries/getUserUIConfigs.gql +52 -0
  333. package/projects/obtservices/graphQL/autogenerated/queries/index.js +64 -0
  334. package/projects/obtservices/graphQL/autogenerated/queries/isPostcodeValid.gql +3 -0
  335. package/projects/obtservices/graphQL/autogenerated/queries/postcodeAutoSuggest.gql +3 -0
  336. package/projects/obtservices/graphQL/autogenerated/queries/searchAirlines.gql +32 -0
  337. package/projects/obtservices/graphQL/autogenerated/queries/searchAirports.gql +60 -0
  338. package/projects/obtservices/graphQL/autogenerated/queries/searchCabHire.gql +63 -0
  339. package/projects/obtservices/graphQL/autogenerated/queries/searchCarHire.gql +104 -0
  340. package/projects/obtservices/graphQL/autogenerated/queries/searchCities.gql +14 -0
  341. package/projects/obtservices/graphQL/autogenerated/queries/searchConfermaCities.gql +11 -0
  342. package/projects/obtservices/graphQL/autogenerated/queries/searchEurostar.gql +833 -0
  343. package/projects/obtservices/graphQL/autogenerated/queries/searchFastTrack.gql +46 -0
  344. package/projects/obtservices/graphQL/autogenerated/queries/searchFlights.gql +23 -0
  345. package/projects/obtservices/graphQL/autogenerated/queries/searchFlightsV2.gql +833 -0
  346. package/projects/obtservices/graphQL/autogenerated/queries/searchHotelChains.gql +3 -0
  347. package/projects/obtservices/graphQL/autogenerated/queries/searchHotels.gql +131 -0
  348. package/projects/obtservices/graphQL/autogenerated/queries/searchIRL.gql +514 -0
  349. package/projects/obtservices/graphQL/autogenerated/queries/searchIRLSupplierStations.gql +28 -0
  350. package/projects/obtservices/graphQL/autogenerated/queries/searchLounges.gql +89 -0
  351. package/projects/obtservices/graphQL/autogenerated/queries/searchParking.gql +70 -0
  352. package/projects/obtservices/graphQL/autogenerated/queries/searchPostcodes.gql +25 -0
  353. package/projects/obtservices/graphQL/autogenerated/queries/searchRail.gql +840 -0
  354. package/projects/obtservices/graphQL/autogenerated/queries/searchRailStations.gql +27 -0
  355. package/projects/obtservices/graphQL/autogenerated/queries/searchUserCanBookFor.gql +339 -0
  356. package/projects/obtservices/graphQL/autogenerated/queries/validateBasketItemMI.gql +3 -0
  357. package/projects/obtservices/graphQL/autogenerated/queries/validateUserMIFreeValue.gql +3 -0
  358. package/projects/obtservices/graphQL/documents/acceptNewPrice.graphql +5 -0
  359. package/projects/obtservices/graphQL/documents/addUserToBasketItem.graphql +9 -0
  360. package/projects/obtservices/graphQL/documents/basket.fragments.graphql +171 -0
  361. package/projects/obtservices/graphQL/documents/baskets.graphql +111 -0
  362. package/projects/obtservices/graphQL/documents/bookBasket.graphql +9 -0
  363. package/projects/obtservices/graphQL/documents/cabhire.graphql +66 -0
  364. package/projects/obtservices/graphQL/documents/carHireAvailabilityDetailRequest.graphql +44 -0
  365. package/projects/obtservices/graphQL/documents/carhire.graphql +117 -0
  366. package/projects/obtservices/graphQL/documents/deleteRecentSearch.graphql +3 -0
  367. package/projects/obtservices/graphQL/documents/deleteUserAddress.graphql +3 -0
  368. package/projects/obtservices/graphQL/documents/error.fragments.graphql +10 -0
  369. package/projects/obtservices/graphQL/documents/flights.graphql +830 -0
  370. package/projects/obtservices/graphQL/documents/getCarHireDepots.graphql +13 -0
  371. package/projects/obtservices/graphQL/documents/getConfermaOfficeNames.graphql +11 -0
  372. package/projects/obtservices/graphQL/documents/getConfermaQuicklist.graphql +108 -0
  373. package/projects/obtservices/graphQL/documents/getRailStation.graphql +31 -0
  374. package/projects/obtservices/graphQL/documents/getRailcards.graphql +6 -0
  375. package/projects/obtservices/graphQL/documents/getRiskAlerts.graphql +24 -0
  376. package/projects/obtservices/graphQL/documents/getUserAddresses.graphql +14 -0
  377. package/projects/obtservices/graphQL/documents/getUserCompanyOffices.graphql +18 -0
  378. package/projects/obtservices/graphQL/documents/getUserCurrentCarbonAllowance.graphql +29 -0
  379. package/projects/obtservices/graphQL/documents/getUserMIAutoSuggestValues.graphql +10 -0
  380. package/projects/obtservices/graphQL/documents/getUserPhoneNumbers.graphql +13 -0
  381. package/projects/obtservices/graphQL/documents/getUserRecentSearches.graphql +20 -0
  382. package/projects/obtservices/graphQL/documents/hotels.graphql +242 -0
  383. package/projects/obtservices/graphQL/documents/isPostcodeValid.graphql +3 -0
  384. package/projects/obtservices/graphQL/documents/lookups.graphql +54 -0
  385. package/projects/obtservices/graphQL/documents/lounges.graphql +88 -0
  386. package/projects/obtservices/graphQL/documents/moveItemToADifferentBasket.graphql +9 -0
  387. package/projects/obtservices/graphQL/documents/parking.graphql +79 -0
  388. package/projects/obtservices/graphQL/documents/rail.graphql +645 -0
  389. package/projects/obtservices/graphQL/documents/saveRecentSearch.graphql +5 -0
  390. package/projects/obtservices/graphQL/documents/saveUserAddress.graphql +14 -0
  391. package/projects/obtservices/graphQL/documents/searchAirlines.graphql +32 -0
  392. package/projects/obtservices/graphQL/documents/searchCities.graphql +14 -0
  393. package/projects/obtservices/graphQL/documents/searchConfermaCities.graphql +11 -0
  394. package/projects/obtservices/graphQL/documents/searchEurostar.graphql +810 -0
  395. package/projects/obtservices/graphQL/documents/searchHotelChains.graphql +3 -0
  396. package/projects/obtservices/graphQL/documents/searchIRL.graphql +521 -0
  397. package/projects/obtservices/graphQL/documents/searchPostcodes.graphql +7 -0
  398. package/projects/obtservices/graphQL/documents/searchRailStations.graphql +27 -0
  399. package/projects/obtservices/graphQL/documents/searchUserAddresses.graphql +14 -0
  400. package/projects/obtservices/graphQL/documents/set-basker-item-mi-group.graphql +9 -0
  401. package/projects/obtservices/graphQL/documents/setBasketItemLeadPassenger.graphql +5 -0
  402. package/projects/obtservices/graphQL/documents/setBasketItemMIValue.graphql +16 -0
  403. package/projects/obtservices/graphQL/documents/setBasketItemPaymentMethod.graphql +12 -0
  404. package/projects/obtservices/graphQL/documents/updateBasketNotes.graphql +10 -0
  405. package/projects/obtservices/graphQL/documents/updateBasketTitle.graphql +10 -0
  406. package/projects/obtservices/graphQL/documents/user.fragments.graphql +65 -0
  407. package/projects/obtservices/graphQL/documents/user.graphql +95 -0
  408. package/projects/obtservices/graphQL/documents/validateUserMIFreeValue.graphql +3 -0
  409. package/projects/obtservices/graphQL/schema/schema.graphql +2635 -0
  410. package/projects/obtservices/karma.conf.js +32 -0
  411. package/projects/obtservices/ng-package.json +7 -0
  412. package/projects/obtservices/package-lock.json +5 -0
  413. package/projects/obtservices/package.json +12 -0
  414. package/projects/obtservices/src/obtservices.ts +0 -0
  415. package/projects/obtservices/src/public_api.ts +1 -0
  416. package/projects/obtservices/tsconfig.lib.json +30 -0
  417. package/projects/obtservices/tsconfig.spec.json +17 -0
  418. package/projects/obtservices/tslint.json +17 -0
  419. package/tsconfig.json +36 -0
  420. package/tslint.json +62 -0
@@ -0,0 +1,2635 @@
1
+ type Address {
2
+ id: ID!
3
+ description: String
4
+ numberOrName: String
5
+ street: String
6
+ town: String
7
+ county: String
8
+ postcode: String
9
+ countryCode: String
10
+ userPrimary: Boolean
11
+ officePrimary: Boolean
12
+ }
13
+
14
+ type AirlineResult {
15
+ id: ID!
16
+ name: String
17
+ iata: String
18
+ icao: String
19
+ alias: String
20
+ callsign: String
21
+ active: Boolean
22
+ continent: String
23
+ country: String
24
+ countryCode: String
25
+ bannerImage: String
26
+ logoImage: String
27
+ }
28
+
29
+ type AirlineResults {
30
+ iataMatch: AirlineResult
31
+ generalMatches: [AirlineResult!]!
32
+ }
33
+
34
+ type GeoCoordinates {
35
+ latitude: Float
36
+ longitude: Float
37
+ altitude: Float
38
+ }
39
+
40
+ type LocationDetail {
41
+ continent: String
42
+ country: String
43
+ countryCode: String
44
+ state: String
45
+ city: String
46
+ coordinates: GeoCoordinates
47
+ postcode: String
48
+ road: String
49
+ gridReference: String
50
+ northing: String
51
+ easting: String
52
+ }
53
+
54
+ type Airport {
55
+ id: ID!
56
+ name: String!
57
+ iata: String
58
+ icao: String
59
+ terminals: [String!]!
60
+ hasLounge: Boolean
61
+ hasParking: Boolean
62
+ hasFastTrack: Boolean
63
+ hasPublicTravel: Boolean
64
+ locationDetails: LocationDetail
65
+ }
66
+
67
+ type AirportResults {
68
+ iataMatch: Airport
69
+ generalMatches: [Airport!]!
70
+ }
71
+
72
+ type Passport {
73
+ id: ID!
74
+ number: String!
75
+ codeOfIssuingState: String!
76
+ nationality: String!
77
+ sex: PassportSex!
78
+ dob: DateTime!
79
+ surname: String!
80
+ givenNames: String!
81
+ dateOfIssue: DateTime!
82
+ user: User!
83
+ createdAt: DateTime!
84
+ updatedAt: DateTime!
85
+ }
86
+
87
+ # Passport Gender
88
+ enum PassportSex {
89
+ M
90
+ F
91
+ }
92
+
93
+ # A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
94
+ scalar DateTime
95
+
96
+ type PhoneNumber {
97
+ id: ID!
98
+ description: String
99
+ countryCode: String
100
+ areaCode: String
101
+ number: String
102
+ extension: String
103
+ type: PhoneType
104
+ officePrimary: Boolean
105
+ userPrimary: Boolean
106
+ }
107
+
108
+ # Phone Type
109
+ enum PhoneType {
110
+ MOBILE
111
+ LANDLINE
112
+ FAX
113
+ OTHER
114
+ }
115
+
116
+ type TMC {
117
+ id: ID!
118
+ name: String!
119
+ }
120
+
121
+ type CompanyGroup {
122
+ id: ID!
123
+ name: String!
124
+ description: String!
125
+ company: Company!
126
+ createdAt: DateTime!
127
+ updatedAt: DateTime!
128
+ }
129
+
130
+ type Company {
131
+ id: ID!
132
+ name: String!
133
+ tmc: TMC!
134
+ offices: [Office!]!
135
+ companyGroups: [CompanyGroup!]!
136
+ addresses: [Address!]!
137
+ phoneNumbers: [PhoneNumber!]!
138
+ supportPhoneNumber: PhoneNumber
139
+ createdAt: DateTime!
140
+ updatedAt: DateTime!
141
+ supportEmail: String!
142
+ co2ConsumptionPolicy: String
143
+ co2AllowancePeriod: String
144
+ co2AllowancePerPeriod: String
145
+ }
146
+
147
+ type Office {
148
+ id: ID!
149
+ name: String!
150
+ createdAt: DateTime!
151
+ updatedAt: DateTime!
152
+ company: Company!
153
+ addresses: [Address!]!
154
+ phoneNumbers: [PhoneNumber!]!
155
+ co2AllowancePeriod: String
156
+ co2AllowancePerPeriod: String
157
+ }
158
+
159
+ type Approver {
160
+ approver: User!
161
+ active: Boolean!
162
+ priority: Int!
163
+ }
164
+
165
+ type Approvee {
166
+ approvee: User!
167
+ active: Boolean!
168
+ priority: Int!
169
+ }
170
+
171
+ type Language {
172
+ id: ID!
173
+ name: String!
174
+ isoCode: String!
175
+ }
176
+
177
+ type User {
178
+ id: ID!
179
+ title: String!
180
+ forename: String!
181
+ surname: String!
182
+ email: String!
183
+ username: String!
184
+ employeeId: String
185
+ createdAt: DateTime!
186
+ updatedAt: DateTime!
187
+ dob: Date!
188
+ admin: Boolean
189
+ tmcAdmin: Boolean
190
+ companyAdmin: Boolean
191
+ bookerType: BookerType!
192
+ authMethods: [String!]!
193
+ active: Boolean!
194
+ passwordLastUpdated: DateTime
195
+ selectedLanguage: Language!
196
+ availableLanguages: [Language!]!
197
+ passports: [Passport!]!
198
+ tmc: TMC!
199
+ company: Company!
200
+ office: Office!
201
+ companyGroups: [CompanyGroup!]!
202
+ addresses: [Address!]!
203
+ phoneNumbers: [PhoneNumber!]!
204
+ approvers: [Approver!]!
205
+ approverFor: [Approvee!]!
206
+ bookers: [User!]!
207
+ canBookFor: [User!]!
208
+ co2AllowancePeriod: String
209
+ co2AllowancePerPeriod: String
210
+ }
211
+
212
+ # A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
213
+ scalar Date
214
+
215
+ # Booker Type
216
+ enum BookerType {
217
+ ROOT
218
+ TMC
219
+ COMPANY
220
+ OFFICE
221
+ COMPANY_GROUP
222
+ SELF_BOOK
223
+ BOOKER
224
+ TRAVELLER
225
+ BOOKER_WITH_SELF
226
+ }
227
+
228
+ type Service {
229
+ id: ID!
230
+ type: ServiceType!
231
+ name: String!
232
+ description: String!
233
+ supplierUrl: String!
234
+ active: Boolean!
235
+ apiEndpointUrl: String!
236
+ basketItemTtl: Float!
237
+ cancellable: Boolean!
238
+ amendable: Boolean!
239
+ detailSchema: JSON!
240
+ searchQuerySchema: JSON!
241
+ }
242
+
243
+ # Service Type
244
+ enum ServiceType {
245
+ FLIGHT
246
+ EUROSTAR
247
+ INTERNATIONAL_RAIL
248
+ RAIL
249
+ HOTEL
250
+ CAR
251
+ LOUNGE
252
+ FAST_TRACK
253
+ PARKING
254
+ CAB
255
+ COACH
256
+ }
257
+
258
+ # The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
259
+ scalar JSON
260
+
261
+ type PaymentMethod {
262
+ id: ID!
263
+ name: String!
264
+ description: String
265
+ }
266
+
267
+ type ManagementInfoValue {
268
+ id: ID!
269
+ label: String!
270
+ value: String!
271
+ default: Boolean!
272
+ fixed: Boolean!
273
+ agentOnly: Boolean!
274
+ }
275
+
276
+ type SelectedManagementInfoValue {
277
+ value: ManagementInfoValue
278
+ freeValue: String
279
+ basketLevelValue: Boolean!
280
+ userLevelValue: Boolean!
281
+ user: User
282
+ }
283
+
284
+ type ManagementInfo {
285
+ id: ID!
286
+ dbId: Int!
287
+ name: String!
288
+ description: String
289
+ handoff: String!
290
+ valueMask: String
291
+ service: Service!
292
+ uiPresentation: UIPresentation!
293
+ mandatory: Boolean!
294
+ perPassenger: Boolean!
295
+ perBooking: Boolean!
296
+ agentOnly: Boolean!
297
+ createdAt: DateTime!
298
+ updatedAt: DateTime!
299
+ fixed: Boolean!
300
+ fixedValue: ManagementInfoValue
301
+ defaultValue: ManagementInfoValue
302
+ values: [ManagementInfoValue!]!
303
+ group: [String]
304
+ selectedValues: [SelectedManagementInfoValue!]!
305
+ }
306
+
307
+ # UIPresentation
308
+ enum UIPresentation {
309
+ FREE_TEXT
310
+ AUTO_SUGGEST
311
+ HIDDEN
312
+ }
313
+
314
+ type UserPassengerType {
315
+ id: ID!
316
+ passengerType: PassengerType!
317
+ }
318
+
319
+ # PassengerType
320
+ enum PassengerType {
321
+ ADULT
322
+ CHILD
323
+ INFANT
324
+ }
325
+
326
+ type Basket {
327
+ id: ID!
328
+ owner: User!
329
+ reference: String!
330
+ title: String!
331
+ notes: String
332
+ createdAt: DateTime!
333
+ updatedAt: DateTime!
334
+ basketItems: [BasketItem!]!
335
+ status: BasketStatus!
336
+ companyGroup: CompanyGroup
337
+ validated: Boolean!
338
+ bookedAt: DateTime
339
+ }
340
+
341
+ # BasketStatus
342
+ enum BasketStatus {
343
+ OPEN
344
+ BOOKED
345
+ AWAITING_APPROVAL
346
+ APPROVED
347
+ DISAPPROVED
348
+ PARTIALLY_BOOKED
349
+ BOOKING_FAILED
350
+ }
351
+
352
+ type BasketItem {
353
+ id: ID!
354
+ basket: Basket!
355
+ adults: Int!
356
+ children: Int!
357
+ infants: Int!
358
+ detail: JSON!
359
+ detailHash: String!
360
+ createdAt: DateTime!
361
+ updatedAt: DateTime!
362
+ expiry: DateTime!
363
+ expired: Boolean!
364
+ users: [User!]!
365
+ userPassengerTypes: [UserPassengerType!]!
366
+ leadPassenger: User
367
+ service: Service!
368
+ searchQuery: JSON!
369
+ price: Float!
370
+ currency: CurrencyCode!
371
+ miGroupsAvailable: [String!]!
372
+ miGroupSelected: String
373
+ managementInfo: [ManagementInfo!]!
374
+ validated: Boolean!
375
+ latestValidation: DateTime
376
+ latestValidationPrice: Int
377
+ latestValidationPriceDifference: Int
378
+ latestValidationAvailable: Boolean
379
+ bookingThirdPartyReference: String
380
+ pnrLocator: String
381
+ status: BasketItemStatus!
382
+ availablePaymentMethods: [PaymentMethod!]!
383
+ selectedPaymentMethod: PaymentMethod
384
+ perItemSupplementaryBookingInfoSchema: JSON!
385
+ perPassengerSupplementaryBookingInfoSchema: JSON!
386
+ perItemAddress: Boolean!
387
+ perItemPhoneNumber: Boolean!
388
+ perPassengerAddress: Boolean!
389
+ perPassengerPhoneNumber: Boolean!
390
+ cancellable: Boolean!
391
+ amendable: Boolean!
392
+ co2PerPassenger: Float!
393
+ co2PerItem: Float!
394
+ outboundDate: DateTime!
395
+ inboundDate: DateTime
396
+ }
397
+
398
+ # Currency Code
399
+ enum CurrencyCode {
400
+ AED
401
+ AFN
402
+ ALL
403
+ AMD
404
+ ANG
405
+ AOA
406
+ ARS
407
+ AUD
408
+ AWG
409
+ AZN
410
+ BAM
411
+ BBD
412
+ BDT
413
+ BGN
414
+ BHD
415
+ BIF
416
+ BMD
417
+ BND
418
+ BOB
419
+ BOV
420
+ BRL
421
+ BSD
422
+ BTN
423
+ BWP
424
+ BYN
425
+ BZD
426
+ CAD
427
+ CDF
428
+ CHE
429
+ CHF
430
+ CHW
431
+ CLF
432
+ CLP
433
+ CNY
434
+ COP
435
+ COU
436
+ CRC
437
+ CUC
438
+ CUP
439
+ CVE
440
+ CZK
441
+ DJF
442
+ DKK
443
+ DOP
444
+ DZD
445
+ EGP
446
+ ERN
447
+ ETB
448
+ EUR
449
+ FJD
450
+ FKP
451
+ GBP
452
+ GEL
453
+ GHS
454
+ GIP
455
+ GMD
456
+ GNF
457
+ GTQ
458
+ GYD
459
+ HKD
460
+ HNL
461
+ HRK
462
+ HTG
463
+ HUF
464
+ IDR
465
+ ILS
466
+ INR
467
+ IQD
468
+ IRR
469
+ ISK
470
+ JMD
471
+ JOD
472
+ JPY
473
+ KES
474
+ KGS
475
+ KHR
476
+ KMF
477
+ KPW
478
+ KRW
479
+ KWD
480
+ KYD
481
+ KZT
482
+ LAK
483
+ LBP
484
+ LKR
485
+ LRD
486
+ LSL
487
+ LYD
488
+ MAD
489
+ MDL
490
+ MGA
491
+ MKD
492
+ MMK
493
+ MNT
494
+ MOP
495
+ MRU
496
+ MUR
497
+ MVR
498
+ MWK
499
+ MXN
500
+ MXV
501
+ MYR
502
+ MZN
503
+ NAD
504
+ NGN
505
+ NIO
506
+ NOK
507
+ NPR
508
+ NZD
509
+ OMR
510
+ PAB
511
+ PEN
512
+ PGK
513
+ PHP
514
+ PKR
515
+ PLN
516
+ PYG
517
+ QAR
518
+ RON
519
+ RSD
520
+ RUB
521
+ RWF
522
+ SAR
523
+ SBD
524
+ SCR
525
+ SDG
526
+ SEK
527
+ SGD
528
+ SHP
529
+ SLL
530
+ SOS
531
+ SRD
532
+ SSP
533
+ STN
534
+ SVC
535
+ SYP
536
+ SZL
537
+ THB
538
+ TJS
539
+ TMT
540
+ TND
541
+ TOP
542
+ TRY
543
+ TTD
544
+ TWD
545
+ TZS
546
+ UAH
547
+ UGX
548
+ USD
549
+ USN
550
+ UYI
551
+ UYU
552
+ UZS
553
+ VEF
554
+ VND
555
+ VUV
556
+ WST
557
+ XAF
558
+ XAG
559
+ XAU
560
+ XBA
561
+ XBB
562
+ XBC
563
+ XBD
564
+ XCD
565
+ XDR
566
+ XOF
567
+ XPD
568
+ XPF
569
+ XPT
570
+ XSU
571
+ XTS
572
+ XUA
573
+ XXX
574
+ YER
575
+ ZAR
576
+ ZMW
577
+ ZWL
578
+ }
579
+
580
+ # BasketItemStatus
581
+ enum BasketItemStatus {
582
+ OPEN
583
+ BOOKED
584
+ BOOKING_FAILED
585
+ }
586
+
587
+ type SearchError {
588
+ service: Service!
589
+ errorMessage: String!
590
+ errorCode: String!
591
+ }
592
+
593
+ type CabHireResult {
594
+ results: [CabHireQuote!]!
595
+ errors: [SearchError!]!
596
+ }
597
+
598
+ type CabHireLocation {
599
+ address: String!
600
+ postcode: String!
601
+ latitude: Float
602
+ longitude: Float
603
+ }
604
+
605
+ type CabHireQuote {
606
+ id: ID!
607
+ source: String!
608
+ sourceId: Int!
609
+ supplierName: String!
610
+ estimatedCO2: Float!
611
+ co2PerPassenger: Float!
612
+ co2PerItem: Float!
613
+ price: Float!
614
+ currency: CurrencyCode!
615
+ vehicleType: CabHireVehicleType!
616
+ tripDistanceMetres: Int
617
+ tripDurationSeconds: Int
618
+ departs: DateTime!
619
+ tmcPreferred: Boolean!
620
+ companyPreferred: Boolean!
621
+ officePreferred: Boolean!
622
+ tmcPreferredMessage: String
623
+ companyPreferredMessage: String
624
+ officePreferredMessage: String
625
+ unavailable: Boolean!
626
+ unavailableMessage: String
627
+ fromLocation: CabHireLocation!
628
+ toLocation: CabHireLocation!
629
+ vias: [CabHireLocation!]!
630
+ }
631
+
632
+ # CabHireVehicleType
633
+ enum CabHireVehicleType {
634
+ Any
635
+ DDACar
636
+ CoachLarge
637
+ CoachSmall
638
+ Economy
639
+ EconomyCoach
640
+ EconomyMPVSmall
641
+ EconomyMPVLarge
642
+ EconomySUV
643
+ ExecutiveCar
644
+ ExecutiveSUV
645
+ GreenCar
646
+ GreenExecutive
647
+ GreenSUV
648
+ SmallMPV
649
+ MediumMPV
650
+ LargeMPV
651
+ StandardCar
652
+ SUV
653
+ BlackCab
654
+ TaxiSUV
655
+ }
656
+
657
+ type BeforeCancellationInfo {
658
+ cancellable: Boolean!
659
+ info: String
660
+ cancellationFee: Float
661
+ }
662
+
663
+ type AfterCancellationInfo {
664
+ cancelled: Boolean!
665
+ cancellationFee: Float!
666
+ }
667
+
668
+ type CarHireVendor {
669
+ name: String
670
+ logo: String
671
+ }
672
+
673
+ type CarHireVehicle {
674
+ class: String
675
+ type: String
676
+ transmission: String
677
+ aircon: Boolean
678
+ description: String
679
+ images: [String]
680
+ }
681
+
682
+ type CarHireCharge {
683
+ label: String
684
+ amount: String
685
+ currencyCode: String
686
+ }
687
+
688
+ type CarHireAddress {
689
+ name: String
690
+ topLine: String
691
+ city: String
692
+ region: String
693
+ postCode: String
694
+ country: String
695
+ countryCode: String
696
+ stateCode: String
697
+ latitude: Float
698
+ longitude: Float
699
+ }
700
+
701
+ type CarHireCustom {
702
+ name: String
703
+ text: [String]
704
+ }
705
+
706
+ type CarHireIdentifiers {
707
+ locator: String
708
+ rph: String
709
+ status: String
710
+ vehType: String
711
+ locationCode: String
712
+ extendedLocationCode: String
713
+ locationName: String
714
+ dropOffLocation: String
715
+ pickupDateTime: DateTime
716
+ dropoffDateTime: DateTime
717
+ vendor: String
718
+ }
719
+
720
+ type CarHireDepotResult {
721
+ results: [CarHireDepot!]!
722
+ errors: [SearchError!]!
723
+ }
724
+
725
+ type CarHireDepot {
726
+ countryCode: String
727
+ locationCode: String
728
+ extendedLocationCode: String
729
+ vendorCode: String
730
+ latitude: Float
731
+ longitude: Float
732
+ vendor: String
733
+ addressLines: [String]
734
+ cityName: String
735
+ }
736
+
737
+ type CarHireDisplayRecord {
738
+ status: String
739
+ pickup: String
740
+ dropoff: String
741
+ vendor: CarHireVendor
742
+ vehicle: CarHireVehicle
743
+ charges: [CarHireCharge]
744
+ pickupLocation: CarHireAddress
745
+ returnLocation: CarHireAddress
746
+ additionalInfo: [CarHireAdditionalInfoItem]
747
+ }
748
+
749
+ type CarHireVehicleAvailibility {
750
+ source: String!
751
+ sourceId: Int!
752
+ identifiers: CarHireIdentifiers
753
+ displayRecord: CarHireDisplayRecord
754
+ tmcPreferred: Boolean!
755
+ companyPreferred: Boolean!
756
+ officePreferred: Boolean!
757
+ tmcPreferredMessage: String
758
+ companyPreferredMessage: String
759
+ officePreferredMessage: String
760
+ unavailable: Boolean!
761
+ unavailableMessage: String
762
+ co2PerPassenger: Float!
763
+ co2PerItem: Float!
764
+ }
765
+
766
+ type CarHireResult {
767
+ results: [CarHireVehicleAvailibility!]!
768
+ errors: [SearchError!]!
769
+ }
770
+
771
+ type CarHireAdditionalInfoItem {
772
+ name: String
773
+ text: [String]
774
+ json: String
775
+ custom: [CarHireCustom]
776
+ }
777
+
778
+ type CarHireDetailRequestResponse {
779
+ identifiers: CarHireIdentifiers
780
+ vendor: CarHireVendor
781
+ address: CarHireAddress
782
+ additionalInfo: [CarHireAdditionalInfoItem!]
783
+ }
784
+
785
+ type CarbonAllowance {
786
+ id: ID!
787
+ startOfPeriod: DateTime!
788
+ endOfPeriod: DateTime!
789
+ remainingCo2: Float!
790
+ totalCo2: Float!
791
+ carbonPolicySource: CarbonPolicySource!
792
+ periodConsumption: [CarbonConsumption!]!
793
+ company: Company
794
+ office: Office
795
+ user: User!
796
+ }
797
+
798
+ # CarbonPolicySource
799
+ enum CarbonPolicySource {
800
+ COMPANY
801
+ OFFICE
802
+ USER
803
+ }
804
+
805
+ type CarbonConsumption {
806
+ id: ID!
807
+ consumed: Float!
808
+ datetime: DateTime!
809
+ }
810
+
811
+ type City {
812
+ id: ID!
813
+ name: String!
814
+ country: String!
815
+ countryCode: String!
816
+ coordinates: GeoCoordinates!
817
+ continentName: String!
818
+ }
819
+
820
+ type ConfermaBlockedHotelsResult {
821
+ results: Boolean!
822
+ errors: [SearchError!]!
823
+ }
824
+
825
+ type ConfermaCard {
826
+ id: ID!
827
+ label: String
828
+ token: String
829
+ webInstanceId: String
830
+ company: ID
831
+ office: ID
832
+ user: ID
833
+ status: ConfermaCardStatus!
834
+ expires: String
835
+ cardHolderName: String
836
+ cardType: String
837
+ }
838
+
839
+ # Conferma Card Status can be either PENDING, ENABLED, DISABLED
840
+ enum ConfermaCardStatus {
841
+ Pending
842
+ Enabled
843
+ Disabled
844
+ }
845
+
846
+ type ConfermaCardResults {
847
+ id: ID!
848
+ label: String
849
+ token: String
850
+ cardHolderName: String
851
+ cardType: String
852
+ expires: Date
853
+ status: ConfermaCardStatus!
854
+ }
855
+
856
+ type ConfermaCreateCardResult {
857
+ results: String
858
+ errors: [SearchError!]!
859
+ }
860
+
861
+ type ConfermaCityLocation {
862
+ foundExact: Boolean!
863
+ suggestions: [ConfermaCityLocationOptions]
864
+ }
865
+
866
+ type ConfermaCityLocationOptions {
867
+ name: String!
868
+ countryCode: String!
869
+ latitude: Float
870
+ longitude: Float
871
+ }
872
+
873
+ type ConfermaOfficeAddress {
874
+ addressName: String
875
+ addressLine1: String
876
+ addressLine2: String
877
+ addressLine3: String
878
+ postalCode: String
879
+ city: String
880
+ countryCode: String
881
+ countryName: String
882
+ telephoneNumber: String
883
+ facsimileNumber: String
884
+ emailAddress: String
885
+ stateProvince: String
886
+ mobileNumber: String
887
+ }
888
+
889
+ type ConfermaOfficeHotels {
890
+ hotelId: Int
891
+ hotelName: String
892
+ isPreferred: Boolean
893
+ }
894
+
895
+ type ConfermaOfficeNames {
896
+ id: Int!
897
+ name: String!
898
+ }
899
+
900
+ type ConfermaOfficeInfo {
901
+ id: Int!
902
+ name: String
903
+ address: ConfermaOfficeAddress
904
+ closestAirport: String
905
+ closestTrainStation: String
906
+ longitude: String
907
+ latitude: String
908
+ closestHotels: [ConfermaOfficeHotels]
909
+ }
910
+
911
+ type ConfermaOfficeResult {
912
+ results: ConfermaOfficeInfo
913
+ errors: [SearchError!]!
914
+ }
915
+
916
+ type ConfermaOfficeNamesResult {
917
+ results: [ConfermaOfficeNames]
918
+ errors: [SearchError!]!
919
+ }
920
+
921
+ type HotelDeposit {
922
+ amount: Float!
923
+ policy: String
924
+ required: Boolean!
925
+ }
926
+
927
+ type HotelNight {
928
+ night: Int!
929
+ rate: Float!
930
+ info: String
931
+ date: Date!
932
+ }
933
+
934
+ type HotelPolicy {
935
+ cancellation: String
936
+ deposit: String
937
+ disabledAccess: Boolean
938
+ general: String
939
+ guarantee: String
940
+ refundAvailable: Boolean
941
+ }
942
+
943
+ type HotelTax {
944
+ included: Boolean!
945
+ rate: Float!
946
+ }
947
+
948
+ type HotelConversion {
949
+ rate: Float!
950
+ localCode: String!
951
+ localTotal: Float!
952
+ convertedCode: String!
953
+ convertedTotal: Float!
954
+ }
955
+
956
+ type HotelRoom {
957
+ roomId: String!
958
+ roomType: String
959
+ roomDescription: String
960
+ rateCode: String
961
+ rateDescription: String
962
+ total: Float!
963
+ currencyCode: String!
964
+ currencyConversion: HotelConversion
965
+ deposit: HotelDeposit
966
+ nights: [HotelNight!]!
967
+ policies: HotelPolicy!
968
+ tax: HotelTax!
969
+ acceptedCards: [HotelCard]
970
+ paymentTypes: [HotelPaymentType]
971
+ }
972
+
973
+ type HotelCard {
974
+ id: String!
975
+ name: String!
976
+ }
977
+
978
+ type HotelPaymentType {
979
+ type: String!
980
+ name: String
981
+ }
982
+
983
+ type HotelAvailability {
984
+ hotelId: String!
985
+ imageUrl: String!
986
+ rooms: [HotelRoom]
987
+ prpn: Float
988
+ currencyCode: String
989
+ isBusy: Boolean
990
+ source: String!
991
+ version: String!
992
+ }
993
+
994
+ type HotelSearchResult {
995
+ results: [HotelItinerary]
996
+ errors: [SearchError!]!
997
+ }
998
+
999
+ type HotelAvailabilityResult {
1000
+ results: HotelAvailability
1001
+ errors: [SearchError!]!
1002
+ }
1003
+
1004
+ type HotelMultiAvailabilityResult {
1005
+ results: [HotelAvailability]
1006
+ errors: [SearchError!]!
1007
+ }
1008
+
1009
+ type HotelLocation {
1010
+ distance: Float!
1011
+ distanceType: String!
1012
+ longitude: Float!
1013
+ latitude: Float!
1014
+ }
1015
+
1016
+ type HotelAddress {
1017
+ addressLine1: String
1018
+ addressLine2: String
1019
+ addressLine3: String
1020
+ postOrZipCode: String
1021
+ countryCode: String
1022
+ telephone: String
1023
+ facsimile: String
1024
+ }
1025
+
1026
+ type HotelTransport {
1027
+ type: String!
1028
+ name: String!
1029
+ code: String
1030
+ distance: Float!
1031
+ distanceType: String!
1032
+ longitude: Float
1033
+ latitude: Float
1034
+ }
1035
+
1036
+ type HotelPreferred {
1037
+ client: Boolean!
1038
+ consumer: Boolean!
1039
+ }
1040
+
1041
+ type HotelItinerary {
1042
+ id: String!
1043
+ name: String!
1044
+ imageUrl: String!
1045
+ group: String!
1046
+ location: HotelLocation!
1047
+ address: HotelAddress!
1048
+ transports: [HotelTransport]
1049
+ preferred: HotelPreferred!
1050
+ tags: [HotelTag]
1051
+ availableRates: HotelAvailability
1052
+ co2PerPassenger: Float!
1053
+ co2PerItem: Float!
1054
+ source: String!
1055
+ sourceId: Int!
1056
+ version: String!
1057
+ tmcPreferred: Boolean!
1058
+ companyPreferred: Boolean!
1059
+ officePreferred: Boolean!
1060
+ tmcPreferredMessage: String
1061
+ companyPreferredMessage: String
1062
+ officePreferredMessage: String
1063
+ unavailable: Boolean!
1064
+ unavailableMessage: String
1065
+ }
1066
+
1067
+ type HotelTag {
1068
+ name: String!
1069
+ display: String
1070
+ type: String!
1071
+ icon: String!
1072
+ }
1073
+
1074
+ type Country {
1075
+ id: ID!
1076
+ name: String!
1077
+ code: String!
1078
+ dialCode: String
1079
+ }
1080
+
1081
+ type FastTrackResult {
1082
+ results: [FastTrackQuote!]!
1083
+ errors: [SearchError!]!
1084
+ }
1085
+
1086
+ type FastTrackQuote {
1087
+ source: String!
1088
+ sourceId: Int!
1089
+ name: String!
1090
+ code: String!
1091
+ price: Float!
1092
+ currency: String!
1093
+ refundable: Boolean!
1094
+ terminal: Int
1095
+ images: [String!]!
1096
+ logo: String
1097
+ description: String
1098
+ importantInfo: String
1099
+ tmcPreferred: Boolean!
1100
+ companyPreferred: Boolean!
1101
+ officePreferred: Boolean!
1102
+ tmcPreferredMessage: String
1103
+ companyPreferredMessage: String
1104
+ officePreferredMessage: String
1105
+ unavailable: Boolean!
1106
+ unavailableMessage: String
1107
+ co2PerPassenger: Float!
1108
+ co2PerItem: Float!
1109
+ }
1110
+
1111
+ type FlightCarbonEmissions {
1112
+ amount: Float
1113
+ unit: String!
1114
+ }
1115
+
1116
+ type AirportDetail {
1117
+ iata: String
1118
+ icao: String
1119
+ latitude: Float
1120
+ longitude: Float
1121
+ altitude: Float
1122
+ state: String
1123
+ city: String
1124
+ road: String
1125
+ popularity: Int
1126
+ area: String
1127
+ location: String
1128
+ offset: String
1129
+ airportName: String
1130
+ countryName: String
1131
+ countryCode: String
1132
+ postcode: String
1133
+ }
1134
+
1135
+ type FlightCarrierDetail {
1136
+ name: String
1137
+ alias: String
1138
+ callsign: String
1139
+ iata: String
1140
+ icao: String
1141
+ logo: String
1142
+ banner: String
1143
+ popularity: Int
1144
+ }
1145
+
1146
+ type FlightAmount {
1147
+ description: String!
1148
+ amount: Float!
1149
+ currency: String!
1150
+ }
1151
+
1152
+ type FlightFareTotal {
1153
+ price: Float!
1154
+ tax: Float
1155
+ discount: Float
1156
+ currency: CurrencyCode!
1157
+ }
1158
+
1159
+ type FareConditionEntry {
1160
+ name: String!
1161
+ type: FareRuleType!
1162
+ currency: String!
1163
+ amount: Float!
1164
+ remark: String
1165
+ changeFeeInd: Boolean!
1166
+ cancelFeeInd: Boolean!
1167
+ refundableInd: Boolean!
1168
+ }
1169
+
1170
+ # FareRuleType
1171
+ enum FareRuleType {
1172
+ Cancellation
1173
+ Change
1174
+ NoShow
1175
+ Upgrade
1176
+ Other
1177
+ }
1178
+
1179
+ type FareConditions {
1180
+ cancellation: [FareConditionEntry]
1181
+ change: [FareConditionEntry]
1182
+ noShow: [FareConditionEntry]
1183
+ upgrade: [FareConditionEntry]
1184
+ other: [FareConditionEntry]
1185
+ }
1186
+
1187
+ type BaggageAllowance {
1188
+ type: BaggageType!
1189
+ qty: Int!
1190
+ maxKG: Float
1191
+ maxLBS: Float
1192
+ }
1193
+
1194
+ # Baggage Type i.e. HandCarry or CheckIn
1195
+ enum BaggageType {
1196
+ CheckIn
1197
+ HandCarry
1198
+ }
1199
+
1200
+ type FlightRevalidateResponse {
1201
+ valid: Boolean!
1202
+ available: Boolean!
1203
+ price: Float
1204
+ priceDifference: Float
1205
+ currency: String
1206
+ }
1207
+
1208
+ type FlightItinerary {
1209
+ uid: Int!
1210
+ passengerCount: Int!
1211
+ outboundFlights: [FlightJourney!]!
1212
+ inboundFlights: [FlightJourney]
1213
+ outboundTotalDuration: Int!
1214
+ outboundCarbonEmissions: FlightCarbonEmissions
1215
+ inboundTotalDuration: Int
1216
+ inboundCarbonEmissions: FlightCarbonEmissions
1217
+ taxes: [FlightAmount]
1218
+ discounts: [FlightAmount]
1219
+ total: FlightFareTotal!
1220
+ fareConditions: FareConditions
1221
+ baggageAllowance: [BaggageAllowance]
1222
+ additional: JSON
1223
+ source: String!
1224
+ sourceId: Int!
1225
+ version: String!
1226
+ tmcPreferred: Boolean!
1227
+ companyPreferred: Boolean!
1228
+ officePreferred: Boolean!
1229
+ tmcPreferredMessage: String
1230
+ companyPreferredMessage: String
1231
+ officePreferredMessage: String
1232
+ unavailable: Boolean!
1233
+ unavailableMessage: String
1234
+ co2PerItem: Float!
1235
+ co2PerPassenger: Float!
1236
+ }
1237
+
1238
+ type ItinerarySummary {
1239
+ order: Int!
1240
+ origin: String!
1241
+ destination: String!
1242
+ results: [FlightItinerary!]!
1243
+ minPrice: Float!
1244
+ maxPrice: Float!
1245
+ }
1246
+
1247
+ type FlightSpecialFareInfo {
1248
+ title: String!
1249
+ type: String!
1250
+ code: String
1251
+ supplierCode: String
1252
+ }
1253
+
1254
+ type FlightJourney {
1255
+ fareInfo: FlightSpecialFareInfo
1256
+ originAirport: String!
1257
+ originTerminal: String
1258
+ originAirportName: String
1259
+ originAirportDetail: AirportDetail!
1260
+ destinationAirport: String!
1261
+ destinationTerminal: String
1262
+ destinationAirportName: String
1263
+ destinationAirportDetail: AirportDetail!
1264
+ dateTimeDeparting: String!
1265
+ dateTimeDepartingUTC: String!
1266
+ dateTimeArriving: String!
1267
+ dateTimeArrivingUTC: String!
1268
+ marketingCarrier: String!
1269
+ marketingCarrierName: String
1270
+ marketingCarrierDetail: FlightCarrierDetail!
1271
+ marketingFlightNumber: String!
1272
+ operatingCarrier: String!
1273
+ operatingCarrierName: String
1274
+ operatingCarrierDetail: FlightCarrierDetail!
1275
+ operatingFlightNumber: String!
1276
+ equipmentCode: String!
1277
+ equipmentName: String!
1278
+ totalDuration: Int!
1279
+ seatsAvailable: Int
1280
+ cabinCode: String
1281
+ cabinClass: String
1282
+ marketingNames: [String]
1283
+ fareConditions: FareConditions!
1284
+ vendorCode: String
1285
+ stops: String
1286
+ bookingCode: String
1287
+ marriageGroup: Boolean
1288
+ fareBasisCode: String
1289
+ additional: JSON
1290
+ }
1291
+
1292
+ type FlightSearchResult {
1293
+ results: [SearchResult!]!
1294
+ errors: [SearchError!]!
1295
+ }
1296
+
1297
+ union SearchResult = FlightItinerary | ItinerarySummary
1298
+
1299
+ type MatchingFlights {
1300
+ LiteEconomy: [Int]
1301
+ EconomyRestricted: [Int]
1302
+ EconomyNoBags: [Int]
1303
+ Economy: [Int]
1304
+ PremiumEconomy: [Int]
1305
+ Business: [Int]
1306
+ PremiumBusiness: [Int]
1307
+ First: [Int]
1308
+ PremiumFirst: [Int]
1309
+ }
1310
+
1311
+ type GroupFlights {
1312
+ referenceID: Int!
1313
+ flightID: String!
1314
+ boundIndicator: Int!
1315
+ minPrice: Float!
1316
+ maxPrice: Float!
1317
+ flights: MatchingFlights!
1318
+ }
1319
+
1320
+ type FEFlightSearchResults {
1321
+ journeys: [FlightItinerary!]!
1322
+ multi: [ItinerarySummary!]!
1323
+ grouped: [GroupFlights!]
1324
+ }
1325
+
1326
+ type FlightSearchResultV2 {
1327
+ results: FEFlightSearchResults!
1328
+ errors: [SearchError!]!
1329
+ }
1330
+
1331
+ type IRLIdentifiers {
1332
+ transactionIdentifier: String
1333
+ signature: String
1334
+ journeyIdentifier: String
1335
+ provider: String
1336
+ fareIdentifier: String
1337
+ direction: String
1338
+ allowedWith: [IRLIdentifiers!]!
1339
+ singleOrReturn: String
1340
+ bookingRef: String
1341
+ }
1342
+
1343
+ type IRLSeat {
1344
+ location: String
1345
+ coach: String
1346
+ number: String
1347
+ direction: String
1348
+ position: String
1349
+ deck: String
1350
+ seatType: String
1351
+ seatSelection: String
1352
+ facilities: [String]
1353
+ note: String!
1354
+ }
1355
+
1356
+ type IRLTextValuePair {
1357
+ text: String!
1358
+ value: String
1359
+ }
1360
+
1361
+ type IRLSeatPreferenceType {
1362
+ name: String
1363
+ allowedValues: [String]
1364
+ }
1365
+
1366
+ type IRLSegment {
1367
+ id: String
1368
+ operator: String
1369
+ depart: String
1370
+ departDateTime: DateTime
1371
+ arrive: String
1372
+ arriveDateTime: DateTime
1373
+ reservableStatus: String
1374
+ seatPreferenceTypes: [IRLSeatPreferenceType!]
1375
+ seatPreferenceGroup: String
1376
+ seats: [IRLSeat!]
1377
+ }
1378
+
1379
+ type IRLTicket {
1380
+ price: Float
1381
+ type: String
1382
+ route: String
1383
+ segments: [IRLSegment!]
1384
+ numChildren: Int
1385
+ numAdults: Int
1386
+ }
1387
+
1388
+ type IRLDynamicCondition {
1389
+ name: String
1390
+ description: String
1391
+ }
1392
+
1393
+ type IRLTicketOption {
1394
+ identifiers: IRLIdentifiers
1395
+ type: String
1396
+ class: String
1397
+ singleOrReturn: String
1398
+ price: Float
1399
+ reservableStatus: String
1400
+ currency: String
1401
+ route: String
1402
+ routeCode: String
1403
+ tickets: [IRLTicket]
1404
+ }
1405
+
1406
+ type IRLPlusBus {
1407
+ originPlusBusNLC: String
1408
+ originStationNLC: String
1409
+ destinationPlusBusNLC: String
1410
+ destinationStationNLC: String
1411
+ }
1412
+
1413
+ type IRLTicketExtraIdentifiers {
1414
+ type: String
1415
+ location: String
1416
+ date: Date
1417
+ journeyId: String
1418
+ isOrigin: Boolean
1419
+ }
1420
+
1421
+ type IRLTicketExtra {
1422
+ identifiers: IRLTicketExtraIdentifiers
1423
+ type: String
1424
+ location: String
1425
+ date: Date
1426
+ description: String
1427
+ amount: Float
1428
+ adultAmount: Float
1429
+ childAmount: Float
1430
+ currency: String
1431
+ }
1432
+
1433
+ type IRLProvider {
1434
+ providerId: String
1435
+ name: String
1436
+ cheapestTicket: IRLTicketOption
1437
+ ticketOptions: [IRLTicketOption]
1438
+ bookedTicket: IRLTicketOption
1439
+ }
1440
+
1441
+ type IRLTraveller {
1442
+ status: IRLTravellerStatus
1443
+ id: String
1444
+ dob: Date
1445
+ railcard: String
1446
+ givenName: String
1447
+ surname: String
1448
+ nameTitle: String
1449
+ contactInfo: String
1450
+ deliveryEmailAddress: String
1451
+ fare: String
1452
+ }
1453
+
1454
+ # Rail Traveller Status
1455
+ enum IRLTravellerStatus {
1456
+ placeholder
1457
+ complete
1458
+ }
1459
+
1460
+ type IRLJourneyOption {
1461
+ identifiers: IRLIdentifiers
1462
+ travellers: [IRLTraveller!]
1463
+ from: String
1464
+ fromCode: String
1465
+ to: String
1466
+ toCode: String
1467
+ departDateTime: DateTime
1468
+ arriveDateTime: DateTime
1469
+ changes: String
1470
+ segments: [IRLSegment!]
1471
+ providers: [IRLProvider!]
1472
+ unsellable: String
1473
+ ticketExtras: [IRLTicketExtra!]
1474
+ plusBus: IRLPlusBus
1475
+ }
1476
+
1477
+ type IRLJourneyOptions {
1478
+ source: String!
1479
+ sourceId: Int!
1480
+ outbound: [IRLJourneyOption!]
1481
+ return: [IRLJourneyOption!]
1482
+ }
1483
+
1484
+ type IRLSearchResult {
1485
+ results: [IRLJourneyOptions!]!
1486
+ errors: [SearchError!]!
1487
+ }
1488
+
1489
+ type StationSearchRequestResponse {
1490
+ text: String!
1491
+ value: String!
1492
+ }
1493
+
1494
+ type IRLSupplierStation {
1495
+ id: ID!
1496
+ name: String!
1497
+ supplier: String!
1498
+ stationCode: String!
1499
+ nlcCode: Int
1500
+ trainlineCode: String
1501
+ trainlineUniqueCode: String
1502
+ locationDetails: LocationDetail
1503
+ }
1504
+
1505
+ type LoungeLocation {
1506
+ code: String!
1507
+ name: String!
1508
+ airport: String!
1509
+ terminal: Int
1510
+ address: String
1511
+ telephone: String
1512
+ fax: String
1513
+ directions: String
1514
+ introduction: String
1515
+ logo: String
1516
+ mobileImage: String
1517
+ furtherImages: [String]
1518
+ adultAge: Int
1519
+ childAge: Int
1520
+ infantAge: Int
1521
+ landside: Boolean!
1522
+ airside: Boolean!
1523
+ facilities: [String]
1524
+ openTime: String
1525
+ closeTime: String
1526
+ wifi: Boolean
1527
+ tv: Boolean
1528
+ snacks: Boolean
1529
+ phone: Boolean
1530
+ internet: Boolean
1531
+ childrenAllowed: Boolean
1532
+ disabledAccess: Boolean
1533
+ drinks: Boolean
1534
+ freeDrinks: Boolean
1535
+ freeFood: Boolean
1536
+ smokingPermitted: Boolean
1537
+ magazines: Boolean
1538
+ includedDrinks: [String]
1539
+ menuFood: String
1540
+ menuDrinks: String
1541
+ menuExtras: String
1542
+ whatsIncludedDrinks: String
1543
+ whatsIncludedExtras: String
1544
+ whatsIncludedFood: String
1545
+ groupInfo: String
1546
+ checkInInfo: String
1547
+ dressCode: String
1548
+ facilitiesInfo: String
1549
+ foodAndBeverage: String
1550
+ cancellationInfo: String
1551
+ amendmentsInfo: String
1552
+ misc: JSON
1553
+ }
1554
+
1555
+ type LoungeSearchResult {
1556
+ results: [LoungeQuote!]!
1557
+ errors: [SearchError!]!
1558
+ }
1559
+
1560
+ type LoungeQuote {
1561
+ source: String!
1562
+ sourceId: Int!
1563
+ name: String!
1564
+ code: String!
1565
+ price: Float!
1566
+ currency: CurrencyCode!
1567
+ lounge: LoungeLocation!
1568
+ tmcPreferred: Boolean!
1569
+ companyPreferred: Boolean!
1570
+ officePreferred: Boolean!
1571
+ tmcPreferredMessage: String
1572
+ companyPreferredMessage: String
1573
+ officePreferredMessage: String
1574
+ unavailable: Boolean!
1575
+ unavailableMessage: String
1576
+ co2PerPassenger: Float!
1577
+ co2PerItem: Float!
1578
+ }
1579
+
1580
+ type Message {
1581
+ id: ID!
1582
+ name: String!
1583
+ description: String
1584
+ config: JSON!
1585
+ target: String!
1586
+ key: String!
1587
+ }
1588
+
1589
+ type ParkingSearchResult {
1590
+ results: [ParkingQuote!]!
1591
+ errors: [SearchError!]!
1592
+ }
1593
+
1594
+ type ParkingLocation {
1595
+ code: String!
1596
+ name: String!
1597
+ airport: String!
1598
+ terminal: Int
1599
+ latitude: Float
1600
+ longitude: Float
1601
+ address: String
1602
+ distanceToAirport: Float
1603
+ onAirport: Boolean
1604
+ carParkedForYou: Boolean
1605
+ meetAndGreet: Boolean
1606
+ telephone: String
1607
+ fax: String
1608
+ directions: String
1609
+ arrivalProcedure: String
1610
+ departureProcedure: String
1611
+ maximumCarSize: String
1612
+ introduction: String
1613
+ information: String
1614
+ transferInformation: String
1615
+ transferOperatingTimes: String
1616
+ transferTime: Float
1617
+ logo: String
1618
+ defaultImage: String
1619
+ brandImage: String
1620
+ mobileImage: String
1621
+ furtherImages: [String]
1622
+ misc: JSON
1623
+ }
1624
+
1625
+ type ParkingQuote {
1626
+ source: String!
1627
+ sourceId: Int!
1628
+ carPark: ParkingLocation!
1629
+ requiredInfo: [String!]!
1630
+ price: Float!
1631
+ currency: CurrencyCode!
1632
+ misc: JSON
1633
+ tmcPreferred: Boolean!
1634
+ companyPreferred: Boolean!
1635
+ officePreferred: Boolean!
1636
+ tmcPreferredMessage: String
1637
+ companyPreferredMessage: String
1638
+ officePreferredMessage: String
1639
+ unavailable: Boolean!
1640
+ unavailableMessage: String
1641
+ co2PerPassenger: Float!
1642
+ co2PerItem: Float!
1643
+ }
1644
+
1645
+ type PostcodeDetails {
1646
+ postcode: String!
1647
+ latitude: Float
1648
+ longitude: Float
1649
+ eastings: Int
1650
+ northings: Int
1651
+ country: String
1652
+ europeanElectoralRegion: String
1653
+ primaryCareTrust: String
1654
+ region: String
1655
+ lsoa: String
1656
+ msoa: String
1657
+ incode: String
1658
+ outcode: String
1659
+ parliamentaryConstituency: String
1660
+ adminDistrict: String
1661
+ parish: String
1662
+ adminCounty: String
1663
+ adminWard: String
1664
+ ced: String
1665
+ ccg: String
1666
+ nuts: String
1667
+ }
1668
+
1669
+ type RailStation {
1670
+ id: ID!
1671
+ name: String!
1672
+ stationCode: String!
1673
+ nlcCode: Int
1674
+ trainlineCode: String
1675
+ trainlineUniqueCode: String
1676
+ locationDetails: LocationDetail
1677
+ }
1678
+
1679
+ type RailTicketQueue {
1680
+ id: String
1681
+ name: String
1682
+ type: String
1683
+ }
1684
+
1685
+ type RailAccount {
1686
+ id: String
1687
+ reference: String
1688
+ description: String
1689
+ isDefault: Boolean
1690
+ type: String
1691
+ }
1692
+
1693
+ type RailIdentifiers {
1694
+ transactionIdentifier: String
1695
+ journeyIdentifier: String
1696
+ provider: String
1697
+ fareIdentifier: String
1698
+ direction: String
1699
+ allowedWith: [RailIdentifiers!]!
1700
+ singleOrReturn: String
1701
+ bookingRef: String
1702
+ }
1703
+
1704
+ type RailSeat {
1705
+ location: String
1706
+ coach: String
1707
+ number: String
1708
+ direction: String
1709
+ position: String
1710
+ deck: String
1711
+ seatType: String
1712
+ seatSelection: String
1713
+ facilities: [String]
1714
+ note: String!
1715
+ }
1716
+
1717
+ type RailTextValuePair {
1718
+ text: String!
1719
+ value: String
1720
+ }
1721
+
1722
+ type RailSeatPreferenceType {
1723
+ name: String
1724
+ allowedValues: [String]
1725
+ }
1726
+
1727
+ type RailCallingPoint {
1728
+ stationName: String
1729
+ stationCode: String
1730
+ arrivalDateTime: DateTime
1731
+ departureDateTime: DateTime
1732
+ scheduledPlatform: String
1733
+ stationClassification: RailStationClassification
1734
+ stoppingPattern: RailStoppingPattern
1735
+ }
1736
+
1737
+ # Calling point station classification
1738
+ enum RailStationClassification {
1739
+ Origin
1740
+ Intermediate
1741
+ Destination
1742
+ Unknown
1743
+ }
1744
+
1745
+ # Calling point station stopping classification
1746
+ enum RailStoppingPattern {
1747
+ RequestStop
1748
+ PickUpOnly
1749
+ SetDownOnly
1750
+ Normal
1751
+ Passing
1752
+ Unknown
1753
+ }
1754
+
1755
+ type RailSegment {
1756
+ id: String
1757
+ operator: String
1758
+ depart: String
1759
+ departDateTime: DateTime
1760
+ arrive: String
1761
+ arriveDateTime: DateTime
1762
+ reservableStatus: String
1763
+ seatPreferenceTypes: [RailSeatPreferenceType!]
1764
+ seatPreferenceGroup: String
1765
+ seats: [RailSeat!]
1766
+ callingPoints: [RailCallingPoint!]
1767
+ }
1768
+
1769
+ type RailTicket {
1770
+ price: Float
1771
+ type: String
1772
+ route: String
1773
+ segments: [RailSegment!]
1774
+ numChildren: Int
1775
+ numAdults: Int
1776
+ }
1777
+
1778
+ type DynamicCondition {
1779
+ name: String
1780
+ description: String
1781
+ }
1782
+
1783
+ type RailTicketTerms {
1784
+ error: String
1785
+ ticketTypeCode: String
1786
+ trainOperatingCompanyCode: String
1787
+ ticketTypeName: String
1788
+ ticketTypeAltName: String
1789
+ ticketTypeClass: String
1790
+ reservationRule: String
1791
+ journeyType: String
1792
+ preBookingRequirement: String
1793
+ generalValidity: String
1794
+ validOutRule: String
1795
+ validReturnRule: String
1796
+ generalDiscount: String
1797
+ childDiscount: String
1798
+ railcardDiscount: String
1799
+ refundCancellationRule: String
1800
+ changeRule: String
1801
+ ticketTypeConditionsDescription: String
1802
+ journeyBreakRule: String
1803
+ availabilityRule: String
1804
+ todAvailable: String
1805
+ kioskAvailable: String
1806
+ startDate: String
1807
+ endDate: String
1808
+ dynamicConditions: [DynamicCondition]
1809
+ }
1810
+
1811
+ type ReferenceRailCardQualifier {
1812
+ name: String!
1813
+ code: String!
1814
+ }
1815
+
1816
+ type RailTicketOption {
1817
+ identifiers: RailIdentifiers
1818
+ type: String
1819
+ terms: RailTicketTerms
1820
+ class: String
1821
+ singleOrReturn: String
1822
+ price: Float
1823
+ reservableStatus: String
1824
+ currency: String
1825
+ route: String
1826
+ routeCode: String
1827
+ availableSeats: Int
1828
+ tickets: [RailTicket]
1829
+ ticketQueueList: [RailTicketQueue]
1830
+ accountsList: [RailAccount]
1831
+ }
1832
+
1833
+ type RailPlusBus {
1834
+ originPlusBusNLC: String
1835
+ originStationNLC: String
1836
+ destinationPlusBusNLC: String
1837
+ destinationStationNLC: String
1838
+ }
1839
+
1840
+ type RailTicketExtraIdentifiers {
1841
+ type: String
1842
+ location: String
1843
+ date: Date
1844
+ journeyId: String
1845
+ isOrigin: Boolean
1846
+ }
1847
+
1848
+ type RailTicketExtra {
1849
+ identifiers: RailTicketExtraIdentifiers
1850
+ type: String
1851
+ location: String
1852
+ date: Date
1853
+ description: String
1854
+ amount: Float
1855
+ adultAmount: Float
1856
+ childAmount: Float
1857
+ currency: String
1858
+ }
1859
+
1860
+ type RailProvider {
1861
+ providerId: String
1862
+ name: String
1863
+ cheapestTicket: RailTicketOption
1864
+ ticketOptions: [RailTicketOption]
1865
+ bookedTicket: RailTicketOption
1866
+ }
1867
+
1868
+ type RailTraveller {
1869
+ status: RailTravellerStatus
1870
+ id: String
1871
+ dob: Date
1872
+ railcard: String
1873
+ givenName: String
1874
+ surname: String
1875
+ nameTitle: String
1876
+ contactInfo: String
1877
+ deliveryEmailAddress: String
1878
+ fare: String
1879
+ }
1880
+
1881
+ # Rail Traveller Status
1882
+ enum RailTravellerStatus {
1883
+ placeholder
1884
+ complete
1885
+ }
1886
+
1887
+ type RailJourneyOption {
1888
+ identifiers: RailIdentifiers
1889
+ travellers: [RailTraveller!]
1890
+ co2PerItem: Float
1891
+ co2PerPassenger: Float
1892
+ from: String
1893
+ fromCode: String
1894
+ to: String
1895
+ toCode: String
1896
+ departDateTime: DateTime
1897
+ arriveDateTime: DateTime
1898
+ changes: String
1899
+ segments: [RailSegment!]
1900
+ providers: [RailProvider!]
1901
+ unsellable: String
1902
+ ticketExtras: [RailTicketExtra!]
1903
+ plusBus: RailPlusBus
1904
+ }
1905
+
1906
+ type RailJourneyOptions {
1907
+ source: String!
1908
+ sourceId: Int!
1909
+ outbound: [RailJourneyOption!]
1910
+ return: [RailJourneyOption!]
1911
+ }
1912
+
1913
+ type RailSearchResult {
1914
+ results: [RailJourneyOptions!]!
1915
+ errors: [SearchError!]!
1916
+ }
1917
+
1918
+ type RiskAlert {
1919
+ id: ID!
1920
+ title: String!
1921
+ description: String!
1922
+ breaking: Boolean!
1923
+ risk: RiskLevel!
1924
+ category: String!
1925
+ country: String!
1926
+ location: String
1927
+ latitude: Float
1928
+ longitude: Float
1929
+ startDate: DateTime!
1930
+ endDate: DateTime!
1931
+ receivedDate: DateTime!
1932
+ }
1933
+
1934
+ # Risk Level
1935
+ enum RiskLevel {
1936
+ Low
1937
+ Moderate
1938
+ Medium
1939
+ High
1940
+ Extreme
1941
+ }
1942
+
1943
+ type TravelRule {
1944
+ id: ID!
1945
+ name: String!
1946
+ description: String!
1947
+ appliesTo: ServiceType!
1948
+ applicationStage: ApplicationStage!
1949
+ }
1950
+
1951
+ # Application Stage
1952
+ enum ApplicationStage {
1953
+ BEFORE_SEARCH
1954
+ AFTER_SEARCH
1955
+ }
1956
+
1957
+ type TravelRuleAppliesTo {
1958
+ flight: [TravelRule]
1959
+ rail: [TravelRule]
1960
+ hotel: [TravelRule]
1961
+ car: [TravelRule]
1962
+ lounge: [TravelRule]
1963
+ fastTrack: [TravelRule]
1964
+ parking: [TravelRule]
1965
+ cab: [TravelRule]
1966
+ coach: [TravelRule]
1967
+ }
1968
+
1969
+ type TravelRulesCollection {
1970
+ tmc: [TravelRule!]!
1971
+ company: [TravelRule!]!
1972
+ offices: [TravelRule!]!
1973
+ companyGroups: [TravelRule!]!
1974
+ user: [TravelRule!]!
1975
+ all: [TravelRule!]!
1976
+ appliesTo: TravelRuleAppliesTo
1977
+ }
1978
+
1979
+ type Search {
1980
+ id: ID!
1981
+ name: String
1982
+ serviceType: ServiceType!
1983
+ searchArgs: JSON!
1984
+ createdAt: DateTime!
1985
+ updatedAt: DateTime!
1986
+ travelDate: DateTime
1987
+ travellers: [User!]
1988
+ }
1989
+
1990
+ type UIConfigCollection {
1991
+ tmc: [UIConfig!]!
1992
+ company: [UIConfig!]!
1993
+ office: [UIConfig!]!
1994
+ companyGroup: [UIConfig!]!
1995
+ user: [UIConfig!]!
1996
+ all: [UIConfig!]!
1997
+ }
1998
+
1999
+ type UIConfig {
2000
+ id: ID!
2001
+ name: String!
2002
+ target: UIConfigTarget!
2003
+ description: String
2004
+ config: JSON
2005
+ key: String!
2006
+ }
2007
+
2008
+ # UIConfig Target
2009
+ enum UIConfigTarget {
2010
+ ALL
2011
+ MOCK
2012
+ LIGHTNING
2013
+ APP
2014
+ }
2015
+
2016
+ input PaymentConfig {
2017
+ cspUrl: String
2018
+ agentId: String
2019
+ bookerId: String
2020
+ apiKey: String
2021
+ password: String
2022
+ server: String
2023
+ consumer: String
2024
+ clientId: String
2025
+ accountType: String
2026
+ accountValue: String
2027
+ tokenUrl: String
2028
+ tokenId: String
2029
+ consumerId: String
2030
+ tokenUsername: String
2031
+ tokenPassword: String
2032
+ }
2033
+
2034
+ input UserPassengerTypeInput {
2035
+ id: ID!
2036
+ passengerType: PassengerType!
2037
+ }
2038
+
2039
+ input BookingAddress {
2040
+ numberOrName: String!
2041
+ street: String!
2042
+ town: String!
2043
+ county: String!
2044
+ postcode: String!
2045
+ countryCode: String!
2046
+ }
2047
+
2048
+ input BookingPhoneNumber {
2049
+ countryCode: String!
2050
+ areaCode: String!
2051
+ number: String!
2052
+ extension: String
2053
+ }
2054
+
2055
+ input PaymentMethodInput {
2056
+ config: PaymentConfig
2057
+ }
2058
+
2059
+ input SupplementaryBookingInfo {
2060
+ basketItem: ID!
2061
+ userInfo: [UserInfo!]!
2062
+ address: BookingAddress
2063
+ phoneNumber: BookingPhoneNumber
2064
+ supplementaryInfo: JSON!
2065
+ paymentMethodDetails: JSON!
2066
+ }
2067
+
2068
+ input UserInfo {
2069
+ id: ID!
2070
+ address: BookingAddress
2071
+ phoneNumber: BookingPhoneNumber
2072
+ supplementaryInfo: JSON!
2073
+ }
2074
+
2075
+ input CabHireLocationInput {
2076
+ address: String!
2077
+ postcode: String!
2078
+ }
2079
+
2080
+ input CarHireAirportInput {
2081
+ pickupCode: String
2082
+ dropoffCode: String
2083
+ }
2084
+
2085
+ input CarHireCityInput {
2086
+ pickupCountryCode: String
2087
+ pickupCity: String
2088
+ dropoffCountryCode: String
2089
+ dropoffCity: String
2090
+ }
2091
+
2092
+ input CarHireLocationInput {
2093
+ pickupCountryCode: String
2094
+ pickupPostalCode: String
2095
+ dropoffCountryCode: String
2096
+ dropoffPostalCode: String
2097
+ }
2098
+
2099
+ input InputCarHireDepot {
2100
+ vendorCode: String
2101
+ pickupLocationCode: String
2102
+ pickupExtendedLocationCode: String
2103
+ dropOffLocationCode: String
2104
+ dropOffExtendedLocationCode: String
2105
+ }
2106
+
2107
+ input CarHireInputIdentifiers {
2108
+ locator: String
2109
+ rph: String
2110
+ status: String
2111
+ vehType: String
2112
+ locationCode: String
2113
+ extendedLocationCode: String
2114
+ locationName: String
2115
+ dropOffLocation: String
2116
+ pickupDateTime: DateTime
2117
+ dropoffDateTime: DateTime
2118
+ vendor: String
2119
+ }
2120
+
2121
+ input FlightPassengerObject {
2122
+ type: FlightPassengerType!
2123
+ firstName: String
2124
+ middleName: String
2125
+ surname: String
2126
+ dob: Date
2127
+ }
2128
+
2129
+ # FlightPassengerType
2130
+ enum FlightPassengerType {
2131
+ Infant
2132
+ Child
2133
+ Adult
2134
+ Senior
2135
+ }
2136
+
2137
+ input DestinationEntry {
2138
+ orig: String!
2139
+ dest: String!
2140
+ date: Date!
2141
+ }
2142
+
2143
+ input RailPlusBusAvail {
2144
+ origin: Boolean
2145
+ destination: Boolean
2146
+ }
2147
+
2148
+ type Query {
2149
+ getUserAddresses: [Address!]!
2150
+ searchAirlines(query: String!): AirlineResults!
2151
+ searchAirports(
2152
+ query: String!
2153
+ countryCode: String
2154
+ hasLounge: Boolean
2155
+ hasParking: Boolean
2156
+ hasFastTrack: Boolean
2157
+ excludeNonPublic: Boolean = true
2158
+ ): AirportResults!
2159
+ getUserBasket(id: ID!): Basket!
2160
+ getUserBaskets(
2161
+ user: ID
2162
+ traveller: ID
2163
+ basketStatus: BasketStatus
2164
+ createdAfter: DateTime
2165
+ createdBefore: DateTime
2166
+ bookedAfter: DateTime
2167
+ bookedBefore: DateTime
2168
+ dateOfTravelBefore: DateTime
2169
+ dateOfTravelAfter: DateTime
2170
+ basketItemBookingReference: String
2171
+ basketReference: String
2172
+ basketTitle: String
2173
+ ): [Basket!]!
2174
+ searchCabHire(
2175
+ departs: DateTime!
2176
+ fromLocation: CabHireLocationInput!
2177
+ toLocation: CabHireLocationInput!
2178
+ adults: Int!
2179
+ children: Int = 0
2180
+ infants: Int = 0
2181
+ vias: [CabHireLocationInput]
2182
+ vehicleType: CabHireVehicleType
2183
+ ): CabHireResult!
2184
+ searchUserCanBookFor(
2185
+ email: String
2186
+ userName: String
2187
+ employeeId: String
2188
+ ): [User!]!
2189
+ getCancellationInfo(basketItem: ID!): BeforeCancellationInfo!
2190
+ searchCarHire(
2191
+ airport: CarHireAirportInput
2192
+ city: CarHireCityInput
2193
+ location: CarHireLocationInput
2194
+ depot: InputCarHireDepot
2195
+ pickupDateTime: DateTime!
2196
+ dropoffDateTime: DateTime!
2197
+ vendor: String
2198
+ class: CarHireClass
2199
+ type: CarHireType
2200
+ transmission: CarHireTransmission
2201
+ aircon: Boolean
2202
+ estimatedDailyDistance: Float = 100
2203
+ estimatedDailyDistanceUnits: DistanceTypes = M
2204
+ ): CarHireResult!
2205
+ getCarHireDepots(
2206
+ latitude: Float!
2207
+ longitude: Float!
2208
+ vendorCode: String
2209
+ ): [CarHireDepot!]!
2210
+ carHireAvailabilityDetailRequest(
2211
+ locationDetails: CarHireInputIdentifiers!
2212
+ ): CarHireDetailRequestResponse!
2213
+ getUserCurrentCarbonAllowance(user: ID): CarbonAllowance
2214
+ searchCities(query: String!, countryCode: String): [City!]!
2215
+ confermaBlockClientHotels(
2216
+ hotelIds: [String!]!
2217
+ groupIds: [String!]!
2218
+ ): ConfermaBlockedHotelsResult!
2219
+ confermaUnblockClientHotels(
2220
+ hotelIds: [String!]!
2221
+ groupIds: [String!]!
2222
+ ): ConfermaBlockedHotelsResult!
2223
+ confermaBlockConsumerHotels(
2224
+ hotelIds: [String!]!
2225
+ groupIds: [String!]!
2226
+ ): ConfermaBlockedHotelsResult!
2227
+ confermaUnblockConsumerHotels(
2228
+ hotelIds: [String!]!
2229
+ groupIds: [String!]!
2230
+ ): ConfermaBlockedHotelsResult!
2231
+ confermaListCards(companyId: ID, officeId: ID): [ConfermaCardResults!]!
2232
+ searchConfermaCities(
2233
+ cityName: String!
2234
+ countryCode: String!
2235
+ ): ConfermaCityLocation!
2236
+ getConfermaOffice(officeId: Int!): ConfermaOfficeResult!
2237
+ getConfermaOfficeNames: ConfermaOfficeNamesResult!
2238
+ getConfermaQuicklist(countryCode: String!): HotelSearchResult!
2239
+ getCountries: [Country!]!
2240
+ getCOVIDMicrositeToken: String!
2241
+ searchFastTrack(
2242
+ arrivalDatetime: DateTime!
2243
+ locationCode: String!
2244
+ adults: Int!
2245
+ children: Int
2246
+ ): FastTrackResult!
2247
+ searchFlights(
2248
+ passengers: [FlightPassengerObject!]!
2249
+ originAirport: String
2250
+ destinationAirport: String
2251
+ multiDestination: [DestinationEntry]
2252
+ outboundDate: Date
2253
+ outboundDepartureTimeWindow: String
2254
+ outboundArrivalTimeWindow: String
2255
+ outboundCabinClass: [FlightCabinClass]
2256
+ returnTrip: Boolean!
2257
+ returnDate: Date
2258
+ returnDepartureTimeWindow: String
2259
+ returnArrivalTimeWindow: String
2260
+ returnCabinClass: [FlightCabinClass]
2261
+ fareType: FareType!
2262
+ requireFreeBag: Boolean
2263
+ maxConnections: Int
2264
+ preferredCarriers: [String]
2265
+ includeNearbyAirports: Boolean = true
2266
+ asSingles: Boolean
2267
+ ): FlightSearchResult!
2268
+ searchFlightsV2(
2269
+ passengers: [FlightPassengerObject!]!
2270
+ originAirport: String
2271
+ destinationAirport: String
2272
+ multiDestination: [DestinationEntry]
2273
+ outboundDate: Date
2274
+ outboundDepartureTimeWindow: String
2275
+ outboundArrivalTimeWindow: String
2276
+ outboundCabinClass: [FlightCabinClass]
2277
+ returnTrip: Boolean!
2278
+ returnDate: Date
2279
+ returnDepartureTimeWindow: String
2280
+ returnArrivalTimeWindow: String
2281
+ returnCabinClass: [FlightCabinClass]
2282
+ fareType: FareType!
2283
+ requireFreeBag: Boolean
2284
+ maxConnections: Int
2285
+ preferredCarriers: [String]
2286
+ includeNearbyAirports: Boolean = true
2287
+ asSingles: Boolean
2288
+ ): FlightSearchResultV2!
2289
+ searchEurostar(
2290
+ passengers: [FlightPassengerObject!]!
2291
+ originAirport: String
2292
+ destinationAirport: String
2293
+ multiDestination: [DestinationEntry]
2294
+ outboundDate: Date
2295
+ outboundDepartureTimeWindow: String
2296
+ outboundArrivalTimeWindow: String
2297
+ outboundCabinClass: [FlightCabinClass]
2298
+ returnTrip: Boolean!
2299
+ returnDate: Date
2300
+ returnDepartureTimeWindow: String
2301
+ returnArrivalTimeWindow: String
2302
+ returnCabinClass: [FlightCabinClass]
2303
+ fareType: FareType!
2304
+ requireFreeBag: Boolean
2305
+ maxConnections: Int
2306
+ preferredCarriers: [String]
2307
+ includeNearbyAirports: Boolean = true
2308
+ asSingles: Boolean
2309
+ ): FlightSearchResultV2!
2310
+ alive: Boolean!
2311
+ getHotelChains: [String!]!
2312
+ searchHotelChains(query: String!): [String!]!
2313
+ searchHotels(
2314
+ startDate: Date!
2315
+ endDate: Date!
2316
+ cityName: String
2317
+ postOrZipCode: String
2318
+ countryCode: String
2319
+ latitude: Float
2320
+ longitude: Float
2321
+ trainStationCode: String
2322
+ iata: String
2323
+ officeId: Int
2324
+ rooms: Int!
2325
+ adults: Int!
2326
+ children: Int
2327
+ currency: String!
2328
+ distanceType: DistanceTypes!
2329
+ distance: Int!
2330
+ maxResults: Int
2331
+ hotelName: String
2332
+ groupName: String
2333
+ ): HotelSearchResult!
2334
+ getHotelAvailability(
2335
+ hotel: String!
2336
+ startDate: Date!
2337
+ endDate: Date!
2338
+ currency: String!
2339
+ occupants: Int!
2340
+ rooms: Int
2341
+ ): HotelAvailabilityResult!
2342
+ getMultipleHotelsAvailability(
2343
+ hotel: [String!]!
2344
+ startDate: Date!
2345
+ endDate: Date!
2346
+ currency: String!
2347
+ occupants: Int!
2348
+ rooms: Int
2349
+ ): HotelMultiAvailabilityResult!
2350
+ getIRLSupplierStation(
2351
+ id: ID
2352
+ supplier: IRLSupplier
2353
+ code: String
2354
+ ): IRLSupplierStation
2355
+ searchIRLSupplierStations(
2356
+ query: String!
2357
+ supplier: IRLSupplier!
2358
+ ): [IRLSupplierStation!]!
2359
+ searchIRL(
2360
+ supplier: IRLSupplier!
2361
+ countryCode: String!
2362
+ journeyType: IRLJourneyType!
2363
+ class: IRLClass
2364
+ outboundDepartureDateTime: DateTime!
2365
+ departureLocationId: ID!
2366
+ arrivalLocationId: ID!
2367
+ adults: Int!
2368
+ children: Int
2369
+ returnDepartureDateTime: DateTime
2370
+ ): IRLSearchResult!
2371
+ searchLounges(
2372
+ locationCode: String!
2373
+ arrivalDatetime: DateTime!
2374
+ adults: Int!
2375
+ children: Int
2376
+ infants: Int = 0
2377
+ terminal: String
2378
+ ): LoungeSearchResult!
2379
+ getUserMIAutoSuggestValues(
2380
+ mi: ID!
2381
+ partialLabel: String!
2382
+ ): [ManagementInfoValue!]!
2383
+ validateUserMIFreeValue(mi: ID!, freeValue: String!): Boolean!
2384
+ validateBasketItemMI(basketItem: ID!): Boolean!
2385
+ getUserMessages(target: String): [Message!]!
2386
+ getUserCompanyOffices: [Office!]!
2387
+ searchParking(
2388
+ arrivalDatetime: DateTime!
2389
+ departDatetime: DateTime!
2390
+ locationCode: String!
2391
+ outFlightNumber: String
2392
+ recommended: Boolean
2393
+ onAirport: Boolean
2394
+ meetAndGreet: Boolean
2395
+ parkAndRide: Boolean
2396
+ parkAndStroll: Boolean
2397
+ carParkedForYou: Boolean
2398
+ terminal: String
2399
+ ): ParkingSearchResult!
2400
+ getUserPhoneNumbers: [PhoneNumber!]!
2401
+ getPostcodeDetails(postcode: String!): PostcodeDetails!
2402
+ postcodeAutoSuggest(postcode: String!): [String!]!
2403
+ searchPostcodes(query: String!): [PostcodeDetails!]!
2404
+ isPostcodeValid(postcode: String!): Boolean!
2405
+ getRailStation(id: ID, code: String): RailStation!
2406
+ searchRailStations(query: String!, countryCode: String): [RailStation!]!
2407
+ searchRail(
2408
+ countryCode: String!
2409
+ journeyType: RailJourneyType!
2410
+ class: RailClass
2411
+ outboundArrivalDateTime: DateTime
2412
+ outboundDepartureDateTime: DateTime
2413
+ departureLocationId: ID!
2414
+ arrivalLocationId: ID!
2415
+ adults: Int!
2416
+ children: Int
2417
+ returnArrivalDateTime: DateTime
2418
+ returnDepartureDateTime: DateTime
2419
+ railCardQualifiers: [String!]
2420
+ viaLocationId: ID
2421
+ extraTimeToChange: Boolean
2422
+ plusBusOut: RailPlusBusAvail
2423
+ plusBusReturn: RailPlusBusAvail
2424
+ ): RailSearchResult!
2425
+ getRailcards: [ReferenceRailCardQualifier!]!
2426
+ getRiskAlerts(
2427
+ minLevel: RiskLevel = Low
2428
+ maxLevel: RiskLevel = Extreme
2429
+ countryIsoCode: String
2430
+ airport: ID
2431
+ railStation: ID
2432
+ airportIata: String
2433
+ ): [RiskAlert!]!
2434
+ getUserTravelRules: TravelRulesCollection!
2435
+ getUserRecentSearches(serviceType: ServiceType): [Search!]!
2436
+ getUserFavouriteSearches(serviceType: ServiceType): [Search!]!
2437
+ getUserServices: [Service!]!
2438
+ getUserUIConfigs(target: String): UIConfigCollection!
2439
+ getUser(id: ID): User!
2440
+ }
2441
+
2442
+ # CarHireClass
2443
+ enum CarHireClass {
2444
+ Mini
2445
+ MiniElite
2446
+ Economy
2447
+ EconomyElite
2448
+ Compact
2449
+ CompactElite
2450
+ Intermediate
2451
+ IntermediateElite
2452
+ Standard
2453
+ StandardElite
2454
+ Fullsize
2455
+ FullsizeElite
2456
+ Premium
2457
+ PremiumElite
2458
+ Luxury
2459
+ LuxuryElite
2460
+ Oversize
2461
+ Special
2462
+ }
2463
+
2464
+ # CarHireType
2465
+ enum CarHireType {
2466
+ TwoToThreeDoor
2467
+ TwoOrFourDoor
2468
+ FourToFiveDoor
2469
+ WagonOrEstate
2470
+ PassengerVan
2471
+ Limousine
2472
+ Sport
2473
+ Convertible
2474
+ SUV
2475
+ OpenAirAllTerrain
2476
+ Special
2477
+ PickUpRegularCab
2478
+ PickUpExtendedCab
2479
+ SpecialOfferCar
2480
+ Coupe
2481
+ MonospaceEuropeanUse
2482
+ MotorHome
2483
+ TwoWheelVehicle
2484
+ Roadster
2485
+ }
2486
+
2487
+ # CarHireTransmission
2488
+ enum CarHireTransmission {
2489
+ Manual
2490
+ Auto
2491
+ }
2492
+
2493
+ # DistanceTypes
2494
+ enum DistanceTypes {
2495
+ K
2496
+ M
2497
+ }
2498
+
2499
+ # FlightCabinClass
2500
+ enum FlightCabinClass {
2501
+ Any
2502
+ LiteEconomy
2503
+ EconomyRestricted
2504
+ EconomyNoBags
2505
+ Economy
2506
+ PremiumEconomy
2507
+ Business
2508
+ PremiumBusiness
2509
+ First
2510
+ PremiumFirst
2511
+ }
2512
+
2513
+ # FareType
2514
+ enum FareType {
2515
+ Flexible
2516
+ Lowest
2517
+ Negotiated
2518
+ NonNegotiated
2519
+ Leisure
2520
+ RequestFareRules
2521
+ SelectAndPro
2522
+ }
2523
+
2524
+ # International Rail Supplier
2525
+ enum IRLSupplier {
2526
+ Renfe
2527
+ BeNe
2528
+ Ntv
2529
+ }
2530
+
2531
+ # Rail Journey Type
2532
+ enum IRLJourneyType {
2533
+ ReturnJourney
2534
+ SingleJourney
2535
+ }
2536
+
2537
+ # Rail Class
2538
+ enum IRLClass {
2539
+ All
2540
+ First
2541
+ Standard
2542
+ }
2543
+
2544
+ # Rail Journey Type
2545
+ enum RailJourneyType {
2546
+ ReturnJourney
2547
+ SingleJourney
2548
+ DualSingleJourney
2549
+ OpenReturnJourney
2550
+ }
2551
+
2552
+ # Rail Class
2553
+ enum RailClass {
2554
+ All
2555
+ First
2556
+ Standard
2557
+ }
2558
+
2559
+ type Mutation {
2560
+ saveUserAddress(
2561
+ description: String!
2562
+ numberOrName: String
2563
+ street: String
2564
+ town: String
2565
+ county: String
2566
+ postcode: String
2567
+ countryCode: String
2568
+ userPrimary: Boolean = false
2569
+ ): Address!
2570
+ deleteUserAddress(id: ID!): Boolean!
2571
+ setAddressAsUserPrimary(id: ID!): Address!
2572
+ sendBasketForApproval(basket: ID!): Basket!
2573
+ createBasket(title: String): Basket!
2574
+ deleteBasket(id: ID, reference: String): Boolean!
2575
+ updateBasketTitle(id: ID, reference: String, newTitle: String!): Basket!
2576
+ updateBasketNotes(id: ID, reference: String, notes: String!): Basket!
2577
+ addItemToBasket(
2578
+ basket: ID
2579
+ service: ID!
2580
+ detail: JSON!
2581
+ adults: Int!
2582
+ children: Int = 0
2583
+ infants: Int = 0
2584
+ price: Float!
2585
+ currency: CurrencyCode!
2586
+ searchQuery: JSON!
2587
+ quickAdd: Boolean = false
2588
+ users: [UserPassengerTypeInput]
2589
+ leadPassenger: ID
2590
+ co2PerItem: Float = 0
2591
+ co2PerPassenger: Float = 0
2592
+ outboundDate: DateTime!
2593
+ inboundDate: DateTime
2594
+ ): Basket!
2595
+ removeItemFromBasket(basketItem: ID!): Basket!
2596
+ removeItemsFromBasket(basketId: ID!, basketItems: [ID!]!): Basket!
2597
+ moveItemToADifferentBasket(basketItem: ID!, newBasket: ID!): Basket!
2598
+ addUsersToBasketItem(
2599
+ basketItem: ID!
2600
+ users: [UserPassengerTypeInput!]!
2601
+ ): Basket!
2602
+ removeUserFromBasketItem(basketItem: ID!, user: ID!): Basket!
2603
+ reopenBasket(id: ID!): Basket!
2604
+ setBasketItemLeadPassenger(id: ID!, user: ID!): Basket!
2605
+ bookBasket(id: ID!, supplementaryInfo: [SupplementaryBookingInfo!]!): Basket!
2606
+ cancelBooking(basketItem: ID!): AfterCancellationInfo!
2607
+ confermaCreateCard(label: String!): ConfermaCreateCardResult!
2608
+ confermaDeleteCard(id: ID!): Boolean!
2609
+ setBasketItemMIGroup(basketItem: ID!, group: String): Basket!
2610
+ setMIDefaultValue(mi: ID!, value: ID!): Boolean!
2611
+ setBasketItemMIValue(
2612
+ mi: ID!
2613
+ miValue: ID
2614
+ miFreeValue: String
2615
+ user: ID
2616
+ ): Basket!
2617
+ setBasketItemPaymentMethod(basketItem: ID!, paymentMethod: ID!): Basket!
2618
+ revalidateBasket(id: ID!): Basket!
2619
+ revalidateBasketItem(id: ID!): Basket!
2620
+ acceptNewPrice(id: ID!): Basket!
2621
+ saveFavouriteSearch(
2622
+ name: String!
2623
+ serviceType: ServiceType!
2624
+ searchArgs: JSON!
2625
+ ): [Search!]!
2626
+ saveRecentSearch(
2627
+ serviceType: ServiceType!
2628
+ searchArgs: JSON!
2629
+ travelDate: DateTime!
2630
+ travellers: [ID]
2631
+ ): [Search!]!
2632
+ deleteFavouriteSearch(id: ID!): Boolean!
2633
+ deleteRecentSearch(id: ID!): Boolean!
2634
+ setUserLanguage(language: ID): User!
2635
+ }