@qite/tide-client 1.1.157 → 1.1.159
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 +16 -1
- 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/booking-v2/shared/index.d.ts +1 -0
- package/build/types/booking-v2/shared/itinerary.d.ts +37 -0
- package/build/utils/packaging-client.d.ts +13 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7025,11 +7025,12 @@ 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";
|
|
7030
|
+
var ENDPOINT_ITINERARY = ENDPOINT + "/itinerary";
|
|
7029
7031
|
var ENDPOINT_ENTRY = function (magicLinkCode) {
|
|
7030
7032
|
return ENDPOINT + "/entry/" + magicLinkCode;
|
|
7031
7033
|
};
|
|
7032
|
-
// MANUAL PACKAGING SEARCH
|
|
7033
7034
|
var startTransaction = function (config, signal) {
|
|
7034
7035
|
var apiKey = config.apiKey;
|
|
7035
7036
|
var url = "" + config.host + ENDPOINT_START_TRANSACTION;
|
|
@@ -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);
|
|
@@ -7052,6 +7059,12 @@ var getPriceDetails = function (config, request, signal) {
|
|
|
7052
7059
|
var body = JSON.stringify(request);
|
|
7053
7060
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7054
7061
|
};
|
|
7062
|
+
var getItinerary = function (config, request, signal) {
|
|
7063
|
+
var url = "" + config.host + ENDPOINT_ITINERARY;
|
|
7064
|
+
var apiKey = config.apiKey;
|
|
7065
|
+
var body = JSON.stringify(request);
|
|
7066
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7067
|
+
};
|
|
7055
7068
|
|
|
7056
7069
|
exports.AllotmentType = AllotmentType;
|
|
7057
7070
|
exports.ContactForm = ContactForm;
|
|
@@ -7104,6 +7117,7 @@ exports.getEntryListv2 = getEntryListv2;
|
|
|
7104
7117
|
exports.getEntryStatus = getEntryStatus;
|
|
7105
7118
|
exports.getEntryTotals = getEntryTotals;
|
|
7106
7119
|
exports.getInvoiceList = getInvoiceList;
|
|
7120
|
+
exports.getItinerary = getItinerary;
|
|
7107
7121
|
exports.getLocations = getLocations;
|
|
7108
7122
|
exports.getMolliePayment = getMolliePayment;
|
|
7109
7123
|
exports.getPortal = getPortal;
|
|
@@ -7125,6 +7139,7 @@ exports.searchFlightPool = searchFlightPool;
|
|
|
7125
7139
|
exports.searchLocations = searchLocations;
|
|
7126
7140
|
exports.searchOords = searchOords;
|
|
7127
7141
|
exports.searchPackagingAccommodations = searchPackagingAccommodations;
|
|
7142
|
+
exports.searchPackagingFlights = searchPackagingFlights;
|
|
7128
7143
|
exports.searchRegions = searchRegions;
|
|
7129
7144
|
exports.searchWithErrorMapping = searchWithErrorMapping;
|
|
7130
7145
|
exports.setCustomEntryStatus = setCustomEntryStatus;
|