/**
 * Zod schema for DisableRequest
 *
 * This schema provides runtime validation and type inference.
 *  * Serializer for completely disabling 2FA.
 *  */
import { z } from 'zod'

/**
 * Serializer for completely disabling 2FA.
 */
export const DisableRequestSchema = z.object({
  code: z.string().min(6).max(6),
})

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