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

/**
 * Serializer for regenerating backup codes.
 */
export const BackupCodesRegenerateRequestSchema = z.object({
  code: z.string().min(6).max(6),
})

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