@odynn/awayz-hotels 0.6.10 → 0.6.11

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.
@@ -1,14 +1,12 @@
1
- import { useAvailabilityAlertNotifications as t } from "./useAvailabilityAlertNotifications/useAvailabilityAlertNotifications.js";
2
- import { useAvailabilityAlerts as i } from "./useAvailabilityAlerts/useAvailabilityAlerts.js";
1
+ import { useHotelSearch as r } from "./useHotelSearch/useHotelSearch.js";
2
+ import { useLocationSearch as l } from "./useLocationSearch/useLocationSearch.js";
3
3
  import { useHotelDetails as a } from "./useHotelDetails/useHotelDetails.js";
4
- import { useHotelSearch as f } from "./useHotelSearch/useHotelSearch.js";
5
- import { useHotelSort as p } from "./useHotelSort/useHotelSort.js";
6
- import { useLocationSearch as x } from "./useLocationSearch/useLocationSearch.js";
4
+ import { useHotelSort as i } from "./useHotelSort/useHotelSort.js";
5
+ import { useAvailabilityAlerts as p } from "./useAvailabilityAlerts/useAvailabilityAlerts.js";
7
6
  export {
8
- t as useAvailabilityAlertNotifications,
9
- i as useAvailabilityAlerts,
7
+ p as useAvailabilityAlerts,
10
8
  a as useHotelDetails,
11
- f as useHotelSearch,
12
- p as useHotelSort,
13
- x as useLocationSearch
9
+ r as useHotelSearch,
10
+ i as useHotelSort,
11
+ l as useLocationSearch
14
12
  };
@@ -1,7 +1,6 @@
1
- export { useAvailabilityAlertNotifications } from './useAvailabilityAlertNotifications/useAvailabilityAlertNotifications';
2
- export { useAvailabilityAlerts } from './useAvailabilityAlerts/useAvailabilityAlerts';
3
- export { useHotelDetails } from './useHotelDetails/useHotelDetails';
4
1
  export { useHotelSearch } from './useHotelSearch/useHotelSearch';
5
- export { useHotelSort } from './useHotelSort/useHotelSort';
6
2
  export { useLocationSearch } from './useLocationSearch/useLocationSearch';
3
+ export { useHotelDetails } from './useHotelDetails/useHotelDetails';
4
+ export { useHotelSort } from './useHotelSort/useHotelSort';
5
+ export { useAvailabilityAlerts } from './useAvailabilityAlerts/useAvailabilityAlerts';
7
6
  export * from './useHotelDetails/useHotelDetails.types';
@@ -110,8 +110,8 @@ export interface IUpdateAvailabilityAlertResponse {
110
110
  * @property hotelId - Unique identifier for the hotel.
111
111
  * @property hotelAddress - Address of the hotel.
112
112
  * @property hotelImage - Image URL of the hotel.
113
- * @property checkInDate - Check-in date (ISO string).
114
- * @property checkOutDate - Check-out date (ISO string).
113
+ * @property checkin - Check-in date (ISO string).
114
+ * @property checkout - Check-out date (ISO string).
115
115
  * @property hotelGroup - Group or brand of the hotel.
116
116
  * @property acknowledged - Whether the notification has been acknowledged.
117
117
  * @property hasSentMail - Whether a notification email has been sent.
@@ -124,8 +124,8 @@ export interface IAvailabilityAlertNotification {
124
124
  hotelId: string;
125
125
  hotelAddress: string;
126
126
  hotelImage: string;
127
- checkInDate: string;
128
- checkOutDate: string;
127
+ checkin: string;
128
+ checkout: string;
129
129
  hotelGroup: string;
130
130
  acknowledged: boolean;
131
131
  hasSentMail: boolean;
package/dist/main.js CHANGED
@@ -2,30 +2,28 @@ import { ESearchType as t } from "./services/hotel/HotelService.types.js";
2
2
  import { HotelResult as l } from "./components/HotelResult/HotelResult.js";
3
3
  import { HotelResults as a } from "./components/HotelResults/HotelResults.js";
4
4
  import { Legend as p } from "./components/Legend/Legend.js";
5
- import { useAvailabilityAlertNotifications as m } from "./hooks/useAvailabilityAlertNotifications/useAvailabilityAlertNotifications.js";
6
- import { useAvailabilityAlerts as u } from "./hooks/useAvailabilityAlerts/useAvailabilityAlerts.js";
7
- import { useHotelDetails as c } from "./hooks/useHotelDetails/useHotelDetails.js";
8
- import { useHotelSearch as n } from "./hooks/useHotelSearch/useHotelSearch.js";
9
- import { useHotelSort as A } from "./hooks/useHotelSort/useHotelSort.js";
10
- import { useLocationSearch as y } from "./hooks/useLocationSearch/useLocationSearch.js";
11
- import { EHotelSortOption as L, ESortingOrder as b } from "./enums/index.js";
12
- import { defaultLocationSortOrder as O, defaultSimilarityThreshold as T, duffelTestHotelLocation as g } from "./configs/defaults.js";
13
- import { EAvailabilityAlertStatus as D } from "./enums/EAvailabilityAlert.js";
5
+ import { useHotelSearch as s } from "./hooks/useHotelSearch/useHotelSearch.js";
6
+ import { useLocationSearch as u } from "./hooks/useLocationSearch/useLocationSearch.js";
7
+ import { useHotelDetails as d } from "./hooks/useHotelDetails/useHotelDetails.js";
8
+ import { useHotelSort as c } from "./hooks/useHotelSort/useHotelSort.js";
9
+ import { useAvailabilityAlerts as h } from "./hooks/useAvailabilityAlerts/useAvailabilityAlerts.js";
10
+ import { EHotelSortOption as A, ESortingOrder as E } from "./enums/index.js";
11
+ import { defaultLocationSortOrder as O, defaultSimilarityThreshold as T, duffelTestHotelLocation as b } from "./configs/defaults.js";
12
+ import { EAvailabilityAlertStatus as v } from "./enums/EAvailabilityAlert.js";
14
13
  export {
15
- D as EAvailabilityAlertStatus,
16
- L as EHotelSortOption,
14
+ v as EAvailabilityAlertStatus,
15
+ A as EHotelSortOption,
17
16
  t as ESearchType,
18
- b as ESortingOrder,
17
+ E as ESortingOrder,
19
18
  l as HotelResult,
20
19
  a as HotelResults,
21
20
  p as Legend,
22
21
  O as defaultLocationSortOrder,
23
22
  T as defaultSimilarityThreshold,
24
- g as duffelTestHotelLocation,
25
- m as useAvailabilityAlertNotifications,
26
- u as useAvailabilityAlerts,
27
- c as useHotelDetails,
28
- n as useHotelSearch,
29
- A as useHotelSort,
30
- y as useLocationSearch
23
+ b as duffelTestHotelLocation,
24
+ h as useAvailabilityAlerts,
25
+ d as useHotelDetails,
26
+ s as useHotelSearch,
27
+ c as useHotelSort,
28
+ u as useLocationSearch
31
29
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@odynn/awayz-hotels",
3
3
  "private": false,
4
- "version": "0.6.10",
4
+ "version": "0.6.11",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"