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

export interface ResetPasswordPayload {
  email: string;
  token: string;
  password: string;
  password_confirmation: string;
}

export interface LoginResponse {
  status: boolean;
  message: string;
  data: {
    token: string;
  };
}

export interface AdminProfile {
  id: number;
  name: string;
  first_name: string;
  last_name: string;
  email: string;
  profile_picture: string | null;
  /** Role code: super_admin | admin | support | commercial | read_only. */
  role: string;
  /** Effective permission codes (super admins get all; includes per-user overrides). */
  permissions: string[];
}
