import type { DbApiOptions } from '@/db/api/types';

export interface SessionOptions extends DbApiOptions {
  familyId?: string;
  previousTokenId?: string | null;
}

/** Shapes of the `GET /me` profile response, built by the auth service mappers. */
export interface RoleDto {
  id: string | null;
  name: string | null;
  scope: string | null;
  globalAccess: boolean;
}

export interface OrganizationDto {
  id: string;
  name: string | null;
}

export interface CampusDto {
  id: string;
  name: string | null;
  code: string | null;
}

export interface StaffProfileDto {
  id: string;
  employee_number: string | null;
  job_title: string | null;
  staff_type: string | null;
  status: string | null;
  organizationId: string | null;
  campusId: string | null;
  userId: string | null;
}
