@qite/tide-client 2.0.21-preview.6 → 2.0.21-preview.7

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 (260) hide show
  1. package/build/index.d.ts +17 -14
  2. package/build/index.js +5877 -5513
  3. package/build/index.js.map +1 -1
  4. package/build/services/odata.service.d.ts +8 -2
  5. package/build/types/booking-v2/index.d.ts +3 -3
  6. package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
  7. package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
  8. package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
  9. package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
  10. package/build/types/booking-v2/request/booking-package-book-request.d.ts +30 -30
  11. package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
  12. package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
  13. package/build/types/booking-v2/request/booking-package-details-request.d.ts +29 -29
  14. package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
  15. package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
  16. package/build/types/booking-v2/request/booking-package-search-request.d.ts +31 -31
  17. package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
  18. package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
  19. package/build/types/booking-v2/request/flight-lines-request.d.ts +3 -3
  20. package/build/types/booking-v2/request/index.d.ts +24 -24
  21. package/build/types/booking-v2/request/packaging/packaging-accommodation-request.d.ts +36 -36
  22. package/build/types/booking-v2/request/packaging/packaging-request-base.d.ts +7 -7
  23. package/build/types/booking-v2/request/packaging/packaging-traject-request.d.ts +13 -13
  24. package/build/types/booking-v2/request/packaging/packaging-transfer-request.d.ts +14 -14
  25. package/build/types/booking-v2/request/prices-request.d.ts +17 -17
  26. package/build/types/booking-v2/request/reprice-and-issue-ticket-request.d.ts +3 -3
  27. package/build/types/booking-v2/request/selected-flight.d.ts +14 -14
  28. package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
  29. package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
  30. package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
  31. package/build/types/booking-v2/response/available-country.d.ts +5 -5
  32. package/build/types/booking-v2/response/available-flight.d.ts +4 -4
  33. package/build/types/booking-v2/response/base-price.d.ts +7 -7
  34. package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
  35. package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +33 -33
  36. package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
  37. package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -5
  38. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
  39. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -9
  40. package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  41. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
  42. package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  43. package/build/types/booking-v2/response/booking-package-item.d.ts +43 -43
  44. package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
  45. package/build/types/booking-v2/response/booking-price-details.d.ts +15 -15
  46. package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  47. package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
  48. package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
  49. package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
  50. package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
  51. package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
  52. package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
  53. package/build/types/booking-v2/response/changed-line.d.ts +4 -4
  54. package/build/types/booking-v2/response/elastic-result-hit.d.ts +8 -8
  55. package/build/types/booking-v2/response/elastic-result.d.ts +17 -17
  56. package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -11
  57. package/build/types/booking-v2/response/index.d.ts +37 -37
  58. package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +20 -20
  59. package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +25 -25
  60. package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +109 -110
  61. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +22 -18
  62. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +82 -82
  63. package/build/types/booking-v2/response/packaging/packaging-transaction.d.ts +4 -4
  64. package/build/types/booking-v2/response/tide-elastic-product.d.ts +67 -67
  65. package/build/types/booking-v2/response/tide-elastic-tag.d.ts +4 -4
  66. package/build/types/booking-v2/response/tide-response.d.ts +8 -8
  67. package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
  68. package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
  69. package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +2 -3
  70. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +2 -3
  71. package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
  72. package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
  73. package/build/types/booking-v2/shared/booking-mapping-info-item.d.ts +6 -6
  74. package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
  75. package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
  76. package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
  77. package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
  78. package/build/types/booking-v2/shared/booking-package-custom-field.d.ts +4 -4
  79. package/build/types/booking-v2/shared/booking-package-entry.d.ts +5 -5
  80. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  81. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  82. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  83. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +11 -11
  84. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  85. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  86. package/build/types/booking-v2/shared/booking-package-line.d.ts +20 -20
  87. package/build/types/booking-v2/shared/booking-package-option-mapping-info.d.ts +5 -5
  88. package/build/types/booking-v2/shared/booking-package-option.d.ts +49 -49
  89. package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +11 -11
  90. package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +9 -9
  91. package/build/types/booking-v2/shared/booking-package-pax.d.ts +40 -40
  92. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  93. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +25 -25
  94. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  95. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  96. package/build/types/booking-v2/shared/booking-package.d.ts +21 -21
  97. package/build/types/booking-v2/shared/index.d.ts +32 -32
  98. package/build/types/booking-v2/shared/itinerary.d.ts +46 -41
  99. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  100. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  101. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  102. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  103. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  104. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  105. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  106. package/build/types/company/agent/entry-totals.d.ts +7 -7
  107. package/build/types/company/agent/index.d.ts +3 -3
  108. package/build/types/company/agent-print-action-request.d.ts +11 -11
  109. package/build/types/company/agent-print-action.d.ts +6 -6
  110. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  111. package/build/types/company/index.d.ts +5 -5
  112. package/build/types/company/number-string-pair.d.ts +4 -4
  113. package/build/types/enums/allotment-kind.d.ts +4 -4
  114. package/build/types/enums/allotment-status.d.ts +5 -5
  115. package/build/types/enums/allotment-type.d.ts +5 -5
  116. package/build/types/enums/availability-search-type.d.ts +6 -6
  117. package/build/types/enums/custom-field-data-type.d.ts +9 -8
  118. package/build/types/enums/data-type.d.ts +14 -14
  119. package/build/types/enums/date-amount-type.d.ts +4 -4
  120. package/build/types/enums/dossier-type.d.ts +6 -6
  121. package/build/types/enums/duration-type.d.ts +6 -6
  122. package/build/types/enums/entry-line-flag.d.ts +6 -6
  123. package/build/types/enums/entry-line-status.d.ts +19 -19
  124. package/build/types/enums/entry-status.d.ts +8 -8
  125. package/build/types/enums/export-status.d.ts +5 -5
  126. package/build/types/enums/form-field-type.d.ts +12 -12
  127. package/build/types/enums/form-field-width.d.ts +8 -8
  128. package/build/types/enums/form-type.d.ts +4 -4
  129. package/build/types/enums/gender.d.ts +5 -5
  130. package/build/types/enums/height-type.d.ts +4 -4
  131. package/build/types/enums/index.d.ts +34 -34
  132. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  133. package/build/types/enums/meta-data-type.d.ts +10 -10
  134. package/build/types/enums/note-type.d.ts +8 -8
  135. package/build/types/enums/payment-type.d.ts +6 -6
  136. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  137. package/build/types/enums/price-chart-type.d.ts +4 -4
  138. package/build/types/enums/print-action-group.d.ts +10 -10
  139. package/build/types/enums/requirement-type.d.ts +5 -5
  140. package/build/types/enums/room-type.d.ts +8 -8
  141. package/build/types/enums/route-transport-type.d.ts +19 -19
  142. package/build/types/enums/sale-type.d.ts +4 -4
  143. package/build/types/enums/service-type.d.ts +33 -33
  144. package/build/types/enums/traject-node-type.d.ts +6 -6
  145. package/build/types/enums/unit-of-measure.d.ts +5 -5
  146. package/build/types/enums/vendor-type.d.ts +24 -24
  147. package/build/types/enums/weight-type.d.ts +4 -4
  148. package/build/types/hubs/index.d.ts +1 -1
  149. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  150. package/build/types/hubs/search/flight-search-request.d.ts +38 -37
  151. package/build/types/hubs/search/flight-search-response.d.ts +62 -62
  152. package/build/types/hubs/search/index.d.ts +3 -3
  153. package/build/types/index.d.ts +10 -10
  154. package/build/types/mollie/index.d.ts +2 -2
  155. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  156. package/build/types/mollie/mollie-payment.d.ts +3 -3
  157. package/build/types/odata/column.d.ts +8 -8
  158. package/build/types/odata/filter-item.d.ts +14 -14
  159. package/build/types/odata/index.d.ts +4 -4
  160. package/build/types/odata/odata-params.d.ts +3 -3
  161. package/build/types/odata/page-result.d.ts +5 -5
  162. package/build/types/offer/address-item.d.ts +30 -30
  163. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  164. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  165. package/build/types/offer/country-item.d.ts +5 -5
  166. package/build/types/offer/crm-contact-request.d.ts +36 -28
  167. package/build/types/offer/customer-request.d.ts +5 -5
  168. package/build/types/offer/dossier-default-product.d.ts +14 -14
  169. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  170. package/build/types/offer/dossier-view-result.d.ts +48 -48
  171. package/build/types/offer/entry-check-response.d.ts +8 -8
  172. package/build/types/offer/entry-light.d.ts +41 -41
  173. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  174. package/build/types/offer/entry-line-pax.d.ts +8 -8
  175. package/build/types/offer/entry-line.d.ts +73 -67
  176. package/build/types/offer/entry-price-line.d.ts +40 -40
  177. package/build/types/offer/entry-room.d.ts +6 -6
  178. package/build/types/offer/entry-room2.d.ts +5 -5
  179. package/build/types/offer/entry.d.ts +65 -55
  180. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  181. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  182. package/build/types/offer/flight-meta-data.d.ts +13 -13
  183. package/build/types/offer/flight-pool.d.ts +5 -5
  184. package/build/types/offer/geographical-region.d.ts +32 -32
  185. package/build/types/offer/index.d.ts +46 -46
  186. package/build/types/offer/item-tag.d.ts +3 -3
  187. package/build/types/offer/language.d.ts +5 -5
  188. package/build/types/offer/location-item.d.ts +5 -5
  189. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  190. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  191. package/build/types/offer/member-info.d.ts +14 -14
  192. package/build/types/offer/member-login-request.d.ts +5 -5
  193. package/build/types/offer/member-login-response.d.ts +3 -3
  194. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  195. package/build/types/offer/note.d.ts +16 -16
  196. package/build/types/offer/pax.d.ts +29 -29
  197. package/build/types/offer/payment.d.ts +20 -20
  198. package/build/types/offer/person-country-preference.d.ts +7 -7
  199. package/build/types/offer/person-location-preference.d.ts +7 -7
  200. package/build/types/offer/person-oord-preference.d.ts +7 -7
  201. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  202. package/build/types/offer/person-period-preference.d.ts +7 -7
  203. package/build/types/offer/person-region-preference.d.ts +7 -7
  204. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  205. package/build/types/offer/product-notification-result.d.ts +9 -9
  206. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  207. package/build/types/offer/publishing/index.d.ts +4 -4
  208. package/build/types/offer/publishing/mail.d.ts +15 -15
  209. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  210. package/build/types/offer/publishing/published-content.d.ts +10 -10
  211. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  212. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  213. package/build/types/shared/date-struct.d.ts +5 -5
  214. package/build/types/shared/index.d.ts +2 -2
  215. package/build/types/shared/ticket-number.d.ts +5 -5
  216. package/build/types/tide-client-config.d.ts +5 -5
  217. package/build/types/web/affiliate.d.ts +5 -5
  218. package/build/types/web/agent-allotment-item.d.ts +31 -31
  219. package/build/types/web/agent-allotment.d.ts +32 -32
  220. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  221. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  222. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  223. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  224. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  225. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  226. package/build/types/web/agent-dossier-item.d.ts +18 -18
  227. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  228. package/build/types/web/agent-dossier.d.ts +19 -19
  229. package/build/types/web/airport.d.ts +6 -6
  230. package/build/types/web/contact-form-request.d.ts +11 -11
  231. package/build/types/web/content-by-parent-request.d.ts +4 -4
  232. package/build/types/web/content-by-property-request.d.ts +9 -9
  233. package/build/types/web/content-by-template-request.d.ts +5 -5
  234. package/build/types/web/content-filter-request.d.ts +4 -4
  235. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  236. package/build/types/web/index.d.ts +26 -26
  237. package/build/types/web/locations-request.d.ts +3 -3
  238. package/build/types/web/portal.d.ts +8 -8
  239. package/build/types/web/style-sheet.d.ts +7 -7
  240. package/build/types/web/tide-location.d.ts +9 -9
  241. package/build/types/web/web-contact.d.ts +9 -9
  242. package/build/types/web/web-form.d.ts +68 -68
  243. package/build/types/web/web-opportunity-request.d.ts +9 -9
  244. package/build/types/web/website-configuration.d.ts +38 -38
  245. package/build/utils/api.d.ts +23 -3
  246. package/build/utils/booking-v2-client.d.ts +172 -28
  247. package/build/utils/common-client.d.ts +26 -3
  248. package/build/utils/json.d.ts +2 -2
  249. package/build/utils/member-client.d.ts +32 -7
  250. package/build/utils/mollie-client.d.ts +15 -7
  251. package/build/utils/packaging-client.d.ts +74 -18
  252. package/build/utils/search-client.d.ts +60 -24
  253. package/build/utils/service-token.d.ts +23 -16
  254. package/build/utils/web-agent-client.d.ts +98 -28
  255. package/build/utils/web-client.d.ts +136 -75
  256. package/build/utils/web-contact-client.d.ts +23 -11
  257. package/build/utils/web-content-client.d.ts +134 -89
  258. package/build/utils/web-file.d.ts +29 -20
  259. package/build/utils/web-form.d.ts +36 -20
  260. package/package.json +67 -67
@@ -1,37 +1,37 @@
1
- export * from "./available-country";
2
- export * from "./available-flight";
3
- export * from "./base-price";
4
- export * from "./bookable-dates";
5
- export * from "./booking-package-allotment-info";
6
- export * from "./booking-package-dossier";
7
- export * from "./booking-package-flight-combination";
8
- export * from "./booking-package-flight-info";
9
- export * from "./booking-package-flight-pool";
10
- export * from "./booking-package-flight-route";
11
- export * from "./booking-package-hotel-pool";
12
- export * from "./booking-package-item";
13
- export * from "./booking-price-detail";
14
- export * from "./booking-price-details";
15
- export * from "./booking-price-per-pax";
16
- export * from "./booking-product-notification";
17
- export * from "./booking-room-status";
18
- export * from "./booking-room-status-option";
19
- export * from "./booking-travel-agent";
20
- export * from "./booking-validity-line";
21
- export * from "./booking-voucher-result";
22
- export * from "./changed-line";
23
- export * from "./elastic-result";
24
- export * from "./elastic-result-hit";
25
- export * from "./tide-elastic-product";
26
- export * from "./tide-elastic-tag";
27
- export * from "./tide-response";
28
- export * from "./tour-codes-response";
29
- export * from "./transport-dates-response";
30
- export * from "./booking-package-entryline-flight-meta-data";
31
- export * from "./flight-lines-by-allotment";
32
- export * from "./packaging/packaging-base-response";
33
- export * from "./packaging/packaging-accommodation-response";
34
- export * from "./packaging/packaging-flight-response";
35
- export * from "./packaging/packaging-entry";
36
- export * from "./packaging/packaging-transaction";
37
- export * from "./packaging/packaging-traject-response";
1
+ export * from "./available-country";
2
+ export * from "./available-flight";
3
+ export * from "./base-price";
4
+ export * from "./bookable-dates";
5
+ export * from "./booking-package-allotment-info";
6
+ export * from "./booking-package-dossier";
7
+ export * from "./booking-package-flight-combination";
8
+ export * from "./booking-package-flight-info";
9
+ export * from "./booking-package-flight-pool";
10
+ export * from "./booking-package-flight-route";
11
+ export * from "./booking-package-hotel-pool";
12
+ export * from "./booking-package-item";
13
+ export * from "./booking-price-detail";
14
+ export * from "./booking-price-details";
15
+ export * from "./booking-price-per-pax";
16
+ export * from "./booking-product-notification";
17
+ export * from "./booking-room-status";
18
+ export * from "./booking-room-status-option";
19
+ export * from "./booking-travel-agent";
20
+ export * from "./booking-validity-line";
21
+ export * from "./booking-voucher-result";
22
+ export * from "./changed-line";
23
+ export * from "./elastic-result";
24
+ export * from "./elastic-result-hit";
25
+ export * from "./tide-elastic-product";
26
+ export * from "./tide-elastic-tag";
27
+ export * from "./tide-response";
28
+ export * from "./tour-codes-response";
29
+ export * from "./transport-dates-response";
30
+ export * from "./booking-package-entryline-flight-meta-data";
31
+ export * from "./flight-lines-by-allotment";
32
+ export * from "./packaging/packaging-base-response";
33
+ export * from "./packaging/packaging-accommodation-response";
34
+ export * from "./packaging/packaging-flight-response";
35
+ export * from "./packaging/packaging-entry";
36
+ export * from "./packaging/packaging-transaction";
37
+ export * from "./packaging/packaging-traject-response";
@@ -1,20 +1,20 @@
1
- import { PackagingBaseResponse } from "./packaging-base-response";
2
- export interface PackagingAccommodationResponse extends PackagingBaseResponse {
3
- rooms: PackageMainRoom[];
4
- contents: string;
5
- stars?: number;
6
- }
7
- export interface PackageMainRoom {
8
- options: PackageMainOption[];
9
- }
10
- export interface PackageMainOption {
11
- price: number;
12
- originalPrice: number;
13
- accommodationCode: string;
14
- accommodationName: string;
15
- regimeCode: string;
16
- regimeName: string;
17
- isSelected: boolean;
18
- guid: string;
19
- paxIds: number[];
20
- }
1
+ import { PackagingBaseResponse } from "./packaging-base-response";
2
+ export interface PackagingAccommodationResponse extends PackagingBaseResponse {
3
+ rooms: PackageMainRoom[];
4
+ contents: string;
5
+ stars?: number;
6
+ }
7
+ export interface PackageMainRoom {
8
+ options: PackageMainOption[];
9
+ }
10
+ export interface PackageMainOption {
11
+ price: number;
12
+ originalPrice: number;
13
+ accommodationCode: string;
14
+ accommodationName: string;
15
+ regimeCode: string;
16
+ regimeName: string;
17
+ isSelected: boolean;
18
+ guid: string;
19
+ paxIds: number[];
20
+ }
@@ -1,25 +1,25 @@
1
- export interface PackagingBaseResponse {
2
- code: string;
3
- name: string;
4
- serviceType: number;
5
- vendorType?: number | null;
6
- vendorId?: number | null;
7
- vendorConfigurationId?: number | null;
8
- countryId?: number | null;
9
- countryName: string;
10
- regionId?: number | null;
11
- regionName: string;
12
- oordId?: number | null;
13
- oordName: string;
14
- locationId?: number | null;
15
- locationName: string;
16
- latitude?: number | null;
17
- longitude?: number | null;
18
- price: number;
19
- averagePricePerPerson: number;
20
- originalPrice: number;
21
- originalAveragePricePerPerson: number;
22
- currencyCode: string;
23
- fromDate: string;
24
- toDate: string;
25
- }
1
+ export interface PackagingBaseResponse {
2
+ code: string;
3
+ name: string;
4
+ serviceType: number;
5
+ vendorType?: number | null;
6
+ vendorId?: number | null;
7
+ vendorConfigurationId?: number | null;
8
+ countryId?: number | null;
9
+ countryName: string;
10
+ regionId?: number | null;
11
+ regionName: string;
12
+ oordId?: number | null;
13
+ oordName: string;
14
+ locationId?: number | null;
15
+ locationName: string;
16
+ latitude?: number | null;
17
+ longitude?: number | null;
18
+ price: number;
19
+ averagePricePerPerson: number;
20
+ originalPrice: number;
21
+ originalAveragePricePerPerson: number;
22
+ currencyCode: string;
23
+ fromDate: string;
24
+ toDate: string;
25
+ }
@@ -1,110 +1,109 @@
1
- import { EntryStatus } from "../../../enums";
2
- import { BookingPackagePax, BookingPackagePaxFieldConfig } from "../../shared";
3
- import { PackagingTrajectNode } from "./packaging-traject-response";
4
- export interface PackagingEntry {
5
- language?: string;
6
- transactionId: string;
7
- magicLink?: string;
8
- dossierNumber: string;
9
- bookingDate?: string | null;
10
- price: number;
11
- depositAmount: number;
12
- pax: PackagingEntryPax[];
13
- rooms: PackagingEntryRoom[];
14
- paxFields: BookingPackagePaxFieldConfig[];
15
- lines: PackagingEntryLine[];
16
- trajectId?: number | null;
17
- trajectStartDate?: string | null;
18
- /** Optional traject stops the traveller took off the trip; book leaves them off the dossier's route. */
19
- removedTrajectNodeIds?: number[] | null;
20
- routeNodes?: PackagingTrajectNode[] | null;
21
- address: PackagingEntryAddress;
22
- status: EntryStatus;
23
- customStatusId?: number;
24
- redirectUrl?: string;
25
- returnPaymentUrl?: boolean;
26
- remarks?: string;
27
- }
28
- export interface PackagingEntryPax extends BookingPackagePax {
29
- }
30
- export interface PackagingEntryRoom {
31
- id: number;
32
- paxIds: number[];
33
- }
34
- export interface PackagingEntryLine {
35
- guid: string;
36
- parentGuid?: string | null;
37
- order: number;
38
- trajectNodeId?: number | null;
39
- from: string;
40
- to: string;
41
- moment: string;
42
- serviceType: number;
43
- productName: string;
44
- productCode: string;
45
- accommodationName?: string | null;
46
- accommodationCode?: string | null;
47
- regimeName?: string | null;
48
- regimeCode?: string | null;
49
- vendor?: number | null;
50
- externalVendorId?: number | null;
51
- groupKey: string;
52
- isActive: boolean;
53
- country?: IdName | null;
54
- region?: IdName | null;
55
- oord?: IdName | null;
56
- location?: IdName | null;
57
- longitude?: number | null;
58
- latitude?: number | null;
59
- pax: PackagingEntryLinePax[];
60
- flightInformation?: PackagingEntryLineFlightInformation | null;
61
- isChanged: boolean;
62
- }
63
- export interface PackagingEntryLinePax {
64
- paxId: number;
65
- room: number;
66
- order: number;
67
- }
68
- export interface PackagingEntryLineFlightInformation {
69
- pnr?: string | null;
70
- flightLines: PackagingEntryLineFlightLine[];
71
- }
72
- export interface PackagingEntryLineFlightLine {
73
- airlineCode: string;
74
- airlineDescription: string;
75
- operatingAirlineCode?: string | null;
76
- operatingAirlineDescription?: string | null;
77
- flightNumber: string;
78
- operatingFlightNumber?: string | null;
79
- departureDate: string;
80
- departureTime?: string | null;
81
- departureAirportCode: string;
82
- departureAirportDescription: string;
83
- arrivalDate: string;
84
- arrivalTime?: string | null;
85
- arrivalAirportCode: string;
86
- arrivalAirportDescription: string;
87
- durationInTicks?: number | null;
88
- }
89
- export interface IdName {
90
- id: number;
91
- name: string;
92
- localizations?: IdNameLocalization[];
93
- }
94
- export interface IdNameLocalization {
95
- languageId: number;
96
- languageCode: string;
97
- name: string;
98
- }
99
- export interface PackagingEntryAddress {
100
- street: string;
101
- houseNumber: string;
102
- box?: string | null;
103
- zipCode: string;
104
- place: string;
105
- country: string;
106
- travelAgentId?: number;
107
- phone?: string;
108
- email?: string;
109
- remarks?: string;
110
- }
1
+ import { EntryStatus } from "../../../enums";
2
+ import { BookingPackagePax, BookingPackagePaxFieldConfig } from "../../shared";
3
+ import { PackagingTrajectNode } from "./packaging-traject-response";
4
+ export interface PackagingEntry {
5
+ language?: string;
6
+ transactionId: string;
7
+ magicLink?: string;
8
+ dossierNumber: string;
9
+ bookingDate?: string | null;
10
+ price: number;
11
+ depositAmount: number;
12
+ pax: PackagingEntryPax[];
13
+ rooms: PackagingEntryRoom[];
14
+ paxFields: BookingPackagePaxFieldConfig[];
15
+ lines: PackagingEntryLine[];
16
+ trajectId?: number | null;
17
+ trajectStartDate?: string | null;
18
+ /** Optional traject stops the traveller took off the trip; book leaves them off the dossier's route. */
19
+ removedTrajectNodeIds?: number[] | null;
20
+ routeNodes?: PackagingTrajectNode[] | null;
21
+ address: PackagingEntryAddress;
22
+ status: EntryStatus;
23
+ customStatusId?: number;
24
+ redirectUrl?: string;
25
+ returnPaymentUrl?: boolean;
26
+ remarks?: string;
27
+ }
28
+ export interface PackagingEntryPax extends BookingPackagePax {}
29
+ export interface PackagingEntryRoom {
30
+ id: number;
31
+ paxIds: number[];
32
+ }
33
+ export interface PackagingEntryLine {
34
+ guid: string;
35
+ parentGuid?: string | null;
36
+ order: number;
37
+ trajectNodeId?: number | null;
38
+ from: string;
39
+ to: string;
40
+ moment: string;
41
+ serviceType: number;
42
+ productName: string;
43
+ productCode: string;
44
+ accommodationName?: string | null;
45
+ accommodationCode?: string | null;
46
+ regimeName?: string | null;
47
+ regimeCode?: string | null;
48
+ vendor?: number | null;
49
+ externalVendorId?: number | null;
50
+ groupKey: string;
51
+ isActive: boolean;
52
+ country?: IdName | null;
53
+ region?: IdName | null;
54
+ oord?: IdName | null;
55
+ location?: IdName | null;
56
+ longitude?: number | null;
57
+ latitude?: number | null;
58
+ pax: PackagingEntryLinePax[];
59
+ flightInformation?: PackagingEntryLineFlightInformation | null;
60
+ isChanged: boolean;
61
+ }
62
+ export interface PackagingEntryLinePax {
63
+ paxId: number;
64
+ room: number;
65
+ order: number;
66
+ }
67
+ export interface PackagingEntryLineFlightInformation {
68
+ pnr?: string | null;
69
+ flightLines: PackagingEntryLineFlightLine[];
70
+ }
71
+ export interface PackagingEntryLineFlightLine {
72
+ airlineCode: string;
73
+ airlineDescription: string;
74
+ operatingAirlineCode?: string | null;
75
+ operatingAirlineDescription?: string | null;
76
+ flightNumber: string;
77
+ operatingFlightNumber?: string | null;
78
+ departureDate: string;
79
+ departureTime?: string | null;
80
+ departureAirportCode: string;
81
+ departureAirportDescription: string;
82
+ arrivalDate: string;
83
+ arrivalTime?: string | null;
84
+ arrivalAirportCode: string;
85
+ arrivalAirportDescription: string;
86
+ durationInTicks?: number | null;
87
+ }
88
+ export interface IdName {
89
+ id: number;
90
+ name: string;
91
+ localizations?: IdNameLocalization[];
92
+ }
93
+ export interface IdNameLocalization {
94
+ languageId: number;
95
+ languageCode: string;
96
+ name: string;
97
+ }
98
+ export interface PackagingEntryAddress {
99
+ street: string;
100
+ houseNumber: string;
101
+ box?: string | null;
102
+ zipCode: string;
103
+ place: string;
104
+ country: string;
105
+ travelAgentId?: number;
106
+ phone?: string;
107
+ email?: string;
108
+ remarks?: string;
109
+ }
@@ -1,18 +1,22 @@
1
- import { FlightSearchResponseFlight, FlightSearchResponsePax, FlightSearchResponsePreset } from "../../../hubs";
2
- import { PackagingBaseResponse } from "./packaging-base-response";
3
- export interface PackagingFlightResponse extends PackagingBaseResponse {
4
- flightRouteId: string;
5
- travelClass?: number | null;
6
- airlineCode: string;
7
- airlineName: string;
8
- isLuggageIncluded: boolean;
9
- luggageInfo: string;
10
- outwardGuid: string;
11
- outward: FlightSearchResponseFlight;
12
- returnGuid: string;
13
- return: FlightSearchResponseFlight;
14
- source: number;
15
- provider: string;
16
- preset?: FlightSearchResponsePreset;
17
- paxes: FlightSearchResponsePax[];
18
- }
1
+ import {
2
+ FlightSearchResponseFlight,
3
+ FlightSearchResponsePax,
4
+ FlightSearchResponsePreset,
5
+ } from "../../../hubs";
6
+ import { PackagingBaseResponse } from "./packaging-base-response";
7
+ export interface PackagingFlightResponse extends PackagingBaseResponse {
8
+ flightRouteId: string;
9
+ travelClass?: number | null;
10
+ airlineCode: string;
11
+ airlineName: string;
12
+ isLuggageIncluded: boolean;
13
+ luggageInfo: string;
14
+ outwardGuid: string;
15
+ outward: FlightSearchResponseFlight;
16
+ returnGuid: string;
17
+ return: FlightSearchResponseFlight;
18
+ source: number;
19
+ provider: string;
20
+ preset?: FlightSearchResponsePreset;
21
+ paxes: FlightSearchResponsePax[];
22
+ }
@@ -1,82 +1,82 @@
1
- import { PackagingEntry } from "./packaging-entry";
2
- /**
3
- * A stored traject rendered for a given departure date and party.
4
- *
5
- * `entry` is an ordinary PackagingEntry — the same contract the magic-link flow returns — so
6
- * price-details, itinerary and book all accept it unchanged. `nodes` carries the per-node detail
7
- * an entry line has no room for (day grouping, images, preferred hotels, airports) and is joined
8
- * to the entry on `lineGuid`. Nodes that are not bookable services (connecting markers, points of
9
- * interest) appear in `nodes` with an empty `lineGuid` and have no matching entry line.
10
- */
11
- export interface PackagingTrajectResponse {
12
- entry: PackagingEntry;
13
- traject: PackagingTrajectInfo;
14
- nodes: PackagingTrajectNode[];
15
- }
16
- export interface PackagingTrajectInfo {
17
- id: number;
18
- name: string;
19
- imageUrl?: string | null;
20
- startDate: string;
21
- endDate: string;
22
- durationInDays: number;
23
- includeGroupHotelAlternatives: boolean;
24
- days: PackagingTrajectDay[];
25
- }
26
- export interface PackagingTrajectDay {
27
- /** Zero-based, as stored on the traject: day 0 is the departure day. */
28
- order: number;
29
- name: string;
30
- date: string;
31
- }
32
- export interface PackagingTrajectNode {
33
- lineGuid: string;
34
- lineGuids: string[];
35
- nodeId: number;
36
- dayOrder: number;
37
- order: number;
38
- name: string;
39
- description?: string | null;
40
- imageUrl?: string | null;
41
- serviceType: number;
42
- trajectNodeType: number;
43
- requirementType: number;
44
- contentSource: number;
45
- vendor?: number | null;
46
- externalVendorId?: number | null;
47
- code?: string | null;
48
- /** Try this hotel first; fall back to the cheapest available result when it has no availability. */
49
- preferredAccommodationCode?: string | null;
50
- preferredAccommodationName?: string | null;
51
- alternatives: PackagingTrajectAlternative[];
52
- departureAirportCode?: string | null;
53
- arrivalAirportCode?: string | null;
54
- distanceInKm?: number | null;
55
- duration: number;
56
- durationType: number;
57
- transportType?: number | null;
58
- moment?: string | null;
59
- /** A connecting node's first and last route point, between which its transfer is searched. */
60
- pickUp?: PackagingTrajectCoordinate | null;
61
- dropOff?: PackagingTrajectCoordinate | null;
62
- from: string;
63
- to: string;
64
- }
65
- export interface PackagingTrajectCoordinate {
66
- name?: string | null;
67
- latitude: number;
68
- longitude: number;
69
- }
70
- export interface PackagingTrajectAlternative {
71
- code: string;
72
- name: string;
73
- description?: string | null;
74
- imageUrl?: string | null;
75
- latitude?: number | null;
76
- longitude?: number | null;
77
- city?: string | null;
78
- contentSource: number;
79
- vendor?: number | null;
80
- externalVendorId?: number | null;
81
- isPreferred: boolean;
82
- }
1
+ import { PackagingEntry } from "./packaging-entry";
2
+ /**
3
+ * A stored traject rendered for a given departure date and party.
4
+ *
5
+ * `entry` is an ordinary PackagingEntry — the same contract the magic-link flow returns — so
6
+ * price-details, itinerary and book all accept it unchanged. `nodes` carries the per-node detail
7
+ * an entry line has no room for (day grouping, images, preferred hotels, airports) and is joined
8
+ * to the entry on `lineGuid`. Nodes that are not bookable services (connecting markers, points of
9
+ * interest) appear in `nodes` with an empty `lineGuid` and have no matching entry line.
10
+ */
11
+ export interface PackagingTrajectResponse {
12
+ entry: PackagingEntry;
13
+ traject: PackagingTrajectInfo;
14
+ nodes: PackagingTrajectNode[];
15
+ }
16
+ export interface PackagingTrajectInfo {
17
+ id: number;
18
+ name: string;
19
+ imageUrl?: string | null;
20
+ startDate: string;
21
+ endDate: string;
22
+ durationInDays: number;
23
+ includeGroupHotelAlternatives: boolean;
24
+ days: PackagingTrajectDay[];
25
+ }
26
+ export interface PackagingTrajectDay {
27
+ /** Zero-based, as stored on the traject: day 0 is the departure day. */
28
+ order: number;
29
+ name: string;
30
+ date: string;
31
+ }
32
+ export interface PackagingTrajectNode {
33
+ lineGuid: string;
34
+ lineGuids: string[];
35
+ nodeId: number;
36
+ dayOrder: number;
37
+ order: number;
38
+ name: string;
39
+ description?: string | null;
40
+ imageUrl?: string | null;
41
+ serviceType: number;
42
+ trajectNodeType: number;
43
+ requirementType: number;
44
+ contentSource: number;
45
+ vendor?: number | null;
46
+ externalVendorId?: number | null;
47
+ code?: string | null;
48
+ /** Try this hotel first; fall back to the cheapest available result when it has no availability. */
49
+ preferredAccommodationCode?: string | null;
50
+ preferredAccommodationName?: string | null;
51
+ alternatives: PackagingTrajectAlternative[];
52
+ departureAirportCode?: string | null;
53
+ arrivalAirportCode?: string | null;
54
+ distanceInKm?: number | null;
55
+ duration: number;
56
+ durationType: number;
57
+ transportType?: number | null;
58
+ moment?: string | null;
59
+ /** A connecting node's first and last route point, between which its transfer is searched. */
60
+ pickUp?: PackagingTrajectCoordinate | null;
61
+ dropOff?: PackagingTrajectCoordinate | null;
62
+ from: string;
63
+ to: string;
64
+ }
65
+ export interface PackagingTrajectCoordinate {
66
+ name?: string | null;
67
+ latitude: number;
68
+ longitude: number;
69
+ }
70
+ export interface PackagingTrajectAlternative {
71
+ code: string;
72
+ name: string;
73
+ description?: string | null;
74
+ imageUrl?: string | null;
75
+ latitude?: number | null;
76
+ longitude?: number | null;
77
+ city?: string | null;
78
+ contentSource: number;
79
+ vendor?: number | null;
80
+ externalVendorId?: number | null;
81
+ isPreferred: boolean;
82
+ }
@@ -1,4 +1,4 @@
1
- export interface PackagingTransaction {
2
- transactionId: string;
3
- transactionExpiration: string;
4
- }
1
+ export interface PackagingTransaction {
2
+ transactionId: string;
3
+ transactionExpiration: string;
4
+ }