@qite/tide-client 1.0.80 → 1.0.82
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 +7 -0
- package/build/index.js.map +1 -1
- package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +0 -2
- package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +1 -0
- package/build/types/offer/booking-v2/response/booking-package-item.d.ts +1 -0
- package/build/types/offer/booking-v2/response/booking-product-notification.d.ts +0 -1
- package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +1 -0
- package/build/utils/booking-v2-client.d.ts +6 -0
- package/package.json +1 -1
- package/src/types/offer/booking-v2/request/booking-package-book-request.ts +0 -2
- package/src/types/offer/booking-v2/request/booking-package-search-request.ts +1 -0
- package/src/types/offer/booking-v2/response/booking-package-item.ts +1 -0
- package/src/types/offer/booking-v2/response/booking-product-notification.ts +0 -1
- package/src/types/offer/booking-v2/shared/booking-package-room-option.ts +1 -0
- package/src/utils/booking-v2-client.ts +13 -0
package/build/index.js
CHANGED
|
@@ -6221,6 +6221,7 @@ var ENDPOINT_ALTERNATE_FLIGHTS = "/alternate-flights";
|
|
|
6221
6221
|
var ENDPOINT_PRICE_DETAILS = ENDPOINT$5 + "/price-details";
|
|
6222
6222
|
var ENDPOINT_BOOK = ENDPOINT$5 + "/book";
|
|
6223
6223
|
var ENDPOINT_AGENTS = ENDPOINT$5 + "/agents";
|
|
6224
|
+
var ENDPOINT_AVAILABLE_ALLOTMENTS = ENDPOINT$5 + "/get-allotment-availability";
|
|
6224
6225
|
var readPackageSearchList = function (config, request, signal) {
|
|
6225
6226
|
var url = "" + config.host + ENDPOINT_PACKAGE_SEARCH_LIST;
|
|
6226
6227
|
var apiKey = config.apiKey;
|
|
@@ -6279,6 +6280,11 @@ var agents = function (config, signal) {
|
|
|
6279
6280
|
var apiKey = config.apiKey;
|
|
6280
6281
|
return get(url, apiKey, signal, true);
|
|
6281
6282
|
};
|
|
6283
|
+
var getAllotmentAvailability = function (config, eventId, signal) {
|
|
6284
|
+
var url = "" + config.host + ENDPOINT_AVAILABLE_ALLOTMENTS + "/" + eventId;
|
|
6285
|
+
var apiKey = config.apiKey;
|
|
6286
|
+
return get(url, apiKey, signal, true);
|
|
6287
|
+
};
|
|
6282
6288
|
|
|
6283
6289
|
var ENDPOINT$4 = "/api/member";
|
|
6284
6290
|
var ENDPOINT_LOGIN = ENDPOINT$4 + "/login";
|
|
@@ -6429,6 +6435,7 @@ exports.details = details;
|
|
|
6429
6435
|
exports.feedXml = feedXml;
|
|
6430
6436
|
exports.forgotPassword = forgotPassword;
|
|
6431
6437
|
exports.getAffiliates = getAffiliates;
|
|
6438
|
+
exports.getAllotmentAvailability = getAllotmentAvailability;
|
|
6432
6439
|
exports.getAvailableProducts = getAvailableProducts;
|
|
6433
6440
|
exports.getBasePrices = getBasePrices;
|
|
6434
6441
|
exports.getBasePricesFromDate = getBasePricesFromDate;
|