@qite/tide-client 2.0.21-preview.1 → 2.0.22

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 (259) hide show
  1. package/build/index.d.ts +14 -17
  2. package/build/index.js +5495 -5867
  3. package/build/index.js.map +1 -1
  4. package/build/services/odata.service.d.ts +2 -8
  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 +26 -26
  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 +28 -28
  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 +30 -30
  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 +23 -23
  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/prices-request.d.ts +17 -17
  25. package/build/types/booking-v2/request/reprice-and-issue-ticket-request.d.ts +3 -3
  26. package/build/types/booking-v2/request/selected-flight.d.ts +14 -14
  27. package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
  28. package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
  29. package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
  30. package/build/types/booking-v2/response/available-country.d.ts +5 -5
  31. package/build/types/booking-v2/response/available-flight.d.ts +4 -4
  32. package/build/types/booking-v2/response/base-price.d.ts +7 -7
  33. package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
  34. package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +33 -33
  35. package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
  36. package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -5
  37. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
  38. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -9
  39. package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  40. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
  41. package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  42. package/build/types/booking-v2/response/booking-package-item.d.ts +43 -43
  43. package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
  44. package/build/types/booking-v2/response/booking-price-details.d.ts +15 -15
  45. package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  46. package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
  47. package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
  48. package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
  49. package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
  50. package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
  51. package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
  52. package/build/types/booking-v2/response/changed-line.d.ts +4 -4
  53. package/build/types/booking-v2/response/elastic-result-hit.d.ts +8 -8
  54. package/build/types/booking-v2/response/elastic-result.d.ts +17 -17
  55. package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -11
  56. package/build/types/booking-v2/response/index.d.ts +37 -37
  57. package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +20 -20
  58. package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +25 -25
  59. package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +105 -100
  60. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +18 -20
  61. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +74 -74
  62. package/build/types/booking-v2/response/packaging/packaging-transaction.d.ts +4 -4
  63. package/build/types/booking-v2/response/tide-elastic-product.d.ts +67 -67
  64. package/build/types/booking-v2/response/tide-elastic-tag.d.ts +4 -4
  65. package/build/types/booking-v2/response/tide-response.d.ts +8 -8
  66. package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
  67. package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
  68. package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +3 -2
  69. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
  70. package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
  71. package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
  72. package/build/types/booking-v2/shared/booking-mapping-info-item.d.ts +6 -6
  73. package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
  74. package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
  75. package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
  76. package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
  77. package/build/types/booking-v2/shared/booking-package-custom-field.d.ts +4 -4
  78. package/build/types/booking-v2/shared/booking-package-entry.d.ts +5 -5
  79. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  80. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  81. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  82. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +11 -10
  83. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  84. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  85. package/build/types/booking-v2/shared/booking-package-line.d.ts +17 -17
  86. package/build/types/booking-v2/shared/booking-package-option-mapping-info.d.ts +5 -5
  87. package/build/types/booking-v2/shared/booking-package-option.d.ts +49 -49
  88. package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +8 -11
  89. package/build/types/booking-v2/shared/booking-package-pax.d.ts +23 -40
  90. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  91. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +22 -22
  92. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  93. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  94. package/build/types/booking-v2/shared/booking-package.d.ts +16 -21
  95. package/build/types/booking-v2/shared/index.d.ts +31 -32
  96. package/build/types/booking-v2/shared/itinerary.d.ts +41 -41
  97. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  98. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  99. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  100. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  101. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  102. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  103. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  104. package/build/types/company/agent/entry-totals.d.ts +7 -7
  105. package/build/types/company/agent/index.d.ts +3 -3
  106. package/build/types/company/agent-print-action-request.d.ts +11 -11
  107. package/build/types/company/agent-print-action.d.ts +6 -6
  108. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  109. package/build/types/company/index.d.ts +5 -5
  110. package/build/types/company/number-string-pair.d.ts +4 -4
  111. package/build/types/enums/allotment-kind.d.ts +4 -4
  112. package/build/types/enums/allotment-status.d.ts +5 -5
  113. package/build/types/enums/allotment-type.d.ts +5 -5
  114. package/build/types/enums/availability-search-type.d.ts +6 -6
  115. package/build/types/enums/custom-field-data-type.d.ts +7 -9
  116. package/build/types/enums/data-type.d.ts +14 -14
  117. package/build/types/enums/date-amount-type.d.ts +4 -4
  118. package/build/types/enums/dossier-type.d.ts +6 -6
  119. package/build/types/enums/duration-type.d.ts +6 -6
  120. package/build/types/enums/entry-line-flag.d.ts +6 -6
  121. package/build/types/enums/entry-line-status.d.ts +19 -19
  122. package/build/types/enums/entry-status.d.ts +8 -8
  123. package/build/types/enums/export-status.d.ts +5 -5
  124. package/build/types/enums/form-field-type.d.ts +12 -12
  125. package/build/types/enums/form-field-width.d.ts +8 -8
  126. package/build/types/enums/form-type.d.ts +4 -4
  127. package/build/types/enums/gender.d.ts +5 -5
  128. package/build/types/enums/height-type.d.ts +4 -4
  129. package/build/types/enums/index.d.ts +34 -34
  130. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  131. package/build/types/enums/meta-data-type.d.ts +10 -10
  132. package/build/types/enums/note-type.d.ts +8 -8
  133. package/build/types/enums/payment-type.d.ts +6 -6
  134. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  135. package/build/types/enums/price-chart-type.d.ts +4 -4
  136. package/build/types/enums/print-action-group.d.ts +10 -10
  137. package/build/types/enums/requirement-type.d.ts +5 -5
  138. package/build/types/enums/room-type.d.ts +8 -8
  139. package/build/types/enums/route-transport-type.d.ts +19 -19
  140. package/build/types/enums/sale-type.d.ts +4 -4
  141. package/build/types/enums/service-type.d.ts +33 -33
  142. package/build/types/enums/traject-node-type.d.ts +6 -6
  143. package/build/types/enums/unit-of-measure.d.ts +5 -5
  144. package/build/types/enums/vendor-type.d.ts +24 -24
  145. package/build/types/enums/weight-type.d.ts +4 -4
  146. package/build/types/hubs/index.d.ts +1 -1
  147. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  148. package/build/types/hubs/search/flight-search-request.d.ts +32 -32
  149. package/build/types/hubs/search/flight-search-response.d.ts +59 -53
  150. package/build/types/hubs/search/index.d.ts +3 -3
  151. package/build/types/index.d.ts +10 -10
  152. package/build/types/mollie/index.d.ts +2 -2
  153. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  154. package/build/types/mollie/mollie-payment.d.ts +3 -3
  155. package/build/types/odata/column.d.ts +8 -8
  156. package/build/types/odata/filter-item.d.ts +14 -14
  157. package/build/types/odata/index.d.ts +4 -4
  158. package/build/types/odata/odata-params.d.ts +3 -3
  159. package/build/types/odata/page-result.d.ts +5 -5
  160. package/build/types/offer/address-item.d.ts +30 -30
  161. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  162. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  163. package/build/types/offer/country-item.d.ts +5 -5
  164. package/build/types/offer/crm-contact-request.d.ts +28 -36
  165. package/build/types/offer/customer-request.d.ts +5 -5
  166. package/build/types/offer/dossier-default-product.d.ts +14 -14
  167. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  168. package/build/types/offer/dossier-view-result.d.ts +48 -48
  169. package/build/types/offer/entry-check-response.d.ts +8 -8
  170. package/build/types/offer/entry-light.d.ts +41 -41
  171. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  172. package/build/types/offer/entry-line-pax.d.ts +8 -8
  173. package/build/types/offer/entry-line.d.ts +67 -73
  174. package/build/types/offer/entry-price-line.d.ts +40 -40
  175. package/build/types/offer/entry-room.d.ts +6 -6
  176. package/build/types/offer/entry-room2.d.ts +5 -5
  177. package/build/types/offer/entry.d.ts +55 -65
  178. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  179. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  180. package/build/types/offer/flight-meta-data.d.ts +13 -13
  181. package/build/types/offer/flight-pool.d.ts +5 -5
  182. package/build/types/offer/geographical-region.d.ts +32 -32
  183. package/build/types/offer/index.d.ts +46 -46
  184. package/build/types/offer/item-tag.d.ts +3 -3
  185. package/build/types/offer/language.d.ts +5 -5
  186. package/build/types/offer/location-item.d.ts +5 -5
  187. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  188. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  189. package/build/types/offer/member-info.d.ts +14 -14
  190. package/build/types/offer/member-login-request.d.ts +5 -5
  191. package/build/types/offer/member-login-response.d.ts +3 -3
  192. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  193. package/build/types/offer/note.d.ts +16 -16
  194. package/build/types/offer/pax.d.ts +29 -29
  195. package/build/types/offer/payment.d.ts +20 -20
  196. package/build/types/offer/person-country-preference.d.ts +7 -7
  197. package/build/types/offer/person-location-preference.d.ts +7 -7
  198. package/build/types/offer/person-oord-preference.d.ts +7 -7
  199. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  200. package/build/types/offer/person-period-preference.d.ts +7 -7
  201. package/build/types/offer/person-region-preference.d.ts +7 -7
  202. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  203. package/build/types/offer/product-notification-result.d.ts +9 -9
  204. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  205. package/build/types/offer/publishing/index.d.ts +4 -4
  206. package/build/types/offer/publishing/mail.d.ts +15 -15
  207. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  208. package/build/types/offer/publishing/published-content.d.ts +10 -10
  209. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  210. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  211. package/build/types/shared/date-struct.d.ts +5 -5
  212. package/build/types/shared/index.d.ts +2 -2
  213. package/build/types/shared/ticket-number.d.ts +5 -5
  214. package/build/types/tide-client-config.d.ts +5 -5
  215. package/build/types/web/affiliate.d.ts +5 -5
  216. package/build/types/web/agent-allotment-item.d.ts +31 -31
  217. package/build/types/web/agent-allotment.d.ts +32 -32
  218. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  219. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  220. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  221. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  222. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  223. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  224. package/build/types/web/agent-dossier-item.d.ts +18 -18
  225. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  226. package/build/types/web/agent-dossier.d.ts +19 -19
  227. package/build/types/web/airport.d.ts +6 -6
  228. package/build/types/web/contact-form-request.d.ts +11 -11
  229. package/build/types/web/content-by-parent-request.d.ts +4 -4
  230. package/build/types/web/content-by-property-request.d.ts +9 -9
  231. package/build/types/web/content-by-template-request.d.ts +5 -5
  232. package/build/types/web/content-filter-request.d.ts +4 -4
  233. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  234. package/build/types/web/index.d.ts +26 -26
  235. package/build/types/web/locations-request.d.ts +3 -3
  236. package/build/types/web/portal.d.ts +8 -8
  237. package/build/types/web/style-sheet.d.ts +7 -7
  238. package/build/types/web/tide-location.d.ts +9 -9
  239. package/build/types/web/web-contact.d.ts +9 -9
  240. package/build/types/web/web-form.d.ts +68 -68
  241. package/build/types/web/web-opportunity-request.d.ts +9 -9
  242. package/build/types/web/website-configuration.d.ts +36 -37
  243. package/build/utils/api.d.ts +3 -23
  244. package/build/utils/booking-v2-client.d.ts +28 -172
  245. package/build/utils/common-client.d.ts +3 -26
  246. package/build/utils/json.d.ts +2 -2
  247. package/build/utils/member-client.d.ts +7 -32
  248. package/build/utils/mollie-client.d.ts +7 -15
  249. package/build/utils/packaging-client.d.ts +12 -64
  250. package/build/utils/search-client.d.ts +24 -60
  251. package/build/utils/service-token.d.ts +16 -23
  252. package/build/utils/web-agent-client.d.ts +28 -98
  253. package/build/utils/web-client.d.ts +75 -136
  254. package/build/utils/web-contact-client.d.ts +11 -23
  255. package/build/utils/web-content-client.d.ts +89 -134
  256. package/build/utils/web-file.d.ts +20 -29
  257. package/build/utils/web-form.d.ts +20 -36
  258. package/package.json +67 -67
  259. package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +0 -9
@@ -1,8 +1,8 @@
1
- export interface TideResponse<T> {
2
- payload: T;
3
- errorCode?: number;
4
- errorMessage?: string;
5
- errorDetails?: {
6
- [name: string]: string;
7
- };
8
- }
1
+ export interface TideResponse<T> {
2
+ payload: T;
3
+ errorCode?: number;
4
+ errorMessage?: string;
5
+ errorDetails?: {
6
+ [name: string]: string;
7
+ };
8
+ }
@@ -1,3 +1,3 @@
1
- export interface TourCodesResponse {
2
- tourCodes: string[];
3
- }
1
+ export interface TourCodesResponse {
2
+ tourCodes: string[];
3
+ }
@@ -1,4 +1,4 @@
1
- export interface TransportDatesResponse {
2
- outwardDates: string[];
3
- returnDates: string[];
4
- }
1
+ export interface TransportDatesResponse {
2
+ outwardDates: string[];
3
+ returnDates: string[];
4
+ }
@@ -1,2 +1,3 @@
1
- import { PerPackageOption } from "./per-package-option";
2
- export interface AirlineBookingPackageOption extends PerPackageOption {}
1
+ import { PerPackageOption } from "./per-package-option";
2
+ export interface AirlineBookingPackageOption extends PerPackageOption {
3
+ }
@@ -1,2 +1,3 @@
1
- import { PerPackageOption } from "./per-package-option";
2
- export interface AirportBookingPackageOption extends PerPackageOption {}
1
+ import { PerPackageOption } from "./per-package-option";
2
+ export interface AirportBookingPackageOption extends PerPackageOption {
3
+ }
@@ -1,6 +1,6 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- export interface BookingAirlineGroup<T> {
3
- label: string;
4
- flightIds: string[];
5
- groups: BookingOptionGroup<T>[];
6
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ export interface BookingAirlineGroup<T> {
3
+ label: string;
4
+ flightIds: string[];
5
+ groups: BookingOptionGroup<T>[];
6
+ }
@@ -1,6 +1,6 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- export interface BookingAirportGroup<T> {
3
- label: string;
4
- flightIds: string[];
5
- groups: BookingOptionGroup<T>[];
6
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ export interface BookingAirportGroup<T> {
3
+ label: string;
4
+ flightIds: string[];
5
+ groups: BookingOptionGroup<T>[];
6
+ }
@@ -1,6 +1,6 @@
1
- export interface BookingMappingInfoItem {
2
- parentProductCode: string;
3
- parentCode: string;
4
- childProductCode: string;
5
- childCode: string;
6
- }
1
+ export interface BookingMappingInfoItem {
2
+ parentProductCode: string;
3
+ parentCode: string;
4
+ childProductCode: string;
5
+ childCode: string;
6
+ }
@@ -1,5 +1,5 @@
1
- export interface BookingOptionGroup<T> {
2
- name: string;
3
- title: string;
4
- options: T[];
5
- }
1
+ export interface BookingOptionGroup<T> {
2
+ name: string;
3
+ title: string;
4
+ options: T[];
5
+ }
@@ -1,13 +1,13 @@
1
- import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
- import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
- import { BookingAirlineGroup } from "./booking-airline-group";
4
- import { BookingAirportGroup } from "./booking-airport-group";
5
- import { BookingOptionGroup } from "./booking-option-group";
6
- import { PerPaxPackageOption } from "./per-pax-package-option";
7
- export interface BookingOptionPax {
8
- id: number;
9
- paxName: string;
10
- groups: BookingOptionGroup<PerPaxPackageOption>[];
11
- airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
12
- airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
13
- }
1
+ import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
+ import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
+ import { BookingAirlineGroup } from "./booking-airline-group";
4
+ import { BookingAirportGroup } from "./booking-airport-group";
5
+ import { BookingOptionGroup } from "./booking-option-group";
6
+ import { PerPaxPackageOption } from "./per-pax-package-option";
7
+ export interface BookingOptionPax {
8
+ id: number;
9
+ paxName: string;
10
+ groups: BookingOptionGroup<PerPaxPackageOption>[];
11
+ airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
12
+ airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
13
+ }
@@ -1,12 +1,12 @@
1
- import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
- import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
- import { BookingAirlineGroup } from "./booking-airline-group";
4
- import { BookingAirportGroup } from "./booking-airport-group";
5
- import { BookingOptionGroup } from "./booking-option-group";
6
- import { PerUnitPackageOption } from "./per-unit-package-option";
7
- export interface BookingOptionUnit {
8
- index: number;
9
- groups: BookingOptionGroup<PerUnitPackageOption>[];
10
- airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
11
- airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
12
- }
1
+ import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
+ import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
+ import { BookingAirlineGroup } from "./booking-airline-group";
4
+ import { BookingAirportGroup } from "./booking-airport-group";
5
+ import { BookingOptionGroup } from "./booking-option-group";
6
+ import { PerUnitPackageOption } from "./per-unit-package-option";
7
+ export interface BookingOptionUnit {
8
+ index: number;
9
+ groups: BookingOptionGroup<PerUnitPackageOption>[];
10
+ airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
11
+ airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
12
+ }
@@ -1,9 +1,9 @@
1
- export interface BookingPackageAvailability {
2
- code: string;
3
- count: number;
4
- fromDate: string;
5
- toDate: string;
6
- tourCode: string;
7
- isExternal: boolean;
8
- onRequestPossible: boolean;
9
- }
1
+ export interface BookingPackageAvailability {
2
+ code: string;
3
+ count: number;
4
+ fromDate: string;
5
+ toDate: string;
6
+ tourCode: string;
7
+ isExternal: boolean;
8
+ onRequestPossible: boolean;
9
+ }
@@ -1,4 +1,4 @@
1
- export interface BookingPackageCustomField {
2
- customFieldConfigurationId: number;
3
- value: string;
4
- }
1
+ export interface BookingPackageCustomField {
2
+ customFieldConfigurationId: number;
3
+ value: string;
4
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackage, EntryLight } from "../..";
2
- export interface BookingPackageWithEntry {
3
- bookingPackage: BookingPackage;
4
- entry: EntryLight;
5
- }
1
+ import { BookingPackage, EntryLight } from "../..";
2
+ export interface BookingPackageWithEntry {
3
+ bookingPackage: BookingPackage;
4
+ entry: EntryLight;
5
+ }
@@ -1,18 +1,18 @@
1
- export interface BookingPackageFlightMetaDataLine {
2
- number: string;
3
- departureDate: string;
4
- departureAirport: string;
5
- departureAirportDescription: string;
6
- departureTime: string;
7
- arrivalDate: string;
8
- arrivalAirport: string;
9
- arrivalAirportDescription: string;
10
- arrivalTime: string;
11
- flightClass: string;
12
- travelClass: string;
13
- airline: string;
14
- airlineCode: string;
15
- operatingAirlineCode: string;
16
- operatingAirlineDescription: string;
17
- durationInTicks: number;
18
- }
1
+ export interface BookingPackageFlightMetaDataLine {
2
+ number: string;
3
+ departureDate: string;
4
+ departureAirport: string;
5
+ departureAirportDescription: string;
6
+ departureTime: string;
7
+ arrivalDate: string;
8
+ arrivalAirport: string;
9
+ arrivalAirportDescription: string;
10
+ arrivalTime: string;
11
+ flightClass: string;
12
+ travelClass: string;
13
+ airline: string;
14
+ airlineCode: string;
15
+ operatingAirlineCode: string;
16
+ operatingAirlineDescription: string;
17
+ durationInTicks: number;
18
+ }
@@ -1,10 +1,10 @@
1
- import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
- export interface BookingPackageFlightMetaData {
3
- flightLines: BookingPackageFlightMetaDataLine[];
4
- luggageIncluded: boolean;
5
- bagageAllowed: boolean;
6
- bagage: string;
7
- mealIncluded: boolean;
8
- meal: string;
9
- durationInTicks: number;
10
- }
1
+ import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
+ export interface BookingPackageFlightMetaData {
3
+ flightLines: BookingPackageFlightMetaDataLine[];
4
+ luggageIncluded: boolean;
5
+ bagageAllowed: boolean;
6
+ bagage: string;
7
+ mealIncluded: boolean;
8
+ meal: string;
9
+ durationInTicks: number;
10
+ }
@@ -1,18 +1,18 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
- export interface BookingPackageFlight {
3
- code: string;
4
- tag: string;
5
- class: string;
6
- startDateTime: string;
7
- endDateTime: string;
8
- price: number;
9
- isSelected: boolean;
10
- externalGuid?: string;
11
- entryLineGuid: string;
12
- flightMetaData: BookingPackageFlightMetaData;
13
- airlineDescription: string;
14
- validOptions: string[];
15
- flightId: string;
16
- fareId: string;
17
- flightOptionId: string;
18
- }
1
+ import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
+ export interface BookingPackageFlight {
3
+ code: string;
4
+ tag: string;
5
+ class: string;
6
+ startDateTime: string;
7
+ endDateTime: string;
8
+ price: number;
9
+ isSelected: boolean;
10
+ externalGuid?: string;
11
+ entryLineGuid: string;
12
+ flightMetaData: BookingPackageFlightMetaData;
13
+ airlineDescription: string;
14
+ validOptions: string[];
15
+ flightId: string;
16
+ fareId: string;
17
+ flightOptionId: string;
18
+ }
@@ -1,10 +1,11 @@
1
- export interface BookingPackageHotelOption {
2
- entryLineGuid: string;
3
- accommodationCode: string;
4
- accommodationName: string;
5
- regimeCode: string;
6
- regimeName: string;
7
- price: number;
8
- isSelected: boolean;
9
- roomIndex: number;
10
- }
1
+ export interface BookingPackageHotelOption {
2
+ entryLineGuid: string;
3
+ accommodationCode: string;
4
+ accommodationName: string;
5
+ regimeCode: string;
6
+ regimeName: string;
7
+ price: number;
8
+ isSelected: boolean;
9
+ roomIndex: number;
10
+ quantity: number;
11
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
- export interface BookingPackageHotelRoom {
3
- index: number;
4
- options: BookingPackageHotelOption[];
5
- }
1
+ import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
+ export interface BookingPackageHotelRoom {
3
+ index: number;
4
+ options: BookingPackageHotelOption[];
5
+ }
@@ -1,22 +1,22 @@
1
- import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
- export interface BookingPackageHotel {
3
- id?: number;
4
- name: string;
5
- productCode: string;
6
- isSelected: boolean;
7
- cheapestPrice: number;
8
- hotelSupplier: number;
9
- latitude: number;
10
- longitude: number;
11
- rooms: BookingPackageHotelRoom[];
12
- combinations: string[][];
13
- stars: string;
14
- rating: string;
15
- description: string;
16
- imageUrl: string;
17
- facilities: string;
18
- travelDurationToVenue: string;
19
- travelDurationToCenter: string;
20
- distanceToVenue: number;
21
- distanceToCenter: number;
22
- }
1
+ import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
+ export interface BookingPackageHotel {
3
+ id?: number;
4
+ name: string;
5
+ productCode: string;
6
+ isSelected: boolean;
7
+ cheapestPrice: number;
8
+ hotelSupplier: number;
9
+ latitude: number;
10
+ longitude: number;
11
+ rooms: BookingPackageHotelRoom[];
12
+ combinations: string[][];
13
+ stars: string;
14
+ rating: string;
15
+ description: string;
16
+ imageUrl: string;
17
+ facilities: string;
18
+ travelDurationToVenue: string;
19
+ travelDurationToCenter: string;
20
+ distanceToVenue: number;
21
+ distanceToCenter: number;
22
+ }
@@ -1,17 +1,17 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
- export interface BookingPackageLine {
3
- entryLineGuid: string;
4
- productCode: string;
5
- productName: string;
6
- accommodationCode: string;
7
- accommodationName: string;
8
- regimeCode: string;
9
- regimeName: string;
10
- price: number;
11
- serviceType: number;
12
- startDate: string;
13
- endDate: string;
14
- quantity: number;
15
- allotmentTourCode?: string;
16
- flightProperties?: BookingPackageFlightMetaData;
17
- }
1
+ import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
+ export interface BookingPackageLine {
3
+ entryLineGuid: string;
4
+ productCode: string;
5
+ productName: string;
6
+ accommodationCode: string;
7
+ accommodationName: string;
8
+ regimeCode: string;
9
+ regimeName: string;
10
+ price: number;
11
+ serviceType: number;
12
+ startDate: string;
13
+ endDate: string;
14
+ quantity: number;
15
+ allotmentTourCode?: string;
16
+ flightProperties?: BookingPackageFlightMetaData;
17
+ }
@@ -1,5 +1,5 @@
1
- import { BookingMappingInfoItem } from "./booking-mapping-info-item";
2
- export interface BookingPackageOptionMappingInfo {
3
- accommodations: BookingMappingInfoItem[];
4
- regimes: BookingMappingInfoItem[];
5
- }
1
+ import { BookingMappingInfoItem } from "./booking-mapping-info-item";
2
+ export interface BookingPackageOptionMappingInfo {
3
+ accommodations: BookingMappingInfoItem[];
4
+ regimes: BookingMappingInfoItem[];
5
+ }
@@ -1,49 +1,49 @@
1
- import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
- import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
- import { BookingAirlineGroup } from "./booking-airline-group";
4
- import { BookingAirportGroup } from "./booking-airport-group";
5
- import { BookingOptionGroup } from "./booking-option-group";
6
- import { BookingOptionPax } from "./booking-option-pax";
7
- import { BookingOptionUnit } from "./booking-option-unit";
8
- import { BookingPackageAvailability } from "./booking-package-availability";
9
- import { BookingPackageHotel } from "./booking-package-hotel";
10
- import { BookingPackageOptionMappingInfo } from "./booking-package-option-mapping-info";
11
- import { BookingPackageRequestRoom } from "./booking-package-request-room";
12
- import { BookingPackageRoom } from "./booking-package-room";
13
- import { PerBookingPackageOption } from "./per-booking-package-option";
14
- export interface BookingPackageOption {
15
- id: string;
16
- isSelected: boolean;
17
- catalogueId: number;
18
- code: string;
19
- name: string;
20
- price: number;
21
- serviceType: number;
22
- tagIds: number[];
23
- includedServiceTypes: number[];
24
- isOnRequest: boolean;
25
- provider: string;
26
- countryName: string;
27
- regionName: string;
28
- oordName: string;
29
- locationName: string;
30
- unitCount: number;
31
- requestRooms: BookingPackageRequestRoom[];
32
- fromDate: string;
33
- toDate: string;
34
- startTime: string;
35
- endTime: string;
36
- hotels: BookingPackageHotel[];
37
- allotmentTourCode: string;
38
- allotmentName: string;
39
- customAllotmentStatus: string;
40
- allotmentTagIds: number[];
41
- mappingInfo: BookingPackageOptionMappingInfo;
42
- availabilities: BookingPackageAvailability[];
43
- rooms: BookingPackageRoom[];
44
- airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
45
- airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
46
- groups: BookingOptionGroup<PerBookingPackageOption>[];
47
- optionUnits: BookingOptionUnit[];
48
- optionPax: BookingOptionPax[];
49
- }
1
+ import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
+ import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
+ import { BookingAirlineGroup } from "./booking-airline-group";
4
+ import { BookingAirportGroup } from "./booking-airport-group";
5
+ import { BookingOptionGroup } from "./booking-option-group";
6
+ import { BookingOptionPax } from "./booking-option-pax";
7
+ import { BookingOptionUnit } from "./booking-option-unit";
8
+ import { BookingPackageAvailability } from "./booking-package-availability";
9
+ import { BookingPackageHotel } from "./booking-package-hotel";
10
+ import { BookingPackageOptionMappingInfo } from "./booking-package-option-mapping-info";
11
+ import { BookingPackageRequestRoom } from "./booking-package-request-room";
12
+ import { BookingPackageRoom } from "./booking-package-room";
13
+ import { PerBookingPackageOption } from "./per-booking-package-option";
14
+ export interface BookingPackageOption {
15
+ id: string;
16
+ isSelected: boolean;
17
+ catalogueId: number;
18
+ code: string;
19
+ name: string;
20
+ price: number;
21
+ serviceType: number;
22
+ tagIds: number[];
23
+ includedServiceTypes: number[];
24
+ isOnRequest: boolean;
25
+ provider: string;
26
+ countryName: string;
27
+ regionName: string;
28
+ oordName: string;
29
+ locationName: string;
30
+ unitCount: number;
31
+ requestRooms: BookingPackageRequestRoom[];
32
+ fromDate: string;
33
+ toDate: string;
34
+ startTime: string;
35
+ endTime: string;
36
+ hotels: BookingPackageHotel[];
37
+ allotmentTourCode: string;
38
+ allotmentName: string;
39
+ customAllotmentStatus: string;
40
+ allotmentTagIds: number[];
41
+ mappingInfo: BookingPackageOptionMappingInfo;
42
+ availabilities: BookingPackageAvailability[];
43
+ rooms: BookingPackageRoom[];
44
+ airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
45
+ airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
46
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
47
+ optionUnits: BookingOptionUnit[];
48
+ optionPax: BookingOptionPax[];
49
+ }
@@ -1,11 +1,8 @@
1
- /**
2
- * @deprecated use `BookingPackagePaxFieldConfig` instead — kept for backward compatibility
3
- */
4
- export interface BookingPackagePaxCustomField {
5
- customFieldConfigurationId: number;
6
- fieldName: string;
7
- dataType: number;
8
- isRequired: boolean;
9
- col: number;
10
- group: string;
11
- }
1
+ export interface BookingPackagePaxCustomField {
2
+ customFieldConfigurationId: number;
3
+ fieldName: string;
4
+ dataType: number;
5
+ isRequired: boolean;
6
+ col: number;
7
+ group: string;
8
+ }
@@ -1,40 +1,23 @@
1
- import { BookingPackageAddress } from "../request/booking-package-address";
2
- import { BookingPackageCustomField } from "./booking-package-custom-field";
3
- export interface BookingPackagePax {
4
- id: number;
5
- age?: number;
6
- guid: string;
7
- dateOfBirth?: string;
8
- countryOfBirthId?: number;
9
- firstName: string;
10
- lastName: string;
11
- nickname?: string;
12
- salutationId?: number;
13
- preferredLanguageId?: number;
14
- gender?: number;
15
- isMainBooker?: boolean;
16
- initials?: string;
17
- email: string;
18
- phone?: string;
19
- mobilePhone?: string;
20
- emergencyNumber?: string;
21
- weight: number | null;
22
- weightType: number;
23
- height: number | null;
24
- heightType: number;
25
- birthplace?: string;
26
- nationality?: string;
27
- hasInsurance?: boolean;
28
- insuranceName?: string;
29
- info?: string;
30
- passportNumber?: string;
31
- passportIssueDate?: string;
32
- passportIssuedLocation?: string;
33
- passportExpiryDate?: string;
34
- /**
35
- * On the main booker, this is the booking's canonical address — the top-level
36
- * `address`/`travellerAddressName` request fields are ignored for them, so don't set both.
37
- */
38
- address?: BookingPackageAddress;
39
- customFields: BookingPackageCustomField[];
40
- }
1
+ import { BookingPackageCustomField } from "./booking-package-custom-field";
2
+ export interface BookingPackagePax {
3
+ id: number;
4
+ age?: number;
5
+ guid: string;
6
+ dateOfBirth?: string;
7
+ countryOfBirthId?: number;
8
+ firstName: string;
9
+ lastName: string;
10
+ salutationId?: number;
11
+ preferredLanguageId?: number;
12
+ gender?: number;
13
+ isMainBooker?: boolean;
14
+ initials?: string;
15
+ email: string;
16
+ phone?: string;
17
+ mobilePhone?: string;
18
+ weight: number | null;
19
+ weightType: number;
20
+ height: number | null;
21
+ heightType: number;
22
+ customFields: BookingPackageCustomField[];
23
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackagePax } from "./booking-package-pax";
2
- export interface BookingPackageRequestRoom {
3
- index: number;
4
- pax: BookingPackagePax[];
5
- }
1
+ import { BookingPackagePax } from "./booking-package-pax";
2
+ export interface BookingPackageRequestRoom {
3
+ index: number;
4
+ pax: BookingPackagePax[];
5
+ }