@qite/tide-client 1.1.153 → 1.1.155

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
@@ -7023,11 +7023,17 @@ var feedXmlFolder = function (config, slug, folder, signal) {
7023
7023
  };
7024
7024
 
7025
7025
  var ENDPOINT = "/api/web/packaging";
7026
+ var ENDPOINT_START_TRANSACTION = ENDPOINT + "/start";
7026
7027
  var ENDPOINT_ACCOMMODATIONS = ENDPOINT + "/accommodations";
7027
7028
  var ENDPOINT_ENTRY = function (magicLinkCode) {
7028
7029
  return ENDPOINT + "/entry/" + magicLinkCode;
7029
7030
  };
7030
7031
  // MANUAL PACKAGING SEARCH
7032
+ var startTransaction = function (config, signal) {
7033
+ var apiKey = config.apiKey;
7034
+ var url = "" + config.host + ENDPOINT_START_TRANSACTION;
7035
+ return get(url, apiKey, config.token, signal, true);
7036
+ };
7031
7037
  var searchPackagingAccommodations = function (config, request, signal) {
7032
7038
  var url = "" + config.host + ENDPOINT_ACCOMMODATIONS;
7033
7039
  var apiKey = config.apiKey;
@@ -7115,6 +7121,7 @@ exports.searchRegions = searchRegions;
7115
7121
  exports.searchWithErrorMapping = searchWithErrorMapping;
7116
7122
  exports.setCustomEntryStatus = setCustomEntryStatus;
7117
7123
  exports.setEntryStatus = setEntryStatus;
7124
+ exports.startTransaction = startTransaction;
7118
7125
  exports.tourCodes = tourCodes;
7119
7126
  exports.transportDates = transportDates;
7120
7127
  exports.update = update;