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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/build/index.d.ts +14 -17
  2. package/build/index.js +5514 -5866
  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 +30 -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 +29 -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 +31 -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 +24 -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/packaging/packaging-transfer-request.d.ts +14 -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 +16 -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 +110 -100
  61. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +18 -20
  62. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +82 -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 +3 -2
  70. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
  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 -10
  84. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  85. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  86. package/build/types/booking-v2/shared/booking-package-line.d.ts +20 -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 +11 -11
  90. package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +9 -9
  91. package/build/types/booking-v2/shared/booking-package-pax.d.ts +40 -40
  92. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  93. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +25 -22
  94. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  95. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  96. package/build/types/booking-v2/shared/booking-package.d.ts +21 -21
  97. package/build/types/booking-v2/shared/index.d.ts +32 -32
  98. package/build/types/booking-v2/shared/itinerary.d.ts +42 -41
  99. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  100. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  101. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  102. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  103. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  104. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  105. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  106. package/build/types/company/agent/entry-totals.d.ts +7 -7
  107. package/build/types/company/agent/index.d.ts +3 -3
  108. package/build/types/company/agent-print-action-request.d.ts +11 -11
  109. package/build/types/company/agent-print-action.d.ts +6 -6
  110. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  111. package/build/types/company/index.d.ts +5 -5
  112. package/build/types/company/number-string-pair.d.ts +4 -4
  113. package/build/types/enums/allotment-kind.d.ts +4 -4
  114. package/build/types/enums/allotment-status.d.ts +5 -5
  115. package/build/types/enums/allotment-type.d.ts +5 -5
  116. package/build/types/enums/availability-search-type.d.ts +6 -6
  117. package/build/types/enums/custom-field-data-type.d.ts +8 -9
  118. package/build/types/enums/data-type.d.ts +14 -14
  119. package/build/types/enums/date-amount-type.d.ts +4 -4
  120. package/build/types/enums/dossier-type.d.ts +6 -6
  121. package/build/types/enums/duration-type.d.ts +6 -6
  122. package/build/types/enums/entry-line-flag.d.ts +6 -6
  123. package/build/types/enums/entry-line-status.d.ts +19 -19
  124. package/build/types/enums/entry-status.d.ts +8 -8
  125. package/build/types/enums/export-status.d.ts +5 -5
  126. package/build/types/enums/form-field-type.d.ts +12 -12
  127. package/build/types/enums/form-field-width.d.ts +8 -8
  128. package/build/types/enums/form-type.d.ts +4 -4
  129. package/build/types/enums/gender.d.ts +5 -5
  130. package/build/types/enums/height-type.d.ts +4 -4
  131. package/build/types/enums/index.d.ts +34 -34
  132. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  133. package/build/types/enums/meta-data-type.d.ts +10 -10
  134. package/build/types/enums/note-type.d.ts +8 -8
  135. package/build/types/enums/payment-type.d.ts +6 -6
  136. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  137. package/build/types/enums/price-chart-type.d.ts +4 -4
  138. package/build/types/enums/print-action-group.d.ts +10 -10
  139. package/build/types/enums/requirement-type.d.ts +5 -5
  140. package/build/types/enums/room-type.d.ts +8 -8
  141. package/build/types/enums/route-transport-type.d.ts +19 -19
  142. package/build/types/enums/sale-type.d.ts +4 -4
  143. package/build/types/enums/service-type.d.ts +33 -33
  144. package/build/types/enums/traject-node-type.d.ts +6 -6
  145. package/build/types/enums/unit-of-measure.d.ts +5 -5
  146. package/build/types/enums/vendor-type.d.ts +24 -24
  147. package/build/types/enums/weight-type.d.ts +4 -4
  148. package/build/types/hubs/index.d.ts +1 -1
  149. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  150. package/build/types/hubs/search/flight-search-request.d.ts +37 -32
  151. package/build/types/hubs/search/flight-search-response.d.ts +63 -53
  152. package/build/types/hubs/search/index.d.ts +3 -3
  153. package/build/types/index.d.ts +10 -10
  154. package/build/types/mollie/index.d.ts +2 -2
  155. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  156. package/build/types/mollie/mollie-payment.d.ts +3 -3
  157. package/build/types/odata/column.d.ts +8 -8
  158. package/build/types/odata/filter-item.d.ts +14 -14
  159. package/build/types/odata/index.d.ts +4 -4
  160. package/build/types/odata/odata-params.d.ts +3 -3
  161. package/build/types/odata/page-result.d.ts +5 -5
  162. package/build/types/offer/address-item.d.ts +30 -30
  163. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  164. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  165. package/build/types/offer/country-item.d.ts +5 -5
  166. package/build/types/offer/crm-contact-request.d.ts +28 -36
  167. package/build/types/offer/customer-request.d.ts +5 -5
  168. package/build/types/offer/dossier-default-product.d.ts +14 -14
  169. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  170. package/build/types/offer/dossier-view-result.d.ts +48 -48
  171. package/build/types/offer/entry-check-response.d.ts +8 -8
  172. package/build/types/offer/entry-light.d.ts +41 -41
  173. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  174. package/build/types/offer/entry-line-pax.d.ts +8 -8
  175. package/build/types/offer/entry-line.d.ts +67 -73
  176. package/build/types/offer/entry-price-line.d.ts +40 -40
  177. package/build/types/offer/entry-room.d.ts +6 -6
  178. package/build/types/offer/entry-room2.d.ts +5 -5
  179. package/build/types/offer/entry.d.ts +55 -65
  180. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  181. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  182. package/build/types/offer/flight-meta-data.d.ts +13 -13
  183. package/build/types/offer/flight-pool.d.ts +5 -5
  184. package/build/types/offer/geographical-region.d.ts +32 -32
  185. package/build/types/offer/index.d.ts +46 -46
  186. package/build/types/offer/item-tag.d.ts +3 -3
  187. package/build/types/offer/language.d.ts +5 -5
  188. package/build/types/offer/location-item.d.ts +5 -5
  189. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  190. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  191. package/build/types/offer/member-info.d.ts +14 -14
  192. package/build/types/offer/member-login-request.d.ts +5 -5
  193. package/build/types/offer/member-login-response.d.ts +3 -3
  194. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  195. package/build/types/offer/note.d.ts +16 -16
  196. package/build/types/offer/pax.d.ts +29 -29
  197. package/build/types/offer/payment.d.ts +20 -20
  198. package/build/types/offer/person-country-preference.d.ts +7 -7
  199. package/build/types/offer/person-location-preference.d.ts +7 -7
  200. package/build/types/offer/person-oord-preference.d.ts +7 -7
  201. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  202. package/build/types/offer/person-period-preference.d.ts +7 -7
  203. package/build/types/offer/person-region-preference.d.ts +7 -7
  204. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  205. package/build/types/offer/product-notification-result.d.ts +9 -9
  206. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  207. package/build/types/offer/publishing/index.d.ts +4 -4
  208. package/build/types/offer/publishing/mail.d.ts +15 -15
  209. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  210. package/build/types/offer/publishing/published-content.d.ts +10 -10
  211. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  212. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  213. package/build/types/shared/date-struct.d.ts +5 -5
  214. package/build/types/shared/index.d.ts +2 -2
  215. package/build/types/shared/ticket-number.d.ts +5 -5
  216. package/build/types/tide-client-config.d.ts +5 -5
  217. package/build/types/web/affiliate.d.ts +5 -5
  218. package/build/types/web/agent-allotment-item.d.ts +31 -31
  219. package/build/types/web/agent-allotment.d.ts +32 -32
  220. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  221. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  222. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  223. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  224. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  225. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  226. package/build/types/web/agent-dossier-item.d.ts +18 -18
  227. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  228. package/build/types/web/agent-dossier.d.ts +19 -19
  229. package/build/types/web/airport.d.ts +6 -6
  230. package/build/types/web/contact-form-request.d.ts +11 -11
  231. package/build/types/web/content-by-parent-request.d.ts +4 -4
  232. package/build/types/web/content-by-property-request.d.ts +9 -9
  233. package/build/types/web/content-by-template-request.d.ts +5 -5
  234. package/build/types/web/content-filter-request.d.ts +4 -4
  235. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  236. package/build/types/web/index.d.ts +26 -26
  237. package/build/types/web/locations-request.d.ts +3 -3
  238. package/build/types/web/portal.d.ts +8 -8
  239. package/build/types/web/style-sheet.d.ts +7 -7
  240. package/build/types/web/tide-location.d.ts +9 -9
  241. package/build/types/web/web-contact.d.ts +9 -9
  242. package/build/types/web/web-form.d.ts +68 -68
  243. package/build/types/web/web-opportunity-request.d.ts +9 -9
  244. package/build/types/web/website-configuration.d.ts +72 -37
  245. package/build/utils/api.d.ts +3 -23
  246. package/build/utils/booking-v2-client.d.ts +28 -172
  247. package/build/utils/common-client.d.ts +3 -26
  248. package/build/utils/json.d.ts +2 -2
  249. package/build/utils/member-client.d.ts +7 -32
  250. package/build/utils/mollie-client.d.ts +7 -15
  251. package/build/utils/packaging-client.d.ts +18 -64
  252. package/build/utils/search-client.d.ts +24 -60
  253. package/build/utils/service-token.d.ts +16 -23
  254. package/build/utils/web-agent-client.d.ts +28 -98
  255. package/build/utils/web-client.d.ts +75 -136
  256. package/build/utils/web-contact-client.d.ts +11 -23
  257. package/build/utils/web-content-client.d.ts +89 -134
  258. package/build/utils/web-file.d.ts +20 -29
  259. package/build/utils/web-form.d.ts +20 -36
  260. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- export interface GenerateBookingAccommodationRequest {
2
- languageCode: string;
3
- contentViewId: number;
4
- productCode: string;
5
- accommodationCodes: string[];
6
- }
1
+ export interface GenerateBookingAccommodationRequest {
2
+ languageCode: string;
3
+ contentViewId: number;
4
+ productCode: string;
5
+ accommodationCodes: string[];
6
+ }
@@ -1,26 +1,26 @@
1
- export * from "./affiliate";
2
- export * from "./agent-allotment";
3
- export * from "./agent-allotment-item";
4
- export * from "./agent-dossier";
5
- export * from "./agent-dossier-allotment";
6
- export * from "./agent-dossier-allotment-item";
7
- export * from "./agent-dossier-entry-line";
8
- export * from "./agent-dossier-flight-meta-data";
9
- export * from "./agent-dossier-flight-meta-data-line";
10
- export * from "./agent-dossier-item";
11
- export * from "./agent-dossier-traveler";
12
- export * from "./airport";
13
- export * from "./contact-form-request";
14
- export * from "./content-by-parent-request";
15
- export * from "./content-by-property-request";
16
- export * from "./content-by-template-request";
17
- export * from "./content-filter-request";
18
- export * from "./generate-booking-accommodation-request";
19
- export * from "./locations-request";
20
- export * from "./portal";
21
- export * from "./style-sheet";
22
- export * from "./tide-location";
23
- export * from "./web-contact";
24
- export * from "./web-form";
25
- export * from "./web-opportunity-request";
26
- export * from "./website-configuration";
1
+ export * from "./affiliate";
2
+ export * from "./agent-allotment";
3
+ export * from "./agent-allotment-item";
4
+ export * from "./agent-dossier";
5
+ export * from "./agent-dossier-allotment";
6
+ export * from "./agent-dossier-allotment-item";
7
+ export * from "./agent-dossier-entry-line";
8
+ export * from "./agent-dossier-flight-meta-data";
9
+ export * from "./agent-dossier-flight-meta-data-line";
10
+ export * from "./agent-dossier-item";
11
+ export * from "./agent-dossier-traveler";
12
+ export * from "./airport";
13
+ export * from "./contact-form-request";
14
+ export * from "./content-by-parent-request";
15
+ export * from "./content-by-property-request";
16
+ export * from "./content-by-template-request";
17
+ export * from "./content-filter-request";
18
+ export * from "./generate-booking-accommodation-request";
19
+ export * from "./locations-request";
20
+ export * from "./portal";
21
+ export * from "./style-sheet";
22
+ export * from "./tide-location";
23
+ export * from "./web-contact";
24
+ export * from "./web-form";
25
+ export * from "./web-opportunity-request";
26
+ export * from "./website-configuration";
@@ -1,3 +1,3 @@
1
- export interface LocationsRequest {
2
- locationIds: number[];
3
- }
1
+ export interface LocationsRequest {
2
+ locationIds: number[];
3
+ }
@@ -1,8 +1,8 @@
1
- export interface Portal {
2
- id: number;
3
- code: string;
4
- name: string;
5
- type: number;
6
- url: string;
7
- configuration: string;
8
- }
1
+ export interface Portal {
2
+ id: number;
3
+ code: string;
4
+ name: string;
5
+ type: number;
6
+ url: string;
7
+ configuration: string;
8
+ }
@@ -1,7 +1,7 @@
1
- export interface StyleSheet {
2
- id: number;
3
- folderId?: number;
4
- name: string;
5
- format: string;
6
- body: string;
7
- }
1
+ export interface StyleSheet {
2
+ id: number;
3
+ folderId?: number;
4
+ name: string;
5
+ format: string;
6
+ body: string;
7
+ }
@@ -1,9 +1,9 @@
1
- export interface TideLocation {
2
- id: number;
3
- country: number;
4
- region?: number;
5
- oord?: number;
6
- name: string;
7
- latitude: number;
8
- longitude: number;
9
- }
1
+ export interface TideLocation {
2
+ id: number;
3
+ country: number;
4
+ region?: number;
5
+ oord?: number;
6
+ name: string;
7
+ latitude: number;
8
+ longitude: number;
9
+ }
@@ -1,9 +1,9 @@
1
- export interface WebContact {
2
- firstName: string;
3
- lastName: string;
4
- email: string;
5
- phone: string;
6
- mobile: string;
7
- languageCode: string;
8
- companyId: number;
9
- }
1
+ export interface WebContact {
2
+ firstName: string;
3
+ lastName: string;
4
+ email: string;
5
+ phone: string;
6
+ mobile: string;
7
+ languageCode: string;
8
+ companyId: number;
9
+ }
@@ -1,68 +1,68 @@
1
- export interface TideWebFormContext {
2
- key: string;
3
- identifier: string;
4
- }
5
- export interface TideWebForm {
6
- type: number;
7
- successMessage: string;
8
- steps: WebFormStep[];
9
- captcha: CaptchaConfig | null;
10
- }
11
- export interface CaptchaConfig {
12
- provider: "recaptcha-v3" | "hcaptcha" | "turnstile";
13
- siteKey: string;
14
- }
15
- export interface WebFormStep {
16
- order: number;
17
- name: string;
18
- title: string;
19
- visibilityConfiguration: string | null;
20
- segments: WebFormSegment[];
21
- }
22
- export interface WebFormSegment {
23
- order: number;
24
- name: string;
25
- title: string;
26
- visibilityConfiguration: string | null;
27
- fields: WebFormField[];
28
- }
29
- export interface WebFormField {
30
- name: string;
31
- title: string;
32
- placeholder: string | null;
33
- helpText: string | null;
34
- isRequired: boolean;
35
- isHidden: boolean;
36
- order: number;
37
- type: number;
38
- width: number;
39
- configuration: string;
40
- visibilityConfiguration: string | null;
41
- }
42
- export interface WebFormSubmitRequest {
43
- data: object;
44
- captchaToken: string | null;
45
- }
46
- export interface VisibilityConfiguration {
47
- field: string | null;
48
- notEmpty: boolean;
49
- isRepeating: boolean;
50
- inFirstRepitition: boolean;
51
- askFirst: boolean;
52
- values: {
53
- value: string;
54
- }[];
55
- }
56
- export interface FormOptionValueConfiguration {
57
- multiSelect: boolean;
58
- allowOther: boolean;
59
- values: {
60
- order: number;
61
- value: string;
62
- label: string;
63
- }[];
64
- }
65
- export interface InfoTextConfiguration {
66
- text: string;
67
- containerClass: string;
68
- }
1
+ export interface TideWebFormContext {
2
+ key: string;
3
+ identifier: string;
4
+ }
5
+ export interface TideWebForm {
6
+ type: number;
7
+ successMessage: string;
8
+ steps: WebFormStep[];
9
+ captcha: CaptchaConfig | null;
10
+ }
11
+ export interface CaptchaConfig {
12
+ provider: "recaptcha-v3" | "hcaptcha" | "turnstile";
13
+ siteKey: string;
14
+ }
15
+ export interface WebFormStep {
16
+ order: number;
17
+ name: string;
18
+ title: string;
19
+ visibilityConfiguration: string | null;
20
+ segments: WebFormSegment[];
21
+ }
22
+ export interface WebFormSegment {
23
+ order: number;
24
+ name: string;
25
+ title: string;
26
+ visibilityConfiguration: string | null;
27
+ fields: WebFormField[];
28
+ }
29
+ export interface WebFormField {
30
+ name: string;
31
+ title: string;
32
+ placeholder: string | null;
33
+ helpText: string | null;
34
+ isRequired: boolean;
35
+ isHidden: boolean;
36
+ order: number;
37
+ type: number;
38
+ width: number;
39
+ configuration: string;
40
+ visibilityConfiguration: string | null;
41
+ }
42
+ export interface WebFormSubmitRequest {
43
+ data: object;
44
+ captchaToken: string | null;
45
+ }
46
+ export interface VisibilityConfiguration {
47
+ field: string | null;
48
+ notEmpty: boolean;
49
+ isRepeating: boolean;
50
+ inFirstRepitition: boolean;
51
+ askFirst: boolean;
52
+ values: {
53
+ value: string;
54
+ }[];
55
+ }
56
+ export interface FormOptionValueConfiguration {
57
+ multiSelect: boolean;
58
+ allowOther: boolean;
59
+ values: {
60
+ order: number;
61
+ value: string;
62
+ label: string;
63
+ }[];
64
+ }
65
+ export interface InfoTextConfiguration {
66
+ text: string;
67
+ containerClass: string;
68
+ }
@@ -1,9 +1,9 @@
1
- import { NoteType } from "../enums/note-type";
2
- import { WebContact } from "./web-contact";
3
- export interface WebOpportunityRequest extends WebContact {
4
- countryId?: number | null;
5
- type: NoteType;
6
- subject: string;
7
- message: string;
8
- kanbanBoardId?: number | null;
9
- }
1
+ import { NoteType } from "../enums/note-type";
2
+ import { WebContact } from "./web-contact";
3
+ export interface WebOpportunityRequest extends WebContact {
4
+ countryId?: number | null;
5
+ type: NoteType;
6
+ subject: string;
7
+ message: string;
8
+ kanbanBoardId?: number | null;
9
+ }
@@ -1,37 +1,72 @@
1
- import { AvailabilitySearchType } from "../enums";
2
- import { DateAmountType } from "../enums/date-amount-type";
3
- import { PortalQsmType } from "../enums/portal-qsm-type";
4
- export interface WebsiteConfiguration {
5
- styleSheetIds: number[];
6
- searchConfigurations: WebsiteConfigurationSearchConfiguration[];
7
- languageCodes: string[];
8
- countryImageTemplateFieldName: string;
9
- regionImageTemplateFieldName: string;
10
- oordImageTemplateFieldName: string;
11
- locationImageTemplateFieldName: string;
12
- showApiItems: boolean;
13
- hideShowMoreResults: boolean;
14
- loadDayActivitiesOnDemand: boolean;
15
- showNonPreferredHotels: boolean;
16
- allowBookedEntryChanges: boolean;
17
- }
18
- export interface WebsiteConfigurationSearchConfiguration {
19
- id: number;
20
- name: string;
21
- icon: string;
22
- defaultSearchType: AvailabilitySearchType;
23
- serviceTypes: number[];
24
- defaultCatalogueId?: number;
25
- defaultDuration?: number;
26
- fromDateAmount: number;
27
- fromDateAmountType: DateAmountType;
28
- toDateAmount: number;
29
- toDateAmountType: DateAmountType;
30
- enableManualPackaging: boolean;
31
- allowFlights: boolean;
32
- allowAccommodations: boolean;
33
- allowCarRentals: boolean;
34
- allowTransfers: boolean;
35
- allowExcursions: boolean;
36
- qsmType: PortalQsmType;
37
- }
1
+ import { AvailabilitySearchType } from "../enums";
2
+ import { DateAmountType } from "../enums/date-amount-type";
3
+ import { PortalQsmType } from "../enums/portal-qsm-type";
4
+ export interface WebsiteConfiguration {
5
+ styleSheetIds: number[];
6
+ searchConfigurations: WebsiteConfigurationSearchConfiguration[];
7
+ languageCodes: string[];
8
+ defaultLanguageCode: string | null;
9
+ officeId: number | null;
10
+ catalogueId: number | null;
11
+ agentPortalId: number | null;
12
+ dateFormat: string | null;
13
+ generatePaymentUrl: boolean;
14
+ countryImageTemplateFieldName: string;
15
+ regionImageTemplateFieldName: string;
16
+ oordImageTemplateFieldName: string;
17
+ locationImageTemplateFieldName: string;
18
+ countryTemplateName: string | null;
19
+ regionTemplateName: string | null;
20
+ oordTemplateName: string | null;
21
+ locationTemplateName: string | null;
22
+ hotel: WebsiteConfigurationHotelTemplate | null;
23
+ roundtrip: WebsiteConfigurationTripTemplate | null;
24
+ groupTour: WebsiteConfigurationTripTemplate | null;
25
+ showApiItems: boolean;
26
+ hideShowMoreResults: boolean;
27
+ loadDayActivitiesOnDemand: boolean;
28
+ showNonPreferredHotels: boolean;
29
+ allowBookedEntryChanges: boolean;
30
+ allowMultiCity: boolean;
31
+ }
32
+ export interface WebsiteConfigurationHotelTemplate {
33
+ templateName: string;
34
+ titleFieldName: string | null;
35
+ titlePrefixFieldName: string | null;
36
+ slugFieldName: string | null;
37
+ productFieldName: string | null;
38
+ starsFieldName: string | null;
39
+ themesFieldName: string | null;
40
+ introductionTitleFieldName: string | null;
41
+ introductionFieldName: string | null;
42
+ thumbnailImageFieldName: string | null;
43
+ headerImageFieldName: string | null;
44
+ }
45
+ export interface WebsiteConfigurationTripTemplate {
46
+ templateName: string;
47
+ titleFieldName: string | null;
48
+ introductionFieldName: string | null;
49
+ slugFieldName: string | null;
50
+ productFieldName: string | null;
51
+ headerImageFieldName: string | null;
52
+ }
53
+ export interface WebsiteConfigurationSearchConfiguration {
54
+ id: number;
55
+ name: string;
56
+ icon: string;
57
+ defaultSearchType: AvailabilitySearchType;
58
+ serviceTypes: number[];
59
+ defaultCatalogueId?: number;
60
+ defaultDuration?: number;
61
+ fromDateAmount: number;
62
+ fromDateAmountType: DateAmountType;
63
+ toDateAmount: number;
64
+ toDateAmountType: DateAmountType;
65
+ enableManualPackaging: boolean;
66
+ allowFlights: boolean;
67
+ allowAccommodations: boolean;
68
+ allowCarRentals: boolean;
69
+ allowTransfers: boolean;
70
+ allowExcursions: boolean;
71
+ qsmType: PortalQsmType;
72
+ }
@@ -1,23 +1,3 @@
1
- export declare const post: (
2
- url: string,
3
- apiKey: string,
4
- body?: string | null | undefined,
5
- token?: string | undefined,
6
- signal?: AbortSignal | undefined,
7
- languageCode?: string | undefined
8
- ) => Promise<Response>;
9
- export declare const patch: (
10
- url: string,
11
- apiKey: string,
12
- body?: string | null | undefined,
13
- token?: string | undefined,
14
- signal?: AbortSignal | undefined,
15
- languageCode?: string | undefined
16
- ) => Promise<Response>;
17
- export declare const get: (
18
- url: string,
19
- apiKey: string,
20
- token?: string | undefined,
21
- signal?: AbortSignal | undefined,
22
- languageCode?: string | undefined
23
- ) => Promise<Response>;
1
+ export declare const post: (url: string, apiKey: string, body?: string | null | undefined, token?: string | undefined, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<Response>;
2
+ export declare const patch: (url: string, apiKey: string, body?: string | null | undefined, token?: string | undefined, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<Response>;
3
+ export declare const get: (url: string, apiKey: string, token?: string | undefined, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<Response>;
@@ -1,172 +1,28 @@
1
- import { TideClientConfig } from "..";
2
- import {
3
- AvailableCountriesRequest,
4
- AvailableCountry,
5
- AvailableFlight,
6
- AvailableFlightsRequest,
7
- BasePrice,
8
- BookableDates,
9
- BookableDatesRequest,
10
- BookingPackage,
11
- BookingPackageAvailability,
12
- BookingPackageBookRequest,
13
- BookingPackageDetailsRequest,
14
- BookingPackageDossier,
15
- BookingPackageFlightPool,
16
- BookingPackageFlightPoolRequest,
17
- BookingPackageHotelPool,
18
- BookingPackageItem,
19
- BookingPackageRequest,
20
- BookingPackageSearchRequest,
21
- BookingPackageUpdateRequest,
22
- BookingPackageVoucherRequest,
23
- BookingPackageWithEntry,
24
- BookingPriceDetails,
25
- BookingTravelAgent,
26
- BookingVoucherResult,
27
- ElasticResult,
28
- EntryLight,
29
- EntryStatus,
30
- FlightLinesByAllotment,
31
- FlightLinesRequest,
32
- PricesRequest,
33
- TideResponse,
34
- TourCodesRequest,
35
- TourCodesResponse,
36
- TransportDatesRequest,
37
- TransportDatesResponse,
38
- } from "../types";
39
- import { RepriceAndIssueTicketRequest } from "../types/booking-v2/request/reprice-and-issue-ticket-request";
40
- export declare const availableFlights: (
41
- config: TideClientConfig,
42
- request: AvailableFlightsRequest,
43
- signal?: AbortSignal | undefined
44
- ) => Promise<AvailableFlight[]>;
45
- export declare const transportDates: (
46
- config: TideClientConfig,
47
- request: TransportDatesRequest,
48
- signal?: AbortSignal | undefined
49
- ) => Promise<TransportDatesResponse>;
50
- export declare const prices: (
51
- config: TideClientConfig,
52
- request: PricesRequest,
53
- signal?: AbortSignal | undefined
54
- ) => Promise<BasePrice[]>;
55
- export declare const availableCountries: (
56
- config: TideClientConfig,
57
- request: AvailableCountriesRequest,
58
- signal?: AbortSignal | undefined
59
- ) => Promise<AvailableCountry[]>;
60
- export declare const search: (
61
- config: TideClientConfig,
62
- request: BookingPackageRequest<BookingPackageSearchRequest>,
63
- signal?: AbortSignal | undefined
64
- ) => Promise<BookingPackageItem[]>;
65
- export declare const searchWithErrorMapping: (
66
- config: TideClientConfig,
67
- request: BookingPackageRequest<BookingPackageSearchRequest>,
68
- signal?: AbortSignal | undefined
69
- ) => Promise<TideResponse<BookingPackageItem[]>>;
70
- export declare const searchElastic: (
71
- config: TideClientConfig,
72
- request: string,
73
- signal?: AbortSignal | undefined
74
- ) => Promise<ElasticResult>;
75
- export declare const details: (
76
- config: TideClientConfig,
77
- request: BookingPackageRequest<BookingPackageDetailsRequest>,
78
- signal?: AbortSignal | undefined,
79
- languageCode?: string | undefined
80
- ) => Promise<TideResponse<BookingPackage>>;
81
- export declare const detailsWL: (
82
- config: TideClientConfig,
83
- request: BookingPackageRequest<BookingPackageDetailsRequest>,
84
- signal?: AbortSignal | undefined,
85
- languageCode?: string | undefined
86
- ) => Promise<TideResponse<BookingPackageWithEntry>>;
87
- export declare const getEntryLight: (
88
- config: TideClientConfig,
89
- code: string,
90
- signal?: AbortSignal | undefined
91
- ) => Promise<EntryLight>;
92
- export declare const validateVoucher: (
93
- config: TideClientConfig,
94
- request: BookingPackageRequest<BookingPackageVoucherRequest>,
95
- signal?: AbortSignal | undefined
96
- ) => Promise<BookingVoucherResult>;
97
- export declare const alternateHotels: (
98
- config: TideClientConfig,
99
- transactionId: string,
100
- optionId: string,
101
- signal?: AbortSignal | undefined
102
- ) => Promise<BookingPackageHotelPool>;
103
- export declare const alternateFlights: (
104
- config: TideClientConfig,
105
- transactionId: string,
106
- signal?: AbortSignal | undefined
107
- ) => Promise<BookingPackageFlightPool>;
108
- export declare const bookableDates: (
109
- config: TideClientConfig,
110
- request: BookableDatesRequest,
111
- signal?: AbortSignal | undefined
112
- ) => Promise<BookableDates>;
113
- export declare const priceDetails: (
114
- config: TideClientConfig,
115
- request: BookingPackageRequest<BookingPackageBookRequest>,
116
- signal?: AbortSignal | undefined,
117
- languageCode?: string | undefined
118
- ) => Promise<BookingPriceDetails>;
119
- export declare const book: (
120
- config: TideClientConfig,
121
- request: BookingPackageRequest<BookingPackageBookRequest>,
122
- signal?: AbortSignal | undefined,
123
- languageCode?: string | undefined
124
- ) => Promise<BookingPackageDossier>;
125
- export declare const update: (
126
- config: TideClientConfig,
127
- request: BookingPackageRequest<BookingPackageUpdateRequest>,
128
- signal?: AbortSignal | undefined
129
- ) => Promise<BookingPackageDossier>;
130
- export declare const agents: (
131
- config: TideClientConfig,
132
- signal?: AbortSignal | undefined
133
- ) => Promise<BookingTravelAgent[]>;
134
- export declare const getAllotmentAvailability: (
135
- config: TideClientConfig,
136
- eventId: string,
137
- productCode: string,
138
- signal?: AbortSignal | undefined
139
- ) => Promise<BookingPackageAvailability[]>;
140
- export declare const searchFlightPool: (
141
- config: TideClientConfig,
142
- request: BookingPackageRequest<BookingPackageFlightPoolRequest>,
143
- signal?: AbortSignal | undefined
144
- ) => Promise<BookingPackageFlightPool>;
145
- export declare const tourCodes: (
146
- config: TideClientConfig,
147
- request: TourCodesRequest,
148
- signal?: AbortSignal | undefined
149
- ) => Promise<TourCodesResponse>;
150
- export declare const setCustomEntryStatus: (
151
- config: TideClientConfig,
152
- dossierNumber: string,
153
- customEntryStatusId: number,
154
- signal?: AbortSignal | undefined
155
- ) => Promise<BookingPackageAvailability[]>;
156
- export declare const setEntryStatus: (
157
- config: TideClientConfig,
158
- dossierNumber: string,
159
- entryStatus: EntryStatus,
160
- customEntryStatusId?: number | undefined,
161
- signal?: AbortSignal | undefined
162
- ) => Promise<BookingPackageAvailability[]>;
163
- export declare const repriceAndIssueTicket: (
164
- config: TideClientConfig,
165
- request: RepriceAndIssueTicketRequest,
166
- signal?: AbortSignal | undefined
167
- ) => Promise<void>;
168
- export declare const flightLines: (
169
- config: TideClientConfig,
170
- request: FlightLinesRequest,
171
- signal?: AbortSignal | undefined
172
- ) => Promise<FlightLinesByAllotment>;
1
+ import { TideClientConfig } from "..";
2
+ import { AvailableCountriesRequest, AvailableCountry, AvailableFlight, AvailableFlightsRequest, BasePrice, BookableDates, BookableDatesRequest, BookingPackage, BookingPackageAvailability, BookingPackageBookRequest, BookingPackageDetailsRequest, BookingPackageDossier, BookingPackageFlightPool, BookingPackageFlightPoolRequest, BookingPackageHotelPool, BookingPackageItem, BookingPackageRequest, BookingPackageSearchRequest, BookingPackageUpdateRequest, BookingPackageVoucherRequest, BookingPackageWithEntry, BookingPriceDetails, BookingTravelAgent, BookingVoucherResult, ElasticResult, EntryLight, EntryStatus, FlightLinesByAllotment, FlightLinesRequest, PricesRequest, TideResponse, TourCodesRequest, TourCodesResponse, TransportDatesRequest, TransportDatesResponse } from "../types";
3
+ import { RepriceAndIssueTicketRequest } from "../types/booking-v2/request/reprice-and-issue-ticket-request";
4
+ export declare const availableFlights: (config: TideClientConfig, request: AvailableFlightsRequest, signal?: AbortSignal | undefined) => Promise<AvailableFlight[]>;
5
+ export declare const transportDates: (config: TideClientConfig, request: TransportDatesRequest, signal?: AbortSignal | undefined) => Promise<TransportDatesResponse>;
6
+ export declare const prices: (config: TideClientConfig, request: PricesRequest, signal?: AbortSignal | undefined) => Promise<BasePrice[]>;
7
+ export declare const availableCountries: (config: TideClientConfig, request: AvailableCountriesRequest, signal?: AbortSignal | undefined) => Promise<AvailableCountry[]>;
8
+ export declare const search: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageSearchRequest>, signal?: AbortSignal | undefined) => Promise<BookingPackageItem[]>;
9
+ export declare const searchWithErrorMapping: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageSearchRequest>, signal?: AbortSignal | undefined) => Promise<TideResponse<BookingPackageItem[]>>;
10
+ export declare const searchElastic: (config: TideClientConfig, request: string, signal?: AbortSignal | undefined) => Promise<ElasticResult>;
11
+ export declare const details: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageDetailsRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<TideResponse<BookingPackage>>;
12
+ export declare const detailsWL: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageDetailsRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<TideResponse<BookingPackageWithEntry>>;
13
+ export declare const getEntryLight: (config: TideClientConfig, code: string, signal?: AbortSignal | undefined) => Promise<EntryLight>;
14
+ export declare const validateVoucher: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageVoucherRequest>, signal?: AbortSignal | undefined) => Promise<BookingVoucherResult>;
15
+ export declare const alternateHotels: (config: TideClientConfig, transactionId: string, optionId: string, signal?: AbortSignal | undefined) => Promise<BookingPackageHotelPool>;
16
+ export declare const alternateFlights: (config: TideClientConfig, transactionId: string, signal?: AbortSignal | undefined) => Promise<BookingPackageFlightPool>;
17
+ export declare const bookableDates: (config: TideClientConfig, request: BookableDatesRequest, signal?: AbortSignal | undefined) => Promise<BookableDates>;
18
+ export declare const priceDetails: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageBookRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<BookingPriceDetails>;
19
+ export declare const book: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageBookRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<BookingPackageDossier>;
20
+ export declare const update: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageUpdateRequest>, signal?: AbortSignal | undefined) => Promise<BookingPackageDossier>;
21
+ export declare const agents: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<BookingTravelAgent[]>;
22
+ export declare const getAllotmentAvailability: (config: TideClientConfig, eventId: string, productCode: string, signal?: AbortSignal | undefined) => Promise<BookingPackageAvailability[]>;
23
+ export declare const searchFlightPool: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageFlightPoolRequest>, signal?: AbortSignal | undefined) => Promise<BookingPackageFlightPool>;
24
+ export declare const tourCodes: (config: TideClientConfig, request: TourCodesRequest, signal?: AbortSignal | undefined) => Promise<TourCodesResponse>;
25
+ export declare const setCustomEntryStatus: (config: TideClientConfig, dossierNumber: string, customEntryStatusId: number, signal?: AbortSignal | undefined) => Promise<BookingPackageAvailability[]>;
26
+ export declare const setEntryStatus: (config: TideClientConfig, dossierNumber: string, entryStatus: EntryStatus, customEntryStatusId?: number | undefined, signal?: AbortSignal | undefined) => Promise<BookingPackageAvailability[]>;
27
+ export declare const repriceAndIssueTicket: (config: TideClientConfig, request: RepriceAndIssueTicketRequest, signal?: AbortSignal | undefined) => Promise<void>;
28
+ export declare const flightLines: (config: TideClientConfig, request: FlightLinesRequest, signal?: AbortSignal | undefined) => Promise<FlightLinesByAllotment>;