@qite/tide-client 1.0.84 → 1.0.86
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/offer/booking-v2/request/booking-package-details-request.d.ts +1 -0
- package/build/types/offer/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -0
- package/build/types/offer/booking-v2/request/index.d.ts +1 -0
- package/build/types/offer/booking-v2/response/booking-package-allotment-info.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-details-request.ts +1 -0
- package/src/types/offer/booking-v2/request/booking-package-flight-pool-request.ts +13 -0
- package/src/types/offer/booking-v2/request/index.ts +1 -0
- package/src/types/offer/booking-v2/response/booking-package-allotment-info.ts +1 -0
- package/src/utils/booking-v2-client.ts +14 -0
package/build/index.js
CHANGED
|
@@ -6223,6 +6223,7 @@ var ENDPOINT_PRICE_DETAILS = ENDPOINT$5 + "/price-details";
|
|
|
6223
6223
|
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
|
+
var ENDPOINT_FLIGHT_POOL = ENDPOINT$5 + "/flight-pool";
|
|
6226
6227
|
var readPackageSearchList = function (config, request, signal) {
|
|
6227
6228
|
var url = "" + config.host + ENDPOINT_PACKAGE_SEARCH_LIST;
|
|
6228
6229
|
var apiKey = config.apiKey;
|
|
@@ -6286,6 +6287,12 @@ var getAllotmentAvailability = function (config, eventId, signal) {
|
|
|
6286
6287
|
var apiKey = config.apiKey;
|
|
6287
6288
|
return get(url, apiKey, signal, true);
|
|
6288
6289
|
};
|
|
6290
|
+
var searchFlightPool = function (config, request, signal) {
|
|
6291
|
+
var url = "" + config.host + ENDPOINT_FLIGHT_POOL;
|
|
6292
|
+
var apiKey = config.apiKey;
|
|
6293
|
+
var body = JSON.stringify(request);
|
|
6294
|
+
return post(url, apiKey, body, signal, true);
|
|
6295
|
+
};
|
|
6289
6296
|
|
|
6290
6297
|
var ENDPOINT$4 = "/api/member";
|
|
6291
6298
|
var ENDPOINT_LOGIN = ENDPOINT$4 + "/login";
|
|
@@ -6448,5 +6455,6 @@ exports.priceDetails = priceDetails;
|
|
|
6448
6455
|
exports.readPackageSearchList = readPackageSearchList;
|
|
6449
6456
|
exports.resetPassword = resetPassword;
|
|
6450
6457
|
exports.search = search;
|
|
6458
|
+
exports.searchFlightPool = searchFlightPool;
|
|
6451
6459
|
exports.searchPackages = searchPackages;
|
|
6452
6460
|
//# sourceMappingURL=index.js.map
|