@qite/tide-client 1.1.66 → 1.1.67
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 +7 -0
- package/build/index.js.map +1 -1
- package/build/types/web/airport.d.ts +10 -0
- package/build/types/web/index.d.ts +1 -0
- package/build/utils/search-client.d.ts +5 -1
- package/package.json +1 -1
- package/src/types/web/airport.ts +11 -0
- package/src/types/web/index.ts +1 -0
- package/src/utils/search-client.ts +12 -1
package/build/index.js
CHANGED
|
@@ -6371,6 +6371,7 @@ var getMolliePayment = function (config, request, signal) {
|
|
|
6371
6371
|
|
|
6372
6372
|
var ENDPOINT$4 = "/api/web/search";
|
|
6373
6373
|
var ENDPOINT_COUNTRIES = ENDPOINT$4 + "/countries";
|
|
6374
|
+
var ENDPOINT_AIRPORTS = ENDPOINT$4 + "/airports";
|
|
6374
6375
|
/**
|
|
6375
6376
|
* api/search/countries
|
|
6376
6377
|
* Gets all Countries
|
|
@@ -6383,6 +6384,11 @@ var getCountries = function (config, signal) {
|
|
|
6383
6384
|
var apiKey = config.apiKey;
|
|
6384
6385
|
return get(url, apiKey, config.token, signal, true);
|
|
6385
6386
|
};
|
|
6387
|
+
var getAirports = function (config, signal) {
|
|
6388
|
+
var url = "" + config.host + ENDPOINT_AIRPORTS;
|
|
6389
|
+
var apiKey = config.apiKey;
|
|
6390
|
+
return get(url, apiKey, config.token, signal, true);
|
|
6391
|
+
};
|
|
6386
6392
|
|
|
6387
6393
|
var createParams = function (filter, all, gridColumns, mode, forceToLower) {
|
|
6388
6394
|
var params = {};
|
|
@@ -6763,6 +6769,7 @@ exports.feedXmlFolder = feedXmlFolder;
|
|
|
6763
6769
|
exports.forgotPassword = forgotPassword;
|
|
6764
6770
|
exports.generateBookingAccommodations = generateBookingAccommodations;
|
|
6765
6771
|
exports.getAffiliates = getAffiliates;
|
|
6772
|
+
exports.getAirports = getAirports;
|
|
6766
6773
|
exports.getAllotmentAvailability = getAllotmentAvailability;
|
|
6767
6774
|
exports.getCountries = getCountries;
|
|
6768
6775
|
exports.getCustomEntryStatus = getCustomEntryStatus;
|