@qite/tide-client 1.1.62 → 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 +16 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/booking-package-details-request.d.ts +8 -2
- package/build/types/booking-v2/request/selected-flight.d.ts +6 -2
- package/build/types/hubs/index.d.ts +1 -0
- package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -0
- package/build/types/hubs/search/flight-search-request.d.ts +24 -0
- package/build/types/hubs/search/flight-search-response.d.ts +39 -0
- package/build/types/hubs/search/index.d.ts +3 -0
- package/build/types/index.d.ts +2 -0
- package/build/types/shared/date-struct.d.ts +5 -0
- package/build/types/shared/index.d.ts +1 -0
- package/build/types/web/contact-form-request.d.ts +11 -0
- package/build/types/web/index.d.ts +1 -0
- package/build/utils/web-client.d.ts +14 -0
- package/package.json +2 -2
- package/src/types/booking-v2/request/booking-package-details-request.ts +8 -2
- package/src/types/booking-v2/request/selected-flight.ts +6 -2
- package/src/types/hubs/index.ts +1 -0
- package/src/types/hubs/search/flight-search-finish-response.ts +4 -0
- package/src/types/hubs/search/flight-search-request.ts +26 -0
- package/src/types/hubs/search/flight-search-response.ts +42 -0
- package/src/types/hubs/search/index.ts +3 -0
- package/src/types/index.ts +2 -0
- package/src/types/shared/date-struct.ts +5 -0
- package/src/types/shared/index.ts +1 -0
- package/src/types/web/contact-form-request.ts +11 -0
- package/src/types/web/index.ts +1 -0
- package/src/utils/web-client.ts +22 -0
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;
|