feat(SW-176): add schemas
This commit is contained in:
@@ -6,6 +6,17 @@ export const getHotelInputSchema = z.object({
|
||||
.optional(),
|
||||
})
|
||||
|
||||
export const getAvailabilityInputSchema = z.object({
|
||||
cityId: z.string(),
|
||||
roomStayStartDate: z.string(),
|
||||
roomStayEndDate: z.string(),
|
||||
adults: z.number(),
|
||||
children: z.number().optional(),
|
||||
promotionCode: z.string().optional(),
|
||||
reservationProfileType: z.string().optional(),
|
||||
attachedProfileId: z.string().optional(),
|
||||
})
|
||||
|
||||
export const getRatesInputSchema = z.object({
|
||||
hotelId: z.string(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user