export type BiometricModality = 'FINGERPRINT' | 'FACE';
export type BiometricEnrollmentStatus = 'ACTIVE' | 'REVOKED';

export interface BiometricEnrollment {
  id: string;
  profileId: string;
  modality: BiometricModality;
  templateFormat: string;
  qualityScore: number | null;
  deviceId: string | null;
  status: BiometricEnrollmentStatus;
  enrolledById: string;
  enrolledAt: string;
  consentAt: string;
  revokedReason: string | null;
  revokedById: string | null;
  revokedAt: string | null;
  createdAt: string;
  updatedAt: string;
}

export interface EnrollBiometric {
  profileId: string;
  modality: BiometricModality;
  /** Vendor SDK template, base64. Never the raw scan image. */
  template: string;
  templateFormat: string;
  qualityScore?: number;
  deviceId?: string;
  /** ISO 8601 — when the subject consented to capture. */
  consentAt: string;
}
