import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientCreateWithoutConversationInputObjectSchema as PatientCreateWithoutConversationInputObjectSchema } from './PatientCreateWithoutConversationInput.schema';
import { PatientUncheckedCreateWithoutConversationInputObjectSchema as PatientUncheckedCreateWithoutConversationInputObjectSchema } from './PatientUncheckedCreateWithoutConversationInput.schema';
import { PatientCreateOrConnectWithoutConversationInputObjectSchema as PatientCreateOrConnectWithoutConversationInputObjectSchema } from './PatientCreateOrConnectWithoutConversationInput.schema';
import { PatientUpsertWithoutConversationInputObjectSchema as PatientUpsertWithoutConversationInputObjectSchema } from './PatientUpsertWithoutConversationInput.schema';
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
import { PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema as PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema } from './PatientUpdateToOneWithWhereWithoutConversationInput.schema';
import { PatientUpdateWithoutConversationInputObjectSchema as PatientUpdateWithoutConversationInputObjectSchema } from './PatientUpdateWithoutConversationInput.schema';
import { PatientUncheckedUpdateWithoutConversationInputObjectSchema as PatientUncheckedUpdateWithoutConversationInputObjectSchema } from './PatientUncheckedUpdateWithoutConversationInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PatientCreateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutConversationInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutConversationInputObjectSchema).optional(),
  upsert: z.lazy(() => PatientUpsertWithoutConversationInputObjectSchema).optional(),
  connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema), z.lazy(() => PatientUpdateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutConversationInputObjectSchema)]).optional()
}).strict();
export const PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema: z.ZodType<Prisma.PatientUpdateOneRequiredWithoutConversationNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateOneRequiredWithoutConversationNestedInput>;
export const PatientUpdateOneRequiredWithoutConversationNestedInputObjectZodSchema = makeSchema();
