@qite/tide-client 1.1.150 → 1.1.152
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 +9 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/response/index.d.ts +1 -0
- package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +1 -0
- package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +76 -0
- package/build/utils/packaging-client.d.ts +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7024,6 +7024,9 @@ var feedXmlFolder = function (config, slug, folder, signal) {
|
|
|
7024
7024
|
|
|
7025
7025
|
var ENDPOINT = "/api/web/packaging";
|
|
7026
7026
|
var ENDPOINT_ACCOMMODATIONS = ENDPOINT + "/accommodations";
|
|
7027
|
+
var ENDPOINT_ENTRY = function (magicLinkCode) {
|
|
7028
|
+
return ENDPOINT + "/entry/" + magicLinkCode;
|
|
7029
|
+
};
|
|
7027
7030
|
// MANUAL PACKAGING SEARCH
|
|
7028
7031
|
var searchPackagingAccommodations = function (config, request, signal) {
|
|
7029
7032
|
var url = "" + config.host + ENDPOINT_ACCOMMODATIONS;
|
|
@@ -7031,6 +7034,11 @@ var searchPackagingAccommodations = function (config, request, signal) {
|
|
|
7031
7034
|
var body = JSON.stringify(request);
|
|
7032
7035
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7033
7036
|
};
|
|
7037
|
+
var getEntry = function (config, magicLinkCode, signal) {
|
|
7038
|
+
var apiKey = config.apiKey;
|
|
7039
|
+
var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
|
|
7040
|
+
return get(url, apiKey, config.token, signal, true);
|
|
7041
|
+
};
|
|
7034
7042
|
|
|
7035
7043
|
exports.AllotmentType = AllotmentType;
|
|
7036
7044
|
exports.ContactForm = ContactForm;
|
|
@@ -7075,6 +7083,7 @@ exports.getAllotmentAvailability = getAllotmentAvailability;
|
|
|
7075
7083
|
exports.getAllotmentList = getAllotmentList;
|
|
7076
7084
|
exports.getCountries = getCountries;
|
|
7077
7085
|
exports.getCustomEntryStatus = getCustomEntryStatus;
|
|
7086
|
+
exports.getEntry = getEntry;
|
|
7078
7087
|
exports.getEntryDetailv2 = getEntryDetailv2;
|
|
7079
7088
|
exports.getEntryLight = getEntryLight;
|
|
7080
7089
|
exports.getEntryList = getEntryList;
|