@qite/tide-client 2.0.22 → 2.0.23

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 +17 -14
  2. package/build/index.js +5854 -5490
  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 +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/price-list-request.d.ts +3 -0
  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 +105 -105
  61. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +20 -18
  62. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +74 -74
  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 +17 -17
  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 +8 -8
  90. package/build/types/booking-v2/shared/booking-package-pax.d.ts +23 -23
  91. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  92. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +22 -22
  93. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  94. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  95. package/build/types/booking-v2/shared/booking-package.d.ts +16 -16
  96. package/build/types/booking-v2/shared/index.d.ts +31 -31
  97. package/build/types/booking-v2/shared/itinerary.d.ts +41 -41
  98. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  99. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  100. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  101. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  102. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  103. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  104. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  105. package/build/types/company/agent/entry-totals.d.ts +7 -7
  106. package/build/types/company/agent/index.d.ts +3 -3
  107. package/build/types/company/agent-print-action-request.d.ts +11 -11
  108. package/build/types/company/agent-print-action.d.ts +6 -6
  109. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  110. package/build/types/company/index.d.ts +5 -5
  111. package/build/types/company/number-string-pair.d.ts +4 -4
  112. package/build/types/enums/allotment-kind.d.ts +4 -4
  113. package/build/types/enums/allotment-status.d.ts +5 -5
  114. package/build/types/enums/allotment-type.d.ts +5 -5
  115. package/build/types/enums/availability-search-type.d.ts +6 -6
  116. package/build/types/enums/custom-field-data-type.d.ts +7 -7
  117. package/build/types/enums/data-type.d.ts +14 -14
  118. package/build/types/enums/date-amount-type.d.ts +4 -4
  119. package/build/types/enums/dossier-type.d.ts +6 -6
  120. package/build/types/enums/duration-type.d.ts +6 -6
  121. package/build/types/enums/entry-line-flag.d.ts +6 -6
  122. package/build/types/enums/entry-line-status.d.ts +19 -19
  123. package/build/types/enums/entry-status.d.ts +8 -8
  124. package/build/types/enums/export-status.d.ts +5 -5
  125. package/build/types/enums/form-field-type.d.ts +12 -12
  126. package/build/types/enums/form-field-width.d.ts +8 -8
  127. package/build/types/enums/form-type.d.ts +4 -4
  128. package/build/types/enums/gender.d.ts +5 -5
  129. package/build/types/enums/height-type.d.ts +4 -4
  130. package/build/types/enums/index.d.ts +34 -34
  131. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  132. package/build/types/enums/meta-data-type.d.ts +10 -10
  133. package/build/types/enums/note-type.d.ts +8 -8
  134. package/build/types/enums/payment-type.d.ts +6 -6
  135. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  136. package/build/types/enums/price-chart-type.d.ts +4 -4
  137. package/build/types/enums/print-action-group.d.ts +10 -10
  138. package/build/types/enums/requirement-type.d.ts +5 -5
  139. package/build/types/enums/room-type.d.ts +8 -8
  140. package/build/types/enums/route-transport-type.d.ts +19 -19
  141. package/build/types/enums/sale-type.d.ts +4 -4
  142. package/build/types/enums/service-type.d.ts +33 -33
  143. package/build/types/enums/traject-node-type.d.ts +6 -6
  144. package/build/types/enums/unit-of-measure.d.ts +5 -5
  145. package/build/types/enums/vendor-type.d.ts +24 -24
  146. package/build/types/enums/weight-type.d.ts +4 -4
  147. package/build/types/hubs/index.d.ts +1 -1
  148. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  149. package/build/types/hubs/search/flight-search-request.d.ts +32 -32
  150. package/build/types/hubs/search/flight-search-response.d.ts +53 -59
  151. package/build/types/hubs/search/index.d.ts +3 -3
  152. package/build/types/index.d.ts +10 -10
  153. package/build/types/mollie/index.d.ts +2 -2
  154. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  155. package/build/types/mollie/mollie-payment.d.ts +3 -3
  156. package/build/types/odata/column.d.ts +8 -8
  157. package/build/types/odata/filter-item.d.ts +14 -14
  158. package/build/types/odata/index.d.ts +4 -4
  159. package/build/types/odata/odata-params.d.ts +3 -3
  160. package/build/types/odata/page-result.d.ts +5 -5
  161. package/build/types/offer/address-item.d.ts +30 -30
  162. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  163. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  164. package/build/types/offer/country-item.d.ts +5 -5
  165. package/build/types/offer/crm-contact-request.d.ts +36 -28
  166. package/build/types/offer/customer-request.d.ts +5 -5
  167. package/build/types/offer/dossier-default-product.d.ts +14 -14
  168. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  169. package/build/types/offer/dossier-view-result.d.ts +48 -48
  170. package/build/types/offer/entry-check-response.d.ts +8 -8
  171. package/build/types/offer/entry-light.d.ts +41 -41
  172. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  173. package/build/types/offer/entry-line-pax.d.ts +8 -8
  174. package/build/types/offer/entry-line.d.ts +73 -67
  175. package/build/types/offer/entry-price-line.d.ts +40 -40
  176. package/build/types/offer/entry-room.d.ts +6 -6
  177. package/build/types/offer/entry-room2.d.ts +5 -5
  178. package/build/types/offer/entry.d.ts +65 -55
  179. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  180. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  181. package/build/types/offer/flight-meta-data.d.ts +13 -13
  182. package/build/types/offer/flight-pool.d.ts +5 -5
  183. package/build/types/offer/geographical-region.d.ts +32 -32
  184. package/build/types/offer/index.d.ts +46 -46
  185. package/build/types/offer/item-tag.d.ts +3 -3
  186. package/build/types/offer/language.d.ts +5 -5
  187. package/build/types/offer/location-item.d.ts +5 -5
  188. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  189. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  190. package/build/types/offer/member-info.d.ts +14 -14
  191. package/build/types/offer/member-login-request.d.ts +5 -5
  192. package/build/types/offer/member-login-response.d.ts +3 -3
  193. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  194. package/build/types/offer/note.d.ts +16 -16
  195. package/build/types/offer/pax.d.ts +29 -29
  196. package/build/types/offer/payment.d.ts +20 -20
  197. package/build/types/offer/person-country-preference.d.ts +7 -7
  198. package/build/types/offer/person-location-preference.d.ts +7 -7
  199. package/build/types/offer/person-oord-preference.d.ts +7 -7
  200. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  201. package/build/types/offer/person-period-preference.d.ts +7 -7
  202. package/build/types/offer/person-region-preference.d.ts +7 -7
  203. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  204. package/build/types/offer/product-notification-result.d.ts +9 -9
  205. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  206. package/build/types/offer/publishing/index.d.ts +4 -4
  207. package/build/types/offer/publishing/mail.d.ts +15 -15
  208. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  209. package/build/types/offer/publishing/published-content.d.ts +10 -10
  210. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  211. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  212. package/build/types/shared/date-struct.d.ts +5 -5
  213. package/build/types/shared/index.d.ts +2 -2
  214. package/build/types/shared/ticket-number.d.ts +5 -5
  215. package/build/types/tide-client-config.d.ts +5 -5
  216. package/build/types/web/affiliate.d.ts +5 -5
  217. package/build/types/web/agent-allotment-item.d.ts +31 -31
  218. package/build/types/web/agent-allotment.d.ts +32 -32
  219. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  220. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  221. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  222. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  223. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  224. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  225. package/build/types/web/agent-dossier-item.d.ts +18 -18
  226. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  227. package/build/types/web/agent-dossier.d.ts +19 -19
  228. package/build/types/web/airport.d.ts +6 -6
  229. package/build/types/web/contact-form-request.d.ts +11 -11
  230. package/build/types/web/content-by-parent-request.d.ts +4 -4
  231. package/build/types/web/content-by-property-request.d.ts +9 -9
  232. package/build/types/web/content-by-template-request.d.ts +5 -5
  233. package/build/types/web/content-filter-request.d.ts +4 -4
  234. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  235. package/build/types/web/index.d.ts +26 -26
  236. package/build/types/web/locations-request.d.ts +3 -3
  237. package/build/types/web/portal.d.ts +8 -8
  238. package/build/types/web/style-sheet.d.ts +7 -7
  239. package/build/types/web/tide-location.d.ts +9 -9
  240. package/build/types/web/web-contact.d.ts +9 -9
  241. package/build/types/web/web-form.d.ts +68 -68
  242. package/build/types/web/web-opportunity-request.d.ts +9 -9
  243. package/build/types/web/website-configuration.d.ts +36 -36
  244. package/build/utils/api.d.ts +23 -3
  245. package/build/utils/booking-v2-client.d.ts +172 -28
  246. package/build/utils/common-client.d.ts +26 -3
  247. package/build/utils/json.d.ts +2 -2
  248. package/build/utils/member-client.d.ts +32 -7
  249. package/build/utils/mollie-client.d.ts +15 -7
  250. package/build/utils/packaging-client.d.ts +59 -12
  251. package/build/utils/search-client.d.ts +60 -24
  252. package/build/utils/service-token.d.ts +23 -16
  253. package/build/utils/web-agent-client.d.ts +98 -28
  254. package/build/utils/web-client.d.ts +136 -75
  255. package/build/utils/web-contact-client.d.ts +23 -11
  256. package/build/utils/web-content-client.d.ts +134 -89
  257. package/build/utils/web-file.d.ts +29 -20
  258. package/build/utils/web-form.d.ts +36 -20
  259. package/package.json +1 -1
@@ -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,105 +1,105 @@
1
- import { EntryStatus } from "../../../enums";
2
- export interface PackagingEntry {
3
- language?: string;
4
- transactionId: string;
5
- magicLink?: string;
6
- dossierNumber: string;
7
- bookingDate?: string | null;
8
- price: number;
9
- depositAmount: number;
10
- pax: PackagingEntryPax[];
11
- rooms: PackagingEntryRoom[];
12
- lines: PackagingEntryLine[];
13
- address: PackagingEntryAddress;
14
- status: EntryStatus;
15
- customStatusId?: number;
16
- redirectUrl?: string;
17
- returnPaymentUrl?: boolean;
18
- remarks?: string;
19
- }
20
- export interface PackagingEntryPax {
21
- id: number;
22
- lastName: string;
23
- firstName: string;
24
- dateOfBirth?: string | null;
25
- age?: number | null;
26
- isMainBooker: boolean;
27
- }
28
- export interface PackagingEntryRoom {
29
- id: number;
30
- paxIds: number[];
31
- }
32
- export interface PackagingEntryLine {
33
- guid: string;
34
- parentGuid?: string | null;
35
- order: number;
36
- from: string;
37
- to: string;
38
- moment: string;
39
- serviceType: number;
40
- productName: string;
41
- productCode: string;
42
- accommodationName?: string | null;
43
- accommodationCode?: string | null;
44
- regimeName?: string | null;
45
- regimeCode?: string | null;
46
- vendor?: number | null;
47
- externalVendorId?: number | null;
48
- country?: IdName | null;
49
- region?: IdName | null;
50
- oord?: IdName | null;
51
- location?: IdName | null;
52
- longitude?: number | null;
53
- latitude?: number | null;
54
- pax: PackagingEntryLinePax[];
55
- flightInformation?: PackagingEntryLineFlightInformation | null;
56
- isChanged: boolean;
57
- }
58
- export interface PackagingEntryLinePax {
59
- paxId: number;
60
- room: number;
61
- order: number;
62
- }
63
- export interface PackagingEntryLineFlightInformation {
64
- pnr?: string | null;
65
- flightLines: PackagingEntryLineFlightLine[];
66
- }
67
- export interface PackagingEntryLineFlightLine {
68
- airlineCode: string;
69
- airlineDescription: string;
70
- operatingAirlineCode?: string | null;
71
- operatingAirlineDescription?: string | null;
72
- flightNumber: string;
73
- operatingFlightNumber?: string | null;
74
- departureDate: string;
75
- departureTime?: string | null;
76
- departureAirportCode: string;
77
- departureAirportDescription: string;
78
- arrivalDate: string;
79
- arrivalTime?: string | null;
80
- arrivalAirportCode: string;
81
- arrivalAirportDescription: string;
82
- durationInTicks?: number | null;
83
- }
84
- export interface IdName {
85
- id: number;
86
- name: string;
87
- localizations?: IdNameLocalization[];
88
- }
89
- export interface IdNameLocalization {
90
- languageId: number;
91
- languageCode: string;
92
- name: string;
93
- }
94
- export interface PackagingEntryAddress {
95
- street: string;
96
- houseNumber: string;
97
- box?: string | null;
98
- zipCode: string;
99
- place: string;
100
- country: string;
101
- travelAgentId?: number;
102
- phone?: string;
103
- email?: string;
104
- remarks?: string;
105
- }
1
+ import { EntryStatus } from "../../../enums";
2
+ export interface PackagingEntry {
3
+ language?: string;
4
+ transactionId: string;
5
+ magicLink?: string;
6
+ dossierNumber: string;
7
+ bookingDate?: string | null;
8
+ price: number;
9
+ depositAmount: number;
10
+ pax: PackagingEntryPax[];
11
+ rooms: PackagingEntryRoom[];
12
+ lines: PackagingEntryLine[];
13
+ address: PackagingEntryAddress;
14
+ status: EntryStatus;
15
+ customStatusId?: number;
16
+ redirectUrl?: string;
17
+ returnPaymentUrl?: boolean;
18
+ remarks?: string;
19
+ }
20
+ export interface PackagingEntryPax {
21
+ id: number;
22
+ lastName: string;
23
+ firstName: string;
24
+ dateOfBirth?: string | null;
25
+ age?: number | null;
26
+ isMainBooker: boolean;
27
+ }
28
+ export interface PackagingEntryRoom {
29
+ id: number;
30
+ paxIds: number[];
31
+ }
32
+ export interface PackagingEntryLine {
33
+ guid: string;
34
+ parentGuid?: string | null;
35
+ order: number;
36
+ from: string;
37
+ to: string;
38
+ moment: string;
39
+ serviceType: number;
40
+ productName: string;
41
+ productCode: string;
42
+ accommodationName?: string | null;
43
+ accommodationCode?: string | null;
44
+ regimeName?: string | null;
45
+ regimeCode?: string | null;
46
+ vendor?: number | null;
47
+ externalVendorId?: number | null;
48
+ country?: IdName | null;
49
+ region?: IdName | null;
50
+ oord?: IdName | null;
51
+ location?: IdName | null;
52
+ longitude?: number | null;
53
+ latitude?: number | null;
54
+ pax: PackagingEntryLinePax[];
55
+ flightInformation?: PackagingEntryLineFlightInformation | null;
56
+ isChanged: boolean;
57
+ }
58
+ export interface PackagingEntryLinePax {
59
+ paxId: number;
60
+ room: number;
61
+ order: number;
62
+ }
63
+ export interface PackagingEntryLineFlightInformation {
64
+ pnr?: string | null;
65
+ flightLines: PackagingEntryLineFlightLine[];
66
+ }
67
+ export interface PackagingEntryLineFlightLine {
68
+ airlineCode: string;
69
+ airlineDescription: string;
70
+ operatingAirlineCode?: string | null;
71
+ operatingAirlineDescription?: string | null;
72
+ flightNumber: string;
73
+ operatingFlightNumber?: string | null;
74
+ departureDate: string;
75
+ departureTime?: string | null;
76
+ departureAirportCode: string;
77
+ departureAirportDescription: string;
78
+ arrivalDate: string;
79
+ arrivalTime?: string | null;
80
+ arrivalAirportCode: string;
81
+ arrivalAirportDescription: string;
82
+ durationInTicks?: number | null;
83
+ }
84
+ export interface IdName {
85
+ id: number;
86
+ name: string;
87
+ localizations?: IdNameLocalization[];
88
+ }
89
+ export interface IdNameLocalization {
90
+ languageId: number;
91
+ languageCode: string;
92
+ name: string;
93
+ }
94
+ export interface PackagingEntryAddress {
95
+ street: string;
96
+ houseNumber: string;
97
+ box?: string | null;
98
+ zipCode: string;
99
+ place: string;
100
+ country: string;
101
+ travelAgentId?: number;
102
+ phone?: string;
103
+ email?: string;
104
+ remarks?: string;
105
+ }
@@ -1,18 +1,20 @@
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
+ } from "../../../hubs";
5
+ import { PackagingBaseResponse } from "./packaging-base-response";
6
+ export interface PackagingFlightResponse extends PackagingBaseResponse {
7
+ flightRouteId: string;
8
+ travelClass?: number | null;
9
+ airlineCode: string;
10
+ airlineName: string;
11
+ isLuggageIncluded: boolean;
12
+ luggageInfo: string;
13
+ outwardGuid: string;
14
+ outward: FlightSearchResponseFlight;
15
+ returnGuid: string;
16
+ return: FlightSearchResponseFlight;
17
+ source: number;
18
+ provider: string;
19
+ paxes: FlightSearchResponsePax[];
20
+ }
@@ -1,74 +1,74 @@
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
- from: string;
60
- to: string;
61
- }
62
- export interface PackagingTrajectAlternative {
63
- code: string;
64
- name: string;
65
- description?: string | null;
66
- imageUrl?: string | null;
67
- latitude?: number | null;
68
- longitude?: number | null;
69
- city?: string | null;
70
- contentSource: number;
71
- vendor?: number | null;
72
- externalVendorId?: number | null;
73
- isPreferred: boolean;
74
- }
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
+ from: string;
60
+ to: string;
61
+ }
62
+ export interface PackagingTrajectAlternative {
63
+ code: string;
64
+ name: string;
65
+ description?: string | null;
66
+ imageUrl?: string | null;
67
+ latitude?: number | null;
68
+ longitude?: number | null;
69
+ city?: string | null;
70
+ contentSource: number;
71
+ vendor?: number | null;
72
+ externalVendorId?: number | null;
73
+ isPreferred: boolean;
74
+ }
@@ -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
+ }
@@ -1,67 +1,67 @@
1
- import { TideElasticTag } from "./tide-elastic-tag";
2
- export interface TideElasticProduct {
3
- catalogueIds: number[];
4
- officeIds: number[];
5
- productCode: string;
6
- accommodationCode: string;
7
- regimeCode: string;
8
- isOnRequest: boolean;
9
- serviceType: number;
10
- tags: TideElasticTag[];
11
- serviceTypes: number[];
12
- fromDate: string;
13
- fromDateTicks: number;
14
- stayFromDate: string;
15
- stayFromDateTicks: number;
16
- stayToDate: string;
17
- stayToDateTicks: number;
18
- toDate: string;
19
- toDateTicks: number;
20
- duration: number;
21
- durationPriority: number;
22
- latitude?: number;
23
- longitude?: number;
24
- continentId: number;
25
- continentName: string;
26
- countryId: number;
27
- regionId?: number;
28
- oordId?: number;
29
- locationId?: number;
30
- price: number;
31
- originalPrice: number;
32
- flightPrice: number;
33
- travelBudget: number;
34
- priceWithTravelBudget: number;
35
- currencyCode: string;
36
- averagePricePerPerson: number;
37
- averageOriginalPricePerPerson: number;
38
- averageFlightPricePerPerson: number;
39
- averageTravelBudgetPerPerson: number;
40
- averagePriceWithTravelBudgetPerPerson: number;
41
- adultCount: number;
42
- childCount: number;
43
- infantCount: number;
44
- transportOrder?: number;
45
- outwardDepartureAirportCode: string;
46
- outwardArrivalAirportCode: string;
47
- outwardAirlineCode: string;
48
- returnDepartureAirportCode: string;
49
- returnArrivalAirportCode: string;
50
- returnAirlineCode: string;
51
- travelClass: string;
52
- name: Record<string, string>;
53
- accommodation: Record<string, string>;
54
- regime: Record<string, string>;
55
- outwardDepartureAirport: Record<string, string>;
56
- outwardArrivalAirport: Record<string, string>;
57
- outwardAirline: Record<string, string>;
58
- returnDepartureAirport: Record<string, string>;
59
- returnArrivalAirport: Record<string, string>;
60
- returnAirline: Record<string, string>;
61
- continent: Record<string, string>;
62
- country: Record<string, string>;
63
- region: Record<string, string>;
64
- oord: Record<string, string>;
65
- location: Record<string, string>;
66
- extraData: Record<string, any>;
67
- }
1
+ import { TideElasticTag } from "./tide-elastic-tag";
2
+ export interface TideElasticProduct {
3
+ catalogueIds: number[];
4
+ officeIds: number[];
5
+ productCode: string;
6
+ accommodationCode: string;
7
+ regimeCode: string;
8
+ isOnRequest: boolean;
9
+ serviceType: number;
10
+ tags: TideElasticTag[];
11
+ serviceTypes: number[];
12
+ fromDate: string;
13
+ fromDateTicks: number;
14
+ stayFromDate: string;
15
+ stayFromDateTicks: number;
16
+ stayToDate: string;
17
+ stayToDateTicks: number;
18
+ toDate: string;
19
+ toDateTicks: number;
20
+ duration: number;
21
+ durationPriority: number;
22
+ latitude?: number;
23
+ longitude?: number;
24
+ continentId: number;
25
+ continentName: string;
26
+ countryId: number;
27
+ regionId?: number;
28
+ oordId?: number;
29
+ locationId?: number;
30
+ price: number;
31
+ originalPrice: number;
32
+ flightPrice: number;
33
+ travelBudget: number;
34
+ priceWithTravelBudget: number;
35
+ currencyCode: string;
36
+ averagePricePerPerson: number;
37
+ averageOriginalPricePerPerson: number;
38
+ averageFlightPricePerPerson: number;
39
+ averageTravelBudgetPerPerson: number;
40
+ averagePriceWithTravelBudgetPerPerson: number;
41
+ adultCount: number;
42
+ childCount: number;
43
+ infantCount: number;
44
+ transportOrder?: number;
45
+ outwardDepartureAirportCode: string;
46
+ outwardArrivalAirportCode: string;
47
+ outwardAirlineCode: string;
48
+ returnDepartureAirportCode: string;
49
+ returnArrivalAirportCode: string;
50
+ returnAirlineCode: string;
51
+ travelClass: string;
52
+ name: Record<string, string>;
53
+ accommodation: Record<string, string>;
54
+ regime: Record<string, string>;
55
+ outwardDepartureAirport: Record<string, string>;
56
+ outwardArrivalAirport: Record<string, string>;
57
+ outwardAirline: Record<string, string>;
58
+ returnDepartureAirport: Record<string, string>;
59
+ returnArrivalAirport: Record<string, string>;
60
+ returnAirline: Record<string, string>;
61
+ continent: Record<string, string>;
62
+ country: Record<string, string>;
63
+ region: Record<string, string>;
64
+ oord: Record<string, string>;
65
+ location: Record<string, string>;
66
+ extraData: Record<string, any>;
67
+ }
@@ -1,4 +1,4 @@
1
- export interface TideElasticTag {
2
- id: number;
3
- name: Record<string, string>;
4
- }
1
+ export interface TideElasticTag {
2
+ id: number;
3
+ name: Record<string, string>;
4
+ }