/**
 * Tipos de compatibilidade para migração gradual dos serviços antigos
 */

import type { Doctor, Patient, Report } from "../services";

// Aliases para nomes antigos em português
export type Medico = Doctor;
export type MedicoCreate = Omit<Doctor, "id" | "created_at" | "updated_at">;
export type MedicoUpdate = Partial<MedicoCreate>;

export type PacienteServiceModel = Patient;
export type Relatorio = Report;

export interface EnderecoPaciente {
  street?: string | null;
  number?: string | null;
  complement?: string | null;
  neighborhood?: string | null;
  city?: string | null;
  state?: string | null;
  cep?: string | null;
}

export interface ConsultaUI {
  id: string;
  pacienteId: string;
  medicoId: string;
  pacienteNome: string;
  medicoNome: string;
  dataHora: string;
  status: string;
  tipo: string;
  observacoes?: string;
}
