@qite/tide-client 2.1.0-preview.2 → 2.1.0-preview.3

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
@@ -7660,6 +7660,9 @@ var ENDPOINT_FLIGHTS = ENDPOINT$3 + "/flights";
7660
7660
  var ENDPOINT_PRICE_DETAILS = ENDPOINT$3 + "/price-details";
7661
7661
  var ENDPOINT_BOOK = ENDPOINT$3 + "/book";
7662
7662
  var ENDPOINT_ITINERARY = ENDPOINT$3 + "/itinerary";
7663
+ var ENDPOINT_ITINERARY_STORY = function (token) {
7664
+ return "/api/web/itinerary-story/" + encodeURIComponent(token);
7665
+ };
7663
7666
  var ENDPOINT_TRAJECT = ENDPOINT$3 + "/traject";
7664
7667
  var ENDPOINT_TRAJECTS = ENDPOINT$3 + "/trajects";
7665
7668
  var ENDPOINT_ENTRY = function (magicLinkCode) {
@@ -7732,6 +7735,10 @@ var getItinerary = function (config, request, signal) {
7732
7735
  var body = JSON.stringify(request);
7733
7736
  return post(url, apiKey, body, config.token, signal, true);
7734
7737
  };
7738
+ var getItineraryStory = function (config, token, signal) {
7739
+ var url = "" + config.host + ENDPOINT_ITINERARY_STORY(token);
7740
+ return get(url, config.apiKey, config.token, signal, true);
7741
+ };
7735
7742
  var bookPackagingEntry = function (config, request, signal) {
7736
7743
  var url = "" + config.host + ENDPOINT_BOOK;
7737
7744
  var apiKey = config.apiKey;
@@ -8118,6 +8125,7 @@ exports.getFilteredContentDraft = getFilteredContentDraft;
8118
8125
  exports.getFilteredContentLive = getFilteredContentLive;
8119
8126
  exports.getInvoiceList = getInvoiceList;
8120
8127
  exports.getItinerary = getItinerary;
8128
+ exports.getItineraryStory = getItineraryStory;
8121
8129
  exports.getLocations = getLocations;
8122
8130
  exports.getMolliePayment = getMolliePayment;
8123
8131
  exports.getPortal = getPortal;