@qite/tide-booking-component 1.4.115 → 1.4.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/build-cjs/index.js +6 -3
- package/build/build-cjs/src/booking-wizard/types.d.ts +1 -0
- package/build/build-esm/index.js +6 -3
- package/build/build-esm/src/booking-wizard/types.d.ts +1 -0
- package/package.json +2 -2
- package/src/booking-wizard/features/booking/booking-slice.ts +2 -1
- package/src/booking-wizard/features/booking/booking.tsx +2 -0
- package/src/booking-wizard/types.ts +1 -0
- package/src/shared/utils/tide-api-utils.ts +2 -2
package/build/build-cjs/index.js
CHANGED
|
@@ -13855,8 +13855,8 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
13855
13855
|
})(build);
|
|
13856
13856
|
|
|
13857
13857
|
var tideConnection = {
|
|
13858
|
-
host: 'https://localhost:44341',
|
|
13859
|
-
|
|
13858
|
+
// host: 'https://localhost:44341',
|
|
13859
|
+
host: 'https://preview-tide.tidesoftware.be',
|
|
13860
13860
|
apiKey: 'e9b95d79-de4c-41d6-ab7e-3dd429873058',
|
|
13861
13861
|
catalogueIds: [1],
|
|
13862
13862
|
officeId: 1
|
|
@@ -20287,7 +20287,8 @@ var fetchPackageDetails = toolkit.createAsyncThunk('booking/details', function (
|
|
|
20287
20287
|
routeId: bookingAttributes.flightRouteId,
|
|
20288
20288
|
outwardFlight: outwardFlight,
|
|
20289
20289
|
returnFlight: returnFlight,
|
|
20290
|
-
vendorConfigurationId: bookingAttributes.vendorConfigurationId
|
|
20290
|
+
vendorConfigurationId: bookingAttributes.vendorConfigurationId,
|
|
20291
|
+
searchConfigurationId: bookingAttributes.searchConfigurationId
|
|
20291
20292
|
}
|
|
20292
20293
|
};
|
|
20293
20294
|
return [4 /*yield*/, packageApi.fetchDetails(request, signal, languageCode, state.apiSettings)];
|
|
@@ -29346,6 +29347,7 @@ var Booking = function (_a) {
|
|
|
29346
29347
|
var flight = getFlightsFromParams(params, 'flight');
|
|
29347
29348
|
var flightRouteId = getStringFromParams(params, 'flightRouteId');
|
|
29348
29349
|
var vendorConfigurationId = getNumberFromParams(params, 'vendorConfigurationId');
|
|
29350
|
+
var searchConfigurationId = getNumberFromParams(params, 'searchConfigurationId');
|
|
29349
29351
|
var allotmentName = getStringFromParams(params, 'allotmentName');
|
|
29350
29352
|
var allotmentIds = getNumbersFromParams(params, 'allotmentId');
|
|
29351
29353
|
var tourCode = getStringFromParams(params, 'tourCode');
|
|
@@ -29376,6 +29378,7 @@ var Booking = function (_a) {
|
|
|
29376
29378
|
tourCode: tourCode,
|
|
29377
29379
|
flightRouteId: flightRouteId,
|
|
29378
29380
|
vendorConfigurationId: vendorConfigurationId,
|
|
29381
|
+
searchConfigurationId: searchConfigurationId,
|
|
29379
29382
|
productCode: productCode,
|
|
29380
29383
|
productName: productName
|
|
29381
29384
|
};
|
package/build/build-esm/index.js
CHANGED
|
@@ -13887,8 +13887,8 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
13887
13887
|
})(build);
|
|
13888
13888
|
|
|
13889
13889
|
var tideConnection = {
|
|
13890
|
-
host: 'https://localhost:44341',
|
|
13891
|
-
|
|
13890
|
+
// host: 'https://localhost:44341',
|
|
13891
|
+
host: 'https://preview-tide.tidesoftware.be',
|
|
13892
13892
|
apiKey: 'e9b95d79-de4c-41d6-ab7e-3dd429873058',
|
|
13893
13893
|
catalogueIds: [1],
|
|
13894
13894
|
officeId: 1
|
|
@@ -20294,7 +20294,8 @@ var fetchPackageDetails = createAsyncThunk('booking/details', function (_1, _a)
|
|
|
20294
20294
|
routeId: bookingAttributes.flightRouteId,
|
|
20295
20295
|
outwardFlight: outwardFlight,
|
|
20296
20296
|
returnFlight: returnFlight,
|
|
20297
|
-
vendorConfigurationId: bookingAttributes.vendorConfigurationId
|
|
20297
|
+
vendorConfigurationId: bookingAttributes.vendorConfigurationId,
|
|
20298
|
+
searchConfigurationId: bookingAttributes.searchConfigurationId
|
|
20298
20299
|
}
|
|
20299
20300
|
};
|
|
20300
20301
|
return [4 /*yield*/, packageApi.fetchDetails(request, signal, languageCode, state.apiSettings)];
|
|
@@ -29265,6 +29266,7 @@ var Booking = function (_a) {
|
|
|
29265
29266
|
var flight = getFlightsFromParams(params, 'flight');
|
|
29266
29267
|
var flightRouteId = getStringFromParams(params, 'flightRouteId');
|
|
29267
29268
|
var vendorConfigurationId = getNumberFromParams(params, 'vendorConfigurationId');
|
|
29269
|
+
var searchConfigurationId = getNumberFromParams(params, 'searchConfigurationId');
|
|
29268
29270
|
var allotmentName = getStringFromParams(params, 'allotmentName');
|
|
29269
29271
|
var allotmentIds = getNumbersFromParams(params, 'allotmentId');
|
|
29270
29272
|
var tourCode = getStringFromParams(params, 'tourCode');
|
|
@@ -29295,6 +29297,7 @@ var Booking = function (_a) {
|
|
|
29295
29297
|
tourCode: tourCode,
|
|
29296
29298
|
flightRouteId: flightRouteId,
|
|
29297
29299
|
vendorConfigurationId: vendorConfigurationId,
|
|
29300
|
+
searchConfigurationId: searchConfigurationId,
|
|
29298
29301
|
productCode: productCode,
|
|
29299
29302
|
productName: productName
|
|
29300
29303
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qite/tide-booking-component",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.116",
|
|
4
4
|
"description": "React Booking wizard & Booking product component for Tide",
|
|
5
5
|
"main": "build/build-cjs/index.js",
|
|
6
6
|
"types": "build/build-cjs/src/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@jsonurl/jsonurl": "^1.1.4",
|
|
31
31
|
"@popperjs/core": "^2.10.2",
|
|
32
|
-
"@qite/tide-client": "^1.1.
|
|
32
|
+
"@qite/tide-client": "^1.1.174",
|
|
33
33
|
"@reduxjs/toolkit": "^2.8.2",
|
|
34
34
|
"@rollup/plugin-commonjs": "^19.0.1",
|
|
35
35
|
"@rollup/plugin-json": "^4.1.0",
|
|
@@ -225,7 +225,8 @@ const fetchPackageDetails = createAsyncThunk('booking/details', async (_, { disp
|
|
|
225
225
|
routeId: bookingAttributes.flightRouteId,
|
|
226
226
|
outwardFlight: outwardFlight,
|
|
227
227
|
returnFlight: returnFlight,
|
|
228
|
-
vendorConfigurationId: bookingAttributes.vendorConfigurationId
|
|
228
|
+
vendorConfigurationId: bookingAttributes.vendorConfigurationId,
|
|
229
|
+
searchConfigurationId: bookingAttributes.searchConfigurationId
|
|
229
230
|
} as BookingPackageDetailsRequest
|
|
230
231
|
} as BookingPackageRequest<BookingPackageDetailsRequest>;
|
|
231
232
|
|
|
@@ -139,6 +139,7 @@ const Booking: React.FC<BookingProps> = ({ productCode, productName, thumbnailUr
|
|
|
139
139
|
const flight = getFlightsFromParams(params, 'flight');
|
|
140
140
|
const flightRouteId = getStringFromParams(params, 'flightRouteId');
|
|
141
141
|
const vendorConfigurationId = getNumberFromParams(params, 'vendorConfigurationId');
|
|
142
|
+
const searchConfigurationId = getNumberFromParams(params, 'searchConfigurationId');
|
|
142
143
|
const allotmentName = getStringFromParams(params, 'allotmentName');
|
|
143
144
|
const allotmentIds = getNumbersFromParams(params, 'allotmentId');
|
|
144
145
|
const tourCode = getStringFromParams(params, 'tourCode');
|
|
@@ -167,6 +168,7 @@ const Booking: React.FC<BookingProps> = ({ productCode, productName, thumbnailUr
|
|
|
167
168
|
tourCode,
|
|
168
169
|
flightRouteId,
|
|
169
170
|
vendorConfigurationId,
|
|
171
|
+
searchConfigurationId,
|
|
170
172
|
productCode,
|
|
171
173
|
productName
|
|
172
174
|
} as BookingAttributes;
|
|
@@ -3,8 +3,8 @@ import { isNil } from 'lodash';
|
|
|
3
3
|
import { ApiSettingsState } from '../types';
|
|
4
4
|
|
|
5
5
|
export const tideConnection = {
|
|
6
|
-
host: 'https://localhost:44341',
|
|
7
|
-
|
|
6
|
+
// host: 'https://localhost:44341',
|
|
7
|
+
host: 'https://preview-tide.tidesoftware.be',
|
|
8
8
|
apiKey: 'e9b95d79-de4c-41d6-ab7e-3dd429873058',
|
|
9
9
|
catalogueIds: [1],
|
|
10
10
|
officeId: 1
|