@qite/tide-client 1.1.92 → 1.1.94

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 (199) hide show
  1. package/build/index.d.ts +10 -10
  2. package/build/index.js +4807 -5062
  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 +25 -25
  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 +27 -27
  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 +29 -29
  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/index.d.ts +18 -18
  20. package/build/types/booking-v2/request/prices-request.d.ts +17 -17
  21. package/build/types/booking-v2/request/selected-flight.d.ts +10 -10
  22. package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
  23. package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
  24. package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
  25. package/build/types/booking-v2/response/available-country.d.ts +5 -5
  26. package/build/types/booking-v2/response/available-flight.d.ts +4 -4
  27. package/build/types/booking-v2/response/base-price.d.ts +7 -7
  28. package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
  29. package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +17 -17
  30. package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
  31. package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -0
  32. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
  33. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -7
  34. package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  35. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
  36. package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  37. package/build/types/booking-v2/response/booking-package-item.d.ts +40 -40
  38. package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
  39. package/build/types/booking-v2/response/booking-price-details.d.ts +14 -14
  40. package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  41. package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
  42. package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
  43. package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
  44. package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
  45. package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
  46. package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
  47. package/build/types/booking-v2/response/changed-line.d.ts +4 -4
  48. package/build/types/booking-v2/response/index.d.ts +26 -25
  49. package/build/types/booking-v2/response/tide-response.d.ts +8 -8
  50. package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
  51. package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
  52. package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +3 -2
  53. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
  54. package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
  55. package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
  56. package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
  57. package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
  58. package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
  59. package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
  60. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  61. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  62. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  63. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
  64. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  65. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  66. package/build/types/booking-v2/shared/booking-package-line.d.ts +17 -17
  67. package/build/types/booking-v2/shared/booking-package-option.d.ts +47 -47
  68. package/build/types/booking-v2/shared/booking-package-pax.d.ts +17 -17
  69. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  70. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +22 -21
  71. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  72. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  73. package/build/types/booking-v2/shared/booking-package.d.ts +14 -14
  74. package/build/types/booking-v2/shared/index.d.ts +27 -27
  75. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  76. package/build/types/booking-v2/shared/per-package-option.d.ts +9 -9
  77. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  78. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  79. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  80. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  81. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  82. package/build/types/company/agent/entry-totals.d.ts +7 -7
  83. package/build/types/company/agent/index.d.ts +3 -3
  84. package/build/types/company/agent-print-action-request.d.ts +11 -11
  85. package/build/types/company/agent-print-action.d.ts +6 -6
  86. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  87. package/build/types/company/index.d.ts +5 -5
  88. package/build/types/company/number-string-pair.d.ts +4 -4
  89. package/build/types/enums/allotment-kind.d.ts +4 -4
  90. package/build/types/enums/allotment-status.d.ts +5 -5
  91. package/build/types/enums/allotment-type.d.ts +5 -5
  92. package/build/types/enums/availability-search-type.d.ts +4 -4
  93. package/build/types/enums/data-type.d.ts +14 -14
  94. package/build/types/enums/dossier-type.d.ts +6 -6
  95. package/build/types/enums/entry-line-flag.d.ts +6 -6
  96. package/build/types/enums/entry-line-status.d.ts +19 -19
  97. package/build/types/enums/entry-status.d.ts +8 -8
  98. package/build/types/enums/export-status.d.ts +5 -5
  99. package/build/types/enums/gender.d.ts +5 -5
  100. package/build/types/enums/index.d.ts +21 -21
  101. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  102. package/build/types/enums/meta-data-type.d.ts +10 -10
  103. package/build/types/enums/payment-type.d.ts +6 -6
  104. package/build/types/enums/price-chart-type.d.ts +4 -4
  105. package/build/types/enums/print-action-group.d.ts +10 -10
  106. package/build/types/enums/requirement-type.d.ts +5 -5
  107. package/build/types/enums/room-type.d.ts +8 -8
  108. package/build/types/enums/sale-type.d.ts +4 -4
  109. package/build/types/enums/service-type.d.ts +33 -33
  110. package/build/types/enums/unit-of-measure.d.ts +5 -5
  111. package/build/types/hubs/index.d.ts +1 -1
  112. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  113. package/build/types/hubs/search/flight-search-request.d.ts +24 -24
  114. package/build/types/hubs/search/flight-search-response.d.ts +43 -43
  115. package/build/types/hubs/search/index.d.ts +3 -3
  116. package/build/types/index.d.ts +10 -10
  117. package/build/types/mollie/index.d.ts +2 -2
  118. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  119. package/build/types/mollie/mollie-payment.d.ts +3 -3
  120. package/build/types/odata/column.d.ts +8 -8
  121. package/build/types/odata/filter-item.d.ts +14 -14
  122. package/build/types/odata/index.d.ts +4 -4
  123. package/build/types/odata/odata-params.d.ts +3 -3
  124. package/build/types/odata/page-result.d.ts +5 -5
  125. package/build/types/offer/additional-services.d.ts +6 -6
  126. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  127. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  128. package/build/types/offer/country-item.d.ts +5 -5
  129. package/build/types/offer/crm-contact-request.d.ts +28 -36
  130. package/build/types/offer/customer-request.d.ts +5 -5
  131. package/build/types/offer/dossier-default-product.d.ts +14 -14
  132. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  133. package/build/types/offer/dossier-view-result.d.ts +48 -48
  134. package/build/types/offer/entry-check-response.d.ts +8 -8
  135. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  136. package/build/types/offer/entry-line-pax.d.ts +8 -8
  137. package/build/types/offer/entry-line.d.ts +67 -73
  138. package/build/types/offer/entry-price-line.d.ts +40 -40
  139. package/build/types/offer/entry-room2.d.ts +5 -5
  140. package/build/types/offer/entry.d.ts +55 -65
  141. package/build/types/offer/flight-data-segment-meta-data.d.ts +30 -30
  142. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  143. package/build/types/offer/flight-meta-data.d.ts +13 -13
  144. package/build/types/offer/flight-pool.d.ts +5 -5
  145. package/build/types/offer/index.d.ts +41 -41
  146. package/build/types/offer/item-tag.d.ts +3 -3
  147. package/build/types/offer/language.d.ts +5 -5
  148. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  149. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  150. package/build/types/offer/member-info.d.ts +11 -11
  151. package/build/types/offer/member-login-request.d.ts +5 -5
  152. package/build/types/offer/member-login-response.d.ts +3 -3
  153. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  154. package/build/types/offer/note.d.ts +16 -16
  155. package/build/types/offer/page-result.d.ts +5 -5
  156. package/build/types/offer/pax.d.ts +29 -29
  157. package/build/types/offer/payment.d.ts +20 -20
  158. package/build/types/offer/person-country-preference.d.ts +7 -7
  159. package/build/types/offer/person-location-preference.d.ts +7 -7
  160. package/build/types/offer/person-oord-preference.d.ts +7 -7
  161. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  162. package/build/types/offer/person-period-preference.d.ts +7 -7
  163. package/build/types/offer/person-region-preference.d.ts +7 -7
  164. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  165. package/build/types/offer/product-notification-result.d.ts +9 -9
  166. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  167. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  168. package/build/types/shared/date-struct.d.ts +5 -5
  169. package/build/types/shared/index.d.ts +2 -2
  170. package/build/types/shared/ticket-number.d.ts +5 -5
  171. package/build/types/tide-client-config.d.ts +5 -5
  172. package/build/types/web/affiliate.d.ts +5 -5
  173. package/build/types/web/agent-allotment-item.d.ts +31 -31
  174. package/build/types/web/agent-allotment.d.ts +32 -32
  175. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  176. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  177. package/build/types/web/agent-dossier-entry-line.d.ts +5 -5
  178. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +12 -12
  179. package/build/types/web/agent-dossier-flight-meta-data.d.ts +7 -6
  180. package/build/types/web/agent-dossier-item.d.ts +16 -16
  181. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  182. package/build/types/web/agent-dossier.d.ts +19 -19
  183. package/build/types/web/airport.d.ts +17 -17
  184. package/build/types/web/contact-form-request.d.ts +11 -11
  185. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  186. package/build/types/web/index.d.ts +13 -13
  187. package/build/utils/api.d.ts +3 -23
  188. package/build/utils/booking-v2-client.d.ts +22 -139
  189. package/build/utils/common-client.d.ts +3 -26
  190. package/build/utils/json.d.ts +2 -2
  191. package/build/utils/member-client.d.ts +7 -32
  192. package/build/utils/mollie-client.d.ts +7 -15
  193. package/build/utils/search-client.d.ts +9 -12
  194. package/build/utils/web-agent-client.d.ts +28 -98
  195. package/build/utils/web-client.d.ts +33 -58
  196. package/build/utils/web-contact-client.d.ts +11 -23
  197. package/build/utils/web-file.d.ts +20 -29
  198. package/package.json +64 -64
  199. package/rollup.config.js +20 -20
@@ -1,139 +1,22 @@
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
- BookingPriceDetails,
24
- BookingTravelAgent,
25
- BookingVoucherResult,
26
- EntryStatus,
27
- PricesRequest,
28
- TideResponse,
29
- TourCodesRequest,
30
- TourCodesResponse,
31
- TransportDatesRequest,
32
- TransportDatesResponse,
33
- } from "../types";
34
- export declare const availableFlights: (
35
- config: TideClientConfig,
36
- request: AvailableFlightsRequest,
37
- signal?: AbortSignal | undefined
38
- ) => Promise<AvailableFlight[]>;
39
- export declare const transportDates: (
40
- config: TideClientConfig,
41
- request: TransportDatesRequest,
42
- signal?: AbortSignal | undefined
43
- ) => Promise<TransportDatesResponse>;
44
- export declare const prices: (
45
- config: TideClientConfig,
46
- request: PricesRequest,
47
- signal?: AbortSignal | undefined
48
- ) => Promise<BasePrice[]>;
49
- export declare const availableCountries: (
50
- config: TideClientConfig,
51
- request: AvailableCountriesRequest,
52
- signal?: AbortSignal | undefined
53
- ) => Promise<AvailableCountry[]>;
54
- export declare const search: (
55
- config: TideClientConfig,
56
- request: BookingPackageRequest<BookingPackageSearchRequest>,
57
- signal?: AbortSignal | undefined
58
- ) => Promise<BookingPackageItem[]>;
59
- export declare const searchWithErrorMapping: (
60
- config: TideClientConfig,
61
- request: BookingPackageRequest<BookingPackageSearchRequest>,
62
- signal?: AbortSignal | undefined
63
- ) => Promise<TideResponse<BookingPackageItem[]>>;
64
- export declare const details: (
65
- config: TideClientConfig,
66
- request: BookingPackageRequest<BookingPackageDetailsRequest>,
67
- signal?: AbortSignal | undefined,
68
- languageCode?: string | undefined
69
- ) => Promise<TideResponse<BookingPackage>>;
70
- export declare const validateVoucher: (
71
- config: TideClientConfig,
72
- request: BookingPackageRequest<BookingPackageVoucherRequest>,
73
- signal?: AbortSignal | undefined
74
- ) => Promise<BookingVoucherResult>;
75
- export declare const alternateHotels: (
76
- config: TideClientConfig,
77
- transactionId: string,
78
- optionId: string,
79
- signal?: AbortSignal | undefined
80
- ) => Promise<BookingPackageHotelPool>;
81
- export declare const alternateFlights: (
82
- config: TideClientConfig,
83
- transactionId: string,
84
- signal?: AbortSignal | undefined
85
- ) => Promise<BookingPackageFlightPool>;
86
- export declare const bookableDates: (
87
- config: TideClientConfig,
88
- request: BookableDatesRequest,
89
- signal?: AbortSignal | undefined
90
- ) => Promise<BookableDates>;
91
- export declare const priceDetails: (
92
- config: TideClientConfig,
93
- request: BookingPackageRequest<BookingPackageBookRequest>,
94
- signal?: AbortSignal | undefined,
95
- languageCode?: string | undefined
96
- ) => Promise<BookingPriceDetails>;
97
- export declare const book: (
98
- config: TideClientConfig,
99
- request: BookingPackageRequest<BookingPackageBookRequest>,
100
- signal?: AbortSignal | undefined,
101
- languageCode?: string | undefined
102
- ) => Promise<BookingPackageDossier>;
103
- export declare const update: (
104
- config: TideClientConfig,
105
- request: BookingPackageRequest<BookingPackageUpdateRequest>,
106
- signal?: AbortSignal | undefined
107
- ) => Promise<BookingPackageDossier>;
108
- export declare const agents: (
109
- config: TideClientConfig,
110
- signal?: AbortSignal | undefined
111
- ) => Promise<BookingTravelAgent[]>;
112
- export declare const getAllotmentAvailability: (
113
- config: TideClientConfig,
114
- eventId: string,
115
- productCode: string,
116
- signal?: AbortSignal | undefined
117
- ) => Promise<BookingPackageAvailability[]>;
118
- export declare const searchFlightPool: (
119
- config: TideClientConfig,
120
- request: BookingPackageRequest<BookingPackageFlightPoolRequest>,
121
- signal?: AbortSignal | undefined
122
- ) => Promise<BookingPackageFlightPool>;
123
- export declare const tourCodes: (
124
- config: TideClientConfig,
125
- request: TourCodesRequest,
126
- signal?: AbortSignal | undefined
127
- ) => Promise<TourCodesResponse>;
128
- export declare const setCustomEntryStatus: (
129
- config: TideClientConfig,
130
- dossierNumber: string,
131
- customEntryStatusId: number,
132
- signal?: AbortSignal | undefined
133
- ) => Promise<BookingPackageAvailability[]>;
134
- export declare const setEntryStatus: (
135
- config: TideClientConfig,
136
- dossierNumber: string,
137
- entryStatus: EntryStatus,
138
- signal?: AbortSignal | undefined
139
- ) => Promise<BookingPackageAvailability[]>;
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, BookingPriceDetails, BookingTravelAgent, BookingVoucherResult, EntryStatus, PricesRequest, TideResponse, TourCodesRequest, TourCodesResponse, TransportDatesRequest, TransportDatesResponse } from "../types";
3
+ export declare const availableFlights: (config: TideClientConfig, request: AvailableFlightsRequest, signal?: AbortSignal | undefined) => Promise<AvailableFlight[]>;
4
+ export declare const transportDates: (config: TideClientConfig, request: TransportDatesRequest, signal?: AbortSignal | undefined) => Promise<TransportDatesResponse>;
5
+ export declare const prices: (config: TideClientConfig, request: PricesRequest, signal?: AbortSignal | undefined) => Promise<BasePrice[]>;
6
+ export declare const availableCountries: (config: TideClientConfig, request: AvailableCountriesRequest, signal?: AbortSignal | undefined) => Promise<AvailableCountry[]>;
7
+ export declare const search: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageSearchRequest>, signal?: AbortSignal | undefined) => Promise<BookingPackageItem[]>;
8
+ export declare const searchWithErrorMapping: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageSearchRequest>, signal?: AbortSignal | undefined) => Promise<TideResponse<BookingPackageItem[]>>;
9
+ export declare const details: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageDetailsRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<TideResponse<BookingPackage>>;
10
+ export declare const validateVoucher: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageVoucherRequest>, signal?: AbortSignal | undefined) => Promise<BookingVoucherResult>;
11
+ export declare const alternateHotels: (config: TideClientConfig, transactionId: string, optionId: string, signal?: AbortSignal | undefined) => Promise<BookingPackageHotelPool>;
12
+ export declare const alternateFlights: (config: TideClientConfig, transactionId: string, signal?: AbortSignal | undefined) => Promise<BookingPackageFlightPool>;
13
+ export declare const bookableDates: (config: TideClientConfig, request: BookableDatesRequest, signal?: AbortSignal | undefined) => Promise<BookableDates>;
14
+ export declare const priceDetails: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageBookRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<BookingPriceDetails>;
15
+ export declare const book: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageBookRequest>, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<BookingPackageDossier>;
16
+ export declare const update: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageUpdateRequest>, signal?: AbortSignal | undefined) => Promise<BookingPackageDossier>;
17
+ export declare const agents: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<BookingTravelAgent[]>;
18
+ export declare const getAllotmentAvailability: (config: TideClientConfig, eventId: string, productCode: string, signal?: AbortSignal | undefined) => Promise<BookingPackageAvailability[]>;
19
+ export declare const searchFlightPool: (config: TideClientConfig, request: BookingPackageRequest<BookingPackageFlightPoolRequest>, signal?: AbortSignal | undefined) => Promise<BookingPackageFlightPool>;
20
+ export declare const tourCodes: (config: TideClientConfig, request: TourCodesRequest, signal?: AbortSignal | undefined) => Promise<TourCodesResponse>;
21
+ export declare const setCustomEntryStatus: (config: TideClientConfig, dossierNumber: string, customEntryStatusId: number, signal?: AbortSignal | undefined) => Promise<BookingPackageAvailability[]>;
22
+ export declare const setEntryStatus: (config: TideClientConfig, dossierNumber: string, entryStatus: EntryStatus, signal?: AbortSignal | undefined) => Promise<BookingPackageAvailability[]>;
@@ -1,26 +1,3 @@
1
- export declare const post: <T>(
2
- url: string,
3
- apiKey: string,
4
- body?: string | null | undefined,
5
- token?: string | undefined,
6
- signal?: AbortSignal | undefined,
7
- skipReviver?: boolean | undefined,
8
- languageCode?: string | undefined
9
- ) => Promise<T>;
10
- export declare const patch: <T>(
11
- url: string,
12
- apiKey: string,
13
- body?: string | null | undefined,
14
- token?: string | undefined,
15
- signal?: AbortSignal | undefined,
16
- skipReviver?: boolean | undefined,
17
- languageCode?: string | undefined
18
- ) => Promise<T>;
19
- export declare const get: <T>(
20
- url: string,
21
- apiKey: string,
22
- token?: string | undefined,
23
- signal?: AbortSignal | undefined,
24
- skipReviver?: boolean | undefined,
25
- languageCode?: string | undefined
26
- ) => Promise<T>;
1
+ export declare const post: <T>(url: string, apiKey: string, body?: string | null | undefined, token?: string | undefined, signal?: AbortSignal | undefined, skipReviver?: boolean | undefined, languageCode?: string | undefined) => Promise<T>;
2
+ export declare const patch: <T>(url: string, apiKey: string, body?: string | null | undefined, token?: string | undefined, signal?: AbortSignal | undefined, skipReviver?: boolean | undefined, languageCode?: string | undefined) => Promise<T>;
3
+ export declare const get: <T>(url: string, apiKey: string, token?: string | undefined, signal?: AbortSignal | undefined, skipReviver?: boolean | undefined, languageCode?: string | undefined) => Promise<T>;
@@ -1,2 +1,2 @@
1
- export declare const reviver: (_: any, value: any) => any;
2
- export declare const replacer: (_: any, value: any) => any;
1
+ export declare const reviver: (_: any, value: any) => any;
2
+ export declare const replacer: (_: any, value: any) => any;
@@ -1,32 +1,7 @@
1
- import { TideClientConfig } from "..";
2
- import {
3
- MemberConfirmationRequest,
4
- MemberForgotPasswordRequest,
5
- MemberLoginRequest,
6
- MemberLoginResponse,
7
- MemberResetPasswordRequest,
8
- } from "../types";
9
- export declare const login: (
10
- config: TideClientConfig,
11
- request: MemberLoginRequest,
12
- signal?: AbortSignal | undefined
13
- ) => Promise<MemberLoginResponse>;
14
- export declare const logout: (
15
- config: TideClientConfig,
16
- signal?: AbortSignal | undefined
17
- ) => Promise<Response>;
18
- export declare const confirm: (
19
- config: TideClientConfig,
20
- request: MemberConfirmationRequest,
21
- signal?: AbortSignal | undefined
22
- ) => Promise<Response>;
23
- export declare const forgotPassword: (
24
- config: TideClientConfig,
25
- request: MemberForgotPasswordRequest,
26
- signal?: AbortSignal | undefined
27
- ) => Promise<Response>;
28
- export declare const resetPassword: (
29
- config: TideClientConfig,
30
- request: MemberResetPasswordRequest,
31
- signal?: AbortSignal | undefined
32
- ) => Promise<Response>;
1
+ import { TideClientConfig } from "..";
2
+ import { MemberConfirmationRequest, MemberForgotPasswordRequest, MemberLoginRequest, MemberLoginResponse, MemberResetPasswordRequest } from "../types";
3
+ export declare const login: (config: TideClientConfig, request: MemberLoginRequest, signal?: AbortSignal | undefined) => Promise<MemberLoginResponse>;
4
+ export declare const logout: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<Response>;
5
+ export declare const confirm: (config: TideClientConfig, request: MemberConfirmationRequest, signal?: AbortSignal | undefined) => Promise<Response>;
6
+ export declare const forgotPassword: (config: TideClientConfig, request: MemberForgotPasswordRequest, signal?: AbortSignal | undefined) => Promise<Response>;
7
+ export declare const resetPassword: (config: TideClientConfig, request: MemberResetPasswordRequest, signal?: AbortSignal | undefined) => Promise<Response>;
@@ -1,15 +1,7 @@
1
- import {
2
- MolliePayment,
3
- MolliePaymentRequest,
4
- TideClientConfig,
5
- } from "../types";
6
- /**
7
- * api/mollie/create-payment
8
- * @param request
9
- * @returns mollie payment url
10
- */
11
- export declare const getMolliePayment: (
12
- config: TideClientConfig,
13
- request: MolliePaymentRequest,
14
- signal?: AbortSignal | undefined
15
- ) => Promise<MolliePayment>;
1
+ import { MolliePayment, MolliePaymentRequest, TideClientConfig } from "../types";
2
+ /**
3
+ * api/mollie/create-payment
4
+ * @param request
5
+ * @returns mollie payment url
6
+ */
7
+ export declare const getMolliePayment: (config: TideClientConfig, request: MolliePaymentRequest, signal?: AbortSignal | undefined) => Promise<MolliePayment>;
@@ -1,12 +1,9 @@
1
- import { CountryItem, PageResult, TideClientConfig } from "../types";
2
- /**
3
- * api/search/countries
4
- * Gets all Countries
5
- * @param config
6
- * @param signal
7
- * @returns OK if succeeded.
8
- */
9
- export declare const getCountries: (
10
- config: TideClientConfig,
11
- signal?: AbortSignal | undefined
12
- ) => Promise<PageResult<CountryItem>>;
1
+ import { CountryItem, PageResult, TideClientConfig } from "../types";
2
+ /**
3
+ * api/search/countries
4
+ * Gets all Countries
5
+ * @param config
6
+ * @param signal
7
+ * @returns OK if succeeded.
8
+ */
9
+ export declare const getCountries: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<PageResult<CountryItem>>;
@@ -1,98 +1,28 @@
1
- import {
2
- AgentAllotment,
3
- AgentAllotmentItem,
4
- AgentDossier,
5
- AgentInvoiceItem,
6
- AgentPrintAction,
7
- AgentPrintActionRequest,
8
- ChangeEntryAgentSurchargeAction,
9
- Column,
10
- CustomEntryStatusItem,
11
- DossierViewResult,
12
- EntryTotals,
13
- FilterItem,
14
- NumberStringPair,
15
- PageResult,
16
- PrintActionGroup,
17
- TideClientConfig,
18
- } from "../types";
19
- import { AgentDossierItem } from "../types/web/agent-dossier-item";
20
- /**
21
- * api/web/agent/print-action/{print-action-group}
22
- * @param config
23
- * @param printActionGroup
24
- * @param signal
25
- * @returns print actions that are available for agents for given group.
26
- */
27
- export declare const getPrintActions: (
28
- config: TideClientConfig,
29
- printActionGroup: PrintActionGroup,
30
- signal?: AbortSignal | undefined
31
- ) => Promise<AgentPrintAction[]>;
32
- /**
33
- * api/web/agent/print-action
34
- * @param config
35
- * @param request
36
- * @param signal
37
- * @returns pdf as stream.
38
- */
39
- export declare const print: (
40
- config: TideClientConfig,
41
- request: AgentPrintActionRequest,
42
- signal?: AbortSignal | undefined
43
- ) => Promise<Response>;
44
- export declare const getEntryList: (
45
- config: TideClientConfig,
46
- filterItem: FilterItem,
47
- gridColumns?: Column[] | undefined,
48
- signal?: AbortSignal | undefined
49
- ) => Promise<PageResult<DossierViewResult>>;
50
- export declare const getEntryListv2: (
51
- config: TideClientConfig,
52
- filterItem: FilterItem,
53
- gridColumns?: Column[] | undefined,
54
- signal?: AbortSignal | undefined
55
- ) => Promise<PageResult<AgentDossierItem>>;
56
- export declare const getEntryTotals: (
57
- config: TideClientConfig,
58
- filterItem: FilterItem,
59
- gridColumns?: Column[] | undefined,
60
- signal?: AbortSignal | undefined
61
- ) => Promise<EntryTotals>;
62
- export declare const getEntryDetailv2: (
63
- config: TideClientConfig,
64
- entryId: number,
65
- signal?: AbortSignal | undefined
66
- ) => Promise<AgentDossier>;
67
- export declare const getInvoiceList: (
68
- config: TideClientConfig,
69
- filterItem: FilterItem,
70
- gridColumns?: Column[] | undefined,
71
- signal?: AbortSignal | undefined
72
- ) => Promise<PageResult<AgentInvoiceItem>>;
73
- export declare const getCustomEntryStatus: (
74
- config: TideClientConfig,
75
- signal?: AbortSignal | undefined,
76
- languageCode?: string | undefined
77
- ) => Promise<CustomEntryStatusItem[]>;
78
- export declare const getEntryStatus: (
79
- config: TideClientConfig,
80
- signal?: AbortSignal | undefined,
81
- languageCode?: string | undefined
82
- ) => Promise<NumberStringPair[]>;
83
- export declare const changeEntryAgentSurcharge: (
84
- config: TideClientConfig,
85
- request: ChangeEntryAgentSurchargeAction,
86
- signal?: AbortSignal | undefined
87
- ) => Promise<Response>;
88
- export declare const getAllotmentList: (
89
- config: TideClientConfig,
90
- filterItem: FilterItem,
91
- gridColumns?: Column[] | undefined,
92
- signal?: AbortSignal | undefined
93
- ) => Promise<PageResult<AgentAllotmentItem>>;
94
- export declare const getAllotment: (
95
- config: TideClientConfig,
96
- allotmentId: number,
97
- signal?: AbortSignal | undefined
98
- ) => Promise<AgentAllotment>;
1
+ import { AgentAllotment, AgentAllotmentItem, AgentDossier, AgentInvoiceItem, AgentPrintAction, AgentPrintActionRequest, ChangeEntryAgentSurchargeAction, Column, CustomEntryStatusItem, DossierViewResult, EntryTotals, FilterItem, NumberStringPair, PageResult, PrintActionGroup, TideClientConfig } from "../types";
2
+ import { AgentDossierItem } from "../types/web/agent-dossier-item";
3
+ /**
4
+ * api/web/agent/print-action/{print-action-group}
5
+ * @param config
6
+ * @param printActionGroup
7
+ * @param signal
8
+ * @returns print actions that are available for agents for given group.
9
+ */
10
+ export declare const getPrintActions: (config: TideClientConfig, printActionGroup: PrintActionGroup, signal?: AbortSignal | undefined) => Promise<AgentPrintAction[]>;
11
+ /**
12
+ * api/web/agent/print-action
13
+ * @param config
14
+ * @param request
15
+ * @param signal
16
+ * @returns pdf as stream.
17
+ */
18
+ export declare const print: (config: TideClientConfig, request: AgentPrintActionRequest, signal?: AbortSignal | undefined) => Promise<Response>;
19
+ export declare const getEntryList: (config: TideClientConfig, filterItem: FilterItem, gridColumns?: Column[] | undefined, signal?: AbortSignal | undefined) => Promise<PageResult<DossierViewResult>>;
20
+ export declare const getEntryListv2: (config: TideClientConfig, filterItem: FilterItem, gridColumns?: Column[] | undefined, signal?: AbortSignal | undefined) => Promise<PageResult<AgentDossierItem>>;
21
+ export declare const getEntryTotals: (config: TideClientConfig, filterItem: FilterItem, gridColumns?: Column[] | undefined, signal?: AbortSignal | undefined) => Promise<EntryTotals>;
22
+ export declare const getEntryDetailv2: (config: TideClientConfig, entryId: number, signal?: AbortSignal | undefined) => Promise<AgentDossier>;
23
+ export declare const getInvoiceList: (config: TideClientConfig, filterItem: FilterItem, gridColumns?: Column[] | undefined, signal?: AbortSignal | undefined) => Promise<PageResult<AgentInvoiceItem>>;
24
+ export declare const getCustomEntryStatus: (config: TideClientConfig, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<CustomEntryStatusItem[]>;
25
+ export declare const getEntryStatus: (config: TideClientConfig, signal?: AbortSignal | undefined, languageCode?: string | undefined) => Promise<NumberStringPair[]>;
26
+ export declare const changeEntryAgentSurcharge: (config: TideClientConfig, request: ChangeEntryAgentSurchargeAction, signal?: AbortSignal | undefined) => Promise<Response>;
27
+ export declare const getAllotmentList: (config: TideClientConfig, filterItem: FilterItem, gridColumns?: Column[] | undefined, signal?: AbortSignal | undefined) => Promise<PageResult<AgentAllotmentItem>>;
28
+ export declare const getAllotment: (config: TideClientConfig, allotmentId: number, signal?: AbortSignal | undefined) => Promise<AgentAllotment>;
@@ -1,58 +1,33 @@
1
- import {
2
- Affiliate,
3
- ContactFormRequest,
4
- CrmContactRequest,
5
- GenerateBookingAccommodationRequest,
6
- TideClientConfig,
7
- } from "../types";
8
- /**
9
- * api/web/crmcontact
10
- * Creates a CRM contact.
11
- * @param config
12
- * @param request
13
- * @param signal
14
- * @returns OK if succeeded.
15
- */
16
- export declare const createCrmContact: (
17
- config: TideClientConfig,
18
- request: CrmContactRequest,
19
- signal?: AbortSignal | undefined
20
- ) => Promise<Response>;
21
- /**
22
- * api/web/contactform
23
- * Sends a contact request mail
24
- * @param config
25
- * @param request
26
- * @param signal
27
- * @returns OK if succeeded.
28
- */
29
- export declare const ContactForm: (
30
- config: TideClientConfig,
31
- request: ContactFormRequest,
32
- signal?: AbortSignal | undefined
33
- ) => Promise<Response>;
34
- /**
35
- * api/web/affiliates
36
- * Gets all Affiliates
37
- * @param config
38
- * @param signal
39
- * @returns OK if succeeded.
40
- */
41
- export declare const getAffiliates: (
42
- config: TideClientConfig,
43
- signal?: AbortSignal | undefined
44
- ) => Promise<[Affiliate]>;
45
- export declare const getTranslationDictionary: (
46
- config: TideClientConfig,
47
- segmentKey: string,
48
- signal?: AbortSignal | undefined
49
- ) => Promise<{
50
- [key: string]: object;
51
- }>;
52
- export declare const generateBookingAccommodations: (
53
- config: TideClientConfig,
54
- request: GenerateBookingAccommodationRequest,
55
- signal?: AbortSignal | undefined
56
- ) => Promise<{
57
- [key: string]: string;
58
- }>;
1
+ import { Affiliate, ContactFormRequest, CrmContactRequest, GenerateBookingAccommodationRequest, TideClientConfig } from "../types";
2
+ /**
3
+ * api/web/crmcontact
4
+ * Creates a CRM contact.
5
+ * @param config
6
+ * @param request
7
+ * @param signal
8
+ * @returns OK if succeeded.
9
+ */
10
+ export declare const createCrmContact: (config: TideClientConfig, request: CrmContactRequest, signal?: AbortSignal | undefined) => Promise<Response>;
11
+ /**
12
+ * api/web/contactform
13
+ * Sends a contact request mail
14
+ * @param config
15
+ * @param request
16
+ * @param signal
17
+ * @returns OK if succeeded.
18
+ */
19
+ export declare const ContactForm: (config: TideClientConfig, request: ContactFormRequest, signal?: AbortSignal | undefined) => Promise<Response>;
20
+ /**
21
+ * api/web/affiliates
22
+ * Gets all Affiliates
23
+ * @param config
24
+ * @param signal
25
+ * @returns OK if succeeded.
26
+ */
27
+ export declare const getAffiliates: (config: TideClientConfig, signal?: AbortSignal | undefined) => Promise<[Affiliate]>;
28
+ export declare const getTranslationDictionary: (config: TideClientConfig, segmentKey: string, signal?: AbortSignal | undefined) => Promise<{
29
+ [key: string]: object;
30
+ }>;
31
+ export declare const generateBookingAccommodations: (config: TideClientConfig, request: GenerateBookingAccommodationRequest, signal?: AbortSignal | undefined) => Promise<{
32
+ [key: string]: string;
33
+ }>;
@@ -1,23 +1,11 @@
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
+ 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,29 +1,20 @@
1
- import { TideClientConfig } from "../types";
2
- /**
3
- * api/web/file/feed
4
- * fetch a xml from blob feed.
5
- * @param config
6
- * @param slug
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>;
15
- /**
16
- * api/web/file/feed
17
- * fetch a xml from blob feed in subfolder.
18
- * @param config
19
- * @param slug
20
- * @param folder
21
- * @param signal
22
- * @returns OK if succeeded.
23
- */
24
- export declare const feedXmlFolder: (
25
- config: TideClientConfig,
26
- slug: string,
27
- folder: string,
28
- signal?: AbortSignal | undefined
29
- ) => 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 slug
7
+ * @param signal
8
+ * @returns OK if succeeded.
9
+ */
10
+ export declare const feedXml: (config: TideClientConfig, request: string, signal?: AbortSignal | undefined) => Promise<Response>;
11
+ /**
12
+ * api/web/file/feed
13
+ * fetch a xml from blob feed in subfolder.
14
+ * @param config
15
+ * @param slug
16
+ * @param folder
17
+ * @param signal
18
+ * @returns OK if succeeded.
19
+ */
20
+ export declare const feedXmlFolder: (config: TideClientConfig, slug: string, folder: string, signal?: AbortSignal | undefined) => Promise<Response>;