@qite/tide-client 2.0.21-preview.0 → 2.0.21-preview.10
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 +20 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/booking-package-book-request.d.ts +4 -0
- package/build/types/booking-v2/request/booking-package-details-request.d.ts +2 -1
- package/build/types/booking-v2/request/booking-package-search-request.d.ts +1 -0
- package/build/types/booking-v2/request/index.d.ts +1 -0
- package/build/types/booking-v2/request/packaging/packaging-transfer-request.d.ts +14 -0
- package/build/types/booking-v2/response/booking-price-details.d.ts +1 -0
- package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +9 -0
- package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +2 -0
- package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +8 -0
- package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +1 -0
- package/build/types/booking-v2/shared/booking-package-line.d.ts +3 -0
- package/build/types/booking-v2/shared/booking-package-room-option.d.ts +3 -0
- package/build/types/booking-v2/shared/itinerary.d.ts +1 -0
- package/build/types/hubs/search/flight-search-request.d.ts +9 -3
- package/build/types/hubs/search/flight-search-response.d.ts +10 -0
- package/build/types/web/website-configuration.d.ts +34 -0
- package/build/utils/packaging-client.d.ts +15 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7622,6 +7622,7 @@ var ENDPOINT$1 = "/api/web/packaging";
|
|
|
7622
7622
|
var ENDPOINT_START_TRANSACTION = ENDPOINT$1 + "/start";
|
|
7623
7623
|
var ENDPOINT_ACCOMMODATIONS = ENDPOINT$1 + "/accommodations";
|
|
7624
7624
|
var ENDPOINT_EXCURSIONS = ENDPOINT$1 + "/excursions";
|
|
7625
|
+
var ENDPOINT_TRANSFERS = ENDPOINT$1 + "/transfers";
|
|
7625
7626
|
var ENDPOINT_FLIGHTS = ENDPOINT$1 + "/flights";
|
|
7626
7627
|
var ENDPOINT_PRICE_DETAILS = ENDPOINT$1 + "/price-details";
|
|
7627
7628
|
var ENDPOINT_BOOK = ENDPOINT$1 + "/book";
|
|
@@ -7630,6 +7631,7 @@ var ENDPOINT_TRAJECT = ENDPOINT$1 + "/traject";
|
|
|
7630
7631
|
var ENDPOINT_ENTRY = function (magicLinkCode) {
|
|
7631
7632
|
return ENDPOINT$1 + "/entry/" + magicLinkCode;
|
|
7632
7633
|
};
|
|
7634
|
+
var ENDPOINT_SAVE_ENTRY = ENDPOINT$1 + "/entry/save";
|
|
7633
7635
|
var startTransaction = function (config, signal) {
|
|
7634
7636
|
var apiKey = config.apiKey;
|
|
7635
7637
|
var url = "" + config.host + ENDPOINT_START_TRANSACTION;
|
|
@@ -7641,6 +7643,10 @@ var searchPackagingAccommodations = function (config, request, signal) {
|
|
|
7641
7643
|
var body = JSON.stringify(request);
|
|
7642
7644
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7643
7645
|
};
|
|
7646
|
+
/**
|
|
7647
|
+
* Hotel+flight packaging only reads the legacy fields (departureAirportCode, arrivalAirportCode,
|
|
7648
|
+
* outward, return): `legs` is ignored, so a legs-only request finds nothing here.
|
|
7649
|
+
*/
|
|
7644
7650
|
var searchPackagingFlights = function (config, request, signal) {
|
|
7645
7651
|
var url = "" + config.host + ENDPOINT_FLIGHTS;
|
|
7646
7652
|
var apiKey = config.apiKey;
|
|
@@ -7653,11 +7659,23 @@ var searchPackagingExcursions = function (config, request, signal) {
|
|
|
7653
7659
|
var body = JSON.stringify(request);
|
|
7654
7660
|
return post(url, apiKey, body, config.token, signal, true);
|
|
7655
7661
|
};
|
|
7662
|
+
var searchPackagingTransfers = function (config, request, signal) {
|
|
7663
|
+
var url = "" + config.host + ENDPOINT_TRANSFERS;
|
|
7664
|
+
var apiKey = config.apiKey;
|
|
7665
|
+
var body = JSON.stringify(request);
|
|
7666
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7667
|
+
};
|
|
7656
7668
|
var getEntry = function (config, magicLinkCode, signal) {
|
|
7657
7669
|
var apiKey = config.apiKey;
|
|
7658
7670
|
var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
|
|
7659
7671
|
return get(url, apiKey, config.token, signal, true);
|
|
7660
7672
|
};
|
|
7673
|
+
var savePackagingEntry = function (config, request, signal) {
|
|
7674
|
+
var url = "" + config.host + ENDPOINT_SAVE_ENTRY;
|
|
7675
|
+
var apiKey = config.apiKey;
|
|
7676
|
+
var body = JSON.stringify(request);
|
|
7677
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7678
|
+
};
|
|
7661
7679
|
var getTrajectEntry = function (config, request, signal) {
|
|
7662
7680
|
var url = "" + config.host + ENDPOINT_TRAJECT;
|
|
7663
7681
|
var apiKey = config.apiKey;
|
|
@@ -7814,6 +7832,7 @@ exports.print = print;
|
|
|
7814
7832
|
exports.readForm = readForm;
|
|
7815
7833
|
exports.repriceAndIssueTicket = repriceAndIssueTicket;
|
|
7816
7834
|
exports.resetPassword = resetPassword;
|
|
7835
|
+
exports.savePackagingEntry = savePackagingEntry;
|
|
7817
7836
|
exports.search = search;
|
|
7818
7837
|
exports.searchCountries = searchCountries;
|
|
7819
7838
|
exports.searchElastic = searchElastic;
|
|
@@ -7823,6 +7842,7 @@ exports.searchOords = searchOords;
|
|
|
7823
7842
|
exports.searchPackagingAccommodations = searchPackagingAccommodations;
|
|
7824
7843
|
exports.searchPackagingExcursions = searchPackagingExcursions;
|
|
7825
7844
|
exports.searchPackagingFlights = searchPackagingFlights;
|
|
7845
|
+
exports.searchPackagingTransfers = searchPackagingTransfers;
|
|
7826
7846
|
exports.searchRegions = searchRegions;
|
|
7827
7847
|
exports.searchWithErrorMapping = searchWithErrorMapping;
|
|
7828
7848
|
exports.sendContactForm = sendContactForm;
|