import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'; import { PatientUpdateWithoutDocumentsInputObjectSchema as PatientUpdateWithoutDocumentsInputObjectSchema } from './PatientUpdateWithoutDocumentsInput.schema'; import { PatientUncheckedUpdateWithoutDocumentsInputObjectSchema as PatientUncheckedUpdateWithoutDocumentsInputObjectSchema } from './PatientUncheckedUpdateWithoutDocumentsInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => PatientWhereInputObjectSchema).optional(), data: z.union([z.lazy(() => PatientUpdateWithoutDocumentsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutDocumentsInputObjectSchema)]) }).strict(); export const PatientUpdateToOneWithWhereWithoutDocumentsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpdateToOneWithWhereWithoutDocumentsInputObjectZodSchema = makeSchema();