@qite/tide-client 1.1.116 → 1.1.118
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 +8 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +1 -0
- package/build/types/web/index.d.ts +2 -0
- package/build/types/web/locations-request.d.ts +3 -0
- package/build/types/web/tide-location.d.ts +9 -0
- package/build/utils/web-client.d.ts +7 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6793,6 +6793,7 @@ var ENDPOINT_CONTACT_FORM$1 = ENDPOINT$2 + "/contactform";
|
|
|
6793
6793
|
var ENDPOINT_CREATE_AFFILIATES = ENDPOINT$2 + "/affiliates";
|
|
6794
6794
|
var ENDPOINT_TRANSLATION_DICTIONARY = ENDPOINT$2 + "/translation-dictionary";
|
|
6795
6795
|
var ENDPOINT_BOOKING_ACCOMMODATION = ENDPOINT$2 + "/booking-accommodation";
|
|
6796
|
+
var ENDPOINT_LOCATIONS = ENDPOINT$2 + "/entity/locations";
|
|
6796
6797
|
/**
|
|
6797
6798
|
* api/web/crmcontact
|
|
6798
6799
|
* Creates a CRM contact.
|
|
@@ -6845,6 +6846,12 @@ var generateBookingAccommodations = function (config, request, signal) {
|
|
|
6845
6846
|
var body = JSON.stringify(request);
|
|
6846
6847
|
return post(url, apiKey, body, config.token, signal);
|
|
6847
6848
|
};
|
|
6849
|
+
var getLocations = function (config, request, signal) {
|
|
6850
|
+
var url = "" + config.host + ENDPOINT_LOCATIONS;
|
|
6851
|
+
var apiKey = config.apiKey;
|
|
6852
|
+
var body = JSON.stringify(request);
|
|
6853
|
+
return post(url, apiKey, body, config.token, signal);
|
|
6854
|
+
};
|
|
6848
6855
|
|
|
6849
6856
|
var ENDPOINT$1 = "/api/web/contact";
|
|
6850
6857
|
var ENDPOINT_CONTACT_FORM = ENDPOINT$1 + "/contact-form";
|
|
@@ -6948,6 +6955,7 @@ exports.getEntryListv2 = getEntryListv2;
|
|
|
6948
6955
|
exports.getEntryStatus = getEntryStatus;
|
|
6949
6956
|
exports.getEntryTotals = getEntryTotals;
|
|
6950
6957
|
exports.getInvoiceList = getInvoiceList;
|
|
6958
|
+
exports.getLocations = getLocations;
|
|
6951
6959
|
exports.getMolliePayment = getMolliePayment;
|
|
6952
6960
|
exports.getPrintActions = getPrintActions;
|
|
6953
6961
|
exports.getTranslationDictionary = getTranslationDictionary;
|