export type TicketStatus = "open" | "in_progress" | "resolved" | "closed";
export type TicketType = "bug" | "feature" | "help" | "feedback";
export type TicketSource = "platform" | "webpage" | "email";

export interface Ticket {
  id: number;
  type: TicketType;
  subject: string;
  description: string;
  status: TicketStatus;
  source: TicketSource;
  reporter_id: number;
  reporter_name: string;
  assignee_id?: number;
  assignee_name?: string;
  entity_name?: string;
  created_at: string;
  updated_at: string;
}

export interface TicketCreateRequest {
  type: TicketType;
  subject: string;
  description: string;
  source?: TicketSource;
  page_context?: string;
}
