@qite/tide-client 2.0.21-preview.10 → 2.0.21-preview.12

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
@@ -7628,6 +7628,7 @@ var ENDPOINT_PRICE_DETAILS = ENDPOINT$1 + "/price-details";
7628
7628
  var ENDPOINT_BOOK = ENDPOINT$1 + "/book";
7629
7629
  var ENDPOINT_ITINERARY = ENDPOINT$1 + "/itinerary";
7630
7630
  var ENDPOINT_TRAJECT = ENDPOINT$1 + "/traject";
7631
+ var ENDPOINT_TRAJECTS = ENDPOINT$1 + "/trajects";
7631
7632
  var ENDPOINT_ENTRY = function (magicLinkCode) {
7632
7633
  return ENDPOINT$1 + "/entry/" + magicLinkCode;
7633
7634
  };
@@ -7676,6 +7677,10 @@ var savePackagingEntry = function (config, request, signal) {
7676
7677
  var body = JSON.stringify(request);
7677
7678
  return post(url, apiKey, body, config.token, signal, true);
7678
7679
  };
7680
+ var getTrajects = function (config, signal) {
7681
+ var url = "" + config.host + ENDPOINT_TRAJECTS;
7682
+ return get(url, config.apiKey, config.token, signal, true);
7683
+ };
7679
7684
  var getTrajectEntry = function (config, request, signal) {
7680
7685
  var url = "" + config.host + ENDPOINT_TRAJECT;
7681
7686
  var apiKey = config.apiKey;
@@ -7821,6 +7826,7 @@ exports.getPriceDetails = getPriceDetails;
7821
7826
  exports.getPrintActions = getPrintActions;
7822
7827
  exports.getStyleSheet = getStyleSheet;
7823
7828
  exports.getTrajectEntry = getTrajectEntry;
7829
+ exports.getTrajects = getTrajects;
7824
7830
  exports.getTranslationDictionary = getTranslationDictionary;
7825
7831
  exports.getTravelAgents = getTravelAgents;
7826
7832
  exports.getWebsiteConfiguration = getWebsiteConfiguration;