@qite/tide-client 1.1.98 → 1.1.100
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 -3
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/response/elastic-result-hit.d.ts +8 -0
- package/build/types/booking-v2/response/elastic-result.d.ts +17 -0
- package/build/types/booking-v2/response/index.d.ts +4 -0
- package/build/types/booking-v2/response/tide-elastic-product.d.ts +59 -0
- package/build/types/booking-v2/response/tide-elastic-tag.d.ts +4 -0
- package/build/utils/booking-v2-client.d.ts +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6281,10 +6281,9 @@ var ENDPOINT_CUSTOM_ENTRY_STATUS$1 = function (
|
|
|
6281
6281
|
);
|
|
6282
6282
|
};
|
|
6283
6283
|
var ENDPOINT_ENTRY_STATUS = function (dossierNumber, entryStatus) {
|
|
6284
|
-
return
|
|
6285
|
-
ENDPOINT$7 + "/custom-entry-status/" + dossierNumber + "/" + entryStatus
|
|
6286
|
-
);
|
|
6284
|
+
return ENDPOINT$7 + "/entry-status/" + dossierNumber + "/" + entryStatus;
|
|
6287
6285
|
};
|
|
6286
|
+
var ENDPOINT_ELASTIC = ENDPOINT$7 + "/elastic";
|
|
6288
6287
|
var availableFlights = function (config, request, signal) {
|
|
6289
6288
|
var url = "" + config.host + ENDPOINT_AVAILABLE_FLIGHTS;
|
|
6290
6289
|
var apiKey = config.apiKey;
|
|
@@ -6322,6 +6321,12 @@ var searchWithErrorMapping = function (config, request, signal) {
|
|
|
6322
6321
|
var body = JSON.stringify(request);
|
|
6323
6322
|
return post(url, apiKey, body, config.token, signal, true);
|
|
6324
6323
|
};
|
|
6324
|
+
var searchElastic = function (config, request, signal) {
|
|
6325
|
+
var url = "" + config.host + ENDPOINT_ELASTIC;
|
|
6326
|
+
var apiKey = config.apiKey;
|
|
6327
|
+
var body = request;
|
|
6328
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
6329
|
+
};
|
|
6325
6330
|
var details = function (config, request, signal, languageCode) {
|
|
6326
6331
|
var url = "" + config.host + ENDPOINT_DETAILS;
|
|
6327
6332
|
var apiKey = config.apiKey;
|
|
@@ -6919,6 +6924,7 @@ exports.prices = prices;
|
|
|
6919
6924
|
exports.print = print;
|
|
6920
6925
|
exports.resetPassword = resetPassword;
|
|
6921
6926
|
exports.search = search;
|
|
6927
|
+
exports.searchElastic = searchElastic;
|
|
6922
6928
|
exports.searchFlightPool = searchFlightPool;
|
|
6923
6929
|
exports.searchWithErrorMapping = searchWithErrorMapping;
|
|
6924
6930
|
exports.setCustomEntryStatus = setCustomEntryStatus;
|