@qite/tide-client 1.1.158 → 1.1.160
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 +8 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/response/index.d.ts +2 -0
- package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +2 -23
- package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +25 -0
- package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +18 -0
- package/build/types/hubs/search/flight-search-request.d.ts +1 -0
- package/build/utils/packaging-client.d.ts +7 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7025,6 +7025,7 @@ var feedXmlFolder = function (config, slug, folder, signal) {
|
|
|
7025
7025
|
var ENDPOINT = "/api/web/packaging";
|
|
7026
7026
|
var ENDPOINT_START_TRANSACTION = ENDPOINT + "/start";
|
|
7027
7027
|
var ENDPOINT_ACCOMMODATIONS = ENDPOINT + "/accommodations";
|
|
7028
|
+
var ENDPOINT_FLIGHTS = ENDPOINT + "/flights";
|
|
7028
7029
|
var ENDPOINT_PRICE_DETAILS = ENDPOINT + "/price-details";
|
|
7029
7030
|
var ENDPOINT_ITINERARY = ENDPOINT + "/itinerary";
|
|
7030
7031
|
var ENDPOINT_ENTRY = function (magicLinkCode) {
|
|
@@ -7041,6 +7042,12 @@ var searchPackagingAccommodations = function (config, request, signal) {
|
|
|
7041
7042
|
var body = JSON.stringify(request);
|
|
7042
7043
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7043
7044
|
};
|
|
7045
|
+
var searchPackagingFlights = function (config, request, signal) {
|
|
7046
|
+
var url = "" + config.host + ENDPOINT_FLIGHTS;
|
|
7047
|
+
var apiKey = config.apiKey;
|
|
7048
|
+
var body = JSON.stringify(request);
|
|
7049
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7050
|
+
};
|
|
7044
7051
|
var getEntry = function (config, magicLinkCode, signal) {
|
|
7045
7052
|
var apiKey = config.apiKey;
|
|
7046
7053
|
var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
|
|
@@ -7132,6 +7139,7 @@ exports.searchFlightPool = searchFlightPool;
|
|
|
7132
7139
|
exports.searchLocations = searchLocations;
|
|
7133
7140
|
exports.searchOords = searchOords;
|
|
7134
7141
|
exports.searchPackagingAccommodations = searchPackagingAccommodations;
|
|
7142
|
+
exports.searchPackagingFlights = searchPackagingFlights;
|
|
7135
7143
|
exports.searchRegions = searchRegions;
|
|
7136
7144
|
exports.searchWithErrorMapping = searchWithErrorMapping;
|
|
7137
7145
|
exports.setCustomEntryStatus = setCustomEntryStatus;
|