/**
 * Generated by orval v8.23.0 🍺
 * Do not edit manually.
 * Api
 * API specification for Roleta UMR Equipamentos
 * OpenAPI spec version: 0.1.0
 */
export interface HealthStatus {
  status: string;
}

export type ParticipantInputCargo = typeof ParticipantInputCargo[keyof typeof ParticipantInputCargo];


export const ParticipantInputCargo = {
  Gerente_de_Manutenção: 'Gerente de Manutenção',
  Coordenador_de_Manutenção: 'Coordenador de Manutenção',
  Supervisor_de_Manutenção: 'Supervisor de Manutenção',
  Engenharia_de_Projetos: 'Engenharia de Projetos',
  Engenharia_de_Manutenção: 'Engenharia de Manutenção',
  Engenharia_Química: 'Engenharia Química',
  Mecânico: 'Mecânico',
  Comprador: 'Comprador',
  'PCM_–_Planejamento_e_Controle_da_Manutenção': 'PCM – Planejamento e Controle da Manutenção',
  Fornecedor: 'Fornecedor',
  Outros: 'Outros',
} as const;

export interface ParticipantInput {
  /** @minLength 1 */
  nome: string;
  /** @minLength 1 */
  empresa: string;
  cargo: ParticipantInputCargo;
  cidade?: string;
  estado?: string;
  telefone?: string;
  email?: string;
}

export interface DrawResult {
  /** Display name of the drawn prize */
  prize: string;
  /** Internal key of the drawn prize (used to load SVG popup) */
  prizeKey: string;
  /** ISO timestamp of the draw */
  timestamp: string;
}

export interface PrizeCounters {
  revestimento?: number;
  alinhamento?: number;
  convite_pista?: number;
  camarote_barretao?: number;
  treinamento_bombas?: number;
}

export interface PrizeEnabled {
  camarote_barretao?: boolean;
  treinamento_bombas?: boolean;
}

export interface AdminStatus {
  /** Current date (YYYY-MM-DD) */
  date: string;
  counters: PrizeCounters;
  enabled: PrizeEnabled;
}

export type TogglePrizeInputPrize = typeof TogglePrizeInputPrize[keyof typeof TogglePrizeInputPrize];


export const TogglePrizeInputPrize = {
  camarote_barretao: 'camarote_barretao',
  treinamento_bombas: 'treinamento_bombas',
} as const;

export interface TogglePrizeInput {
  prize: TogglePrizeInputPrize;
  enabled: boolean;
}

export interface ErrorResponse {
  error: string;
}

