@qite/tide-booking-component 0.0.2-preview.56 → 0.0.2-preview.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.
Files changed (102) hide show
  1. package/build/build-cjs/booking-wizard/components/icon.d.ts +7 -7
  2. package/build/build-cjs/booking-wizard/components/labeled-input.d.ts +18 -18
  3. package/build/build-cjs/booking-wizard/components/labeled-select.d.ts +21 -21
  4. package/build/build-cjs/booking-wizard/components/message.d.ts +9 -9
  5. package/build/build-cjs/booking-wizard/components/product-card.d.ts +8 -8
  6. package/build/build-cjs/booking-wizard/components/rating.d.ts +6 -6
  7. package/build/build-cjs/booking-wizard/components/step-indicator.d.ts +6 -6
  8. package/build/build-cjs/booking-wizard/components/step-route.d.ts +9 -9
  9. package/build/build-cjs/booking-wizard/features/booking/api.d.ts +7 -20
  10. package/build/build-cjs/booking-wizard/features/booking/booking-slice.d.ts +21 -99
  11. package/build/build-cjs/booking-wizard/features/booking/booking.d.ts +8 -8
  12. package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +76 -151
  13. package/build/build-cjs/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
  14. package/build/build-cjs/booking-wizard/features/error/error.d.ts +5 -4
  15. package/build/build-cjs/booking-wizard/features/price-details/price-details-api.d.ts +5 -12
  16. package/build/build-cjs/booking-wizard/features/price-details/price-details-slice.d.ts +64 -75
  17. package/build/build-cjs/booking-wizard/features/price-details/util.d.ts +2 -5
  18. package/build/build-cjs/booking-wizard/features/product-options/no-options.d.ts +2 -3
  19. package/build/build-cjs/booking-wizard/features/product-options/none-option.d.ts +9 -17
  20. package/build/build-cjs/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
  21. package/build/build-cjs/booking-wizard/features/product-options/option-item.d.ts +11 -11
  22. package/build/build-cjs/booking-wizard/features/product-options/option-pax-card.d.ts +9 -9
  23. package/build/build-cjs/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
  24. package/build/build-cjs/booking-wizard/features/product-options/option-room.d.ts +9 -16
  25. package/build/build-cjs/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
  26. package/build/build-cjs/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
  27. package/build/build-cjs/booking-wizard/features/product-options/options-form.d.ts +5 -4
  28. package/build/build-cjs/booking-wizard/features/product-options/validate-form.d.ts +2 -2
  29. package/build/build-cjs/booking-wizard/features/sidebar/index.d.ts +7 -7
  30. package/build/build-cjs/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
  31. package/build/build-cjs/booking-wizard/features/sidebar/sidebar-util.d.ts +9 -27
  32. package/build/build-cjs/booking-wizard/features/sidebar/sidebar.d.ts +24 -28
  33. package/build/build-cjs/booking-wizard/features/summary/summary-flight.d.ts +8 -8
  34. package/build/build-cjs/booking-wizard/features/summary/summary-slice.d.ts +8 -14
  35. package/build/build-cjs/booking-wizard/features/summary/summary.d.ts +5 -4
  36. package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +59 -75
  37. package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
  38. package/build/build-cjs/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
  39. package/build/build-cjs/booking-wizard/features/travelers-form/validate-form.d.ts +4 -6
  40. package/build/build-cjs/booking-wizard/index.d.ts +12 -12
  41. package/build/build-cjs/booking-wizard/settings-context.d.ts +6 -5
  42. package/build/build-cjs/booking-wizard/store.d.ts +21 -61
  43. package/build/build-cjs/booking-wizard/types.d.ts +96 -97
  44. package/build/build-cjs/booking-wizard/utils/class-util.d.ts +1 -1
  45. package/build/build-cjs/booking-wizard/utils/localization-util.d.ts +1 -1
  46. package/build/build-cjs/booking-wizard/utils/query-string-util.d.ts +6 -21
  47. package/build/build-cjs/booking-wizard/utils/tide-api-utils.d.ts +2 -2
  48. package/build/build-cjs/index.d.ts +2 -2
  49. package/build/build-cjs/index.js +2878 -6322
  50. package/build/build-esm/booking-wizard/components/icon.d.ts +7 -7
  51. package/build/build-esm/booking-wizard/components/labeled-input.d.ts +18 -18
  52. package/build/build-esm/booking-wizard/components/labeled-select.d.ts +21 -21
  53. package/build/build-esm/booking-wizard/components/message.d.ts +9 -9
  54. package/build/build-esm/booking-wizard/components/product-card.d.ts +8 -8
  55. package/build/build-esm/booking-wizard/components/rating.d.ts +6 -6
  56. package/build/build-esm/booking-wizard/components/step-indicator.d.ts +6 -6
  57. package/build/build-esm/booking-wizard/components/step-route.d.ts +9 -9
  58. package/build/build-esm/booking-wizard/features/booking/api.d.ts +7 -20
  59. package/build/build-esm/booking-wizard/features/booking/booking-slice.d.ts +21 -99
  60. package/build/build-esm/booking-wizard/features/booking/booking.d.ts +8 -8
  61. package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +76 -151
  62. package/build/build-esm/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
  63. package/build/build-esm/booking-wizard/features/error/error.d.ts +5 -4
  64. package/build/build-esm/booking-wizard/features/price-details/price-details-api.d.ts +5 -12
  65. package/build/build-esm/booking-wizard/features/price-details/price-details-slice.d.ts +64 -75
  66. package/build/build-esm/booking-wizard/features/price-details/util.d.ts +2 -5
  67. package/build/build-esm/booking-wizard/features/product-options/no-options.d.ts +2 -3
  68. package/build/build-esm/booking-wizard/features/product-options/none-option.d.ts +9 -17
  69. package/build/build-esm/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
  70. package/build/build-esm/booking-wizard/features/product-options/option-item.d.ts +11 -11
  71. package/build/build-esm/booking-wizard/features/product-options/option-pax-card.d.ts +9 -9
  72. package/build/build-esm/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
  73. package/build/build-esm/booking-wizard/features/product-options/option-room.d.ts +9 -16
  74. package/build/build-esm/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
  75. package/build/build-esm/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
  76. package/build/build-esm/booking-wizard/features/product-options/options-form.d.ts +5 -4
  77. package/build/build-esm/booking-wizard/features/product-options/validate-form.d.ts +2 -2
  78. package/build/build-esm/booking-wizard/features/sidebar/index.d.ts +7 -7
  79. package/build/build-esm/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
  80. package/build/build-esm/booking-wizard/features/sidebar/sidebar-util.d.ts +9 -27
  81. package/build/build-esm/booking-wizard/features/sidebar/sidebar.d.ts +24 -28
  82. package/build/build-esm/booking-wizard/features/summary/summary-flight.d.ts +8 -8
  83. package/build/build-esm/booking-wizard/features/summary/summary-slice.d.ts +8 -14
  84. package/build/build-esm/booking-wizard/features/summary/summary.d.ts +5 -4
  85. package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +59 -75
  86. package/build/build-esm/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
  87. package/build/build-esm/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
  88. package/build/build-esm/booking-wizard/features/travelers-form/validate-form.d.ts +4 -6
  89. package/build/build-esm/booking-wizard/index.d.ts +12 -12
  90. package/build/build-esm/booking-wizard/settings-context.d.ts +6 -5
  91. package/build/build-esm/booking-wizard/store.d.ts +21 -61
  92. package/build/build-esm/booking-wizard/types.d.ts +96 -97
  93. package/build/build-esm/booking-wizard/utils/class-util.d.ts +1 -1
  94. package/build/build-esm/booking-wizard/utils/localization-util.d.ts +1 -1
  95. package/build/build-esm/booking-wizard/utils/query-string-util.d.ts +6 -21
  96. package/build/build-esm/booking-wizard/utils/tide-api-utils.d.ts +2 -2
  97. package/build/build-esm/index.d.ts +2 -2
  98. package/build/build-esm/index.js +2867 -6189
  99. package/package.json +2 -2
  100. package/src/booking-wizard/features/booking/api.ts +2 -1
  101. package/src/booking-wizard/features/booking/booking-slice.ts +10 -1
  102. package/src/booking-wizard/features/sidebar/sidebar.tsx +4 -2
@@ -1,7 +1,7 @@
1
- import React from "react";
2
- interface IconProps {
3
- name: string;
4
- className?: string;
5
- }
6
- declare const Icon: React.FC<IconProps>;
7
- export default Icon;
1
+ import React from "react";
2
+ interface IconProps {
3
+ name: string;
4
+ className?: string;
5
+ }
6
+ declare const Icon: React.FC<IconProps>;
7
+ export default Icon;
@@ -1,18 +1,18 @@
1
- import React from "react";
2
- interface LabeledInputProps {
3
- name: string;
4
- type?: string;
5
- required?: boolean;
6
- value?: string | number;
7
- defaultValue?: string | number;
8
- min?: string | number;
9
- max?: string | number;
10
- label?: string;
11
- placeholder?: string;
12
- hasError?: boolean;
13
- extraClassName?: string;
14
- onChange?: React.ChangeEventHandler<HTMLInputElement>;
15
- onBlur?: React.FocusEventHandler<HTMLInputElement>;
16
- }
17
- declare const LabeledInput: React.FC<LabeledInputProps>;
18
- export default LabeledInput;
1
+ import React from "react";
2
+ interface LabeledInputProps {
3
+ name: string;
4
+ type?: string;
5
+ required?: boolean;
6
+ value?: string | number;
7
+ defaultValue?: string | number;
8
+ min?: string | number;
9
+ max?: string | number;
10
+ label?: string;
11
+ placeholder?: string;
12
+ hasError?: boolean;
13
+ extraClassName?: string;
14
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
15
+ onBlur?: React.FocusEventHandler<HTMLInputElement>;
16
+ }
17
+ declare const LabeledInput: React.FC<LabeledInputProps>;
18
+ export default LabeledInput;
@@ -1,21 +1,21 @@
1
- import React from "react";
2
- interface LabeledSelectProps {
3
- name: string;
4
- id?: string;
5
- required?: boolean;
6
- value?: string | number;
7
- defaultValue?: string | number;
8
- label?: string;
9
- hasError?: boolean;
10
- extraClassName?: string;
11
- extraDropdownClassName?: string;
12
- options?: {
13
- key: string;
14
- value: string | number | undefined;
15
- label: string;
16
- }[];
17
- onChange?: React.ChangeEventHandler<HTMLSelectElement>;
18
- onBlur?: React.FocusEventHandler<HTMLSelectElement>;
19
- }
20
- declare const LabeledSelect: React.FC<LabeledSelectProps>;
21
- export default LabeledSelect;
1
+ import React from "react";
2
+ interface LabeledSelectProps {
3
+ name: string;
4
+ id?: string;
5
+ required?: boolean;
6
+ value?: string | number;
7
+ defaultValue?: string | number;
8
+ label?: string;
9
+ hasError?: boolean;
10
+ extraClassName?: string;
11
+ extraDropdownClassName?: string;
12
+ options?: {
13
+ key: string;
14
+ value: string | number | undefined;
15
+ label: string;
16
+ }[];
17
+ onChange?: React.ChangeEventHandler<HTMLSelectElement>;
18
+ onBlur?: React.FocusEventHandler<HTMLSelectElement>;
19
+ }
20
+ declare const LabeledSelect: React.FC<LabeledSelectProps>;
21
+ export default LabeledSelect;
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- interface MessageProps {
3
- type: "error" | "success";
4
- title: string;
5
- actionComponent?: JSX.Element;
6
- children?: JSX.Element | JSX.Element[];
7
- }
8
- declare const Message: React.FC<MessageProps>;
9
- export default Message;
1
+ import React from "react";
2
+ interface MessageProps {
3
+ type: "error" | "success";
4
+ title: string;
5
+ actionComponent?: JSX.Element;
6
+ children?: JSX.Element | JSX.Element[];
7
+ }
8
+ declare const Message: React.FC<MessageProps>;
9
+ export default Message;
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- interface ProductCardProps {
3
- productName: string;
4
- thumbnailUrl?: string;
5
- handleToggleClick: () => void;
6
- }
7
- declare const ProductCard: React.FC<ProductCardProps>;
8
- export default ProductCard;
1
+ import React from "react";
2
+ interface ProductCardProps {
3
+ productName: string;
4
+ thumbnailUrl?: string;
5
+ handleToggleClick: () => void;
6
+ }
7
+ declare const ProductCard: React.FC<ProductCardProps>;
8
+ export default ProductCard;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- interface RatingProps {
3
- rating: number;
4
- }
5
- declare const Rating: React.FC<RatingProps>;
6
- export default Rating;
1
+ import React from "react";
2
+ interface RatingProps {
3
+ rating: number;
4
+ }
5
+ declare const Rating: React.FC<RatingProps>;
6
+ export default Rating;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- interface StepIndicatorsProps {
3
- currentStep: number;
4
- }
5
- declare const StepIndicators: React.FC<StepIndicatorsProps>;
6
- export default StepIndicators;
1
+ import React from "react";
2
+ interface StepIndicatorsProps {
3
+ currentStep: number;
4
+ }
5
+ declare const StepIndicators: React.FC<StepIndicatorsProps>;
6
+ export default StepIndicators;
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- interface StepRoute {
3
- path: string;
4
- number: number;
5
- title: string;
6
- component: JSX.Element;
7
- }
8
- declare const StepRoute: React.FC<StepRoute>;
9
- export default StepRoute;
1
+ import React from "react";
2
+ interface StepRoute {
3
+ path: string;
4
+ number: number;
5
+ title: string;
6
+ component: JSX.Element;
7
+ }
8
+ declare const StepRoute: React.FC<StepRoute>;
9
+ export default StepRoute;
@@ -1,20 +1,7 @@
1
- import {
2
- BookingPackageRequest,
3
- BookingPackageDetailsRequest,
4
- BookingPackage,
5
- BookingPackageBookRequest,
6
- BookingPriceDetails,
7
- BookingTravelAgent,
8
- } from "@qite/tide-client/build/types";
9
- declare const packageApi: {
10
- fetchDetails: (
11
- request: BookingPackageRequest<BookingPackageDetailsRequest>,
12
- signal: AbortSignal
13
- ) => Promise<BookingPackage>;
14
- fetchPriceDetails: (
15
- request: BookingPackageRequest<BookingPackageBookRequest>,
16
- signal: AbortSignal
17
- ) => Promise<BookingPriceDetails>;
18
- fetchAgents: (signal: AbortSignal) => Promise<BookingTravelAgent[]>;
19
- };
20
- export default packageApi;
1
+ import { BookingPackageRequest, BookingPackageDetailsRequest, BookingPackage, BookingPackageBookRequest, BookingPriceDetails, BookingTravelAgent, TideResponse } from "@qite/tide-client/build/types";
2
+ declare const packageApi: {
3
+ fetchDetails: (request: BookingPackageRequest<BookingPackageDetailsRequest>, signal: AbortSignal) => Promise<TideResponse<BookingPackage>>;
4
+ fetchPriceDetails: (request: BookingPackageRequest<BookingPackageBookRequest>, signal: AbortSignal) => Promise<BookingPriceDetails>;
5
+ fetchAgents: (signal: AbortSignal) => Promise<BookingTravelAgent[]>;
6
+ };
7
+ export default packageApi;
@@ -1,99 +1,21 @@
1
- import { BookingAttributes, ProductAttributes } from "../../types";
2
- import {
3
- BookingOptionGroup,
4
- BookingOptionPax,
5
- BookingOptionUnit,
6
- BookingPackage,
7
- BookingPackageRoom,
8
- BookingTravelAgent,
9
- PerBookingPackageOption,
10
- } from "@qite/tide-client/build/types";
11
- export interface BookingState {
12
- officeId: number;
13
- entryStatus: number;
14
- customEntryStatusId?: number;
15
- productAttributes?: ProductAttributes;
16
- bookingAttributes?: BookingAttributes;
17
- calculateDeposit: boolean;
18
- bookingNumber?: string;
19
- isRetry: boolean;
20
- package?: BookingPackage;
21
- agents?: BookingTravelAgent[];
22
- isBusy: boolean;
23
- skipPaymentWithAgent: boolean;
24
- generatePaymentUrl: boolean;
25
- }
26
- export declare const fetchPackage: import("@reduxjs/toolkit").AsyncThunk<
27
- void,
28
- void,
29
- {}
30
- >;
31
- export declare const setOfficeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<
32
- number,
33
- string
34
- >,
35
- setEntryStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<
36
- number,
37
- string
38
- >,
39
- setCustomEntryStatusId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<
40
- number | undefined,
41
- string
42
- >,
43
- setProductAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<
44
- ProductAttributes,
45
- string
46
- >,
47
- setBookingAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<
48
- BookingAttributes,
49
- string
50
- >,
51
- setCalculateDeposit: import("@reduxjs/toolkit").ActionCreatorWithPayload<
52
- boolean,
53
- string
54
- >,
55
- setBookingNumber: import("@reduxjs/toolkit").ActionCreatorWithPayload<
56
- string,
57
- string
58
- >,
59
- setIsRetry: import("@reduxjs/toolkit").ActionCreatorWithPayload<
60
- boolean,
61
- string
62
- >,
63
- setFetchingPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<
64
- boolean,
65
- string
66
- >,
67
- setPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<
68
- BookingPackage,
69
- string
70
- >,
71
- setPackageRooms: import("@reduxjs/toolkit").ActionCreatorWithPayload<
72
- BookingPackageRoom[],
73
- string
74
- >,
75
- setPackageOptionPax: import("@reduxjs/toolkit").ActionCreatorWithPayload<
76
- BookingOptionPax[],
77
- string
78
- >,
79
- setPackageOptionUnits: import("@reduxjs/toolkit").ActionCreatorWithPayload<
80
- BookingOptionUnit[],
81
- string
82
- >,
83
- setPackageGroups: import("@reduxjs/toolkit").ActionCreatorWithPayload<
84
- BookingOptionGroup<PerBookingPackageOption>[],
85
- string
86
- >,
87
- setSkipPayment: import("@reduxjs/toolkit").ActionCreatorWithPayload<
88
- boolean,
89
- string
90
- >,
91
- setGeneratePaymentUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<
92
- boolean,
93
- string
94
- >;
95
- declare const _default: import("redux").Reducer<
96
- BookingState,
97
- import("redux").AnyAction
98
- >;
99
- export default _default;
1
+ import { BookingAttributes, ProductAttributes } from "../../types";
2
+ import { BookingOptionGroup, BookingOptionPax, BookingOptionUnit, BookingPackage, BookingPackageRoom, BookingTravelAgent, PerBookingPackageOption } from "@qite/tide-client/build/types";
3
+ export interface BookingState {
4
+ officeId: number;
5
+ entryStatus: number;
6
+ customEntryStatusId?: number;
7
+ productAttributes?: ProductAttributes;
8
+ bookingAttributes?: BookingAttributes;
9
+ calculateDeposit: boolean;
10
+ bookingNumber?: string;
11
+ isRetry: boolean;
12
+ package?: BookingPackage;
13
+ agents?: BookingTravelAgent[];
14
+ isBusy: boolean;
15
+ skipPaymentWithAgent: boolean;
16
+ generatePaymentUrl: boolean;
17
+ }
18
+ export declare const fetchPackage: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
19
+ 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>, setSkipPayment: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, setGeneratePaymentUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
20
+ declare const _default: import("redux").Reducer<BookingState, import("redux").AnyAction>;
21
+ export default _default;
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- interface BookingProps {
3
- productCode: string;
4
- productName: string;
5
- thumbnailUrl?: string;
6
- }
7
- declare const Booking: React.FC<BookingProps>;
8
- export default Booking;
1
+ import React from "react";
2
+ interface BookingProps {
3
+ productCode: string;
4
+ productName: string;
5
+ thumbnailUrl?: string;
6
+ }
7
+ declare const Booking: React.FC<BookingProps>;
8
+ export default Booking;
@@ -1,151 +1,76 @@
1
- import {
2
- BookingPackageAddress,
3
- BookingPackageBookRequest,
4
- BookingPackagePax,
5
- BookingPackageRequest,
6
- } from "@qite/tide-client/build/types/offer";
7
- import { RootState } from "../../store";
8
- import { Room } from "../../types";
9
- export declare const selectGeneratePaymentUrl: (state: RootState) => boolean;
10
- export declare const selectSkipPaymentWithAgent: (state: RootState) => boolean;
11
- export declare const selectIsFetchingProductOptions: (
12
- state: RootState
13
- ) => boolean;
14
- export declare const selectDepartureFlight: (
15
- state: RootState
16
- ) =>
17
- | import("@qite/tide-client/build/types/offer").BookingPackageFlight
18
- | undefined;
19
- export declare const selectReturnFlight: (
20
- state: RootState
21
- ) =>
22
- | import("@qite/tide-client/build/types/offer").BookingPackageFlight
23
- | undefined;
24
- export declare const selectPackageRooms: (
25
- state: RootState
26
- ) =>
27
- | import("@qite/tide-client/build/types/offer").BookingPackageRoom[]
28
- | undefined;
29
- export declare const selectPackageOptionUnits: (
30
- state: RootState
31
- ) =>
32
- | import("@qite/tide-client/build/types/offer").BookingOptionUnit[]
33
- | undefined;
34
- export declare const selectPackageOptionPax: (
35
- state: RootState
36
- ) =>
37
- | import("@qite/tide-client/build/types/offer").BookingOptionPax[]
38
- | undefined;
39
- export declare const selectPackageGroups: (
40
- state: RootState
41
- ) =>
42
- | import("@qite/tide-client/build/types/offer").BookingOptionGroup<
43
- import("@qite/tide-client/build/types/offer").PerBookingPackageOption
44
- >[]
45
- | undefined;
46
- export declare const selectPackageDetails: (
47
- state: RootState
48
- ) => import("@qite/tide-client/build/types/offer").BookingPackage | undefined;
49
- export declare const selectRequestRooms: (
50
- state: RootState
51
- ) =>
52
- | import("@qite/tide-client/build/types/offer").BookingPackageRequestRoom[]
53
- | undefined;
54
- export declare const selectOfficeId: (state: RootState) => number;
55
- export declare const selectEntryStatus: (state: RootState) => number;
56
- export declare const selectCustomEntryStatusId: (
57
- state: RootState
58
- ) => number | undefined;
59
- export declare const selectProductAttributes: (
60
- state: RootState
61
- ) => import("../../types").ProductAttributes | undefined;
62
- export declare const selectBookingAttributes: (
63
- state: RootState
64
- ) => import("../../types").BookingAttributes | undefined;
65
- export declare const selectBookingNumber: (
66
- state: RootState
67
- ) => string | undefined;
68
- export declare const selectBookingRooms: (
69
- state: RootState
70
- ) => Room[] | undefined;
71
- export declare const selectCalculateDeposit: (state: RootState) => boolean;
72
- export declare const selectIsRetry: (state: RootState) => boolean;
73
- export declare const selectStartDate: (state: RootState) => string | undefined;
74
- export declare const selectAgents: (
75
- state: RootState
76
- ) =>
77
- | import("@qite/tide-client/build/types/offer").BookingTravelAgent[]
78
- | undefined;
79
- export declare const selectBookingQuery: (
80
- state: RootState
81
- ) => Record<string, string> | undefined;
82
- export declare const selectBookingQueryString: import("reselect").OutputSelector<
83
- {
84
- booking: import("./booking-slice").BookingState;
85
- travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
86
- priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
87
- summary: import("../summary/summary-slice").SummaryState;
88
- },
89
- string | undefined,
90
- (res: Record<string, string> | undefined) => string | undefined
91
- >;
92
- export declare const selectMainBookerId: import("reselect").OutputSelector<
93
- {
94
- booking: import("./booking-slice").BookingState;
95
- travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
96
- priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
97
- summary: import("../summary/summary-slice").SummaryState;
98
- },
99
- number | undefined,
100
- (
101
- res: import("../../types").TravelersFormValues | undefined
102
- ) => number | undefined
103
- >;
104
- export declare const selectBookingPackagePax: import("reselect").OutputSelector<
105
- {
106
- booking: import("./booking-slice").BookingState;
107
- travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
108
- priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
109
- summary: import("../summary/summary-slice").SummaryState;
110
- },
111
- BookingPackagePax[],
112
- (
113
- res: import("../../types").TravelersFormValues | undefined
114
- ) => BookingPackagePax[]
115
- >;
116
- export declare const selectBookingAddress: import("reselect").OutputSelector<
117
- {
118
- booking: import("./booking-slice").BookingState;
119
- travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
120
- priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
121
- summary: import("../summary/summary-slice").SummaryState;
122
- },
123
- BookingPackageAddress | undefined,
124
- (
125
- res1: import("../../types").TravelersFormValues | undefined,
126
- res2: BookingPackagePax[]
127
- ) => BookingPackageAddress | undefined
128
- >;
129
- export declare const selectBookingPackageBookRequest: import("reselect").OutputSelector<
130
- {
131
- booking: import("./booking-slice").BookingState;
132
- travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
133
- priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
134
- summary: import("../summary/summary-slice").SummaryState;
135
- },
136
- BookingPackageRequest<BookingPackageBookRequest> | null,
137
- (
138
- res1: number,
139
- res2: number,
140
- res3: number | undefined,
141
- res4: BookingPackagePax[],
142
- res5: BookingPackageAddress | undefined,
143
- res6:
144
- | import("@qite/tide-client/build/types/offer").BookingPackage
145
- | undefined,
146
- res7: boolean,
147
- res8: number | undefined,
148
- res9: boolean,
149
- res10: boolean
150
- ) => BookingPackageRequest<BookingPackageBookRequest> | null
151
- >;
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 selectGeneratePaymentUrl: (state: RootState) => boolean;
5
+ export declare const selectSkipPaymentWithAgent: (state: RootState) => boolean;
6
+ export declare const selectIsFetchingProductOptions: (state: RootState) => boolean;
7
+ export declare const selectDepartureFlight: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageFlight | undefined;
8
+ export declare const selectReturnFlight: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageFlight | undefined;
9
+ export declare const selectPackageRooms: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageRoom[] | undefined;
10
+ export declare const selectPackageOptionUnits: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingOptionUnit[] | undefined;
11
+ export declare const selectPackageOptionPax: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingOptionPax[] | undefined;
12
+ export declare const selectPackageGroups: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingOptionGroup<import("@qite/tide-client/build/types/offer").PerBookingPackageOption>[] | undefined;
13
+ export declare const selectPackageDetails: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackage | undefined;
14
+ export declare const selectRequestRooms: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingPackageRequestRoom[] | undefined;
15
+ export declare const selectOfficeId: (state: RootState) => number;
16
+ export declare const selectEntryStatus: (state: RootState) => number;
17
+ export declare const selectCustomEntryStatusId: (state: RootState) => number | undefined;
18
+ export declare const selectProductAttributes: (state: RootState) => import("../../types").ProductAttributes | undefined;
19
+ export declare const selectBookingAttributes: (state: RootState) => import("../../types").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 selectStartDate: (state: RootState) => string | undefined;
25
+ export declare const selectAgents: (state: RootState) => import("@qite/tide-client/build/types/offer").BookingTravelAgent[] | undefined;
26
+ export declare const selectBookingQuery: (state: RootState) => Record<string, string> | undefined;
27
+ export declare const selectBookingQueryString: ((state: {
28
+ booking: import("./booking-slice").BookingState;
29
+ travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
30
+ priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
31
+ summary: import("../summary/summary-slice").SummaryState;
32
+ }) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: Record<string, string> | undefined) => string & {
33
+ clearCache: () => void;
34
+ }> & {
35
+ clearCache: () => void;
36
+ };
37
+ export declare const selectMainBookerId: ((state: {
38
+ booking: import("./booking-slice").BookingState;
39
+ travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
40
+ priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
41
+ summary: import("../summary/summary-slice").SummaryState;
42
+ }) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: import("../../types").TravelersFormValues | undefined) => number & {
43
+ clearCache: () => void;
44
+ }> & {
45
+ clearCache: () => void;
46
+ };
47
+ export declare const selectBookingPackagePax: ((state: {
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
+ }) => BookingPackagePax[]) & import("reselect").OutputSelectorFields<(args_0: import("../../types").TravelersFormValues | undefined) => BookingPackagePax[] & {
53
+ clearCache: () => void;
54
+ }> & {
55
+ clearCache: () => void;
56
+ };
57
+ export declare const selectBookingAddress: ((state: {
58
+ booking: import("./booking-slice").BookingState;
59
+ travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
60
+ priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
61
+ summary: import("../summary/summary-slice").SummaryState;
62
+ }) => BookingPackageAddress | undefined) & import("reselect").OutputSelectorFields<(args_0: import("../../types").TravelersFormValues | undefined, args_1: BookingPackagePax[]) => BookingPackageAddress & {
63
+ clearCache: () => void;
64
+ }> & {
65
+ clearCache: () => void;
66
+ };
67
+ export declare const selectBookingPackageBookRequest: ((state: {
68
+ booking: import("./booking-slice").BookingState;
69
+ travelersForm: import("../travelers-form/travelers-form-slice").TravelersFormState;
70
+ priceDetails: import("../price-details/price-details-slice").PriceDetailsState;
71
+ summary: import("../summary/summary-slice").SummaryState;
72
+ }) => BookingPackageRequest<BookingPackageBookRequest> | null) & import("reselect").OutputSelectorFields<(args_0: number, args_1: number, args_2: number | undefined, args_3: BookingPackagePax[], args_4: BookingPackageAddress | undefined, args_5: import("@qite/tide-client/build/types/offer").BookingPackage | undefined, args_6: boolean, args_7: number | undefined, args_8: boolean, args_9: boolean) => BookingPackageRequest<BookingPackageBookRequest> & {
73
+ clearCache: () => void;
74
+ }> & {
75
+ clearCache: () => void;
76
+ };
@@ -1,4 +1,5 @@
1
- import React from "react";
2
- interface ConfirmationProps {}
3
- declare const Confirmation: React.FC<ConfirmationProps>;
4
- export default Confirmation;
1
+ import React from "react";
2
+ interface ConfirmationProps {
3
+ }
4
+ declare const Confirmation: React.FC<ConfirmationProps>;
5
+ export default Confirmation;
@@ -1,4 +1,5 @@
1
- import React from "react";
2
- interface ErrorProps {}
3
- declare const Error: React.FC<ErrorProps>;
4
- export default Error;
1
+ import React from "react";
2
+ interface ErrorProps {
3
+ }
4
+ declare const Error: React.FC<ErrorProps>;
5
+ export default Error;
@@ -1,12 +1,5 @@
1
- import {
2
- BookingPackageBookRequest,
3
- BookingPackageRequest,
4
- BookingPriceDetails,
5
- } from "@qite/tide-client/build/types";
6
- declare const priceDetailsApi: {
7
- fetchPriceDetails: (
8
- request: BookingPackageRequest<BookingPackageBookRequest>,
9
- signal: AbortSignal
10
- ) => Promise<BookingPriceDetails>;
11
- };
12
- export default priceDetailsApi;
1
+ import { BookingPackageBookRequest, BookingPackageRequest, BookingPriceDetails } from "@qite/tide-client/build/types";
2
+ declare const priceDetailsApi: {
3
+ fetchPriceDetails: (request: BookingPackageRequest<BookingPackageBookRequest>, signal: AbortSignal) => Promise<BookingPriceDetails>;
4
+ };
5
+ export default priceDetailsApi;