// 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";

export const SetupResponseSchema = z.object({
  device_id: z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),
  secret: z.string(),
  provisioning_uri: z.string(),
  qr_code_base64: z.string(),
  expires_in: z.number().int(),
});

export type SetupResponse = z.infer<typeof SetupResponseSchema>;
