@qite/tide-client 1.1.126 → 1.1.128
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
CHANGED
|
@@ -6273,6 +6273,9 @@ var ENDPOINT_SEARCH_WITH_ERROR_MAPPING =
|
|
|
6273
6273
|
// const ENDPOINT_ELASTIC = `${ENDPOINT}/elastic`; // TODO
|
|
6274
6274
|
var ENDPOINT_DETAILS = ENDPOINT$7 + "/details";
|
|
6275
6275
|
var ENDPOINT_DETAILS_WL = ENDPOINT$7 + "/details-wl";
|
|
6276
|
+
var ENDPOINT_ENTRYLIGHT = function (code) {
|
|
6277
|
+
return ENDPOINT$7 + "/entry-light/" + code;
|
|
6278
|
+
};
|
|
6276
6279
|
var ENDPOINT_VALIDATE_VOUCHER = ENDPOINT$7 + "/validate-voucher";
|
|
6277
6280
|
var ENDPOINT_ALTERNATE_HOTELS = function (transactionId, optionId) {
|
|
6278
6281
|
return (
|
|
@@ -6366,6 +6369,11 @@ var detailsWL = function (config, request, signal, languageCode) {
|
|
|
6366
6369
|
var body = JSON.stringify(request);
|
|
6367
6370
|
return post(url, apiKey, body, config.token, signal, true, languageCode);
|
|
6368
6371
|
};
|
|
6372
|
+
var getEntryLight = function (config, code, signal) {
|
|
6373
|
+
var url = "" + config.host + ENDPOINT_ENTRYLIGHT(code);
|
|
6374
|
+
var apiKey = config.apiKey;
|
|
6375
|
+
return get(url, apiKey, config.token, signal, true);
|
|
6376
|
+
};
|
|
6369
6377
|
var validateVoucher = function (config, request, signal) {
|
|
6370
6378
|
var url = "" + config.host + ENDPOINT_VALIDATE_VOUCHER;
|
|
6371
6379
|
var apiKey = config.apiKey;
|
|
@@ -6958,6 +6966,7 @@ exports.getAllotmentList = getAllotmentList;
|
|
|
6958
6966
|
exports.getCountries = getCountries;
|
|
6959
6967
|
exports.getCustomEntryStatus = getCustomEntryStatus;
|
|
6960
6968
|
exports.getEntryDetailv2 = getEntryDetailv2;
|
|
6969
|
+
exports.getEntryLight = getEntryLight;
|
|
6961
6970
|
exports.getEntryList = getEntryList;
|
|
6962
6971
|
exports.getEntryListv2 = getEntryListv2;
|
|
6963
6972
|
exports.getEntryStatus = getEntryStatus;
|