@qite/tide-client 2.0.21-preview.1 → 2.0.21-preview.10
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.js +12 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/booking-package-book-request.d.ts +4 -0
- package/build/types/booking-v2/request/booking-package-details-request.d.ts +2 -1
- package/build/types/booking-v2/request/booking-package-search-request.d.ts +1 -0
- package/build/types/booking-v2/request/index.d.ts +1 -0
- package/build/types/booking-v2/request/packaging/packaging-transfer-request.d.ts +14 -0
- package/build/types/booking-v2/response/booking-price-details.d.ts +1 -0
- package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +9 -0
- package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +2 -0
- package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +8 -0
- package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +1 -0
- package/build/types/booking-v2/shared/booking-package-line.d.ts +3 -0
- package/build/types/booking-v2/shared/booking-package-room-option.d.ts +3 -0
- package/build/types/booking-v2/shared/itinerary.d.ts +1 -0
- package/build/types/hubs/search/flight-search-request.d.ts +9 -3
- package/build/types/hubs/search/flight-search-response.d.ts +10 -0
- package/build/types/web/website-configuration.d.ts +34 -0
- package/build/utils/packaging-client.d.ts +10 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7622,6 +7622,7 @@ var ENDPOINT$1 = "/api/web/packaging";
|
|
|
7622
7622
|
var ENDPOINT_START_TRANSACTION = ENDPOINT$1 + "/start";
|
|
7623
7623
|
var ENDPOINT_ACCOMMODATIONS = ENDPOINT$1 + "/accommodations";
|
|
7624
7624
|
var ENDPOINT_EXCURSIONS = ENDPOINT$1 + "/excursions";
|
|
7625
|
+
var ENDPOINT_TRANSFERS = ENDPOINT$1 + "/transfers";
|
|
7625
7626
|
var ENDPOINT_FLIGHTS = ENDPOINT$1 + "/flights";
|
|
7626
7627
|
var ENDPOINT_PRICE_DETAILS = ENDPOINT$1 + "/price-details";
|
|
7627
7628
|
var ENDPOINT_BOOK = ENDPOINT$1 + "/book";
|
|
@@ -7642,6 +7643,10 @@ var searchPackagingAccommodations = function (config, request, signal) {
|
|
|
7642
7643
|
var body = JSON.stringify(request);
|
|
7643
7644
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7644
7645
|
};
|
|
7646
|
+
/**
|
|
7647
|
+
* Hotel+flight packaging only reads the legacy fields (departureAirportCode, arrivalAirportCode,
|
|
7648
|
+
* outward, return): `legs` is ignored, so a legs-only request finds nothing here.
|
|
7649
|
+
*/
|
|
7645
7650
|
var searchPackagingFlights = function (config, request, signal) {
|
|
7646
7651
|
var url = "" + config.host + ENDPOINT_FLIGHTS;
|
|
7647
7652
|
var apiKey = config.apiKey;
|
|
@@ -7654,6 +7659,12 @@ var searchPackagingExcursions = function (config, request, signal) {
|
|
|
7654
7659
|
var body = JSON.stringify(request);
|
|
7655
7660
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7656
7661
|
};
|
|
7662
|
+
var searchPackagingTransfers = function (config, request, signal) {
|
|
7663
|
+
var url = "" + config.host + ENDPOINT_TRANSFERS;
|
|
7664
|
+
var apiKey = config.apiKey;
|
|
7665
|
+
var body = JSON.stringify(request);
|
|
7666
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7667
|
+
};
|
|
7657
7668
|
var getEntry = function (config, magicLinkCode, signal) {
|
|
7658
7669
|
var apiKey = config.apiKey;
|
|
7659
7670
|
var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
|
|
@@ -7831,6 +7842,7 @@ exports.searchOords = searchOords;
|
|
|
7831
7842
|
exports.searchPackagingAccommodations = searchPackagingAccommodations;
|
|
7832
7843
|
exports.searchPackagingExcursions = searchPackagingExcursions;
|
|
7833
7844
|
exports.searchPackagingFlights = searchPackagingFlights;
|
|
7845
|
+
exports.searchPackagingTransfers = searchPackagingTransfers;
|
|
7834
7846
|
exports.searchRegions = searchRegions;
|
|
7835
7847
|
exports.searchWithErrorMapping = searchWithErrorMapping;
|
|
7836
7848
|
exports.sendContactForm = sendContactForm;
|