import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientConversationCreateWithoutPatientInputObjectSchema as PatientConversationCreateWithoutPatientInputObjectSchema } from './PatientConversationCreateWithoutPatientInput.schema';
import { PatientConversationUncheckedCreateWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateWithoutPatientInput.schema';
import { PatientConversationCreateOrConnectWithoutPatientInputObjectSchema as PatientConversationCreateOrConnectWithoutPatientInputObjectSchema } from './PatientConversationCreateOrConnectWithoutPatientInput.schema';
import { PatientConversationUpsertWithoutPatientInputObjectSchema as PatientConversationUpsertWithoutPatientInputObjectSchema } from './PatientConversationUpsertWithoutPatientInput.schema';
import { PatientConversationWhereInputObjectSchema as PatientConversationWhereInputObjectSchema } from './PatientConversationWhereInput.schema';
import { PatientConversationWhereUniqueInputObjectSchema as PatientConversationWhereUniqueInputObjectSchema } from './PatientConversationWhereUniqueInput.schema';
import { PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema as PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema } from './PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema';
import { PatientConversationUpdateWithoutPatientInputObjectSchema as PatientConversationUpdateWithoutPatientInputObjectSchema } from './PatientConversationUpdateWithoutPatientInput.schema';
import { PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema as PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema } from './PatientConversationUncheckedUpdateWithoutPatientInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => PatientConversationCreateOrConnectWithoutPatientInputObjectSchema).optional(),
  upsert: z.lazy(() => PatientConversationUpsertWithoutPatientInputObjectSchema).optional(),
  disconnect: z.union([z.boolean(), z.lazy(() => PatientConversationWhereInputObjectSchema)]).optional(),
  delete: z.union([z.boolean(), z.lazy(() => PatientConversationWhereInputObjectSchema)]).optional(),
  connect: z.lazy(() => PatientConversationWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema)]).optional()
}).strict();
export const PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.PatientConversationUncheckedUpdateOneWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientConversationUncheckedUpdateOneWithoutPatientNestedInput>;
export const PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectZodSchema = makeSchema();
