import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
import { PatientUpdateWithoutConversationInputObjectSchema as PatientUpdateWithoutConversationInputObjectSchema } from './PatientUpdateWithoutConversationInput.schema';
import { PatientUncheckedUpdateWithoutConversationInputObjectSchema as PatientUncheckedUpdateWithoutConversationInputObjectSchema } from './PatientUncheckedUpdateWithoutConversationInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => PatientWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => PatientUpdateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutConversationInputObjectSchema)])
}).strict();
export const PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema: z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutConversationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateToOneWithWhereWithoutConversationInput>;
export const PatientUpdateToOneWithWhereWithoutConversationInputObjectZodSchema = makeSchema();
