@qite/tide-client 1.1.115 → 1.1.116
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/request/flight-lines-request.d.ts +3 -0
- package/build/types/booking-v2/request/index.d.ts +1 -0
- package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -0
- package/build/types/booking-v2/response/index.d.ts +1 -0
- package/build/utils/booking-v2-client.d.ts +7 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6309,6 +6309,7 @@ var ENDPOINT_ENTRY_STATUS = function (dossierNumber, entryStatus) {
|
|
|
6309
6309
|
return ENDPOINT$7 + "/entry-status/" + dossierNumber + "/" + entryStatus;
|
|
6310
6310
|
};
|
|
6311
6311
|
var ENDPOINT_ELASTIC = ENDPOINT$7 + "/elastic";
|
|
6312
|
+
var ENDPOINT_FLIGHT_LINES = ENDPOINT$7 + "/flightlines";
|
|
6312
6313
|
var availableFlights = function (config, request, signal) {
|
|
6313
6314
|
var url = "" + config.host + ENDPOINT_AVAILABLE_FLIGHTS;
|
|
6314
6315
|
var apiKey = config.apiKey;
|
|
@@ -6441,6 +6442,12 @@ var setEntryStatus = function (config, dossierNumber, entryStatus, signal) {
|
|
|
6441
6442
|
var apiKey = config.apiKey;
|
|
6442
6443
|
return patch(url, apiKey, null, config.token, signal, true);
|
|
6443
6444
|
};
|
|
6445
|
+
var flightLines = function (config, request, signal) {
|
|
6446
|
+
var url = "" + config.host + ENDPOINT_FLIGHT_LINES;
|
|
6447
|
+
var apiKey = config.apiKey;
|
|
6448
|
+
var body = JSON.stringify(request);
|
|
6449
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
6450
|
+
};
|
|
6444
6451
|
|
|
6445
6452
|
var ENDPOINT$6 = "/api/member";
|
|
6446
6453
|
var ENDPOINT_LOGIN = ENDPOINT$6 + "/login";
|
|
@@ -6926,6 +6933,7 @@ exports.createParams = createParams;
|
|
|
6926
6933
|
exports.details = details;
|
|
6927
6934
|
exports.feedXml = feedXml;
|
|
6928
6935
|
exports.feedXmlFolder = feedXmlFolder;
|
|
6936
|
+
exports.flightLines = flightLines;
|
|
6929
6937
|
exports.forgotPassword = forgotPassword;
|
|
6930
6938
|
exports.generateBookingAccommodations = generateBookingAccommodations;
|
|
6931
6939
|
exports.getAffiliates = getAffiliates;
|