@qite/tide-client 1.1.44 → 1.1.46

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 (211) hide show
  1. package/build/index.d.ts +42 -3
  2. package/build/index.js +6508 -6287
  3. package/build/index.js.map +1 -1
  4. package/build/services/odata.service.d.ts +7 -1
  5. package/build/types/aapi/accommodation-occupancy.d.ts +7 -7
  6. package/build/types/aapi/accommodation-with-available-places.d.ts +11 -11
  7. package/build/types/aapi/accommodation.d.ts +4 -4
  8. package/build/types/aapi/additional-services.d.ts +4 -4
  9. package/build/types/aapi/alternative-flight-data.d.ts +7 -7
  10. package/build/types/aapi/alternative-flight-leg.d.ts +16 -16
  11. package/build/types/aapi/alternative-flight.d.ts +9 -9
  12. package/build/types/aapi/availability-request.d.ts +10 -10
  13. package/build/types/aapi/availability.d.ts +2 -2
  14. package/build/types/aapi/available-products-request.d.ts +29 -29
  15. package/build/types/aapi/duration.d.ts +2 -2
  16. package/build/types/aapi/flight-leg.d.ts +16 -16
  17. package/build/types/aapi/flight.d.ts +20 -20
  18. package/build/types/aapi/hotel.d.ts +32 -32
  19. package/build/types/aapi/mollie-payment-request.d.ts +4 -4
  20. package/build/types/aapi/mollie-payment.d.ts +1 -1
  21. package/build/types/aapi/option-pax.d.ts +2 -2
  22. package/build/types/aapi/option.d.ts +26 -19
  23. package/build/types/aapi/pax.d.ts +2 -2
  24. package/build/types/aapi/price-detail.d.ts +6 -6
  25. package/build/types/aapi/regime.d.ts +3 -3
  26. package/build/types/aapi/traveler-grouping.d.ts +3 -3
  27. package/build/types/company/agent/agent-invoice-item.d.ts +7 -7
  28. package/build/types/company/agent/entry-totals.d.ts +5 -5
  29. package/build/types/company/agent-print-action-request.d.ts +9 -9
  30. package/build/types/company/agent-print-action.d.ts +3 -3
  31. package/build/types/company/custom-entry-status-item.d.ts +4 -4
  32. package/build/types/company/number-string-pair.d.ts +2 -2
  33. package/build/types/enums/allotment-type.d.ts +3 -3
  34. package/build/types/enums/availability-search-type.d.ts +2 -2
  35. package/build/types/enums/data-type.d.ts +12 -12
  36. package/build/types/enums/dossier-type.d.ts +4 -4
  37. package/build/types/enums/entry-line-flag.d.ts +4 -4
  38. package/build/types/enums/entry-line-status.d.ts +17 -17
  39. package/build/types/enums/entry-status.d.ts +6 -6
  40. package/build/types/enums/export-status.d.ts +3 -3
  41. package/build/types/enums/gender.d.ts +3 -3
  42. package/build/types/enums/meta-data-type.d.ts +8 -8
  43. package/build/types/enums/payment-type.d.ts +4 -4
  44. package/build/types/enums/price-chart-type.d.ts +2 -2
  45. package/build/types/enums/print-action-group.d.ts +8 -8
  46. package/build/types/enums/requirement-type.d.ts +3 -3
  47. package/build/types/enums/room-type.d.ts +6 -6
  48. package/build/types/enums/sale-type.d.ts +2 -2
  49. package/build/types/enums/service-type.d.ts +26 -26
  50. package/build/types/index.d.ts +23 -1
  51. package/build/types/odata/column.d.ts +6 -6
  52. package/build/types/odata/filter-item.d.ts +11 -11
  53. package/build/types/odata/odata-params.d.ts +1 -1
  54. package/build/types/offer/additional-services.d.ts +4 -4
  55. package/build/types/offer/address.d.ts +9 -9
  56. package/build/types/offer/affiliate.d.ts +3 -3
  57. package/build/types/offer/alternative-flight-data.d.ts +7 -7
  58. package/build/types/offer/alternative-flight-leg.d.ts +16 -16
  59. package/build/types/offer/alternative-flight.d.ts +11 -11
  60. package/build/types/offer/available-package-accommodation.d.ts +4 -4
  61. package/build/types/offer/available-package-flight.d.ts +6 -6
  62. package/build/types/offer/available-package-option.d.ts +15 -10
  63. package/build/types/offer/available-package-pax-price.d.ts +4 -4
  64. package/build/types/offer/available-package-regime.d.ts +2 -2
  65. package/build/types/offer/available-package.d.ts +4 -4
  66. package/build/types/offer/base-price.d.ts +4 -4
  67. package/build/types/offer/base-prices-from-date-request.d.ts +10 -10
  68. package/build/types/offer/base-prices-request.d.ts +10 -10
  69. package/build/types/offer/book-request.d.ts +32 -32
  70. package/build/types/offer/booking-response.d.ts +2 -2
  71. package/build/types/offer/booking-v2/request/bookable-dates-request.d.ts +2 -2
  72. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +12 -12
  73. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +17 -17
  74. package/build/types/offer/booking-v2/request/booking-package-customer-request.d.ts +2 -2
  75. package/build/types/offer/booking-v2/request/booking-package-destination.d.ts +7 -7
  76. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +16 -16
  77. package/build/types/offer/booking-v2/request/booking-package-flight-pool-request.d.ts +8 -8
  78. package/build/types/offer/booking-v2/request/booking-package-request.d.ts +3 -3
  79. package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +23 -23
  80. package/build/types/offer/booking-v2/request/booking-package-update-request.d.ts +1 -1
  81. package/build/types/offer/booking-v2/request/booking-package-voucher-request.d.ts +2 -2
  82. package/build/types/offer/booking-v2/request/selected-flight.d.ts +4 -4
  83. package/build/types/offer/booking-v2/request/selected-hotel.d.ts +3 -3
  84. package/build/types/offer/booking-v2/request/tour-codes.request.d.ts +1 -1
  85. package/build/types/offer/booking-v2/response/bookable-dates.d.ts +2 -2
  86. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +15 -15
  87. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +4 -4
  88. package/build/types/offer/booking-v2/response/booking-package-flight-pool.d.ts +2 -2
  89. package/build/types/offer/booking-v2/response/booking-package-hotel-pool.d.ts +1 -1
  90. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +36 -36
  91. package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +14 -14
  92. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +7 -6
  93. package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +2 -2
  94. package/build/types/offer/booking-v2/response/booking-product-notification.d.ts +5 -5
  95. package/build/types/offer/booking-v2/response/booking-room-status-option.d.ts +3 -3
  96. package/build/types/offer/booking-v2/response/booking-room-status.d.ts +2 -2
  97. package/build/types/offer/booking-v2/response/booking-travel-agent.d.ts +5 -5
  98. package/build/types/offer/booking-v2/response/booking-validity-line.d.ts +2 -2
  99. package/build/types/offer/booking-v2/response/booking-voucher-result.d.ts +1 -1
  100. package/build/types/offer/booking-v2/response/changed-line.d.ts +2 -2
  101. package/build/types/offer/booking-v2/response/tide-response.d.ts +6 -6
  102. package/build/types/offer/booking-v2/response/tour-codes-response.d.ts +1 -1
  103. package/build/types/offer/booking-v2/shared/airline-booking-package-option.d.ts +1 -2
  104. package/build/types/offer/booking-v2/shared/airport-booking-package-option.d.ts +1 -2
  105. package/build/types/offer/booking-v2/shared/booking-airline-group.d.ts +3 -3
  106. package/build/types/offer/booking-v2/shared/booking-airport-group.d.ts +3 -3
  107. package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +3 -3
  108. package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +5 -5
  109. package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +4 -4
  110. package/build/types/offer/booking-v2/shared/booking-package-availability.d.ts +6 -6
  111. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +15 -15
  112. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data.d.ts +7 -7
  113. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +11 -11
  114. package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +8 -8
  115. package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +2 -2
  116. package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +19 -19
  117. package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +13 -13
  118. package/build/types/offer/booking-v2/shared/booking-package-option.d.ts +33 -33
  119. package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +15 -15
  120. package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +2 -2
  121. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +15 -15
  122. package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +2 -2
  123. package/build/types/offer/booking-v2/shared/booking-package-tag.d.ts +3 -3
  124. package/build/types/offer/booking-v2/shared/booking-package.d.ts +6 -6
  125. package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +3 -3
  126. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +6 -6
  127. package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +1 -1
  128. package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +2 -2
  129. package/build/types/offer/cached-package-search-result.d.ts +2 -2
  130. package/build/types/offer/confirmed-dossier-check.d.ts +4 -4
  131. package/build/types/offer/country-item.d.ts +3 -3
  132. package/build/types/offer/crm-contact-request.d.ts +34 -26
  133. package/build/types/offer/customer-request.d.ts +3 -3
  134. package/build/types/offer/dossier-default-product.d.ts +12 -12
  135. package/build/types/offer/dossier-pax-item.d.ts +2 -2
  136. package/build/types/offer/dossier-view-result.d.ts +41 -41
  137. package/build/types/offer/entry-check-response.d.ts +6 -6
  138. package/build/types/offer/entry-line-meta-data.d.ts +3 -3
  139. package/build/types/offer/entry-line-pax.d.ts +5 -5
  140. package/build/types/offer/entry-line.d.ts +71 -65
  141. package/build/types/offer/entry-price-line.d.ts +38 -38
  142. package/build/types/offer/entry-room2.d.ts +3 -3
  143. package/build/types/offer/entry.d.ts +57 -47
  144. package/build/types/offer/flight-meta-data-line.d.ts +14 -14
  145. package/build/types/offer/flight-meta-data.d.ts +11 -11
  146. package/build/types/offer/flight-pool.d.ts +2 -2
  147. package/build/types/offer/item-tag.d.ts +1 -1
  148. package/build/types/offer/language.d.ts +3 -3
  149. package/build/types/offer/member-confirmation-request.d.ts +3 -3
  150. package/build/types/offer/member-forgot-password-request.d.ts +2 -2
  151. package/build/types/offer/member-info.d.ts +8 -8
  152. package/build/types/offer/member-login-request.d.ts +2 -2
  153. package/build/types/offer/member-login-response.d.ts +1 -1
  154. package/build/types/offer/member-reset-password-request.d.ts +2 -2
  155. package/build/types/offer/multiroom-book-request.d.ts +7 -7
  156. package/build/types/offer/note.d.ts +14 -14
  157. package/build/types/offer/other-product.d.ts +10 -10
  158. package/build/types/offer/package-book-request-room.d.ts +2 -2
  159. package/build/types/offer/package-book-request.d.ts +9 -9
  160. package/build/types/offer/package-flight.d.ts +10 -10
  161. package/build/types/offer/package-flights.d.ts +2 -2
  162. package/build/types/offer/package-option.d.ts +19 -19
  163. package/build/types/offer/package-price-details-request-room.d.ts +2 -2
  164. package/build/types/offer/package-price-details-request.d.ts +5 -5
  165. package/build/types/offer/package-room-option.d.ts +8 -8
  166. package/build/types/offer/package-room.d.ts +4 -4
  167. package/build/types/offer/package-search-destination.d.ts +7 -7
  168. package/build/types/offer/package-search-request-date.d.ts +2 -2
  169. package/build/types/offer/package-search-request-room.d.ts +3 -3
  170. package/build/types/offer/package-search-request.d.ts +20 -16
  171. package/build/types/offer/package-search-result.d.ts +9 -9
  172. package/build/types/offer/package-sub-option.d.ts +4 -4
  173. package/build/types/offer/page-result.d.ts +3 -3
  174. package/build/types/offer/pax.d.ts +26 -26
  175. package/build/types/offer/payment.d.ts +18 -18
  176. package/build/types/offer/person-country-preference.d.ts +5 -5
  177. package/build/types/offer/person-location-preference.d.ts +5 -5
  178. package/build/types/offer/person-oord-preference.d.ts +5 -5
  179. package/build/types/offer/person-period-date-range-preference.d.ts +4 -4
  180. package/build/types/offer/person-period-preference.d.ts +5 -5
  181. package/build/types/offer/person-region-preference.d.ts +5 -5
  182. package/build/types/offer/person-tour-group-preference.d.ts +5 -5
  183. package/build/types/offer/price-detail.d.ts +15 -15
  184. package/build/types/offer/price-per-pax.d.ts +4 -4
  185. package/build/types/offer/product-notification-result.d.ts +7 -7
  186. package/build/types/offer/web-contact-form-request.d.ts +11 -11
  187. package/build/types/offer/web-contact-has-tag-request.d.ts +2 -2
  188. package/build/types/tide-client-config.d.ts +3 -3
  189. package/build/utils/api.d.ts +15 -2
  190. package/build/utils/booking-client.d.ts +81 -14
  191. package/build/utils/booking-v2-client.d.ts +101 -16
  192. package/build/utils/common-client.d.ts +17 -2
  193. package/build/utils/member-client.d.ts +31 -6
  194. package/build/utils/mollie-client.d.ts +10 -2
  195. package/build/utils/search-client.d.ts +4 -1
  196. package/build/utils/web-agent-client.d.ts +52 -8
  197. package/build/utils/web-client.d.ts +16 -4
  198. package/build/utils/web-contact-client.d.ts +15 -3
  199. package/build/utils/web-file.d.ts +5 -1
  200. package/package.json +1 -1
  201. package/src/types/company/agent/change-entry-agent-surcharge-action.model.ts +5 -0
  202. package/src/types/company/agent/index.ts +1 -0
  203. package/src/types/offer/booking-v2/response/booking-price-details.ts +1 -0
  204. package/src/types/offer/dossier-view-result.ts +2 -0
  205. package/src/types/offer/entry.ts +2 -0
  206. package/src/utils/web-agent-client.ts +30 -2
  207. package/src/utils/web-client.ts +9 -10
  208. package/build/types/cms/translation-dictionary-item-localized.model.d.ts +0 -5
  209. package/build/types/cms/translation-dictionary-item.model.d.ts +0 -6
  210. package/build/types/cms/translation-dictionary-segment.model.d.ts +0 -7
  211. package/build/types/cms/translation-dictionary.model.d.ts +0 -4
@@ -1,5 +1,4 @@
1
1
  import { CrmContactRequest, TideClientConfig } from "../types";
2
- import { TranslationDictionary } from "../types/cms/translation-dictionary.model";
3
2
  import { Affiliate } from "../types/offer/affiliate";
4
3
 
5
4
  import { post } from "./api";
@@ -48,12 +47,12 @@ export const getAffiliates = (
48
47
  };
49
48
 
50
49
  export const getTranslationDictionary = (
51
- config: TideClientConfig,
52
- segmentKey: string,
53
- signal?: AbortSignal
54
- ): Promise<{[key: string]: object}> => {
55
- const url = `${config.host}${ENDPOINT_TRANSLATION_DICTIONARY}/${segmentKey}`;
56
- const apiKey = config.apiKey;
57
-
58
- return get(url, apiKey, undefined, signal);
59
- }
50
+ config: TideClientConfig,
51
+ segmentKey: string,
52
+ signal?: AbortSignal
53
+ ): Promise<{ [key: string]: object }> => {
54
+ const url = `${config.host}${ENDPOINT_TRANSLATION_DICTIONARY}/${segmentKey}`;
55
+ const apiKey = config.apiKey;
56
+
57
+ return get(url, apiKey, undefined, signal);
58
+ };
@@ -1,5 +0,0 @@
1
- export interface TranslationDictionaryItemLocalized {
2
- languageCode: string;
3
- languageId: number;
4
- value: string;
5
- }
@@ -1,6 +0,0 @@
1
- import { TranslationDictionaryItemLocalized } from "./translation-dictionary-item-localized.model";
2
- export interface TranslationDictionaryItem {
3
- id: number;
4
- key: string;
5
- value: TranslationDictionaryItemLocalized[];
6
- }
@@ -1,7 +0,0 @@
1
- import { TranslationDictionaryItem } from "./translation-dictionary-item.model";
2
- export interface TranslationDictionarySegment {
3
- name: string;
4
- key: string;
5
- items: TranslationDictionaryItem[];
6
- children: TranslationDictionarySegment[];
7
- }
@@ -1,4 +0,0 @@
1
- import { TranslationDictionarySegment } from "./translation-dictionary-segment.model";
2
- export interface TranslationDictionary {
3
- segments: TranslationDictionarySegment[];
4
- }