import { RoomPackageCodeEnum } from "../selectRate/roomFilter"
import { Child } from "../selectRate/selectRate"

import { Packages } from "@/types/requests/packages"

interface Room {
  adults: number
  roomTypeCode: string
  rateCode: string
  children?: Child[]
  packages?: RoomPackageCodeEnum[]
}
export interface BookingData {
  hotel: string
  fromDate: string
  toDate: string
  rooms: Room[]
}

type Price = {
  price: number
  currency: string
}

export type RoomsData = {
  roomType: string
  localPrice: Price
  euroPrice: Price
  adults: number
  children?: Child[]
  cancellationText: string
  packages: Packages | null
}
