// AUTO-GENERATED by cmdop_server / devtools.generator.ts_extras
// Source: OpenAPI 3.1 components.schemas
// DO NOT EDIT — re-run `make gen-clients`.

import { z } from "zod";
import { TotpVerifyUserSchema } from "./TotpVerifyUser";

export const VerifyResponseSchema = z.object({
  message: z.string(),
  access_token: z.string(),
  refresh_token: z.string(),
  user: TotpVerifyUserSchema,
  remaining_backup_codes: z.number().int().optional(),
  warning: z.string().optional(),
});

export type VerifyResponse = z.infer<typeof VerifyResponseSchema>;
