@qite/tide-client 1.1.99 → 1.1.101
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/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/types/web/agent-dossier-item.d.ts +1 -0
- package/build/utils/booking-v2-client.d.ts +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6283,6 +6283,7 @@ var ENDPOINT_CUSTOM_ENTRY_STATUS$1 = function (
|
|
|
6283
6283
|
var ENDPOINT_ENTRY_STATUS = function (dossierNumber, entryStatus) {
|
|
6284
6284
|
return ENDPOINT$7 + "/entry-status/" + dossierNumber + "/" + entryStatus;
|
|
6285
6285
|
};
|
|
6286
|
+
var ENDPOINT_ELASTIC = ENDPOINT$7 + "/elastic";
|
|
6286
6287
|
var availableFlights = function (config, request, signal) {
|
|
6287
6288
|
var url = "" + config.host + ENDPOINT_AVAILABLE_FLIGHTS;
|
|
6288
6289
|
var apiKey = config.apiKey;
|
|
@@ -6320,6 +6321,12 @@ var searchWithErrorMapping = function (config, request, signal) {
|
|
|
6320
6321
|
var body = JSON.stringify(request);
|
|
6321
6322
|
return post(url, apiKey, body, config.token, signal, true);
|
|
6322
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
|
+
};
|
|
6323
6330
|
var details = function (config, request, signal, languageCode) {
|
|
6324
6331
|
var url = "" + config.host + ENDPOINT_DETAILS;
|
|
6325
6332
|
var apiKey = config.apiKey;
|
|
@@ -6917,6 +6924,7 @@ exports.prices = prices;
|
|
|
6917
6924
|
exports.print = print;
|
|
6918
6925
|
exports.resetPassword = resetPassword;
|
|
6919
6926
|
exports.search = search;
|
|
6927
|
+
exports.searchElastic = searchElastic;
|
|
6920
6928
|
exports.searchFlightPool = searchFlightPool;
|
|
6921
6929
|
exports.searchWithErrorMapping = searchWithErrorMapping;
|
|
6922
6930
|
exports.setCustomEntryStatus = setCustomEntryStatus;
|