@qite/tide-client 1.0.10 → 1.0.14
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 -43
- package/build/index.js +412 -489
- package/build/index.js.map +1 -1
- package/build/types/aapi/accommodation-occupancy.d.ts +9 -9
- package/build/types/aapi/accommodation-with-available-places.d.ts +14 -14
- package/build/types/aapi/accommodation.d.ts +7 -7
- package/build/types/aapi/additional-services.d.ts +6 -6
- package/build/types/aapi/alternative-flight-data.d.ts +10 -10
- package/build/types/aapi/alternative-flight-leg.d.ts +18 -18
- package/build/types/aapi/alternative-flight.d.ts +12 -12
- package/build/types/aapi/availability-request.d.ts +12 -12
- package/build/types/aapi/availability.d.ts +5 -5
- package/build/types/aapi/available-products-request.d.ts +32 -32
- package/build/types/aapi/duration.d.ts +4 -4
- package/build/types/aapi/flight-leg.d.ts +18 -18
- package/build/types/aapi/flight.d.ts +23 -23
- package/build/types/aapi/hotel.d.ts +35 -35
- package/build/types/aapi/index.d.ts +22 -20
- package/build/types/aapi/mollie-payment-request.d.ts +6 -0
- package/build/types/aapi/mollie-payment.d.ts +3 -0
- package/build/types/aapi/option-pax.d.ts +4 -4
- package/build/types/aapi/option.d.ts +21 -28
- package/build/types/aapi/pax.d.ts +4 -4
- package/build/types/aapi/price-detail.d.ts +8 -8
- package/build/types/aapi/regime.d.ts +5 -5
- package/build/types/aapi/traveler-grouping.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/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 +15 -15
- package/build/types/enums/meta-data-type.d.ts +10 -10
- package/build/types/enums/online-payment-type.d.ts +3 -0
- 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/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 +26 -26
- package/build/types/index.d.ts +4 -24
- package/build/types/offer/additional-services.d.ts +6 -6
- package/build/types/offer/address.d.ts +11 -11
- package/build/types/offer/alternative-flight-data.d.ts +10 -10
- package/build/types/offer/alternative-flight-leg.d.ts +18 -18
- package/build/types/offer/alternative-flight.d.ts +14 -14
- package/build/types/offer/available-package-accommodation.d.ts +7 -0
- package/build/types/offer/available-package-flight.d.ts +9 -0
- package/build/types/offer/available-package-option.d.ts +12 -0
- package/build/types/offer/available-package-pax-price.d.ts +6 -0
- package/build/types/offer/available-package-regime.d.ts +4 -0
- package/build/types/offer/available-package.d.ts +7 -0
- package/build/types/offer/base-price.d.ts +6 -6
- package/build/types/offer/base-prices-from-date-request.d.ts +12 -12
- package/build/types/offer/base-prices-request.d.ts +12 -12
- package/build/types/offer/book-request.d.ts +36 -36
- package/build/types/offer/booking-response.d.ts +4 -4
- package/build/types/offer/cached-package-search-result.d.ts +5 -5
- package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
- package/build/types/offer/crm-contact-request.d.ts +28 -36
- 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/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 +67 -73
- 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 +49 -59
- package/build/types/offer/flight-meta-data-line.d.ts +16 -0
- package/build/types/offer/flight-meta-data.d.ts +10 -0
- package/build/types/offer/flight-pool.d.ts +5 -5
- package/build/types/offer/index.d.ts +64 -56
- package/build/types/offer/language.d.ts +5 -5
- package/build/types/offer/multiroom-book-request.d.ts +10 -10
- package/build/types/offer/note.d.ts +16 -16
- package/build/types/offer/other-product.d.ts +13 -13
- package/build/types/offer/package-book-request-room.d.ts +5 -5
- package/build/types/offer/package-book-request.d.ts +12 -12
- package/build/types/offer/package-flight.d.ts +13 -13
- package/build/types/offer/package-flights.d.ts +5 -5
- package/build/types/offer/package-option.d.ts +22 -22
- package/build/types/offer/package-price-details-request-room.d.ts +4 -4
- package/build/types/offer/package-price-details-request.d.ts +8 -8
- package/build/types/offer/package-room-option.d.ts +10 -10
- package/build/types/offer/package-room.d.ts +7 -7
- package/build/types/offer/package-search-destination.d.ts +9 -9
- package/build/types/offer/package-search-request-date.d.ts +4 -4
- package/build/types/offer/package-search-request-room.d.ts +5 -5
- package/build/types/offer/package-search-request.d.ts +18 -22
- package/build/types/offer/package-search-result.d.ts +12 -12
- package/build/types/offer/package-sub-option.d.ts +6 -6
- 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/price-detail.d.ts +18 -18
- package/build/types/offer/price-per-pax.d.ts +6 -6
- 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/tide-client-config.d.ts +4 -4
- package/build/utils/api.d.ts +1 -6
- package/build/utils/booking-client.d.ts +102 -169
- package/build/utils/booking-v2-client.d.ts +3 -0
- package/build/utils/common-client.d.ts +1 -6
- package/build/utils/json.d.ts +2 -2
- package/build/utils/mollie-client.d.ts +7 -0
- package/build/utils/web-client.d.ts +10 -14
- package/build/utils/web-contact-client.d.ts +11 -23
- package/package.json +1 -1
- package/src/index.ts +10 -0
- package/src/types/aapi/index.ts +2 -0
- package/src/types/aapi/mollie-payment-request.ts +6 -0
- package/src/types/aapi/mollie-payment.ts +3 -0
- package/src/types/index.ts +2 -0
- package/src/types/offer/available-package-accommodation.ts +8 -0
- package/src/types/offer/available-package-flight.ts +10 -0
- package/src/types/offer/available-package-option.ts +18 -0
- package/src/types/offer/available-package-pax-price.ts +6 -0
- package/src/types/offer/available-package-regime.ts +4 -0
- package/src/types/offer/available-package.ts +8 -0
- package/src/types/offer/flight-meta-data-line.ts +16 -0
- package/src/types/offer/flight-meta-data.ts +11 -0
- package/src/types/offer/index.ts +8 -0
- package/src/utils/booking-v2-client.ts +19 -0
- package/src/utils/json.ts +6 -5
- package/src/utils/mollie-client.ts +27 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { PackageFlights, PackageOption, PackageRoom } from ".";
|
|
2
|
-
export interface PackageSearchResult {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
import { PackageFlights, PackageOption, PackageRoom } from ".";
|
|
2
|
+
export interface PackageSearchResult {
|
|
3
|
+
catalogId: number;
|
|
4
|
+
code: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fromDate: Date;
|
|
7
|
+
toDate: Date;
|
|
8
|
+
price: number;
|
|
9
|
+
rooms: PackageRoom[];
|
|
10
|
+
options: PackageOption[];
|
|
11
|
+
flights: PackageFlights;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface PackageSubOption {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface PackageSubOption {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
price: number;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Language } from ".";
|
|
2
|
-
export interface Pax {
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
1
|
+
import { Language } from ".";
|
|
2
|
+
export interface Pax {
|
|
3
|
+
id: number;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
firstName?: string;
|
|
6
|
+
dateOfBirth?: Date;
|
|
7
|
+
age?: number;
|
|
8
|
+
gender?: number;
|
|
9
|
+
phone?: string;
|
|
10
|
+
mobile?: string;
|
|
11
|
+
email?: string;
|
|
12
|
+
personId?: number;
|
|
13
|
+
emergencyNumber?: string;
|
|
14
|
+
hasInsurance?: boolean;
|
|
15
|
+
insuranceName?: string;
|
|
16
|
+
isMainBooker?: boolean;
|
|
17
|
+
guid?: string;
|
|
18
|
+
birthplace?: string;
|
|
19
|
+
nationality?: string;
|
|
20
|
+
preferredLanguageId?: number;
|
|
21
|
+
preferredLanguage?: Language;
|
|
22
|
+
passportIssueDate?: Date;
|
|
23
|
+
passportIssuedLocation?: string;
|
|
24
|
+
passportNumber?: string;
|
|
25
|
+
passportExpiryDate?: Date;
|
|
26
|
+
travellerNumber?: number;
|
|
27
|
+
extraLuggage?: number;
|
|
28
|
+
extraLuggageWeight?: number;
|
|
29
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface Payment {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
export interface Payment {
|
|
2
|
+
id: number;
|
|
3
|
+
date: Date;
|
|
4
|
+
dossierNumber: string;
|
|
5
|
+
dossierId?: number;
|
|
6
|
+
codaId?: number;
|
|
7
|
+
ledgerAccountId?: number;
|
|
8
|
+
ledgerAccountNumber?: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
currency: string;
|
|
11
|
+
accountNumber: string;
|
|
12
|
+
paymentMethod: string;
|
|
13
|
+
paymentType: number;
|
|
14
|
+
note: string;
|
|
15
|
+
isChecked: boolean;
|
|
16
|
+
structuredPaymentRemark: string;
|
|
17
|
+
client: string;
|
|
18
|
+
exportTime?: Date;
|
|
19
|
+
exportStatus?: number;
|
|
20
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonCountryPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonCountryPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
countryId: number;
|
|
5
|
+
countryName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonLocationPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonLocationPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
locationId: number;
|
|
5
|
+
locationName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonOordPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonOordPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
oordId: number;
|
|
5
|
+
oordName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface PersonPeriodDateRangePreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface PersonPeriodDateRangePreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
startDate: Date;
|
|
5
|
+
endDate: Date;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonPeriodPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonPeriodPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
periodId: number;
|
|
5
|
+
periodName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonRegionPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonRegionPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
regionId: number;
|
|
5
|
+
regionName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonTourGroupPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonTourGroupPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
adults: number;
|
|
4
|
+
children: number;
|
|
5
|
+
rooms: number;
|
|
6
|
+
personId: number;
|
|
7
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { PricePerPax } from ".";
|
|
2
|
-
export interface PriceDetail {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
1
|
+
import { PricePerPax } from ".";
|
|
2
|
+
export interface PriceDetail {
|
|
3
|
+
productName: string;
|
|
4
|
+
priceDescription: string;
|
|
5
|
+
productCode: string;
|
|
6
|
+
productType: number;
|
|
7
|
+
accommodationName?: string;
|
|
8
|
+
accommodationCode?: string;
|
|
9
|
+
date: Date;
|
|
10
|
+
duration: number;
|
|
11
|
+
price: number;
|
|
12
|
+
amount: number;
|
|
13
|
+
total: number;
|
|
14
|
+
pricePerPax: PricePerPax[];
|
|
15
|
+
isInPackage: boolean;
|
|
16
|
+
isSeparate: boolean;
|
|
17
|
+
showPrice: boolean;
|
|
18
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface PricePerPax {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface PricePerPax {
|
|
2
|
+
paxId: string;
|
|
3
|
+
guid: string;
|
|
4
|
+
age: number;
|
|
5
|
+
price: number;
|
|
6
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface ProductNotificationResult {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
export interface ProductNotificationResult {
|
|
2
|
+
id: number;
|
|
3
|
+
productCode: string;
|
|
4
|
+
productName: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
isBlocking: boolean;
|
|
8
|
+
hasToBeConfirmed: boolean;
|
|
9
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface WebContactFormRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
export interface WebContactFormRequest {
|
|
2
|
+
internalEmailTemplate?: number;
|
|
3
|
+
externalEmailTemplate?: number;
|
|
4
|
+
officeId: number;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
tags?: number[];
|
|
10
|
+
message?: string;
|
|
11
|
+
languageCode: string;
|
|
12
|
+
formContent?: Record<string, string>;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface WebContactHasTagRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface WebContactHasTagRequest {
|
|
2
|
+
email: string;
|
|
3
|
+
tag: number;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface TideClientConfig {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface TideClientConfig {
|
|
2
|
+
host: string;
|
|
3
|
+
apiKey: string;
|
|
4
|
+
}
|
package/build/utils/api.d.ts
CHANGED
|
@@ -1,169 +1,102 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*
|
|
19
|
-
* @param
|
|
20
|
-
* @
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
) => Promise<
|
|
39
|
-
/**
|
|
40
|
-
* api/web/booking/
|
|
41
|
-
*
|
|
42
|
-
* @param
|
|
43
|
-
* @
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @param
|
|
67
|
-
* @
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* @param
|
|
91
|
-
* @
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
* @returns The (full) created offer Entry.
|
|
104
|
-
*/
|
|
105
|
-
export declare const createPackageOffer: (
|
|
106
|
-
config: TideClientConfig,
|
|
107
|
-
request: PackageBookRequest,
|
|
108
|
-
signal?: AbortSignal | undefined
|
|
109
|
-
) => Promise<Entry>;
|
|
110
|
-
/**
|
|
111
|
-
* api/web/booking/package-offer-entry
|
|
112
|
-
* Creates a Tide Offer, based on the request.
|
|
113
|
-
* @param config
|
|
114
|
-
* @param request
|
|
115
|
-
* @returns The (short) created offer Entry.
|
|
116
|
-
*/
|
|
117
|
-
export declare const createPackageOfferWithShortResponse: (
|
|
118
|
-
config: TideClientConfig,
|
|
119
|
-
request: PackageBookRequest,
|
|
120
|
-
signal?: AbortSignal | undefined
|
|
121
|
-
) => Promise<BookingResponse>;
|
|
122
|
-
/**
|
|
123
|
-
* api/web/booking/package-entry
|
|
124
|
-
* Create a Tide Booking, based on the request.
|
|
125
|
-
* @param config
|
|
126
|
-
* @param request
|
|
127
|
-
* @returns The (full) created booking Entry.
|
|
128
|
-
*/
|
|
129
|
-
export declare const createPackageEntry: (
|
|
130
|
-
config: TideClientConfig,
|
|
131
|
-
request: PackageBookRequest,
|
|
132
|
-
signal?: AbortSignal | undefined
|
|
133
|
-
) => Promise<Entry>;
|
|
134
|
-
/**
|
|
135
|
-
* api/web/booking/package-entry
|
|
136
|
-
* Create a Tide Booking, based on the request.
|
|
137
|
-
* @param config
|
|
138
|
-
* @param request
|
|
139
|
-
* @returns The (short) created booking Entry.
|
|
140
|
-
*/
|
|
141
|
-
export declare const createPackageEntryWithShortResponse: (
|
|
142
|
-
config: TideClientConfig,
|
|
143
|
-
request: PackageBookRequest,
|
|
144
|
-
signal?: AbortSignal | undefined
|
|
145
|
-
) => Promise<BookingResponse>;
|
|
146
|
-
/**
|
|
147
|
-
* api/web/booking/base-prices
|
|
148
|
-
* Get base prices of a specific product and accommodation in a defined period.
|
|
149
|
-
* @param config
|
|
150
|
-
* @param request
|
|
151
|
-
* @returns The base prices of a specific product and accommodation during the defined period.
|
|
152
|
-
*/
|
|
153
|
-
export declare const getBasePrices: (
|
|
154
|
-
config: TideClientConfig,
|
|
155
|
-
request: BasePricesRequest,
|
|
156
|
-
signal?: AbortSignal | undefined
|
|
157
|
-
) => Promise<BasePrice[]>;
|
|
158
|
-
/**
|
|
159
|
-
* api/web/booking/base-prices-from-date
|
|
160
|
-
* Get base prices of a specific product and accommodation starting from a specific date.
|
|
161
|
-
* @param config
|
|
162
|
-
* @param request
|
|
163
|
-
* @returns The base prices of a specific product and accommodationg starting from a specific date.
|
|
164
|
-
*/
|
|
165
|
-
export declare const getBasePricesFromDate: (
|
|
166
|
-
config: TideClientConfig,
|
|
167
|
-
request: BasePricesFromDateRequest,
|
|
168
|
-
signal?: AbortSignal | undefined
|
|
169
|
-
) => Promise<BasePrice[]>;
|
|
1
|
+
import { Availability, AvailableProductsRequest, BasePrice, BasePricesFromDateRequest, BasePricesRequest, BookingResponse, CachedPackageSearchResult, Entry, MultiroomBookRequest, PackageBookRequest, PackagePriceDetailsRequest, PackageSearchRequest, PriceDetail, TideClientConfig } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* api/web/booking/available-products
|
|
4
|
+
* @param config
|
|
5
|
+
* @param request
|
|
6
|
+
* @returns Availabilities (options) for the specified request.
|
|
7
|
+
*/
|
|
8
|
+
export declare const getAvailableProducts: (config: TideClientConfig, request: AvailableProductsRequest, signal?: AbortSignal | undefined) => Promise<Availability[]>;
|
|
9
|
+
/**
|
|
10
|
+
* api/web/booking/package-search
|
|
11
|
+
* @param config
|
|
12
|
+
* @param request
|
|
13
|
+
* @returns Travel options (excursions etc) for a specified product, accommodation and regime.
|
|
14
|
+
*/
|
|
15
|
+
export declare const searchPackages: (config: TideClientConfig, request: PackageSearchRequest, signal?: AbortSignal | undefined) => Promise<CachedPackageSearchResult[]>;
|
|
16
|
+
/**
|
|
17
|
+
* api/web/booking/package-price-details
|
|
18
|
+
* @param config
|
|
19
|
+
* @param request
|
|
20
|
+
* @returns A price breakdown for a specified Package (= product and selected options).
|
|
21
|
+
*/
|
|
22
|
+
export declare const getPackagePriceDetails: (config: TideClientConfig, request: PackagePriceDetailsRequest, signal?: AbortSignal | undefined) => Promise<PriceDetail[]>;
|
|
23
|
+
/**
|
|
24
|
+
* api/web/booking/offer-entry
|
|
25
|
+
* Creates an Tide Offer, based on the request.
|
|
26
|
+
* @param config
|
|
27
|
+
* @param request
|
|
28
|
+
* @returns The (full) created offer Entry.
|
|
29
|
+
*/
|
|
30
|
+
export declare const createOffer: (config: TideClientConfig, request: MultiroomBookRequest, signal?: AbortSignal | undefined) => Promise<Entry>;
|
|
31
|
+
/**
|
|
32
|
+
* api/web/booking/offer-entry
|
|
33
|
+
* Creates a Tide Offer, based on the request.
|
|
34
|
+
* @param config
|
|
35
|
+
* @param request
|
|
36
|
+
* @returns The (short) created offer Entry.
|
|
37
|
+
*/
|
|
38
|
+
export declare const createOfferWithShortResponse: (config: TideClientConfig, request: MultiroomBookRequest, signal?: AbortSignal | undefined) => Promise<BookingResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* api/web/booking/entry-multiroom
|
|
41
|
+
* Creates a Tide Booking, based on the request.
|
|
42
|
+
* @param config
|
|
43
|
+
* @param request
|
|
44
|
+
* @returns The (full) created booking Entry.
|
|
45
|
+
*/
|
|
46
|
+
export declare const createEntry: (config: TideClientConfig, request: MultiroomBookRequest, signal?: AbortSignal | undefined) => Promise<Entry>;
|
|
47
|
+
/**
|
|
48
|
+
* api/web/booking/entry-multiroom
|
|
49
|
+
* Creates a Tide Booking, based on the request.
|
|
50
|
+
* @param config
|
|
51
|
+
* @param request
|
|
52
|
+
* @returns The (short) created booking Entry.
|
|
53
|
+
*/
|
|
54
|
+
export declare const createEntryWithShortResponse: (config: TideClientConfig, request: MultiroomBookRequest, signal?: AbortSignal | undefined) => Promise<BookingResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* api/web/booking/package-offer-entry
|
|
57
|
+
* Creates a Tide Offer, based on the request.
|
|
58
|
+
* @param config
|
|
59
|
+
* @param request
|
|
60
|
+
* @returns The (full) created offer Entry.
|
|
61
|
+
*/
|
|
62
|
+
export declare const createPackageOffer: (config: TideClientConfig, request: PackageBookRequest, signal?: AbortSignal | undefined) => Promise<Entry>;
|
|
63
|
+
/**
|
|
64
|
+
* api/web/booking/package-offer-entry
|
|
65
|
+
* Creates a Tide Offer, based on the request.
|
|
66
|
+
* @param config
|
|
67
|
+
* @param request
|
|
68
|
+
* @returns The (short) created offer Entry.
|
|
69
|
+
*/
|
|
70
|
+
export declare const createPackageOfferWithShortResponse: (config: TideClientConfig, request: PackageBookRequest, signal?: AbortSignal | undefined) => Promise<BookingResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* api/web/booking/package-entry
|
|
73
|
+
* Create a Tide Booking, based on the request.
|
|
74
|
+
* @param config
|
|
75
|
+
* @param request
|
|
76
|
+
* @returns The (full) created booking Entry.
|
|
77
|
+
*/
|
|
78
|
+
export declare const createPackageEntry: (config: TideClientConfig, request: PackageBookRequest, signal?: AbortSignal | undefined) => Promise<Entry>;
|
|
79
|
+
/**
|
|
80
|
+
* api/web/booking/package-entry
|
|
81
|
+
* Create a Tide Booking, based on the request.
|
|
82
|
+
* @param config
|
|
83
|
+
* @param request
|
|
84
|
+
* @returns The (short) created booking Entry.
|
|
85
|
+
*/
|
|
86
|
+
export declare const createPackageEntryWithShortResponse: (config: TideClientConfig, request: PackageBookRequest, signal?: AbortSignal | undefined) => Promise<BookingResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* api/web/booking/base-prices
|
|
89
|
+
* Get base prices of a specific product and accommodation in a defined period.
|
|
90
|
+
* @param config
|
|
91
|
+
* @param request
|
|
92
|
+
* @returns The base prices of a specific product and accommodation during the defined period.
|
|
93
|
+
*/
|
|
94
|
+
export declare const getBasePrices: (config: TideClientConfig, request: BasePricesRequest, signal?: AbortSignal | undefined) => Promise<BasePrice[]>;
|
|
95
|
+
/**
|
|
96
|
+
* api/web/booking/base-prices-from-date
|
|
97
|
+
* Get base prices of a specific product and accommodation starting from a specific date.
|
|
98
|
+
* @param config
|
|
99
|
+
* @param request
|
|
100
|
+
* @returns The base prices of a specific product and accommodationg starting from a specific date.
|
|
101
|
+
*/
|
|
102
|
+
export declare const getBasePricesFromDate: (config: TideClientConfig, request: BasePricesFromDateRequest, signal?: AbortSignal | undefined) => Promise<BasePrice[]>;
|