import client from './client' export interface EventItem { id: string title: string level: 'A' | 'B' | 'C' domain: string status: 'active' | 'fading' | 'dissipating' | 'closed' occurred_date: string last_reviewed: string | null no_new_info_count: number next_review: string | null overdue_days: number created_at: string | null updated_at: string | null } export interface EventsResponse { events: EventItem[] } export const getEvents = (params?: { status?: string domain?: string search?: string }) => client.get('/events', { params })