@qite/tide-client 1.1.154 → 1.1.156

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
@@ -6313,7 +6313,7 @@ var ENDPOINT_ALTERNATE_FLIGHTS = function (transactionId) {
6313
6313
  return ENDPOINT$8 + "/details/" + transactionId + "/alternate-flights";
6314
6314
  };
6315
6315
  var ENDPOINT_BOOKABLE_DATES = ENDPOINT$8 + "/bookable-dates";
6316
- var ENDPOINT_PRICE_DETAILS = ENDPOINT$8 + "/price-details";
6316
+ var ENDPOINT_PRICE_DETAILS$1 = ENDPOINT$8 + "/price-details";
6317
6317
  var ENDPOINT_BOOK = ENDPOINT$8 + "/book";
6318
6318
  var ENDPOINT_UPDATE = ENDPOINT$8 + "/update";
6319
6319
  var ENDPOINT_AGENTS = ENDPOINT$8 + "/agents";
@@ -6425,7 +6425,7 @@ var bookableDates = function (config, request, signal) {
6425
6425
  return post(url, apiKey, body, config.token, signal, true);
6426
6426
  };
6427
6427
  var priceDetails = function (config, request, signal, languageCode) {
6428
- var url = "" + config.host + ENDPOINT_PRICE_DETAILS;
6428
+ var url = "" + config.host + ENDPOINT_PRICE_DETAILS$1;
6429
6429
  var apiKey = config.apiKey;
6430
6430
  var body = JSON.stringify(request);
6431
6431
  return post(url, apiKey, body, config.token, signal, true, languageCode);
@@ -7023,11 +7023,18 @@ 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";
7028
+ var ENDPOINT_PRICE_DETAILS = ENDPOINT + "/price-details";
7027
7029
  var ENDPOINT_ENTRY = function (magicLinkCode) {
7028
7030
  return ENDPOINT + "/entry/" + magicLinkCode;
7029
7031
  };
7030
7032
  // MANUAL PACKAGING SEARCH
7033
+ var startTransaction = function (config, signal) {
7034
+ var apiKey = config.apiKey;
7035
+ var url = "" + config.host + ENDPOINT_START_TRANSACTION;
7036
+ return get(url, apiKey, config.token, signal, true);
7037
+ };
7031
7038
  var searchPackagingAccommodations = function (config, request, signal) {
7032
7039
  var url = "" + config.host + ENDPOINT_ACCOMMODATIONS;
7033
7040
  var apiKey = config.apiKey;
@@ -7039,6 +7046,12 @@ var getEntry = function (config, magicLinkCode, signal) {
7039
7046
  var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
7040
7047
  return get(url, apiKey, config.token, signal, true);
7041
7048
  };
7049
+ var getPriceDetails = function (config, request, signal) {
7050
+ var url = "" + config.host + ENDPOINT_PRICE_DETAILS;
7051
+ var apiKey = config.apiKey;
7052
+ var body = JSON.stringify(request);
7053
+ return post(url, apiKey, body, config.token, signal, true);
7054
+ };
7042
7055
 
7043
7056
  exports.AllotmentType = AllotmentType;
7044
7057
  exports.ContactForm = ContactForm;
@@ -7094,6 +7107,7 @@ exports.getInvoiceList = getInvoiceList;
7094
7107
  exports.getLocations = getLocations;
7095
7108
  exports.getMolliePayment = getMolliePayment;
7096
7109
  exports.getPortal = getPortal;
7110
+ exports.getPriceDetails = getPriceDetails;
7097
7111
  exports.getPrintActions = getPrintActions;
7098
7112
  exports.getStyleSheet = getStyleSheet;
7099
7113
  exports.getTranslationDictionary = getTranslationDictionary;
@@ -7115,6 +7129,7 @@ exports.searchRegions = searchRegions;
7115
7129
  exports.searchWithErrorMapping = searchWithErrorMapping;
7116
7130
  exports.setCustomEntryStatus = setCustomEntryStatus;
7117
7131
  exports.setEntryStatus = setEntryStatus;
7132
+ exports.startTransaction = startTransaction;
7118
7133
  exports.tourCodes = tourCodes;
7119
7134
  exports.transportDates = transportDates;
7120
7135
  exports.update = update;