/**
 * Zod schema for BackupCodesStatus
 *
 * This schema provides runtime validation and type inference.
 *  * Serializer for backup codes status.
 *  */
import { z } from 'zod'

/**
 * Serializer for backup codes status.
 */
export const BackupCodesStatusSchema = z.object({
  remaining_count: z.int(),
  total_generated: z.int(),
  warning: z.string().nullable().optional(),
})

/**
 * Infer TypeScript type from Zod schema
 */
export type BackupCodesStatus = z.infer<typeof BackupCodesStatusSchema>