// Auto-generated by DjangoCFG - see CLAUDE.md
/**
 * Serializer for backup codes status.
 * 
 * Response model (includes read-only fields).
 */
export interface BackupCodesStatus {
  /** Number of unused backup codes */
  remaining_count: number;
  /** Total number of codes generated */
  total_generated: number;
  /** Warning if running low on codes */
  warning?: string | null;
}

/**
 * Serializer for regenerating backup codes.
 * 
 * Request model (no read-only fields).
 */
export interface BackupCodesRegenerateRequest {
  /** TOTP code for verification */
  code: string;
}

/**
 * Response serializer for backup codes regeneration.
 * 
 * Response model (includes read-only fields).
 */
export interface BackupCodesRegenerateResponse {
  /** List of new backup codes (save these!) */
  backup_codes: Array<string>;
  /** Warning about previous codes being invalidated */
  warning: string;
}

