@qite/tide-client 1.1.94 → 1.1.95
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.
- package/build/index.d.ts +10 -10
- package/build/index.js +5061 -4806
- package/build/index.js.map +1 -1
- package/build/services/odata.service.d.ts +8 -2
- package/build/types/booking-v2/index.d.ts +3 -3
- package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
- package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
- package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
- package/build/types/booking-v2/request/booking-package-book-request.d.ts +25 -25
- package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
- package/build/types/booking-v2/request/booking-package-details-request.d.ts +27 -27
- package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
- package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
- package/build/types/booking-v2/request/booking-package-search-request.d.ts +29 -29
- package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
- package/build/types/booking-v2/request/index.d.ts +18 -18
- package/build/types/booking-v2/request/prices-request.d.ts +17 -17
- package/build/types/booking-v2/request/selected-flight.d.ts +10 -10
- package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
- package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
- package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
- package/build/types/booking-v2/response/available-country.d.ts +5 -5
- package/build/types/booking-v2/response/available-flight.d.ts +4 -4
- package/build/types/booking-v2/response/base-price.d.ts +7 -7
- package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +17 -17
- package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
- package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -9
- package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-item.d.ts +40 -40
- package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
- package/build/types/booking-v2/response/booking-price-details.d.ts +14 -14
- package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
- package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
- package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
- package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
- package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
- package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
- package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
- package/build/types/booking-v2/response/changed-line.d.ts +4 -4
- package/build/types/booking-v2/response/index.d.ts +26 -26
- package/build/types/booking-v2/response/tide-response.d.ts +8 -8
- package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
- package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
- package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +2 -3
- package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +2 -3
- package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
- package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
- package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
- package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
- package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
- package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
- package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
- package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
- package/build/types/booking-v2/shared/booking-package-line.d.ts +17 -17
- package/build/types/booking-v2/shared/booking-package-option.d.ts +47 -47
- package/build/types/booking-v2/shared/booking-package-pax.d.ts +17 -17
- package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-room-option.d.ts +22 -22
- package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package.d.ts +14 -14
- package/build/types/booking-v2/shared/index.d.ts +27 -27
- package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
- package/build/types/booking-v2/shared/per-package-option.d.ts +9 -9
- package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
- package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
- package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
- package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
- package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
- package/build/types/company/agent/entry-totals.d.ts +7 -7
- package/build/types/company/agent/index.d.ts +3 -3
- package/build/types/company/agent-print-action-request.d.ts +11 -11
- package/build/types/company/agent-print-action.d.ts +6 -6
- package/build/types/company/custom-entry-status-item.d.ts +6 -6
- package/build/types/company/index.d.ts +5 -5
- package/build/types/company/number-string-pair.d.ts +4 -4
- package/build/types/enums/allotment-kind.d.ts +4 -4
- package/build/types/enums/allotment-status.d.ts +5 -5
- package/build/types/enums/allotment-type.d.ts +5 -5
- package/build/types/enums/availability-search-type.d.ts +4 -4
- package/build/types/enums/data-type.d.ts +14 -14
- package/build/types/enums/dossier-type.d.ts +6 -6
- package/build/types/enums/entry-line-flag.d.ts +6 -6
- package/build/types/enums/entry-line-status.d.ts +19 -19
- package/build/types/enums/entry-status.d.ts +8 -8
- package/build/types/enums/export-status.d.ts +5 -5
- package/build/types/enums/gender.d.ts +5 -5
- package/build/types/enums/index.d.ts +21 -21
- package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
- package/build/types/enums/meta-data-type.d.ts +10 -10
- package/build/types/enums/payment-type.d.ts +6 -6
- package/build/types/enums/price-chart-type.d.ts +4 -4
- package/build/types/enums/print-action-group.d.ts +10 -10
- package/build/types/enums/requirement-type.d.ts +5 -5
- package/build/types/enums/room-type.d.ts +8 -8
- package/build/types/enums/sale-type.d.ts +4 -4
- package/build/types/enums/service-type.d.ts +33 -33
- package/build/types/enums/unit-of-measure.d.ts +5 -5
- package/build/types/hubs/index.d.ts +1 -1
- package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
- package/build/types/hubs/search/flight-search-request.d.ts +24 -24
- package/build/types/hubs/search/flight-search-response.d.ts +44 -43
- package/build/types/hubs/search/index.d.ts +3 -3
- package/build/types/index.d.ts +10 -10
- package/build/types/mollie/index.d.ts +2 -2
- package/build/types/mollie/mollie-payment-request.d.ts +7 -7
- package/build/types/mollie/mollie-payment.d.ts +3 -3
- package/build/types/odata/column.d.ts +8 -8
- package/build/types/odata/filter-item.d.ts +14 -14
- package/build/types/odata/index.d.ts +4 -4
- package/build/types/odata/odata-params.d.ts +3 -3
- package/build/types/odata/page-result.d.ts +5 -5
- package/build/types/offer/additional-services.d.ts +6 -6
- package/build/types/offer/allotment-meta-data.d.ts +6 -6
- package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
- package/build/types/offer/country-item.d.ts +5 -5
- package/build/types/offer/crm-contact-request.d.ts +36 -28
- package/build/types/offer/customer-request.d.ts +5 -5
- package/build/types/offer/dossier-default-product.d.ts +14 -14
- package/build/types/offer/dossier-pax-item.d.ts +4 -4
- package/build/types/offer/dossier-view-result.d.ts +48 -48
- package/build/types/offer/entry-check-response.d.ts +8 -8
- package/build/types/offer/entry-line-meta-data.d.ts +5 -5
- package/build/types/offer/entry-line-pax.d.ts +8 -8
- package/build/types/offer/entry-line.d.ts +73 -67
- package/build/types/offer/entry-price-line.d.ts +40 -40
- package/build/types/offer/entry-room2.d.ts +5 -5
- package/build/types/offer/entry.d.ts +65 -55
- package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -30
- package/build/types/offer/flight-meta-data-line.d.ts +16 -16
- package/build/types/offer/flight-meta-data.d.ts +13 -13
- package/build/types/offer/flight-pool.d.ts +5 -5
- package/build/types/offer/index.d.ts +41 -41
- package/build/types/offer/item-tag.d.ts +3 -3
- package/build/types/offer/language.d.ts +5 -5
- package/build/types/offer/member-confirmation-request.d.ts +5 -5
- package/build/types/offer/member-forgot-password-request.d.ts +5 -5
- package/build/types/offer/member-info.d.ts +11 -11
- package/build/types/offer/member-login-request.d.ts +5 -5
- package/build/types/offer/member-login-response.d.ts +3 -3
- package/build/types/offer/member-reset-password-request.d.ts +4 -4
- package/build/types/offer/note.d.ts +16 -16
- package/build/types/offer/page-result.d.ts +5 -5
- package/build/types/offer/pax.d.ts +29 -29
- package/build/types/offer/payment.d.ts +20 -20
- package/build/types/offer/person-country-preference.d.ts +7 -7
- package/build/types/offer/person-location-preference.d.ts +7 -7
- package/build/types/offer/person-oord-preference.d.ts +7 -7
- package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
- package/build/types/offer/person-period-preference.d.ts +7 -7
- package/build/types/offer/person-region-preference.d.ts +7 -7
- package/build/types/offer/person-tour-group-preference.d.ts +7 -7
- package/build/types/offer/product-notification-result.d.ts +9 -9
- package/build/types/offer/web-contact-form-request.d.ts +13 -13
- package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
- package/build/types/shared/date-struct.d.ts +5 -5
- package/build/types/shared/index.d.ts +2 -2
- package/build/types/shared/ticket-number.d.ts +5 -5
- package/build/types/tide-client-config.d.ts +5 -5
- package/build/types/web/affiliate.d.ts +5 -5
- package/build/types/web/agent-allotment-item.d.ts +31 -31
- package/build/types/web/agent-allotment.d.ts +32 -32
- package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
- package/build/types/web/agent-dossier-allotment.d.ts +14 -14
- package/build/types/web/agent-dossier-entry-line.d.ts +5 -5
- package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +12 -12
- package/build/types/web/agent-dossier-flight-meta-data.d.ts +7 -7
- package/build/types/web/agent-dossier-item.d.ts +16 -16
- package/build/types/web/agent-dossier-traveler.d.ts +10 -10
- package/build/types/web/agent-dossier.d.ts +19 -19
- package/build/types/web/airport.d.ts +17 -17
- package/build/types/web/contact-form-request.d.ts +11 -11
- package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
- package/build/types/web/index.d.ts +13 -13
- package/build/utils/api.d.ts +23 -3
- package/build/utils/booking-v2-client.d.ts +139 -22
- package/build/utils/common-client.d.ts +26 -3
- package/build/utils/json.d.ts +2 -2
- package/build/utils/member-client.d.ts +32 -7
- package/build/utils/mollie-client.d.ts +15 -7
- package/build/utils/search-client.d.ts +12 -9
- package/build/utils/web-agent-client.d.ts +98 -28
- package/build/utils/web-client.d.ts +58 -33
- package/build/utils/web-contact-client.d.ts +23 -11
- package/build/utils/web-file.d.ts +29 -20
- package/package.json +64 -64
- package/rollup.config.js +20 -20
|
@@ -1,22 +1,139 @@
|
|
|
1
|
-
import { TideClientConfig } from "..";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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,3 +1,26 @@
|
|
|
1
|
-
export declare const post: <T>(
|
|
2
|
-
|
|
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>;
|
package/build/utils/json.d.ts
CHANGED
|
@@ -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,7 +1,32 @@
|
|
|
1
|
-
import { TideClientConfig } from "..";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,7 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,9 +1,12 @@
|
|
|
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: (
|
|
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,28 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare const
|
|
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,33 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @param
|
|
25
|
-
* @
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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,11 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
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,20 +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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @
|
|
19
|
-
|
|
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>;
|