/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: ef3731a522b1 */ import * as z from "zod"; import { PersonStatus, PersonStatus$zodSchema } from "./personstatus.js"; import { Thumbnail, Thumbnail$zodSchema } from "./thumbnail.js"; /** * Detailed information about a recognized person. */ export type PersonDetails = { id?: string | undefined; name?: string | undefined; status?: PersonStatus | undefined; thumbnail?: Thumbnail | undefined; created_at?: string | undefined; updated_at?: string | undefined; }; export const PersonDetails$zodSchema: z.ZodType = z.object({ created_at: z.iso.datetime({ offset: true }).optional().describe( "The date and time when the person was first detected.", ), id: z.string().optional().describe("The unique identifier of the person."), name: z.string().optional().describe( "The display name of the person, or null if not named.", ), status: PersonStatus$zodSchema.optional().describe("The status of a person."), thumbnail: Thumbnail$zodSchema.optional().describe( "The thumbnail image for a person.", ), updated_at: z.iso.datetime({ offset: true }).optional().describe( "The date and time when the person was last updated.", ), }).describe("Detailed information about a recognized person.");