@qite/tide-client 1.1.83 → 1.1.84

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 (192) hide show
  1. package/build/index.d.ts +28 -28
  2. package/build/index.js +6862 -6862
  3. package/build/services/odata.service.d.ts +8 -8
  4. package/build/types/booking-v2/index.d.ts +3 -3
  5. package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
  6. package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
  7. package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
  8. package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
  9. package/build/types/booking-v2/request/booking-package-book-request.d.ts +25 -25
  10. package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
  11. package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
  12. package/build/types/booking-v2/request/booking-package-details-request.d.ts +27 -27
  13. package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
  14. package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
  15. package/build/types/booking-v2/request/booking-package-search-request.d.ts +29 -29
  16. package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
  17. package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
  18. package/build/types/booking-v2/request/index.d.ts +18 -18
  19. package/build/types/booking-v2/request/prices-request.d.ts +17 -17
  20. package/build/types/booking-v2/request/selected-flight.d.ts +10 -10
  21. package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
  22. package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
  23. package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
  24. package/build/types/booking-v2/response/available-country.d.ts +5 -5
  25. package/build/types/booking-v2/response/available-flight.d.ts +4 -4
  26. package/build/types/booking-v2/response/base-price.d.ts +7 -7
  27. package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
  28. package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +17 -17
  29. package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
  30. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
  31. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +7 -7
  32. package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  33. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
  34. package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  35. package/build/types/booking-v2/response/booking-package-item.d.ts +39 -39
  36. package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
  37. package/build/types/booking-v2/response/booking-price-details.d.ts +14 -14
  38. package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  39. package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
  40. package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
  41. package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
  42. package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
  43. package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
  44. package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
  45. package/build/types/booking-v2/response/changed-line.d.ts +4 -4
  46. package/build/types/booking-v2/response/index.d.ts +25 -25
  47. package/build/types/booking-v2/response/tide-response.d.ts +8 -8
  48. package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
  49. package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
  50. package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +2 -2
  51. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +2 -2
  52. package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
  53. package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
  54. package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
  55. package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
  56. package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
  57. package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
  58. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  59. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  60. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  61. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
  62. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  63. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  64. package/build/types/booking-v2/shared/booking-package-line.d.ts +17 -17
  65. package/build/types/booking-v2/shared/booking-package-option.d.ts +47 -47
  66. package/build/types/booking-v2/shared/booking-package-pax.d.ts +17 -17
  67. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  68. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +21 -21
  69. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  70. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  71. package/build/types/booking-v2/shared/booking-package.d.ts +13 -13
  72. package/build/types/booking-v2/shared/index.d.ts +27 -27
  73. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  74. package/build/types/booking-v2/shared/per-package-option.d.ts +9 -9
  75. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  76. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  77. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  78. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  79. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  80. package/build/types/company/agent/entry-totals.d.ts +7 -7
  81. package/build/types/company/agent/index.d.ts +3 -3
  82. package/build/types/company/agent-print-action-request.d.ts +11 -11
  83. package/build/types/company/agent-print-action.d.ts +6 -6
  84. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  85. package/build/types/company/index.d.ts +5 -5
  86. package/build/types/company/number-string-pair.d.ts +4 -4
  87. package/build/types/enums/allotment-kind.d.ts +4 -4
  88. package/build/types/enums/allotment-status.d.ts +5 -5
  89. package/build/types/enums/allotment-type.d.ts +5 -5
  90. package/build/types/enums/availability-search-type.d.ts +4 -4
  91. package/build/types/enums/data-type.d.ts +14 -14
  92. package/build/types/enums/dossier-type.d.ts +6 -6
  93. package/build/types/enums/entry-line-flag.d.ts +6 -6
  94. package/build/types/enums/entry-line-status.d.ts +19 -19
  95. package/build/types/enums/entry-status.d.ts +8 -8
  96. package/build/types/enums/export-status.d.ts +5 -5
  97. package/build/types/enums/gender.d.ts +5 -5
  98. package/build/types/enums/index.d.ts +21 -21
  99. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  100. package/build/types/enums/meta-data-type.d.ts +10 -10
  101. package/build/types/enums/payment-type.d.ts +6 -6
  102. package/build/types/enums/price-chart-type.d.ts +4 -4
  103. package/build/types/enums/print-action-group.d.ts +10 -10
  104. package/build/types/enums/requirement-type.d.ts +5 -5
  105. package/build/types/enums/room-type.d.ts +8 -8
  106. package/build/types/enums/sale-type.d.ts +4 -4
  107. package/build/types/enums/service-type.d.ts +33 -33
  108. package/build/types/enums/unit-of-measure.d.ts +5 -5
  109. package/build/types/hubs/index.d.ts +1 -1
  110. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  111. package/build/types/hubs/search/flight-search-request.d.ts +24 -24
  112. package/build/types/hubs/search/flight-search-response.d.ts +43 -43
  113. package/build/types/hubs/search/index.d.ts +3 -3
  114. package/build/types/index.d.ts +10 -10
  115. package/build/types/mollie/index.d.ts +2 -2
  116. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  117. package/build/types/mollie/mollie-payment.d.ts +3 -3
  118. package/build/types/odata/column.d.ts +8 -8
  119. package/build/types/odata/filter-item.d.ts +14 -14
  120. package/build/types/odata/index.d.ts +4 -4
  121. package/build/types/odata/odata-params.d.ts +3 -3
  122. package/build/types/odata/page-result.d.ts +5 -5
  123. package/build/types/offer/additional-services.d.ts +6 -6
  124. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  125. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  126. package/build/types/offer/country-item.d.ts +5 -5
  127. package/build/types/offer/crm-contact-request.d.ts +36 -36
  128. package/build/types/offer/customer-request.d.ts +5 -5
  129. package/build/types/offer/dossier-default-product.d.ts +14 -14
  130. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  131. package/build/types/offer/dossier-view-result.d.ts +48 -48
  132. package/build/types/offer/entry-check-response.d.ts +8 -8
  133. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  134. package/build/types/offer/entry-line-pax.d.ts +8 -8
  135. package/build/types/offer/entry-line.d.ts +73 -73
  136. package/build/types/offer/entry-price-line.d.ts +40 -40
  137. package/build/types/offer/entry-room2.d.ts +5 -5
  138. package/build/types/offer/entry.d.ts +65 -65
  139. package/build/types/offer/flight-data-segment-meta-data.d.ts +30 -30
  140. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  141. package/build/types/offer/flight-meta-data.d.ts +13 -13
  142. package/build/types/offer/flight-pool.d.ts +5 -5
  143. package/build/types/offer/index.d.ts +41 -41
  144. package/build/types/offer/item-tag.d.ts +3 -3
  145. package/build/types/offer/language.d.ts +5 -5
  146. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  147. package/build/types/offer/member-forgot-password-request.d.ts +4 -4
  148. package/build/types/offer/member-info.d.ts +11 -11
  149. package/build/types/offer/member-login-request.d.ts +4 -4
  150. package/build/types/offer/member-login-response.d.ts +3 -3
  151. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  152. package/build/types/offer/note.d.ts +16 -16
  153. package/build/types/offer/page-result.d.ts +5 -5
  154. package/build/types/offer/pax.d.ts +29 -29
  155. package/build/types/offer/payment.d.ts +20 -20
  156. package/build/types/offer/person-country-preference.d.ts +7 -7
  157. package/build/types/offer/person-location-preference.d.ts +7 -7
  158. package/build/types/offer/person-oord-preference.d.ts +7 -7
  159. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  160. package/build/types/offer/person-period-preference.d.ts +7 -7
  161. package/build/types/offer/person-region-preference.d.ts +7 -7
  162. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  163. package/build/types/offer/product-notification-result.d.ts +9 -9
  164. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  165. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  166. package/build/types/shared/date-struct.d.ts +5 -5
  167. package/build/types/shared/index.d.ts +1 -1
  168. package/build/types/tide-client-config.d.ts +5 -5
  169. package/build/types/web/affiliate.d.ts +5 -5
  170. package/build/types/web/agent-allotment-item.d.ts +31 -31
  171. package/build/types/web/agent-allotment.d.ts +32 -32
  172. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  173. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  174. package/build/types/web/agent-dossier-item.d.ts +11 -11
  175. package/build/types/web/agent-dossier.d.ts +11 -11
  176. package/build/types/web/airport.d.ts +17 -11
  177. package/build/types/web/contact-form-request.d.ts +11 -11
  178. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  179. package/build/types/web/index.d.ts +10 -10
  180. package/build/utils/api.d.ts +23 -23
  181. package/build/utils/booking-v2-client.d.ts +139 -139
  182. package/build/utils/common-client.d.ts +26 -26
  183. package/build/utils/json.d.ts +2 -2
  184. package/build/utils/member-client.d.ts +32 -32
  185. package/build/utils/mollie-client.d.ts +15 -15
  186. package/build/utils/search-client.d.ts +16 -16
  187. package/build/utils/web-agent-client.d.ts +98 -98
  188. package/build/utils/web-client.d.ts +58 -58
  189. package/build/utils/web-contact-client.d.ts +23 -23
  190. package/build/utils/web-file.d.ts +29 -29
  191. package/package.json +64 -64
  192. package/rollup.config.js +20 -20
@@ -1,26 +1,26 @@
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>(
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,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,32 @@
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 {
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,15 +1,15 @@
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 {
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,16 +1,16 @@
1
- import { Airport, 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>>;
13
- export declare const getAirports: (
14
- config: TideClientConfig,
15
- signal?: AbortSignal | undefined
16
- ) => Promise<Airport[]>;
1
+ import { Airport, 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>>;
13
+ export declare const getAirports: (
14
+ config: TideClientConfig,
15
+ signal?: AbortSignal | undefined
16
+ ) => Promise<Airport[]>;
@@ -1,98 +1,98 @@
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 {
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,58 +1,58 @@
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 {
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,23 +1,23 @@
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 {
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,29 +1,29 @@
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: (
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>;