@qite/tide-client 2.0.26-preview.2 → 2.1.0-preview.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/build/cli.d.ts +1 -1
  2. package/build/cli.js +4443 -4764
  3. package/build/index.d.ts +18 -21
  4. package/build/index.js +5723 -6168
  5. package/build/index.js.map +1 -1
  6. package/build/services/odata.service.d.ts +2 -8
  7. package/build/templates/generate-template-types.d.ts +16 -19
  8. package/build/types/booking-v2/index.d.ts +3 -3
  9. package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
  10. package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
  11. package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
  12. package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
  13. package/build/types/booking-v2/request/booking-package-book-request.d.ts +32 -32
  14. package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
  15. package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
  16. package/build/types/booking-v2/request/booking-package-details-request.d.ts +29 -29
  17. package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
  18. package/build/types/booking-v2/request/booking-package-notes.d.ts +4 -4
  19. package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
  20. package/build/types/booking-v2/request/booking-package-search-request.d.ts +31 -31
  21. package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
  22. package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
  23. package/build/types/booking-v2/request/flight-lines-request.d.ts +3 -3
  24. package/build/types/booking-v2/request/index.d.ts +24 -24
  25. package/build/types/booking-v2/request/packaging/packaging-accommodation-request.d.ts +36 -36
  26. package/build/types/booking-v2/request/packaging/packaging-request-base.d.ts +8 -8
  27. package/build/types/booking-v2/request/packaging/packaging-traject-request.d.ts +14 -14
  28. package/build/types/booking-v2/request/packaging/packaging-transfer-request.d.ts +27 -27
  29. package/build/types/booking-v2/request/prices-request.d.ts +17 -17
  30. package/build/types/booking-v2/request/reprice-and-issue-ticket-request.d.ts +3 -3
  31. package/build/types/booking-v2/request/selected-flight.d.ts +14 -14
  32. package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
  33. package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
  34. package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
  35. package/build/types/booking-v2/response/available-country.d.ts +5 -5
  36. package/build/types/booking-v2/response/available-flight.d.ts +4 -4
  37. package/build/types/booking-v2/response/base-price.d.ts +7 -7
  38. package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
  39. package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +36 -36
  40. package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
  41. package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -5
  42. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
  43. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -9
  44. package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  45. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
  46. package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  47. package/build/types/booking-v2/response/booking-package-item.d.ts +44 -44
  48. package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
  49. package/build/types/booking-v2/response/booking-price-details.d.ts +16 -16
  50. package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  51. package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
  52. package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
  53. package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
  54. package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
  55. package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
  56. package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
  57. package/build/types/booking-v2/response/changed-line.d.ts +4 -4
  58. package/build/types/booking-v2/response/elastic-result-hit.d.ts +8 -8
  59. package/build/types/booking-v2/response/elastic-result.d.ts +17 -17
  60. package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -11
  61. package/build/types/booking-v2/response/index.d.ts +38 -38
  62. package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +21 -21
  63. package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +26 -26
  64. package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +125 -122
  65. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +18 -22
  66. package/build/types/booking-v2/response/packaging/packaging-traject-item.d.ts +8 -8
  67. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +97 -97
  68. package/build/types/booking-v2/response/packaging/packaging-transaction.d.ts +4 -4
  69. package/build/types/booking-v2/response/tide-elastic-product.d.ts +67 -67
  70. package/build/types/booking-v2/response/tide-elastic-tag.d.ts +4 -4
  71. package/build/types/booking-v2/response/tide-response.d.ts +8 -8
  72. package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
  73. package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
  74. package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +3 -2
  75. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
  76. package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
  77. package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
  78. package/build/types/booking-v2/shared/booking-mapping-info-item.d.ts +6 -6
  79. package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
  80. package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
  81. package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
  82. package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
  83. package/build/types/booking-v2/shared/booking-package-custom-field.d.ts +4 -4
  84. package/build/types/booking-v2/shared/booking-package-entry.d.ts +5 -5
  85. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  86. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  87. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  88. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +11 -11
  89. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  90. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  91. package/build/types/booking-v2/shared/booking-package-language.d.ts +4 -0
  92. package/build/types/booking-v2/shared/booking-package-line.d.ts +20 -20
  93. package/build/types/booking-v2/shared/booking-package-option-mapping-info.d.ts +5 -5
  94. package/build/types/booking-v2/shared/booking-package-option.d.ts +53 -53
  95. package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +11 -11
  96. package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +9 -9
  97. package/build/types/booking-v2/shared/booking-package-pax.d.ts +41 -40
  98. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  99. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +25 -25
  100. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  101. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  102. package/build/types/booking-v2/shared/booking-package.d.ts +27 -21
  103. package/build/types/booking-v2/shared/index.d.ts +33 -32
  104. package/build/types/booking-v2/shared/itinerary.d.ts +42 -42
  105. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  106. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  107. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  108. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  109. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  110. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  111. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  112. package/build/types/company/agent/entry-totals.d.ts +7 -7
  113. package/build/types/company/agent/index.d.ts +3 -3
  114. package/build/types/company/agent-print-action-request.d.ts +11 -11
  115. package/build/types/company/agent-print-action.d.ts +6 -6
  116. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  117. package/build/types/company/index.d.ts +5 -5
  118. package/build/types/company/number-string-pair.d.ts +4 -4
  119. package/build/types/enums/allotment-kind.d.ts +4 -4
  120. package/build/types/enums/allotment-status.d.ts +5 -5
  121. package/build/types/enums/allotment-type.d.ts +5 -5
  122. package/build/types/enums/availability-search-type.d.ts +6 -6
  123. package/build/types/enums/custom-field-data-type.d.ts +8 -9
  124. package/build/types/enums/data-type.d.ts +14 -14
  125. package/build/types/enums/date-amount-type.d.ts +4 -4
  126. package/build/types/enums/dossier-type.d.ts +6 -6
  127. package/build/types/enums/duration-type.d.ts +6 -6
  128. package/build/types/enums/entry-line-flag.d.ts +6 -6
  129. package/build/types/enums/entry-line-status.d.ts +19 -19
  130. package/build/types/enums/entry-status.d.ts +8 -8
  131. package/build/types/enums/export-status.d.ts +5 -5
  132. package/build/types/enums/form-field-type.d.ts +12 -12
  133. package/build/types/enums/form-field-width.d.ts +8 -8
  134. package/build/types/enums/form-type.d.ts +4 -4
  135. package/build/types/enums/gender.d.ts +5 -5
  136. package/build/types/enums/height-type.d.ts +4 -4
  137. package/build/types/enums/index.d.ts +34 -34
  138. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  139. package/build/types/enums/meta-data-type.d.ts +10 -10
  140. package/build/types/enums/note-type.d.ts +8 -8
  141. package/build/types/enums/payment-type.d.ts +6 -6
  142. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  143. package/build/types/enums/price-chart-type.d.ts +4 -4
  144. package/build/types/enums/print-action-group.d.ts +10 -10
  145. package/build/types/enums/requirement-type.d.ts +5 -5
  146. package/build/types/enums/room-type.d.ts +8 -8
  147. package/build/types/enums/route-transport-type.d.ts +19 -19
  148. package/build/types/enums/sale-type.d.ts +4 -4
  149. package/build/types/enums/service-type.d.ts +33 -33
  150. package/build/types/enums/traject-node-type.d.ts +6 -6
  151. package/build/types/enums/unit-of-measure.d.ts +5 -5
  152. package/build/types/enums/vendor-type.d.ts +24 -24
  153. package/build/types/enums/weight-type.d.ts +4 -4
  154. package/build/types/hubs/index.d.ts +1 -1
  155. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  156. package/build/types/hubs/search/flight-search-request.d.ts +37 -38
  157. package/build/types/hubs/search/flight-search-response.d.ts +63 -63
  158. package/build/types/hubs/search/index.d.ts +3 -3
  159. package/build/types/index.d.ts +10 -10
  160. package/build/types/mollie/index.d.ts +2 -2
  161. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  162. package/build/types/mollie/mollie-payment.d.ts +3 -3
  163. package/build/types/odata/column.d.ts +8 -8
  164. package/build/types/odata/filter-item.d.ts +14 -14
  165. package/build/types/odata/index.d.ts +4 -4
  166. package/build/types/odata/odata-params.d.ts +3 -3
  167. package/build/types/odata/page-result.d.ts +5 -5
  168. package/build/types/offer/address-item.d.ts +30 -30
  169. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  170. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  171. package/build/types/offer/country-item.d.ts +5 -5
  172. package/build/types/offer/crm-contact-request.d.ts +28 -36
  173. package/build/types/offer/customer-request.d.ts +5 -5
  174. package/build/types/offer/dossier-default-product.d.ts +14 -14
  175. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  176. package/build/types/offer/dossier-view-result.d.ts +48 -48
  177. package/build/types/offer/entry-check-response.d.ts +8 -8
  178. package/build/types/offer/entry-light.d.ts +41 -41
  179. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  180. package/build/types/offer/entry-line-pax.d.ts +8 -8
  181. package/build/types/offer/entry-line.d.ts +67 -73
  182. package/build/types/offer/entry-price-line.d.ts +40 -40
  183. package/build/types/offer/entry-room.d.ts +6 -6
  184. package/build/types/offer/entry-room2.d.ts +5 -5
  185. package/build/types/offer/entry.d.ts +55 -65
  186. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  187. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  188. package/build/types/offer/flight-meta-data.d.ts +13 -13
  189. package/build/types/offer/flight-pool.d.ts +5 -5
  190. package/build/types/offer/geographical-region.d.ts +32 -32
  191. package/build/types/offer/index.d.ts +46 -46
  192. package/build/types/offer/item-tag.d.ts +3 -3
  193. package/build/types/offer/language.d.ts +5 -5
  194. package/build/types/offer/location-item.d.ts +5 -5
  195. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  196. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  197. package/build/types/offer/member-info.d.ts +14 -14
  198. package/build/types/offer/member-login-request.d.ts +5 -5
  199. package/build/types/offer/member-login-response.d.ts +3 -3
  200. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  201. package/build/types/offer/note.d.ts +16 -16
  202. package/build/types/offer/pax.d.ts +29 -29
  203. package/build/types/offer/payment.d.ts +20 -20
  204. package/build/types/offer/person-country-preference.d.ts +7 -7
  205. package/build/types/offer/person-location-preference.d.ts +7 -7
  206. package/build/types/offer/person-oord-preference.d.ts +7 -7
  207. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  208. package/build/types/offer/person-period-preference.d.ts +7 -7
  209. package/build/types/offer/person-region-preference.d.ts +7 -7
  210. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  211. package/build/types/offer/product-notification-result.d.ts +9 -9
  212. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  213. package/build/types/offer/publishing/index.d.ts +6 -6
  214. package/build/types/offer/publishing/mail.d.ts +15 -15
  215. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  216. package/build/types/offer/publishing/published-content.d.ts +10 -10
  217. package/build/types/offer/publishing/published-field-values.d.ts +20 -20
  218. package/build/types/offer/publishing/template-content.d.ts +30 -47
  219. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  220. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  221. package/build/types/shared/date-struct.d.ts +5 -5
  222. package/build/types/shared/index.d.ts +2 -2
  223. package/build/types/shared/ticket-number.d.ts +5 -5
  224. package/build/types/tide-client-config.d.ts +5 -5
  225. package/build/types/web/affiliate.d.ts +5 -5
  226. package/build/types/web/agent-allotment-item.d.ts +31 -31
  227. package/build/types/web/agent-allotment.d.ts +32 -32
  228. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  229. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  230. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  231. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  232. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  233. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  234. package/build/types/web/agent-dossier-item.d.ts +18 -18
  235. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  236. package/build/types/web/agent-dossier.d.ts +19 -19
  237. package/build/types/web/airport.d.ts +8 -8
  238. package/build/types/web/contact-form-request.d.ts +11 -11
  239. package/build/types/web/content-by-parent-request.d.ts +4 -4
  240. package/build/types/web/content-by-property-request.d.ts +9 -9
  241. package/build/types/web/content-by-template-request.d.ts +5 -5
  242. package/build/types/web/content-filter-request.d.ts +4 -4
  243. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  244. package/build/types/web/index.d.ts +28 -28
  245. package/build/types/web/locations-request.d.ts +3 -3
  246. package/build/types/web/portal.d.ts +8 -8
  247. package/build/types/web/style-sheet.d.ts +7 -7
  248. package/build/types/web/tide-location.d.ts +9 -9
  249. package/build/types/web/web-contact.d.ts +9 -9
  250. package/build/types/web/web-form.d.ts +70 -70
  251. package/build/types/web/web-opportunity-request.d.ts +9 -9
  252. package/build/types/web/web-redirect.d.ts +17 -17
  253. package/build/types/web/web-template.d.ts +34 -34
  254. package/build/types/web/website-configuration.d.ts +75 -75
  255. package/build/utils/api.d.ts +3 -23
  256. package/build/utils/booking-v2-client.d.ts +28 -172
  257. package/build/utils/common-client.d.ts +3 -26
  258. package/build/utils/json.d.ts +2 -2
  259. package/build/utils/member-client.d.ts +7 -32
  260. package/build/utils/mollie-client.d.ts +7 -15
  261. package/build/utils/packaging-client.d.ts +19 -79
  262. package/build/utils/search-client.d.ts +24 -60
  263. package/build/utils/service-token.d.ts +16 -23
  264. package/build/utils/template-content.d.ts +9 -33
  265. package/build/utils/web-agent-client.d.ts +28 -98
  266. package/build/utils/web-client.d.ts +75 -136
  267. package/build/utils/web-contact-client.d.ts +11 -23
  268. package/build/utils/web-content-client.d.ts +89 -134
  269. package/build/utils/web-file.d.ts +20 -29
  270. package/build/utils/web-form.d.ts +20 -36
  271. package/build/utils/web-redirect-client.d.ts +10 -14
  272. package/build/utils/web-template-client.d.ts +9 -12
  273. package/package.json +71 -71
@@ -1,8 +1,8 @@
1
- import { TideElasticProduct } from "./tide-elastic-product";
2
- export interface ElasticResultHit {
3
- _index: string;
4
- _type: string;
5
- _id: string;
6
- _score: number;
7
- _source: TideElasticProduct;
8
- }
1
+ import { TideElasticProduct } from "./tide-elastic-product";
2
+ export interface ElasticResultHit {
3
+ _index: string;
4
+ _type: string;
5
+ _id: string;
6
+ _score: number;
7
+ _source: TideElasticProduct;
8
+ }
@@ -1,17 +1,17 @@
1
- import { ElasticResultHit } from "./elastic-result-hit";
2
- export interface ElasticResult {
3
- took: number;
4
- timed_out: boolean;
5
- _shards: {
6
- total: number;
7
- successful: number;
8
- skipped: number;
9
- failed: number;
10
- };
11
- hits: {
12
- total: number;
13
- max_score: number;
14
- hits: ElasticResultHit[];
15
- };
16
- aggregations: any;
17
- }
1
+ import { ElasticResultHit } from "./elastic-result-hit";
2
+ export interface ElasticResult {
3
+ took: number;
4
+ timed_out: boolean;
5
+ _shards: {
6
+ total: number;
7
+ successful: number;
8
+ skipped: number;
9
+ failed: number;
10
+ };
11
+ hits: {
12
+ total: number;
13
+ max_score: number;
14
+ hits: ElasticResultHit[];
15
+ };
16
+ aggregations: any;
17
+ }
@@ -1,11 +1,11 @@
1
- export interface FlightLinesByAllotment {
2
- [allotmentId: number]: FlightLine[];
3
- }
4
- export interface FlightLine {
5
- departureDate: string;
6
- departureTime: string;
7
- departureAirport: string;
8
- arrivalDate: string;
9
- arrivalTime: string;
10
- arrivalAirport: string;
11
- }
1
+ export interface FlightLinesByAllotment {
2
+ [allotmentId: number]: FlightLine[];
3
+ }
4
+ export interface FlightLine {
5
+ departureDate: string;
6
+ departureTime: string;
7
+ departureAirport: string;
8
+ arrivalDate: string;
9
+ arrivalTime: string;
10
+ arrivalAirport: string;
11
+ }
@@ -1,38 +1,38 @@
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";
38
- export * from "./packaging/packaging-traject-item";
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";
38
+ export * from "./packaging/packaging-traject-item";
@@ -1,21 +1,21 @@
1
- import { PackagingBaseResponse } from "./packaging-base-response";
2
- export interface PackagingAccommodationResponse extends PackagingBaseResponse {
3
- rooms: PackageMainRoom[];
4
- contents: string;
5
- stars?: number;
6
- isPlaceholder?: boolean;
7
- }
8
- export interface PackageMainRoom {
9
- options: PackageMainOption[];
10
- }
11
- export interface PackageMainOption {
12
- price: number;
13
- originalPrice: number;
14
- accommodationCode: string;
15
- accommodationName: string;
16
- regimeCode: string;
17
- regimeName: string;
18
- isSelected: boolean;
19
- guid: string;
20
- paxIds: number[];
21
- }
1
+ import { PackagingBaseResponse } from "./packaging-base-response";
2
+ export interface PackagingAccommodationResponse extends PackagingBaseResponse {
3
+ rooms: PackageMainRoom[];
4
+ contents: string;
5
+ stars?: number;
6
+ isPlaceholder: boolean;
7
+ }
8
+ export interface PackageMainRoom {
9
+ options: PackageMainOption[];
10
+ }
11
+ export interface PackageMainOption {
12
+ price: number;
13
+ originalPrice: number;
14
+ accommodationCode: string;
15
+ accommodationName: string;
16
+ regimeCode: string;
17
+ regimeName: string;
18
+ isSelected: boolean;
19
+ guid: string;
20
+ paxIds: number[];
21
+ }
@@ -1,26 +1,26 @@
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
- city?: string | null;
17
- latitude?: number | null;
18
- longitude?: number | null;
19
- price: number;
20
- averagePricePerPerson: number;
21
- originalPrice: number;
22
- originalAveragePricePerPerson: number;
23
- currencyCode: string;
24
- fromDate: string;
25
- toDate: string;
26
- }
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
+ city?: string | null;
17
+ latitude?: number | null;
18
+ longitude?: number | null;
19
+ price: number;
20
+ averagePricePerPerson: number;
21
+ originalPrice: number;
22
+ originalAveragePricePerPerson: number;
23
+ currencyCode: string;
24
+ fromDate: string;
25
+ toDate: string;
26
+ }
@@ -1,122 +1,125 @@
1
- import { EntryStatus } from "../../../enums";
2
- import { BookingPackagePax, BookingPackagePaxFieldConfig } from "../../shared";
3
- import {
4
- PackagingEntryRoute,
5
- PackagingTrajectNode,
6
- } from "./packaging-traject-response";
7
- export interface PackagingEntry {
8
- language?: string;
9
- transactionId: string;
10
- magicLink?: string;
11
- dossierNumber: string;
12
- bookingDate?: string | null;
13
- price: number;
14
- depositAmount: number;
15
- pax: PackagingEntryPax[];
16
- rooms: PackagingEntryRoom[];
17
- paxFields: BookingPackagePaxFieldConfig[];
18
- lines: PackagingEntryLine[];
19
- trajectId?: number | null;
20
- trajectStartDate?: string | null;
21
- trajectStyle?: string | null;
22
- /** Optional traject stops the traveller took off the trip; book leaves them off the dossier's route. */
23
- removedTrajectNodeIds?: number[] | null;
24
- routeNodes?: PackagingTrajectNode[] | null;
25
- route?: PackagingEntryRoute | null;
26
- /** Connecting nodes of a booked dossier's route whose transport the traveller changed; save updates the route and leaves hops that need no line (walking, cycling) without one. */
27
- routeNodeChanges?: PackagingRouteNodeChange[] | null;
28
- address: PackagingEntryAddress;
29
- status: EntryStatus;
30
- customStatusId?: number;
31
- redirectUrl?: string;
32
- returnPaymentUrl?: boolean;
33
- remarks?: string;
34
- }
35
- export interface PackagingRouteNodeChange {
36
- nodeId: number;
37
- transportType: number;
38
- serviceType: number;
39
- }
40
- export interface PackagingEntryPax extends BookingPackagePax {}
41
- export interface PackagingEntryRoom {
42
- id: number;
43
- paxIds: number[];
44
- }
45
- export interface PackagingEntryLine {
46
- guid: string;
47
- parentGuid?: string | null;
48
- order: number;
49
- trajectNodeId?: number | null;
50
- from: string;
51
- to: string;
52
- moment: string;
53
- serviceType: number;
54
- productName: string;
55
- productCode: string;
56
- accommodationName?: string | null;
57
- accommodationCode?: string | null;
58
- regimeName?: string | null;
59
- regimeCode?: string | null;
60
- vendor?: number | null;
61
- externalVendorId?: number | null;
62
- groupKey: string;
63
- isActive: boolean;
64
- requirementType?: number | null;
65
- country?: IdName | null;
66
- region?: IdName | null;
67
- oord?: IdName | null;
68
- location?: IdName | null;
69
- longitude?: number | null;
70
- latitude?: number | null;
71
- pax: PackagingEntryLinePax[];
72
- flightInformation?: PackagingEntryLineFlightInformation | null;
73
- isChanged: boolean;
74
- }
75
- export interface PackagingEntryLinePax {
76
- paxId: number;
77
- room: number;
78
- order: number;
79
- }
80
- export interface PackagingEntryLineFlightInformation {
81
- pnr?: string | null;
82
- flightLines: PackagingEntryLineFlightLine[];
83
- }
84
- export interface PackagingEntryLineFlightLine {
85
- airlineCode: string;
86
- airlineDescription: string;
87
- operatingAirlineCode?: string | null;
88
- operatingAirlineDescription?: string | null;
89
- flightNumber: string;
90
- operatingFlightNumber?: string | null;
91
- departureDate: string;
92
- departureTime?: string | null;
93
- departureAirportCode: string;
94
- departureAirportDescription: string;
95
- arrivalDate: string;
96
- arrivalTime?: string | null;
97
- arrivalAirportCode: string;
98
- arrivalAirportDescription: string;
99
- durationInTicks?: number | null;
100
- }
101
- export interface IdName {
102
- id: number;
103
- name: string;
104
- localizations?: IdNameLocalization[];
105
- }
106
- export interface IdNameLocalization {
107
- languageId: number;
108
- languageCode: string;
109
- name: string;
110
- }
111
- export interface PackagingEntryAddress {
112
- street: string;
113
- houseNumber: string;
114
- box?: string | null;
115
- zipCode: string;
116
- place: string;
117
- country: string;
118
- travelAgentId?: number;
119
- phone?: string;
120
- email?: string;
121
- remarks?: string;
122
- }
1
+ import { EntryStatus } from "../../../enums";
2
+ import { BookingPackagePax, BookingPackagePaxFieldConfig } from "../../shared";
3
+ import { PackagingEntryRoute, 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
+ trajectStyle?: string | null;
19
+ /** Optional traject stops the traveller took off the trip; book leaves them off the dossier's route. */
20
+ removedTrajectNodeIds?: number[] | null;
21
+ routeNodes?: PackagingTrajectNode[] | null;
22
+ route?: PackagingEntryRoute | null;
23
+ /** Connecting nodes of a booked dossier's route whose transport the traveller changed; save updates the route and leaves hops that need no line (walking, cycling) without one. */
24
+ routeNodeChanges?: PackagingRouteNodeChange[] | null;
25
+ address: PackagingEntryAddress;
26
+ status: EntryStatus;
27
+ customStatusId?: number;
28
+ redirectUrl?: string;
29
+ returnPaymentUrl?: boolean;
30
+ remarks?: string;
31
+ }
32
+ export interface PackagingRouteNodeChange {
33
+ nodeId: number;
34
+ transportType: number;
35
+ serviceType: number;
36
+ }
37
+ /**
38
+ * Tide: `PackagingEntryPax : BookingPackagePax`. `isMainBooker` is a non-nullable bool in C#, so a
39
+ * pax read from an entry always carries it (it is optional on a pax you send in a book request).
40
+ */
41
+ export interface PackagingEntryPax extends BookingPackagePax {
42
+ isMainBooker: boolean;
43
+ }
44
+ export interface PackagingEntryRoom {
45
+ id: number;
46
+ paxIds: number[];
47
+ }
48
+ export interface PackagingEntryLine {
49
+ guid: string;
50
+ parentGuid?: string | null;
51
+ order: number;
52
+ trajectNodeId?: number | null;
53
+ from: string;
54
+ to: string;
55
+ moment: string;
56
+ serviceType: number;
57
+ productName: string;
58
+ productCode: string;
59
+ accommodationName?: string | null;
60
+ accommodationCode?: string | null;
61
+ regimeName?: string | null;
62
+ regimeCode?: string | null;
63
+ vendor?: number | null;
64
+ externalVendorId?: number | null;
65
+ groupKey: string;
66
+ isActive: boolean;
67
+ requirementType?: number | null;
68
+ country?: IdName | null;
69
+ region?: IdName | null;
70
+ oord?: IdName | null;
71
+ location?: IdName | null;
72
+ longitude?: number | null;
73
+ latitude?: number | null;
74
+ pax: PackagingEntryLinePax[];
75
+ flightInformation?: PackagingEntryLineFlightInformation | null;
76
+ isChanged: boolean;
77
+ }
78
+ export interface PackagingEntryLinePax {
79
+ paxId: number;
80
+ room: number;
81
+ order: number;
82
+ }
83
+ export interface PackagingEntryLineFlightInformation {
84
+ pnr?: string | null;
85
+ flightLines: PackagingEntryLineFlightLine[];
86
+ }
87
+ export interface PackagingEntryLineFlightLine {
88
+ airlineCode: string;
89
+ airlineDescription: string;
90
+ operatingAirlineCode?: string | null;
91
+ operatingAirlineDescription?: string | null;
92
+ flightNumber: string;
93
+ operatingFlightNumber?: string | null;
94
+ departureDate: string;
95
+ departureTime?: string | null;
96
+ departureAirportCode: string;
97
+ departureAirportDescription: string;
98
+ arrivalDate: string;
99
+ arrivalTime?: string | null;
100
+ arrivalAirportCode: string;
101
+ arrivalAirportDescription: string;
102
+ durationInTicks?: number | null;
103
+ }
104
+ export interface IdName {
105
+ id: number;
106
+ name: string;
107
+ localizations?: IdNameLocalization[];
108
+ }
109
+ export interface IdNameLocalization {
110
+ languageId: number;
111
+ languageCode: string;
112
+ name: string;
113
+ }
114
+ export interface PackagingEntryAddress {
115
+ street: string;
116
+ houseNumber: string;
117
+ box?: string | null;
118
+ zipCode: string;
119
+ place: string;
120
+ country: string;
121
+ travelAgentId?: number;
122
+ phone?: string;
123
+ email?: string;
124
+ remarks?: string;
125
+ }
@@ -1,22 +1,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
+ 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,8 +1,8 @@
1
- export interface PackagingTrajectItem {
2
- id: number;
3
- name: string;
4
- imageUrl?: string | null;
5
- durationInDays: number;
6
- destinations: string[];
7
- styles?: string[];
8
- }
1
+ export interface PackagingTrajectItem {
2
+ id: number;
3
+ name: string;
4
+ imageUrl?: string | null;
5
+ durationInDays: number;
6
+ destinations: string[];
7
+ styles?: string[];
8
+ }