import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
import { PatientUpdateWithoutCommunicationsInputObjectSchema as PatientUpdateWithoutCommunicationsInputObjectSchema } from './PatientUpdateWithoutCommunicationsInput.schema';
import { PatientUncheckedUpdateWithoutCommunicationsInputObjectSchema as PatientUncheckedUpdateWithoutCommunicationsInputObjectSchema } from './PatientUncheckedUpdateWithoutCommunicationsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => PatientWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => PatientUpdateWithoutCommunicationsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutCommunicationsInputObjectSchema)])
}).strict();
export const PatientUpdateToOneWithWhereWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutCommunicationsInput>;
export const PatientUpdateToOneWithWhereWithoutCommunicationsInputObjectZodSchema = makeSchema();
