@qite/tide-client 2.0.10 → 2.0.12
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 +38 -22
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/index.d.ts +1 -0
- package/build/types/booking-v2/request/packaging/packaging-traject-request.d.ts +13 -0
- package/build/types/booking-v2/response/index.d.ts +1 -0
- package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +2 -0
- package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +70 -0
- package/build/types/enums/index.d.ts +3 -2
- package/build/types/enums/traject-node-type.d.ts +6 -0
- package/build/utils/packaging-client.d.ts +7 -0
- package/package.json +1 -1
- package/build/types/booking-v2/request/price-list-request.d.ts +0 -3
package/build/index.js
CHANGED
|
@@ -46,12 +46,6 @@ var DataType = {
|
|
|
46
46
|
template: "template",
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
exports.DateAmountType = void 0;
|
|
50
|
-
(function (DateAmountType) {
|
|
51
|
-
DateAmountType[(DateAmountType["days"] = 0)] = "days";
|
|
52
|
-
DateAmountType[(DateAmountType["months"] = 1)] = "months";
|
|
53
|
-
})(exports.DateAmountType || (exports.DateAmountType = {}));
|
|
54
|
-
|
|
55
49
|
var DossierType = {
|
|
56
50
|
hotelOnly: 0,
|
|
57
51
|
transportOnly: 1,
|
|
@@ -172,22 +166,6 @@ var PaymentType = {
|
|
|
172
166
|
cash: 3,
|
|
173
167
|
};
|
|
174
168
|
|
|
175
|
-
exports.PortalQsmType = void 0;
|
|
176
|
-
(function (PortalQsmType) {
|
|
177
|
-
PortalQsmType[(PortalQsmType["Multidestination"] = 0)] = "Multidestination";
|
|
178
|
-
PortalQsmType[(PortalQsmType["Accommodation"] = 1)] = "Accommodation";
|
|
179
|
-
PortalQsmType[(PortalQsmType["AccommodationAndFlight"] = 2)] =
|
|
180
|
-
"AccommodationAndFlight";
|
|
181
|
-
PortalQsmType[(PortalQsmType["Flight"] = 3)] = "Flight";
|
|
182
|
-
PortalQsmType[(PortalQsmType["RoundTrip"] = 4)] = "RoundTrip";
|
|
183
|
-
PortalQsmType[(PortalQsmType["GroupTour"] = 5)] = "GroupTour";
|
|
184
|
-
PortalQsmType[(PortalQsmType["Package"] = 6)] = "Package";
|
|
185
|
-
PortalQsmType[(PortalQsmType["Ticket"] = 7)] = "Ticket";
|
|
186
|
-
PortalQsmType[(PortalQsmType["Car"] = 8)] = "Car";
|
|
187
|
-
PortalQsmType[(PortalQsmType["Transfer"] = 9)] = "Transfer";
|
|
188
|
-
PortalQsmType[(PortalQsmType["Cruise"] = 10)] = "Cruise";
|
|
189
|
-
})(exports.PortalQsmType || (exports.PortalQsmType = {}));
|
|
190
|
-
|
|
191
169
|
var PriceChartType = {
|
|
192
170
|
purchasePrices: 0,
|
|
193
171
|
sellingPrices: 1,
|
|
@@ -292,6 +270,35 @@ var VendorType = {
|
|
|
292
270
|
sunnyCars: 20,
|
|
293
271
|
};
|
|
294
272
|
|
|
273
|
+
exports.DateAmountType = void 0;
|
|
274
|
+
(function (DateAmountType) {
|
|
275
|
+
DateAmountType[(DateAmountType["days"] = 0)] = "days";
|
|
276
|
+
DateAmountType[(DateAmountType["months"] = 1)] = "months";
|
|
277
|
+
})(exports.DateAmountType || (exports.DateAmountType = {}));
|
|
278
|
+
|
|
279
|
+
exports.PortalQsmType = void 0;
|
|
280
|
+
(function (PortalQsmType) {
|
|
281
|
+
PortalQsmType[(PortalQsmType["Multidestination"] = 0)] = "Multidestination";
|
|
282
|
+
PortalQsmType[(PortalQsmType["Accommodation"] = 1)] = "Accommodation";
|
|
283
|
+
PortalQsmType[(PortalQsmType["AccommodationAndFlight"] = 2)] =
|
|
284
|
+
"AccommodationAndFlight";
|
|
285
|
+
PortalQsmType[(PortalQsmType["Flight"] = 3)] = "Flight";
|
|
286
|
+
PortalQsmType[(PortalQsmType["RoundTrip"] = 4)] = "RoundTrip";
|
|
287
|
+
PortalQsmType[(PortalQsmType["GroupTour"] = 5)] = "GroupTour";
|
|
288
|
+
PortalQsmType[(PortalQsmType["Package"] = 6)] = "Package";
|
|
289
|
+
PortalQsmType[(PortalQsmType["Ticket"] = 7)] = "Ticket";
|
|
290
|
+
PortalQsmType[(PortalQsmType["Car"] = 8)] = "Car";
|
|
291
|
+
PortalQsmType[(PortalQsmType["Transfer"] = 9)] = "Transfer";
|
|
292
|
+
PortalQsmType[(PortalQsmType["Cruise"] = 10)] = "Cruise";
|
|
293
|
+
})(exports.PortalQsmType || (exports.PortalQsmType = {}));
|
|
294
|
+
|
|
295
|
+
var TrajectNodeType = {
|
|
296
|
+
regular: 0,
|
|
297
|
+
connectingNode: 1,
|
|
298
|
+
poi: 2,
|
|
299
|
+
subroute: 3,
|
|
300
|
+
};
|
|
301
|
+
|
|
295
302
|
/******************************************************************************
|
|
296
303
|
Copyright (c) Microsoft Corporation.
|
|
297
304
|
|
|
@@ -7546,6 +7553,7 @@ var ENDPOINT_FLIGHTS = ENDPOINT$1 + "/flights";
|
|
|
7546
7553
|
var ENDPOINT_PRICE_DETAILS = ENDPOINT$1 + "/price-details";
|
|
7547
7554
|
var ENDPOINT_BOOK = ENDPOINT$1 + "/book";
|
|
7548
7555
|
var ENDPOINT_ITINERARY = ENDPOINT$1 + "/itinerary";
|
|
7556
|
+
var ENDPOINT_TRAJECT = ENDPOINT$1 + "/traject";
|
|
7549
7557
|
var ENDPOINT_ENTRY = function (magicLinkCode) {
|
|
7550
7558
|
return ENDPOINT$1 + "/entry/" + magicLinkCode;
|
|
7551
7559
|
};
|
|
@@ -7577,6 +7585,12 @@ var getEntry = function (config, magicLinkCode, signal) {
|
|
|
7577
7585
|
var url = "" + config.host + ENDPOINT_ENTRY(magicLinkCode);
|
|
7578
7586
|
return get(url, apiKey, config.token, signal, true);
|
|
7579
7587
|
};
|
|
7588
|
+
var getTrajectEntry = function (config, request, signal) {
|
|
7589
|
+
var url = "" + config.host + ENDPOINT_TRAJECT;
|
|
7590
|
+
var apiKey = config.apiKey;
|
|
7591
|
+
var body = JSON.stringify(request);
|
|
7592
|
+
return post(url, apiKey, body, config.token, signal, true);
|
|
7593
|
+
};
|
|
7580
7594
|
var getPriceDetails = function (config, request, signal) {
|
|
7581
7595
|
var url = "" + config.host + ENDPOINT_PRICE_DETAILS;
|
|
7582
7596
|
var apiKey = config.apiKey;
|
|
@@ -7651,6 +7665,7 @@ exports.RoomType = RoomType;
|
|
|
7651
7665
|
exports.SaleType = SaleType;
|
|
7652
7666
|
exports.ServiceTokenError = ServiceTokenError;
|
|
7653
7667
|
exports.ServiceType = ServiceType;
|
|
7668
|
+
exports.TrajectNodeType = TrajectNodeType;
|
|
7654
7669
|
exports.VendorType = VendorType;
|
|
7655
7670
|
exports.agents = agents;
|
|
7656
7671
|
exports.alternateFlights = alternateFlights;
|
|
@@ -7707,6 +7722,7 @@ exports.getPortal = getPortal;
|
|
|
7707
7722
|
exports.getPriceDetails = getPriceDetails;
|
|
7708
7723
|
exports.getPrintActions = getPrintActions;
|
|
7709
7724
|
exports.getStyleSheet = getStyleSheet;
|
|
7725
|
+
exports.getTrajectEntry = getTrajectEntry;
|
|
7710
7726
|
exports.getTranslationDictionary = getTranslationDictionary;
|
|
7711
7727
|
exports.getTravelAgents = getTravelAgents;
|
|
7712
7728
|
exports.getWebsiteConfiguration = getWebsiteConfiguration;
|