@qite/tide-client 1.1.142 → 1.1.143

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
@@ -6523,6 +6523,7 @@ var ENDPOINT_LOCATIONS$1 = ENDPOINT$4 + "/locations";
6523
6523
  var ENDPOINT_PORTAL = function (portalId) {
6524
6524
  return ENDPOINT$4 + "/portal/" + portalId;
6525
6525
  };
6526
+ var ENDPOINT_AIRPORT = "/api/web/entity/airport";
6526
6527
  /**
6527
6528
  * api/search/countries
6528
6529
  * Gets all Countries
@@ -6580,6 +6581,11 @@ var getPortal = function (config, portalId, signal) {
6580
6581
  var apiKey = config.apiKey;
6581
6582
  return get(url, apiKey, config.token, signal, true);
6582
6583
  };
6584
+ var getAirports = function (config, signal) {
6585
+ var url = "" + config.host + ENDPOINT_AIRPORT;
6586
+ var apiKey = config.apiKey;
6587
+ return get(url, apiKey, config.token, signal, true);
6588
+ };
6583
6589
 
6584
6590
  var createParams = function (filter, all, gridColumns, mode, forceToLower) {
6585
6591
  var params = {};
@@ -7011,6 +7017,7 @@ exports.flightLines = flightLines;
7011
7017
  exports.forgotPassword = forgotPassword;
7012
7018
  exports.generateBookingAccommodations = generateBookingAccommodations;
7013
7019
  exports.getAffiliates = getAffiliates;
7020
+ exports.getAirports = getAirports;
7014
7021
  exports.getAllotment = getAllotment;
7015
7022
  exports.getAllotmentAvailability = getAllotmentAvailability;
7016
7023
  exports.getAllotmentList = getAllotmentList;