@qite/tide-client 1.0.54 → 1.0.57
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 +1 -0
- package/build/types/offer/booking-v2/response/booking-package-item.d.ts +1 -0
- package/build/types/offer/booking-v2/response/booking-travel-agent.d.ts +6 -0
- package/build/types/offer/booking-v2/response/index.d.ts +1 -0
- package/build/types/offer/booking-v2/shared/booking-package.d.ts +1 -0
- package/build/utils/booking-v2-client.d.ts +5 -0
- package/package.json +1 -1
- package/src/types/offer/booking-v2/request/booking-package-book-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-travel-agent.ts +6 -0
- package/src/types/offer/booking-v2/response/index.ts +1 -0
- package/src/types/offer/booking-v2/shared/booking-package.ts +1 -0
- package/src/utils/booking-v2-client.ts +13 -1
package/build/index.js
CHANGED
|
@@ -6207,6 +6207,7 @@ var ENDPOINT_SEARCH = ENDPOINT$4 + "/search";
|
|
|
6207
6207
|
var ENDPOINT_DETAILS = ENDPOINT$4 + "/details";
|
|
6208
6208
|
var ENDPOINT_PRICE_DETAILS = ENDPOINT$4 + "/price-details";
|
|
6209
6209
|
var ENDPOINT_BOOK = ENDPOINT$4 + "/book";
|
|
6210
|
+
var ENDPOINT_AGENTS = ENDPOINT$4 + "/agents";
|
|
6210
6211
|
var readPackageSearchList = function (config, request, signal) {
|
|
6211
6212
|
var url = "" + config.host + ENDPOINT_PACKAGE_SEARCH_LIST;
|
|
6212
6213
|
var apiKey = config.apiKey;
|
|
@@ -6237,6 +6238,11 @@ var book = function (config, request, signal) {
|
|
|
6237
6238
|
var body = JSON.stringify(request);
|
|
6238
6239
|
return post(url, apiKey, body, signal, true);
|
|
6239
6240
|
};
|
|
6241
|
+
var agents = function (config, signal) {
|
|
6242
|
+
var url = "" + config.host + ENDPOINT_AGENTS;
|
|
6243
|
+
var apiKey = config.apiKey;
|
|
6244
|
+
return get(url, apiKey, signal, true);
|
|
6245
|
+
};
|
|
6240
6246
|
|
|
6241
6247
|
var ENDPOINT$3 = "/api/mollie";
|
|
6242
6248
|
var ENDPOINT_CREATE_PAYMENTS = ENDPOINT$3 + "/create-payment";
|
|
@@ -6328,6 +6334,7 @@ exports.Gender = Gender;
|
|
|
6328
6334
|
exports.MetaDataType = MetaDataType;
|
|
6329
6335
|
exports.RequirementType = RequirementType;
|
|
6330
6336
|
exports.ServiceType = ServiceType;
|
|
6337
|
+
exports.agents = agents;
|
|
6331
6338
|
exports.book = book;
|
|
6332
6339
|
exports.contactForm = contactForm;
|
|
6333
6340
|
exports.contactHasTag = contactHasTag;
|