@qite/tide-booking-component 0.0.2-preview.35 → 0.0.2-preview.36
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/booking-wizard/features/{product-options/product-options-slice → booking}/api.d.ts +0 -0
- package/build/build-cjs/booking-wizard/features/booking/booking-slice.d.ts +6 -49
- package/build/build-cjs/booking-wizard/features/booking/booking.d.ts +2 -0
- package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +52 -0
- package/build/build-cjs/booking-wizard/features/price-details/price-details-slice.d.ts +0 -6
- package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +0 -5
- package/build/build-cjs/booking-wizard/index.d.ts +2 -0
- package/build/build-cjs/booking-wizard/store.d.ts +0 -5
- package/build/build-cjs/booking-wizard/types.d.ts +1 -1
- package/build/build-cjs/index.js +233 -230
- package/build/build-esm/booking-wizard/features/{product-options/product-options-slice → booking}/api.d.ts +0 -0
- package/build/build-esm/booking-wizard/features/booking/booking-slice.d.ts +6 -49
- package/build/build-esm/booking-wizard/features/booking/booking.d.ts +2 -0
- package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +52 -0
- package/build/build-esm/booking-wizard/features/price-details/price-details-slice.d.ts +0 -6
- package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +0 -5
- package/build/build-esm/booking-wizard/index.d.ts +2 -0
- package/build/build-esm/booking-wizard/store.d.ts +0 -5
- package/build/build-esm/booking-wizard/types.d.ts +1 -1
- package/build/build-esm/index.js +235 -231
- package/package.json +1 -1
- package/src/booking-wizard/features/{product-options/product-options-slice → booking}/api.ts +1 -1
- package/src/booking-wizard/features/booking/booking-slice.ts +142 -187
- package/src/booking-wizard/features/booking/booking.tsx +27 -12
- package/src/booking-wizard/features/booking/selectors.ts +211 -0
- package/src/booking-wizard/features/confirmation/confirmation.tsx +1 -1
- package/src/booking-wizard/features/error/error.tsx +2 -1
- package/src/booking-wizard/features/price-details/price-details-slice.ts +5 -3
- package/src/booking-wizard/features/product-options/option-item.tsx +2 -0
- package/src/booking-wizard/features/product-options/option-pax-card.tsx +1 -1
- package/src/booking-wizard/features/product-options/option-room.tsx +6 -2
- package/src/booking-wizard/features/product-options/options-form.tsx +8 -8
- package/src/booking-wizard/features/sidebar/index.tsx +2 -2
- package/src/booking-wizard/features/summary/summary.tsx +5 -5
- package/src/booking-wizard/features/travelers-form/travelers-form-slice.ts +5 -5
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +1 -1
- package/src/booking-wizard/index.tsx +2 -0
- package/src/booking-wizard/store.ts +0 -2
- package/src/booking-wizard/types.ts +1 -1
- package/build/build-cjs/booking-wizard/features/product-options/product-options-slice/adapters.d.ts +0 -2
- package/build/build-cjs/booking-wizard/features/product-options/product-options-slice/index.d.ts +0 -9
- package/build/build-cjs/booking-wizard/features/product-options/product-options-slice/selectors.d.ts +0 -9
- package/build/build-esm/booking-wizard/features/product-options/product-options-slice/adapters.d.ts +0 -2
- package/build/build-esm/booking-wizard/features/product-options/product-options-slice/index.d.ts +0 -9
- package/build/build-esm/booking-wizard/features/product-options/product-options-slice/selectors.d.ts +0 -9
- package/src/booking-wizard/features/product-options/product-options-slice/adapters.ts +0 -6
- package/src/booking-wizard/features/product-options/product-options-slice/index.ts +0 -143
- package/src/booking-wizard/features/product-options/product-options-slice/selectors.ts +0 -25
|
File without changes
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { BookingAttributes, ProductAttributes
|
|
2
|
-
import {
|
|
3
|
-
import { BookingPackageAddress, BookingPackageBookRequest, BookingPackagePax, BookingPackageRequest } from "@qite/tide-client/build/types";
|
|
1
|
+
import { BookingAttributes, ProductAttributes } from "../../types";
|
|
2
|
+
import { BookingOptionGroup, BookingOptionPax, BookingOptionUnit, BookingPackage, BookingPackageRoom, PerBookingPackageOption } from "@qite/tide-client/build/types";
|
|
4
3
|
export interface BookingState {
|
|
5
4
|
officeId: number;
|
|
6
5
|
entryStatus: number;
|
|
@@ -10,52 +9,10 @@ export interface BookingState {
|
|
|
10
9
|
calculateDeposit: boolean;
|
|
11
10
|
bookingNumber?: string;
|
|
12
11
|
isRetry: boolean;
|
|
12
|
+
package?: BookingPackage;
|
|
13
|
+
isBusy: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const selectEntryStatus: (state: RootState) => number;
|
|
17
|
-
export declare const selectCustomEntryStatusId: (state: RootState) => number | undefined;
|
|
18
|
-
export declare const selectProductAttributes: (state: RootState) => ProductAttributes | undefined;
|
|
19
|
-
export declare const selectBookingAttributes: (state: RootState) => BookingAttributes | undefined;
|
|
20
|
-
export declare const selectBookingNumber: (state: RootState) => string | undefined;
|
|
21
|
-
export declare const selectBookingRooms: (state: RootState) => Room[] | undefined;
|
|
22
|
-
export declare const selectCalculateDeposit: (state: RootState) => boolean;
|
|
23
|
-
export declare const selectIsRetry: (state: RootState) => boolean;
|
|
24
|
-
export declare const selectBookingQuery: (state: RootState) => Record<string, string> | undefined;
|
|
25
|
-
export declare const selectBookingQueryString: import("reselect").OutputSelector<{
|
|
26
|
-
booking: BookingState;
|
|
27
|
-
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
28
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
29
|
-
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
30
|
-
summary: import("../summary/summary-slice").SummaryState;
|
|
31
|
-
}, string | undefined, (res: Record<string, string> | undefined) => string | undefined>;
|
|
32
|
-
export declare const selectMainBookerId: import("reselect").OutputSelector<{
|
|
33
|
-
booking: BookingState;
|
|
34
|
-
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
35
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
36
|
-
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
37
|
-
summary: import("../summary/summary-slice").SummaryState;
|
|
38
|
-
}, number | undefined, (res: import("../../types").TravelersFormValues | undefined) => number | undefined>;
|
|
39
|
-
export declare const selectBookingPackagePax: import("reselect").OutputSelector<{
|
|
40
|
-
booking: BookingState;
|
|
41
|
-
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
42
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
43
|
-
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
44
|
-
summary: import("../summary/summary-slice").SummaryState;
|
|
45
|
-
}, BookingPackagePax[], (res: import("../../types").TravelersFormValues | undefined) => BookingPackagePax[]>;
|
|
46
|
-
export declare const selectBookingAddress: import("reselect").OutputSelector<{
|
|
47
|
-
booking: BookingState;
|
|
48
|
-
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
49
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
50
|
-
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
51
|
-
summary: import("../summary/summary-slice").SummaryState;
|
|
52
|
-
}, BookingPackageAddress | undefined, (res1: import("../../types").TravelersFormValues | undefined, res2: BookingPackagePax[]) => BookingPackageAddress | undefined>;
|
|
53
|
-
export declare const selectBookingPackageBookRequest: import("reselect").OutputSelector<{
|
|
54
|
-
booking: BookingState;
|
|
55
|
-
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
56
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
57
|
-
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
58
|
-
summary: import("../summary/summary-slice").SummaryState;
|
|
59
|
-
}, BookingPackageRequest<BookingPackageBookRequest> | null, (res1: number, res2: number, res3: number | undefined, res4: BookingPackagePax[], res5: BookingPackageAddress | undefined, res6: import("@qite/tide-client/build/types").BookingPackage | undefined, res7: boolean) => BookingPackageRequest<BookingPackageBookRequest> | null>;
|
|
15
|
+
export declare const fetchPackage: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
16
|
+
export declare const setOfficeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>, setEntryStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>, setCustomEntryStatusId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<number | undefined, string>, setProductAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProductAttributes, string>, setBookingAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingAttributes, string>, setCalculateDeposit: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, setBookingNumber: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setIsRetry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, setFetchingPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, setPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingPackage, string>, setPackageRooms: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingPackageRoom[], string>, setPackageOptionPax: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptionPax[], string>, setPackageOptionUnits: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptionUnit[], string>, setPackageGroups: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptionGroup<PerBookingPackageOption>[], string>;
|
|
60
17
|
declare const _default: import("redux").Reducer<BookingState, import("redux").AnyAction>;
|
|
61
18
|
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { BookingPackageAddress, BookingPackageBookRequest, BookingPackagePax, BookingPackageRequest } from "@qite/tide-client/build/types/offer";
|
|
2
|
+
import { RootState } from "../../store";
|
|
3
|
+
import { Room } from "../../types";
|
|
4
|
+
export declare const selectIsFetchingProductOptions: (state: RootState) => boolean;
|
|
5
|
+
export declare const selectDepartureFlight: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageFlight | undefined;
|
|
6
|
+
export declare const selectReturnFlight: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageFlight | undefined;
|
|
7
|
+
export declare const selectPackageRooms: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageRoom[] | undefined;
|
|
8
|
+
export declare const selectPackageOptionUnits: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingOptionUnit[] | undefined;
|
|
9
|
+
export declare const selectPackageOptionPax: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingOptionPax[] | undefined;
|
|
10
|
+
export declare const selectPackageGroups: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingOptionGroup<import("@qite/tide-client/build/types/offer").PerBookingPackageOption>[] | undefined;
|
|
11
|
+
export declare const selectPackageDetails: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackage | undefined;
|
|
12
|
+
export declare const selectRequestRooms: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageRequestRoom[] | undefined;
|
|
13
|
+
export declare const selectOfficeId: (state: RootState) => number;
|
|
14
|
+
export declare const selectEntryStatus: (state: RootState) => number;
|
|
15
|
+
export declare const selectCustomEntryStatusId: (state: RootState) => number | undefined;
|
|
16
|
+
export declare const selectProductAttributes: (state: RootState) => import("../../types").ProductAttributes | undefined;
|
|
17
|
+
export declare const selectBookingAttributes: (state: RootState) => import("../../types").BookingAttributes | undefined;
|
|
18
|
+
export declare const selectBookingNumber: (state: RootState) => string | undefined;
|
|
19
|
+
export declare const selectBookingRooms: (state: RootState) => Room[] | undefined;
|
|
20
|
+
export declare const selectCalculateDeposit: (state: RootState) => boolean;
|
|
21
|
+
export declare const selectIsRetry: (state: RootState) => boolean;
|
|
22
|
+
export declare const selectBookingQuery: (state: RootState) => Record<string, string> | undefined;
|
|
23
|
+
export declare const selectBookingQueryString: import("reselect").OutputSelector<{
|
|
24
|
+
booking: import("./booking-slice").BookingState;
|
|
25
|
+
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
26
|
+
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
27
|
+
summary: import("../summary/summary-slice").SummaryState;
|
|
28
|
+
}, string | undefined, (res: Record<string, string> | undefined) => string | undefined>;
|
|
29
|
+
export declare const selectMainBookerId: import("reselect").OutputSelector<{
|
|
30
|
+
booking: import("./booking-slice").BookingState;
|
|
31
|
+
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
32
|
+
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
33
|
+
summary: import("../summary/summary-slice").SummaryState;
|
|
34
|
+
}, number | undefined, (res: import("../../types").TravelersFormValues | undefined) => number | undefined>;
|
|
35
|
+
export declare const selectBookingPackagePax: import("reselect").OutputSelector<{
|
|
36
|
+
booking: import("./booking-slice").BookingState;
|
|
37
|
+
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
38
|
+
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
39
|
+
summary: import("../summary/summary-slice").SummaryState;
|
|
40
|
+
}, BookingPackagePax[], (res: import("../../types").TravelersFormValues | undefined) => BookingPackagePax[]>;
|
|
41
|
+
export declare const selectBookingAddress: import("reselect").OutputSelector<{
|
|
42
|
+
booking: import("./booking-slice").BookingState;
|
|
43
|
+
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
44
|
+
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
45
|
+
summary: import("../summary/summary-slice").SummaryState;
|
|
46
|
+
}, BookingPackageAddress | undefined, (res1: import("../../types").TravelersFormValues | undefined, res2: BookingPackagePax[]) => BookingPackageAddress | undefined>;
|
|
47
|
+
export declare const selectBookingPackageBookRequest: import("reselect").OutputSelector<{
|
|
48
|
+
booking: import("./booking-slice").BookingState;
|
|
49
|
+
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
50
|
+
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
51
|
+
summary: import("../summary/summary-slice").SummaryState;
|
|
52
|
+
}, BookingPackageRequest<BookingPackageBookRequest> | null, (res1: number, res2: number, res3: number | undefined, res4: BookingPackagePax[], res5: BookingPackageAddress | undefined, res6: import("@qite/tide-client/build/types/offer").BookingPackage | undefined, res7: boolean) => BookingPackageRequest<BookingPackageBookRequest> | null>;
|
|
@@ -10,42 +10,36 @@ export declare const fetchPriceDetails: import("@reduxjs/toolkit").AsyncThunk<im
|
|
|
10
10
|
export declare const selectPriceDetails: (state: {
|
|
11
11
|
booking: import("../booking/booking-slice").BookingState;
|
|
12
12
|
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
13
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
14
13
|
priceDetails: PriceDetailsState;
|
|
15
14
|
summary: import("../summary/summary-slice").SummaryState;
|
|
16
15
|
}) => BookingPriceDetail[];
|
|
17
16
|
export declare const selectPackagePriceDetails: import("reselect").OutputSelector<{
|
|
18
17
|
booking: import("../booking/booking-slice").BookingState;
|
|
19
18
|
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
20
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
21
19
|
priceDetails: PriceDetailsState;
|
|
22
20
|
summary: import("../summary/summary-slice").SummaryState;
|
|
23
21
|
}, BookingPriceDetail[], (res: BookingPriceDetail[]) => BookingPriceDetail[]>;
|
|
24
22
|
export declare const selectSeparatePackagePriceDetails: import("reselect").OutputSelector<{
|
|
25
23
|
booking: import("../booking/booking-slice").BookingState;
|
|
26
24
|
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
27
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
28
25
|
priceDetails: PriceDetailsState;
|
|
29
26
|
summary: import("../summary/summary-slice").SummaryState;
|
|
30
27
|
}, BookingPriceDetail[], (res: BookingPriceDetail[]) => BookingPriceDetail[]>;
|
|
31
28
|
export declare const selectBasePrice: import("reselect").OutputSelector<{
|
|
32
29
|
booking: import("../booking/booking-slice").BookingState;
|
|
33
30
|
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
34
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
35
31
|
priceDetails: PriceDetailsState;
|
|
36
32
|
summary: import("../summary/summary-slice").SummaryState;
|
|
37
33
|
}, number, (res: BookingPriceDetail[]) => number>;
|
|
38
34
|
export declare const selectSeparateExtraPriceDetails: import("reselect").OutputSelector<{
|
|
39
35
|
booking: import("../booking/booking-slice").BookingState;
|
|
40
36
|
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
41
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
42
37
|
priceDetails: PriceDetailsState;
|
|
43
38
|
summary: import("../summary/summary-slice").SummaryState;
|
|
44
39
|
}, BookingPriceDetail[], (res: BookingPriceDetail[]) => BookingPriceDetail[]>;
|
|
45
40
|
export declare const selectTotalPrice: import("reselect").OutputSelector<{
|
|
46
41
|
booking: import("../booking/booking-slice").BookingState;
|
|
47
42
|
travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
|
|
48
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
49
43
|
priceDetails: PriceDetailsState;
|
|
50
44
|
summary: import("../summary/summary-slice").SummaryState;
|
|
51
45
|
}, number, (res1: number, res2: BookingPriceDetail[]) => number>;
|
|
@@ -4,33 +4,28 @@ export interface TravelersFormState {
|
|
|
4
4
|
formValues?: TravelersFormValues;
|
|
5
5
|
}
|
|
6
6
|
export declare const setFormValues: import("@reduxjs/toolkit").ActionCreatorWithPayload<TravelersFormValues, string>;
|
|
7
|
-
export declare const selectRooms: (state: RootState) => import("@qite/tide-client/build/types").BookingPackageRequestRoom[] | undefined;
|
|
8
7
|
export declare const selectTravelersFormValues: (state: RootState) => TravelersFormValues | undefined;
|
|
9
8
|
export declare const selectAdults: import("reselect").OutputSelector<{
|
|
10
9
|
booking: import("../booking/booking-slice").BookingState;
|
|
11
10
|
travelersForm: TravelersFormState;
|
|
12
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
13
11
|
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
14
12
|
summary: import("../summary/summary-slice").SummaryState;
|
|
15
13
|
}, import("../../types").Traveler[], (res: TravelersFormValues | undefined) => import("../../types").Traveler[]>;
|
|
16
14
|
export declare const selectChildren: import("reselect").OutputSelector<{
|
|
17
15
|
booking: import("../booking/booking-slice").BookingState;
|
|
18
16
|
travelersForm: TravelersFormState;
|
|
19
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
20
17
|
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
21
18
|
summary: import("../summary/summary-slice").SummaryState;
|
|
22
19
|
}, import("../../types").Traveler[], (res: TravelersFormValues | undefined) => import("../../types").Traveler[]>;
|
|
23
20
|
export declare const selectAdultIds: import("reselect").OutputSelector<{
|
|
24
21
|
booking: import("../booking/booking-slice").BookingState;
|
|
25
22
|
travelersForm: TravelersFormState;
|
|
26
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
27
23
|
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
28
24
|
summary: import("../summary/summary-slice").SummaryState;
|
|
29
25
|
}, number[], (res: import("@qite/tide-client/build/types").BookingPackageRequestRoom[] | undefined) => number[]>;
|
|
30
26
|
export declare const selectChildIds: import("reselect").OutputSelector<{
|
|
31
27
|
booking: import("../booking/booking-slice").BookingState;
|
|
32
28
|
travelersForm: TravelersFormState;
|
|
33
|
-
productOptions: import("../product-options/product-options-slice").ProductOptionsState;
|
|
34
29
|
priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
|
|
35
30
|
summary: import("../summary/summary-slice").SummaryState;
|
|
36
31
|
}, number[], (res: import("@qite/tide-client/build/types").BookingPackageRequestRoom[] | undefined) => number[]>;
|
|
@@ -2,19 +2,16 @@ import { Action, ThunkAction } from "@reduxjs/toolkit";
|
|
|
2
2
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
3
3
|
booking: import("./features/booking/booking-slice").BookingState;
|
|
4
4
|
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
|
|
5
|
-
productOptions: import("./features/product-options/product-options-slice").ProductOptionsState;
|
|
6
5
|
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
|
|
7
6
|
summary: import("./features/summary/summary-slice").SummaryState;
|
|
8
7
|
}, import("redux").AnyAction, [import("redux-thunk").ThunkMiddleware<{
|
|
9
8
|
booking: import("./features/booking/booking-slice").BookingState;
|
|
10
9
|
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
|
|
11
|
-
productOptions: import("./features/product-options/product-options-slice").ProductOptionsState;
|
|
12
10
|
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
|
|
13
11
|
summary: import("./features/summary/summary-slice").SummaryState;
|
|
14
12
|
}, import("redux").AnyAction, null> | import("redux-thunk").ThunkMiddleware<{
|
|
15
13
|
booking: import("./features/booking/booking-slice").BookingState;
|
|
16
14
|
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
|
|
17
|
-
productOptions: import("./features/product-options/product-options-slice").ProductOptionsState;
|
|
18
15
|
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
|
|
19
16
|
summary: import("./features/summary/summary-slice").SummaryState;
|
|
20
17
|
}, import("redux").AnyAction, undefined>]>;
|
|
@@ -24,13 +21,11 @@ export declare type AppDispatch = typeof store.dispatch;
|
|
|
24
21
|
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
|
|
25
22
|
booking: import("./features/booking/booking-slice").BookingState;
|
|
26
23
|
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
|
|
27
|
-
productOptions: import("./features/product-options/product-options-slice").ProductOptionsState;
|
|
28
24
|
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
|
|
29
25
|
summary: import("./features/summary/summary-slice").SummaryState;
|
|
30
26
|
}, null, import("redux").AnyAction> & import("redux-thunk").ThunkDispatch<{
|
|
31
27
|
booking: import("./features/booking/booking-slice").BookingState;
|
|
32
28
|
travelersForm: import("./features/travelers-form/travelers-form-slice").TravelersFormState;
|
|
33
|
-
productOptions: import("./features/product-options/product-options-slice").ProductOptionsState;
|
|
34
29
|
priceDetails: import("./features/price-details/price-details-slice").PriceDetailsState;
|
|
35
30
|
summary: import("./features/summary/summary-slice").SummaryState;
|
|
36
31
|
}, undefined, import("redux").AnyAction> & import("redux").Dispatch<import("redux").AnyAction>;
|
|
@@ -20,6 +20,7 @@ export interface Settings {
|
|
|
20
20
|
};
|
|
21
21
|
language: string;
|
|
22
22
|
currency: string;
|
|
23
|
+
includeFlights?: boolean;
|
|
23
24
|
generatePaymentUrl?: boolean;
|
|
24
25
|
companyContactEmail: string;
|
|
25
26
|
companyContactPhone: string;
|
|
@@ -73,7 +74,6 @@ export interface BookingAttributes {
|
|
|
73
74
|
endDate: string;
|
|
74
75
|
catalog: number;
|
|
75
76
|
rooms: Room[];
|
|
76
|
-
isAllotment?: boolean;
|
|
77
77
|
tourCode?: string;
|
|
78
78
|
allotmentName?: string;
|
|
79
79
|
includeFlights?: boolean;
|