import type { z } from "zod"

import type { packageSchema } from "@/server/routers/hotels/schemas/packages"

export enum RoomPackageCodeEnum {
  PET_ROOM = "PETR",
  ALLERGY_ROOM = "ALLG",
  ACCESSIBILITY_ROOM = "ACCE",
}

export interface DefaultFilterOptions {
  code: RoomPackageCodeEnum
  description: string
}

export type FilterValues = {
  [K in RoomPackageCodeEnum]?: boolean
}

export type RoomPackage = z.output<typeof packageSchema>
export type RoomPackageCodes = RoomPackage["code"]
export type RoomPackages = RoomPackage[]
