export interface Event {
  id: string
  wallet: string
  name: string
  info: string
  closing_date: string
  event_start_date: string
  event_end_date: string
  currency: string
  amount_tickets: number
  price_per_ticket: number
  time: string
  sold: number
  banner: string | null
}

export interface Ticket {
  id: string
  wallet: string
  event: string
  name: string | null
  email: string | null
  user_id: string | null
  registered: boolean
  paid: boolean
  time: string
  reg_timestamp: string
}

export interface CreateEventRequest {
  wallet: string
  name: string
  info: string
  closing_date: string
  event_start_date: string
  event_end_date: string
  currency: string
  amount_tickets: number
  price_per_ticket: number
  banner?: string | null
}

export interface EventsApiError {
  detail: Array<{
    loc: [string, number]
    msg: string
    type: string
  }>
} 