import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'; import { PatientUpdateWithoutPreauthHistoryInputObjectSchema as PatientUpdateWithoutPreauthHistoryInputObjectSchema } from './PatientUpdateWithoutPreauthHistoryInput.schema'; import { PatientUncheckedUpdateWithoutPreauthHistoryInputObjectSchema as PatientUncheckedUpdateWithoutPreauthHistoryInputObjectSchema } from './PatientUncheckedUpdateWithoutPreauthHistoryInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => PatientWhereInputObjectSchema).optional(), data: z.union([z.lazy(() => PatientUpdateWithoutPreauthHistoryInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutPreauthHistoryInputObjectSchema)]) }).strict(); export const PatientUpdateToOneWithWhereWithoutPreauthHistoryInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpdateToOneWithWhereWithoutPreauthHistoryInputObjectZodSchema = makeSchema();