import type { TicketStatus } from "@/lib/schemas/ticket"

export type TicketFiltersState = {
  search: string
  status: TicketStatus | null
  priority: string | null
  queue: string | null
  channel: string | null
  company: string | null
  assigneeId: string | null
  categoryId: string | null
  view: "active" | "completed"
  focusVisits: boolean
  dateFrom: string | null
  dateTo: string | null
  sort: "recent" | "oldest"
}

export const defaultTicketFilters: TicketFiltersState = {
  search: "",
  status: null,
  priority: null,
  queue: null,
  channel: null,
  company: null,
  assigneeId: null,
  categoryId: null,
  view: "active",
  focusVisits: false,
  dateFrom: null,
  dateTo: null,
  sort: "recent",
}
