@qite/tide-client 1.1.63 → 1.1.64

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
@@ -6620,6 +6620,7 @@ var changeEntryAgentSurcharge = function (config, request, signal) {
6620
6620
 
6621
6621
  var ENDPOINT$2 = "/api/web";
6622
6622
  var ENDPOINT_CREATE_CRM_CONTACT = ENDPOINT$2 + "/crmcontact";
6623
+ var ENDPOINT_CONTACT_FORM$1 = ENDPOINT$2 + "/contactform";
6623
6624
  var ENDPOINT_CREATE_AFFILIATES = ENDPOINT$2 + "/affiliates";
6624
6625
  var ENDPOINT_TRANSLATION_DICTIONARY = ENDPOINT$2 + "/translation-dictionary";
6625
6626
  var ENDPOINT_BOOKING_ACCOMMODATION = ENDPOINT$2 + "/booking-accommodation";
@@ -6637,6 +6638,20 @@ var createCrmContact = function (config, request, signal) {
6637
6638
  var body = JSON.stringify(request);
6638
6639
  return post(url, apiKey, body, config.token, signal);
6639
6640
  };
6641
+ /**
6642
+ * api/web/contactform
6643
+ * Sends a contact request mail
6644
+ * @param config
6645
+ * @param request
6646
+ * @param signal
6647
+ * @returns OK if succeeded.
6648
+ */
6649
+ var ContactForm = function (config, request, signal) {
6650
+ var url = "" + config.host + ENDPOINT_CONTACT_FORM$1;
6651
+ var apiKey = config.apiKey;
6652
+ var body = JSON.stringify(request);
6653
+ return post(url, apiKey, body, config.token, signal);
6654
+ };
6640
6655
  /**
6641
6656
  * api/web/affiliates
6642
6657
  * Gets all Affiliates
@@ -6718,6 +6733,7 @@ var feedXmlFolder = function (config, slug, folder, signal) {
6718
6733
 
6719
6734
  exports.AllotmentType = AllotmentType;
6720
6735
  exports.AvailabilitySearchType = AvailabilitySearchType;
6736
+ exports.ContactForm = ContactForm;
6721
6737
  exports.Gender = Gender;
6722
6738
  exports.MetaDataType = MetaDataType;
6723
6739
  exports.RequirementType = RequirementType;