@qite/tide-client 1.0.85 → 1.0.87
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 +14 -0
- package/build/index.js.map +1 -1
- package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +1 -0
- package/build/types/offer/booking-v2/response/bookable-dates.d.ts +4 -0
- package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +1 -0
- package/build/types/offer/booking-v2/response/index.d.ts +1 -0
- package/build/utils/booking-v2-client.d.ts +7 -0
- package/package.json +1 -1
- package/src/types/offer/booking-v2/request/booking-package-details-request.ts +1 -0
- package/src/types/offer/booking-v2/response/bookable-dates.ts +4 -0
- package/src/types/offer/booking-v2/response/booking-package-allotment-info.ts +1 -0
- package/src/types/offer/booking-v2/response/index.ts +1 -0
- package/src/utils/booking-v2-client.ts +14 -0
package/build/index.js
CHANGED
|
@@ -6224,6 +6224,7 @@ var ENDPOINT_BOOK = ENDPOINT$5 + "/book";
|
|
|
6224
6224
|
var ENDPOINT_AGENTS = ENDPOINT$5 + "/agents";
|
|
6225
6225
|
var ENDPOINT_AVAILABLE_ALLOTMENTS = ENDPOINT$5 + "/get-allotment-availability";
|
|
6226
6226
|
var ENDPOINT_FLIGHT_POOL = ENDPOINT$5 + "/flight-pool";
|
|
6227
|
+
var ENDPOINT_BOOKABLE_DATES = ENDPOINT$5 + "/bookable-dates";
|
|
6227
6228
|
var readPackageSearchList = function (config, request, signal) {
|
|
6228
6229
|
var url = "" + config.host + ENDPOINT_PACKAGE_SEARCH_LIST;
|
|
6229
6230
|
var apiKey = config.apiKey;
|
|
@@ -6293,6 +6294,18 @@ var searchFlightPool = function (config, request, signal) {
|
|
|
6293
6294
|
var body = JSON.stringify(request);
|
|
6294
6295
|
return post(url, apiKey, body, signal, true);
|
|
6295
6296
|
};
|
|
6297
|
+
var bookableDates = function (config, productCode, allotmentTourCode, signal) {
|
|
6298
|
+
var url =
|
|
6299
|
+
"" +
|
|
6300
|
+
config.host +
|
|
6301
|
+
ENDPOINT_BOOKABLE_DATES +
|
|
6302
|
+
"/" +
|
|
6303
|
+
productCode +
|
|
6304
|
+
"/" +
|
|
6305
|
+
allotmentTourCode;
|
|
6306
|
+
var apiKey = config.apiKey;
|
|
6307
|
+
return get(url, apiKey, signal, true);
|
|
6308
|
+
};
|
|
6296
6309
|
|
|
6297
6310
|
var ENDPOINT$4 = "/api/member";
|
|
6298
6311
|
var ENDPOINT_LOGIN = ENDPOINT$4 + "/login";
|
|
@@ -6425,6 +6438,7 @@ exports.agents = agents;
|
|
|
6425
6438
|
exports.alternateFlights = alternateFlights;
|
|
6426
6439
|
exports.alternateHotels = alternateHotels;
|
|
6427
6440
|
exports.book = book;
|
|
6441
|
+
exports.bookableDates = bookableDates;
|
|
6428
6442
|
exports.confirm = confirm;
|
|
6429
6443
|
exports.contactForm = contactForm;
|
|
6430
6444
|
exports.contactHasTag = contactHasTag;
|