@qite/tide-client 2.0.20 → 2.0.21-preview.1
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/packaging/packaging-entry.d.ts +3 -8
- package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +3 -0
- package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +9 -0
- package/build/types/booking-v2/shared/booking-package-pax.d.ts +17 -0
- package/build/types/booking-v2/shared/booking-package.d.ts +5 -0
- package/build/types/booking-v2/shared/index.d.ts +1 -0
- package/build/types/enums/custom-field-data-type.d.ts +2 -0
- package/build/types/web/website-configuration.d.ts +1 -0
- package/build/utils/packaging-client.d.ts +5 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7630,6 +7630,7 @@ var ENDPOINT_TRAJECT = ENDPOINT$1 + "/traject";
|
|
|
7630
7630
|
var ENDPOINT_ENTRY = function (magicLinkCode) {
|
|
7631
7631
|
return ENDPOINT$1 + "/entry/" + magicLinkCode;
|
|
7632
7632
|
};
|
|
7633
|
+
var ENDPOINT_SAVE_ENTRY = ENDPOINT$1 + "/entry/save";
|
|
7633
7634
|
var startTransaction = function (config, signal) {
|
|
7634
7635
|
var apiKey = config.apiKey;
|
|
7635
7636
|
var url = "" + config.host + ENDPOINT_START_TRANSACTION;
|
|
@@ -7658,6 +7659,12 @@ var getEntry = function (config, magicLinkCode, signal) {
|
|
|
7658
7659
|
var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
|
|
7659
7660
|
return get(url, apiKey, config.token, signal, true);
|
|
7660
7661
|
};
|
|
7662
|
+
var savePackagingEntry = function (config, request, signal) {
|
|
7663
|
+
var url = "" + config.host + ENDPOINT_SAVE_ENTRY;
|
|
7664
|
+
var apiKey = config.apiKey;
|
|
7665
|
+
var body = JSON.stringify(request);
|
|
7666
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7667
|
+
};
|
|
7661
7668
|
var getTrajectEntry = function (config, request, signal) {
|
|
7662
7669
|
var url = "" + config.host + ENDPOINT_TRAJECT;
|
|
7663
7670
|
var apiKey = config.apiKey;
|
|
@@ -7814,6 +7821,7 @@ exports.print = print;
|
|
|
7814
7821
|
exports.readForm = readForm;
|
|
7815
7822
|
exports.repriceAndIssueTicket = repriceAndIssueTicket;
|
|
7816
7823
|
exports.resetPassword = resetPassword;
|
|
7824
|
+
exports.savePackagingEntry = savePackagingEntry;
|
|
7817
7825
|
exports.search = search;
|
|
7818
7826
|
exports.searchCountries = searchCountries;
|
|
7819
7827
|
exports.searchElastic = searchElastic;
|