export interface AuthUser {
  id: number;
  nombre_apellido: string;
  email: string;
  dni?: string;
  telefono?: string;
}

export interface LoginPayload {
  email: string;
  password: string;
}

export interface RegisterPayload {
  nombre_apellido: string;
  email: string;
  password: string;
  password_confirmation: string;
}

export interface UpdateProfilePayload {
  nombre_apellido: string;
  email: string;
  dni?: string;
  telefono?: string;
  password?: string;
}

export interface LoginResponse {
  message: string;
  token: string;
  token_type: 'Bearer';
  user: AuthUser;
}

export interface RegisterResponse {
  message: string;
  data: AuthUser;
}
