@qite/tide-client 1.1.58 → 1.1.59
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 +16 -1
- package/build/index.js.map +1 -1
- package/build/utils/web-file.d.ts +16 -1
- package/package.json +1 -1
- package/src/utils/web-file.ts +22 -1
package/build/index.js
CHANGED
|
@@ -6692,7 +6692,7 @@ var ENDPOINT_FEED = ENDPOINT + "/feed";
|
|
|
6692
6692
|
* api/web/file/feed
|
|
6693
6693
|
* fetch a xml from blob feed.
|
|
6694
6694
|
* @param config
|
|
6695
|
-
* @param
|
|
6695
|
+
* @param slug
|
|
6696
6696
|
* @param signal
|
|
6697
6697
|
* @returns OK if succeeded.
|
|
6698
6698
|
*/
|
|
@@ -6701,6 +6701,20 @@ var feedXml = function (config, request, signal) {
|
|
|
6701
6701
|
var apiKey = config.apiKey;
|
|
6702
6702
|
return get$1(url, apiKey, config.token, signal);
|
|
6703
6703
|
};
|
|
6704
|
+
/**
|
|
6705
|
+
* api/web/file/feed
|
|
6706
|
+
* fetch a xml from blob feed in subfolder.
|
|
6707
|
+
* @param config
|
|
6708
|
+
* @param slug
|
|
6709
|
+
* @param folder
|
|
6710
|
+
* @param signal
|
|
6711
|
+
* @returns OK if succeeded.
|
|
6712
|
+
*/
|
|
6713
|
+
var feedXmlFolder = function (config, slug, folder, signal) {
|
|
6714
|
+
var url = "" + config.host + ENDPOINT_FEED + "/" + slug + "/" + folder;
|
|
6715
|
+
var apiKey = config.apiKey;
|
|
6716
|
+
return get$1(url, apiKey, config.token, signal);
|
|
6717
|
+
};
|
|
6704
6718
|
|
|
6705
6719
|
exports.AllotmentType = AllotmentType;
|
|
6706
6720
|
exports.AvailabilitySearchType = AvailabilitySearchType;
|
|
@@ -6723,6 +6737,7 @@ exports.createCrmContact = createCrmContact;
|
|
|
6723
6737
|
exports.createParams = createParams;
|
|
6724
6738
|
exports.details = details;
|
|
6725
6739
|
exports.feedXml = feedXml;
|
|
6740
|
+
exports.feedXmlFolder = feedXmlFolder;
|
|
6726
6741
|
exports.forgotPassword = forgotPassword;
|
|
6727
6742
|
exports.generateBookingAccommodations = generateBookingAccommodations;
|
|
6728
6743
|
exports.getAffiliates = getAffiliates;
|