@qite/tide-client 1.1.149 → 1.1.150
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 +9 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/packaging/packaging-accommodation-request.d.ts +1 -0
- package/build/types/web/index.d.ts +1 -0
- package/build/types/web/style-sheet.d.ts +7 -0
- package/build/utils/web-client.d.ts +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6896,6 +6896,9 @@ var ENDPOINT_LOCATIONS = ENDPOINT$3 + "/entity/locations";
|
|
|
6896
6896
|
var ENDPOINT_WEBSITE_CONFIGURATION = function (portalId) {
|
|
6897
6897
|
return ENDPOINT$3 + "/website/" + portalId + "/configuration";
|
|
6898
6898
|
};
|
|
6899
|
+
var ENDPOINT_WEBSITE_STYLESHEET = function (styleSheetId) {
|
|
6900
|
+
return ENDPOINT$3 + "/style-sheet/" + styleSheetId;
|
|
6901
|
+
};
|
|
6899
6902
|
/**
|
|
6900
6903
|
* api/web/crmcontact
|
|
6901
6904
|
* Creates a CRM contact.
|
|
@@ -6959,6 +6962,11 @@ var getWebsiteConfiguration = function (config, id, signal) {
|
|
|
6959
6962
|
var apiKey = config.apiKey;
|
|
6960
6963
|
return get(url, apiKey, config.token, signal, true);
|
|
6961
6964
|
};
|
|
6965
|
+
var getStyleSheet = function (config, id, signal) {
|
|
6966
|
+
var url = "" + config.host + ENDPOINT_WEBSITE_STYLESHEET(id);
|
|
6967
|
+
var apiKey = config.apiKey;
|
|
6968
|
+
return get(url, apiKey, config.token, signal, true);
|
|
6969
|
+
};
|
|
6962
6970
|
|
|
6963
6971
|
var ENDPOINT$2 = "/api/web/contact";
|
|
6964
6972
|
var ENDPOINT_CONTACT_FORM = ENDPOINT$2 + "/contact-form";
|
|
@@ -7078,6 +7086,7 @@ exports.getLocations = getLocations;
|
|
|
7078
7086
|
exports.getMolliePayment = getMolliePayment;
|
|
7079
7087
|
exports.getPortal = getPortal;
|
|
7080
7088
|
exports.getPrintActions = getPrintActions;
|
|
7089
|
+
exports.getStyleSheet = getStyleSheet;
|
|
7081
7090
|
exports.getTranslationDictionary = getTranslationDictionary;
|
|
7082
7091
|
exports.getWebsiteConfiguration = getWebsiteConfiguration;
|
|
7083
7092
|
exports.login = login;
|