@qite/tide-client 1.1.53 → 1.1.55

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 (218) hide show
  1. package/build/index.d.ts +54 -15
  2. package/build/index.js +5047 -4825
  3. package/build/index.js.map +1 -1
  4. package/build/services/odata.service.d.ts +8 -2
  5. package/build/types/aapi/accommodation-occupancy.d.ts +9 -9
  6. package/build/types/aapi/accommodation-with-available-places.d.ts +14 -14
  7. package/build/types/aapi/accommodation.d.ts +7 -7
  8. package/build/types/aapi/additional-services.d.ts +6 -6
  9. package/build/types/aapi/alternative-flight-data.d.ts +10 -10
  10. package/build/types/aapi/alternative-flight-leg.d.ts +18 -18
  11. package/build/types/aapi/alternative-flight.d.ts +12 -12
  12. package/build/types/aapi/availability-request.d.ts +12 -12
  13. package/build/types/aapi/availability.d.ts +5 -5
  14. package/build/types/aapi/available-products-request.d.ts +32 -32
  15. package/build/types/aapi/duration.d.ts +4 -4
  16. package/build/types/aapi/flight-leg.d.ts +18 -18
  17. package/build/types/aapi/flight.d.ts +23 -23
  18. package/build/types/aapi/hotel.d.ts +35 -35
  19. package/build/types/aapi/index.d.ts +22 -22
  20. package/build/types/aapi/mollie-payment-request.d.ts +6 -6
  21. package/build/types/aapi/mollie-payment.d.ts +3 -3
  22. package/build/types/aapi/option-pax.d.ts +4 -4
  23. package/build/types/aapi/option.d.ts +28 -21
  24. package/build/types/aapi/pax.d.ts +4 -4
  25. package/build/types/aapi/price-detail.d.ts +8 -8
  26. package/build/types/aapi/regime.d.ts +5 -5
  27. package/build/types/aapi/traveler-grouping.d.ts +5 -5
  28. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  29. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  30. package/build/types/company/agent/entry-totals.d.ts +7 -7
  31. package/build/types/company/agent/index.d.ts +3 -3
  32. package/build/types/company/agent-print-action-request.d.ts +11 -11
  33. package/build/types/company/agent-print-action.d.ts +6 -6
  34. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  35. package/build/types/company/index.d.ts +5 -5
  36. package/build/types/company/number-string-pair.d.ts +4 -4
  37. package/build/types/enums/allotment-type.d.ts +5 -5
  38. package/build/types/enums/availability-search-type.d.ts +4 -4
  39. package/build/types/enums/data-type.d.ts +14 -14
  40. package/build/types/enums/dossier-type.d.ts +6 -6
  41. package/build/types/enums/entry-line-flag.d.ts +6 -6
  42. package/build/types/enums/entry-line-status.d.ts +19 -19
  43. package/build/types/enums/entry-status.d.ts +8 -8
  44. package/build/types/enums/export-status.d.ts +5 -5
  45. package/build/types/enums/gender.d.ts +5 -5
  46. package/build/types/enums/index.d.ts +17 -17
  47. package/build/types/enums/meta-data-type.d.ts +10 -10
  48. package/build/types/enums/payment-type.d.ts +6 -6
  49. package/build/types/enums/price-chart-type.d.ts +4 -4
  50. package/build/types/enums/print-action-group.d.ts +10 -10
  51. package/build/types/enums/requirement-type.d.ts +5 -5
  52. package/build/types/enums/room-type.d.ts +8 -8
  53. package/build/types/enums/sale-type.d.ts +4 -4
  54. package/build/types/enums/service-type.d.ts +31 -31
  55. package/build/types/index.d.ts +28 -6
  56. package/build/types/odata/column.d.ts +8 -8
  57. package/build/types/odata/filter-item.d.ts +14 -14
  58. package/build/types/odata/index.d.ts +3 -3
  59. package/build/types/odata/odata-params.d.ts +3 -3
  60. package/build/types/offer/additional-services.d.ts +6 -6
  61. package/build/types/offer/address.d.ts +11 -11
  62. package/build/types/offer/affiliate.d.ts +5 -5
  63. package/build/types/offer/alternative-flight-data.d.ts +10 -10
  64. package/build/types/offer/alternative-flight-leg.d.ts +18 -18
  65. package/build/types/offer/alternative-flight.d.ts +14 -14
  66. package/build/types/offer/available-package-accommodation.d.ts +7 -7
  67. package/build/types/offer/available-package-flight.d.ts +9 -9
  68. package/build/types/offer/available-package-option.d.ts +17 -12
  69. package/build/types/offer/available-package-pax-price.d.ts +6 -6
  70. package/build/types/offer/available-package-regime.d.ts +4 -4
  71. package/build/types/offer/available-package.d.ts +7 -7
  72. package/build/types/offer/base-price.d.ts +6 -6
  73. package/build/types/offer/base-prices-from-date-request.d.ts +12 -12
  74. package/build/types/offer/base-prices-request.d.ts +12 -12
  75. package/build/types/offer/book-request.d.ts +36 -36
  76. package/build/types/offer/booking-response.d.ts +4 -4
  77. package/build/types/offer/booking-v2/index.d.ts +3 -3
  78. package/build/types/offer/booking-v2/request/bookable-dates-request.d.ts +4 -4
  79. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +14 -14
  80. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +24 -24
  81. package/build/types/offer/booking-v2/request/booking-package-customer-request.d.ts +4 -4
  82. package/build/types/offer/booking-v2/request/booking-package-destination.d.ts +9 -9
  83. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +21 -21
  84. package/build/types/offer/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
  85. package/build/types/offer/booking-v2/request/booking-package-request.d.ts +5 -5
  86. package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +27 -27
  87. package/build/types/offer/booking-v2/request/booking-package-update-request.d.ts +4 -4
  88. package/build/types/offer/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
  89. package/build/types/offer/booking-v2/request/index.d.ts +14 -14
  90. package/build/types/offer/booking-v2/request/selected-flight.d.ts +6 -6
  91. package/build/types/offer/booking-v2/request/selected-hotel.d.ts +5 -5
  92. package/build/types/offer/booking-v2/request/tour-codes.request.d.ts +3 -3
  93. package/build/types/offer/booking-v2/response/bookable-dates.d.ts +4 -4
  94. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +17 -17
  95. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +6 -6
  96. package/build/types/offer/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  97. package/build/types/offer/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  98. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +39 -39
  99. package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +17 -17
  100. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +14 -14
  101. package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  102. package/build/types/offer/booking-v2/response/booking-product-notification.d.ts +7 -7
  103. package/build/types/offer/booking-v2/response/booking-room-status-option.d.ts +5 -5
  104. package/build/types/offer/booking-v2/response/booking-room-status.d.ts +5 -5
  105. package/build/types/offer/booking-v2/response/booking-travel-agent.d.ts +7 -7
  106. package/build/types/offer/booking-v2/response/booking-validity-line.d.ts +4 -4
  107. package/build/types/offer/booking-v2/response/booking-voucher-result.d.ts +3 -3
  108. package/build/types/offer/booking-v2/response/changed-line.d.ts +4 -4
  109. package/build/types/offer/booking-v2/response/index.d.ts +16 -16
  110. package/build/types/offer/booking-v2/response/tide-response.d.ts +8 -8
  111. package/build/types/offer/booking-v2/response/tour-codes-response.d.ts +3 -3
  112. package/build/types/offer/booking-v2/shared/airline-booking-package-option.d.ts +2 -3
  113. package/build/types/offer/booking-v2/shared/airport-booking-package-option.d.ts +2 -3
  114. package/build/types/offer/booking-v2/shared/booking-airline-group.d.ts +6 -6
  115. package/build/types/offer/booking-v2/shared/booking-airport-group.d.ts +6 -6
  116. package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +5 -5
  117. package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +13 -13
  118. package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +12 -12
  119. package/build/types/offer/booking-v2/shared/booking-package-availability.d.ts +9 -9
  120. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -17
  121. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  122. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +15 -14
  123. package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
  124. package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  125. package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  126. package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +16 -16
  127. package/build/types/offer/booking-v2/shared/booking-package-option.d.ts +47 -47
  128. package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +17 -17
  129. package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  130. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +21 -17
  131. package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +5 -5
  132. package/build/types/offer/booking-v2/shared/booking-package-tag.d.ts +5 -5
  133. package/build/types/offer/booking-v2/shared/booking-package.d.ts +11 -11
  134. package/build/types/offer/booking-v2/shared/index.d.ts +23 -23
  135. package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  136. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +9 -9
  137. package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  138. package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  139. package/build/types/offer/booking-v2/shared/room-option-pax-type.d.ts +4 -0
  140. package/build/types/offer/cached-package-search-result.d.ts +5 -5
  141. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  142. package/build/types/offer/country-item.d.ts +5 -5
  143. package/build/types/offer/crm-contact-request.d.ts +36 -28
  144. package/build/types/offer/customer-request.d.ts +5 -5
  145. package/build/types/offer/dossier-default-product.d.ts +14 -14
  146. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  147. package/build/types/offer/dossier-view-result.d.ts +48 -48
  148. package/build/types/offer/entry-check-response.d.ts +8 -8
  149. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  150. package/build/types/offer/entry-line-pax.d.ts +8 -8
  151. package/build/types/offer/entry-line.d.ts +73 -67
  152. package/build/types/offer/entry-price-line.d.ts +40 -40
  153. package/build/types/offer/entry-room2.d.ts +5 -5
  154. package/build/types/offer/entry.d.ts +65 -55
  155. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  156. package/build/types/offer/flight-meta-data.d.ts +14 -14
  157. package/build/types/offer/flight-pool.d.ts +5 -5
  158. package/build/types/offer/index.d.ts +76 -76
  159. package/build/types/offer/item-tag.d.ts +3 -3
  160. package/build/types/offer/language.d.ts +5 -5
  161. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  162. package/build/types/offer/member-forgot-password-request.d.ts +4 -4
  163. package/build/types/offer/member-info.d.ts +10 -10
  164. package/build/types/offer/member-login-request.d.ts +4 -4
  165. package/build/types/offer/member-login-response.d.ts +3 -3
  166. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  167. package/build/types/offer/multiroom-book-request.d.ts +10 -10
  168. package/build/types/offer/note.d.ts +16 -16
  169. package/build/types/offer/other-product.d.ts +13 -13
  170. package/build/types/offer/package-book-request-room.d.ts +5 -5
  171. package/build/types/offer/package-book-request.d.ts +12 -12
  172. package/build/types/offer/package-flight.d.ts +13 -13
  173. package/build/types/offer/package-flights.d.ts +5 -5
  174. package/build/types/offer/package-option.d.ts +22 -22
  175. package/build/types/offer/package-price-details-request-room.d.ts +4 -4
  176. package/build/types/offer/package-price-details-request.d.ts +8 -8
  177. package/build/types/offer/package-room-option.d.ts +10 -10
  178. package/build/types/offer/package-room.d.ts +7 -7
  179. package/build/types/offer/package-search-destination.d.ts +9 -9
  180. package/build/types/offer/package-search-request-date.d.ts +4 -4
  181. package/build/types/offer/package-search-request-room.d.ts +5 -5
  182. package/build/types/offer/package-search-request.d.ts +22 -18
  183. package/build/types/offer/package-search-result.d.ts +12 -12
  184. package/build/types/offer/package-sub-option.d.ts +6 -6
  185. package/build/types/offer/page-result.d.ts +5 -5
  186. package/build/types/offer/pax.d.ts +29 -29
  187. package/build/types/offer/payment.d.ts +20 -20
  188. package/build/types/offer/person-country-preference.d.ts +7 -7
  189. package/build/types/offer/person-location-preference.d.ts +7 -7
  190. package/build/types/offer/person-oord-preference.d.ts +7 -7
  191. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  192. package/build/types/offer/person-period-preference.d.ts +7 -7
  193. package/build/types/offer/person-region-preference.d.ts +7 -7
  194. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  195. package/build/types/offer/price-detail.d.ts +18 -18
  196. package/build/types/offer/price-per-pax.d.ts +6 -6
  197. package/build/types/offer/product-notification-result.d.ts +9 -9
  198. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  199. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  200. package/build/types/tide-client-config.d.ts +5 -5
  201. package/build/utils/api.d.ts +15 -2
  202. package/build/utils/booking-client.d.ts +181 -114
  203. package/build/utils/booking-v2-client.d.ts +103 -18
  204. package/build/utils/common-client.d.ts +17 -2
  205. package/build/utils/json.d.ts +2 -2
  206. package/build/utils/member-client.d.ts +32 -7
  207. package/build/utils/mollie-client.d.ts +15 -7
  208. package/build/utils/search-client.d.ts +12 -9
  209. package/build/utils/web-agent-client.d.ts +72 -23
  210. package/build/utils/web-client.d.ts +33 -22
  211. package/build/utils/web-contact-client.d.ts +23 -11
  212. package/build/utils/web-file.d.ts +14 -10
  213. package/package.json +1 -1
  214. package/src/types/offer/booking-v2/shared/booking-package-availability.ts +9 -9
  215. package/src/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.ts +3 -2
  216. package/src/types/offer/booking-v2/shared/booking-package-flight.ts +1 -0
  217. package/src/types/offer/booking-v2/shared/booking-package-room-option.ts +6 -1
  218. package/src/types/offer/booking-v2/shared/room-option-pax-type.ts +4 -0
@@ -1,22 +1,33 @@
1
- import { CrmContactRequest, TideClientConfig } from "../types";
2
- import { Affiliate } from "../types/offer/affiliate";
3
- /**
4
- * api/web/crmcontact
5
- * Creates a CRM contact.
6
- * @param config
7
- * @param request
8
- * @param signal
9
- * @returns OK if succeeded.
10
- */
11
- export declare const createCrmContact: (config: TideClientConfig, request: CrmContactRequest, signal?: AbortSignal | undefined) => Promise<Response>;
12
- /**
13
- * api/web/affiliates
14
- * Gets all Affiliates
15
- * @param config
16
- * @param signal
17
- * @returns OK if succeeded.
18
- */
19
- export declare const getAffiliates: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<[Affiliate]>;
20
- export declare const getTranslationDictionary: (config: TideClientConfig, segmentKey: string, signal?: AbortSignal | undefined) => Promise<{
21
- [key: string]: object;
22
- }>;
1
+ import { CrmContactRequest, TideClientConfig } from "../types";
2
+ import { Affiliate } from "../types/offer/affiliate";
3
+ /**
4
+ * api/web/crmcontact
5
+ * Creates a CRM contact.
6
+ * @param config
7
+ * @param request
8
+ * @param signal
9
+ * @returns OK if succeeded.
10
+ */
11
+ export declare const createCrmContact: (
12
+ config: TideClientConfig,
13
+ request: CrmContactRequest,
14
+ signal?: AbortSignal | undefined
15
+ ) => Promise<Response>;
16
+ /**
17
+ * api/web/affiliates
18
+ * Gets all Affiliates
19
+ * @param config
20
+ * @param signal
21
+ * @returns OK if succeeded.
22
+ */
23
+ export declare const getAffiliates: (
24
+ config: TideClientConfig,
25
+ signal?: AbortSignal | undefined
26
+ ) => Promise<[Affiliate]>;
27
+ export declare const getTranslationDictionary: (
28
+ config: TideClientConfig,
29
+ segmentKey: string,
30
+ signal?: AbortSignal | undefined
31
+ ) => Promise<{
32
+ [key: string]: object;
33
+ }>;
@@ -1,11 +1,23 @@
1
- import { TideClientConfig, WebContactFormRequest, WebContactHasTagRequest } from "../types";
2
- /**
3
- * api/web/contact/contact-form
4
- * Processes a contact form.
5
- * @param config
6
- * @param request
7
- * @param signal
8
- * @returns OK if succeeded.
9
- */
10
- export declare const contactForm: (config: TideClientConfig, request: WebContactFormRequest, signal?: AbortSignal | undefined) => Promise<Response>;
11
- export declare const contactHasTag: (config: TideClientConfig, request: WebContactHasTagRequest, signal?: AbortSignal | undefined) => Promise<Response>;
1
+ import {
2
+ TideClientConfig,
3
+ WebContactFormRequest,
4
+ WebContactHasTagRequest,
5
+ } from "../types";
6
+ /**
7
+ * api/web/contact/contact-form
8
+ * Processes a contact form.
9
+ * @param config
10
+ * @param request
11
+ * @param signal
12
+ * @returns OK if succeeded.
13
+ */
14
+ export declare const contactForm: (
15
+ config: TideClientConfig,
16
+ request: WebContactFormRequest,
17
+ signal?: AbortSignal | undefined
18
+ ) => Promise<Response>;
19
+ export declare const contactHasTag: (
20
+ config: TideClientConfig,
21
+ request: WebContactHasTagRequest,
22
+ signal?: AbortSignal | undefined
23
+ ) => Promise<Response>;
@@ -1,10 +1,14 @@
1
- import { TideClientConfig } from "../types";
2
- /**
3
- * api/web/file/feed
4
- * fetch a xml from blob feed.
5
- * @param config
6
- * @param request
7
- * @param signal
8
- * @returns OK if succeeded.
9
- */
10
- export declare const feedXml: (config: TideClientConfig, request: string, signal?: AbortSignal | undefined) => Promise<Response>;
1
+ import { TideClientConfig } from "../types";
2
+ /**
3
+ * api/web/file/feed
4
+ * fetch a xml from blob feed.
5
+ * @param config
6
+ * @param request
7
+ * @param signal
8
+ * @returns OK if succeeded.
9
+ */
10
+ export declare const feedXml: (
11
+ config: TideClientConfig,
12
+ request: string,
13
+ signal?: AbortSignal | undefined
14
+ ) => Promise<Response>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.53",
3
+ "version": "1.1.55",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -1,9 +1,9 @@
1
- export interface BookingPackageAvailability {
2
- code: string;
3
- count: number;
4
- fromDate: string;
5
- toDate: string;
6
- tourCode: string;
7
- isExternal: boolean;
8
- onRequestPossible: boolean;
9
- }
1
+ export interface BookingPackageAvailability {
2
+ code: string;
3
+ count: number;
4
+ fromDate: string;
5
+ toDate: string;
6
+ tourCode: string;
7
+ isExternal: boolean;
8
+ onRequestPossible: boolean;
9
+ }
@@ -1,10 +1,10 @@
1
1
  export interface BookingPackageFlightMetaDataLine {
2
2
  number: string;
3
- departureDate: Date;
3
+ departureDate: string;
4
4
  departureAirport: string;
5
5
  departureAirportDescription: string;
6
6
  departureTime: string;
7
- arrivalDate: Date;
7
+ arrivalDate: string;
8
8
  arrivalAirport: string;
9
9
  arrivalAirportDescription: string;
10
10
  arrivalTime: string;
@@ -14,4 +14,5 @@ export interface BookingPackageFlightMetaDataLine {
14
14
  airlineCode: string;
15
15
  operatingAirlineCode: string;
16
16
  operatingAirlineDescription: string;
17
+ durationInTicks: number;
17
18
  }
@@ -11,5 +11,6 @@ export interface BookingPackageFlight {
11
11
  externalGuid?: string;
12
12
  entryLineGuid: string;
13
13
  flightMetaData: BookingPackageFlightMetaData;
14
+ airlineDescription: string;
14
15
  validOptions: string[];
15
16
  }
@@ -1,3 +1,5 @@
1
+ import { RoomOptionPaxType } from "./room-option-pax-type";
2
+
1
3
  export interface BookingPackageRoomOption {
2
4
  entryLineGuid: string;
3
5
  allotmentId?: number;
@@ -9,9 +11,12 @@ export interface BookingPackageRoomOption {
9
11
  regimeName: string;
10
12
  price: number;
11
13
  isSelected: boolean;
12
- quantity?: number;
14
+ isLocked: boolean;
15
+ quantity: number;
13
16
  from: string;
14
17
  to: string;
15
18
  tourCode: string;
16
19
  isOnRequest: boolean;
20
+ paxTypes: RoomOptionPaxType;
21
+ remarks: string;
17
22
  }
@@ -0,0 +1,4 @@
1
+ export interface RoomOptionPaxType {
2
+ id: number;
3
+ type: number;
4
+ }