feat(SW-251): use availability to get hotel

This commit is contained in:
Fredrik Thorsson
2024-09-09 10:02:35 +02:00
parent 024a095dc6
commit 8c530658c5
7 changed files with 64 additions and 120 deletions

View File

@@ -21,8 +21,10 @@ export const getRatesInputSchema = z.object({
hotelId: z.string(),
})
export const getFiltersInputSchema = z.object({
export const getPlaceholderInputSchema = z.object({
hotelId: z.string(),
language: z.string(),
country: z.string(),
city: z.string(),
include: z
.array(z.enum(["RoomCategories", "NearbyHotels", "Restaurants", "City"]))
.optional(),
})