import { ICategory, IMessage, ITicket } from "@/lib/interfaces/ticket/ticket.interface"

export type CreateTicketRequestDto = {
  title: string
  message: string
  category_id: string
  attachment?: File | null
}

export interface ITicketApiResponseDto {
  ok: boolean
  tickets: ITicket[]
  categories: ICategory[]
}

export interface ITicketDetailApiResponseDto {
  ok: boolean;
  ticket: ITicket;
  messages: IMessage[];
}
