import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientConversationCreateWithoutUserInputObjectSchema as PatientConversationCreateWithoutUserInputObjectSchema } from './PatientConversationCreateWithoutUserInput.schema';
import { PatientConversationUncheckedCreateWithoutUserInputObjectSchema as PatientConversationUncheckedCreateWithoutUserInputObjectSchema } from './PatientConversationUncheckedCreateWithoutUserInput.schema';
import { PatientConversationCreateOrConnectWithoutUserInputObjectSchema as PatientConversationCreateOrConnectWithoutUserInputObjectSchema } from './PatientConversationCreateOrConnectWithoutUserInput.schema';
import { PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema as PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema';
import { PatientConversationCreateManyUserInputEnvelopeObjectSchema as PatientConversationCreateManyUserInputEnvelopeObjectSchema } from './PatientConversationCreateManyUserInputEnvelope.schema';
import { PatientConversationWhereUniqueInputObjectSchema as PatientConversationWhereUniqueInputObjectSchema } from './PatientConversationWhereUniqueInput.schema';
import { PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema as PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema';
import { PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema as PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema } from './PatientConversationUpdateManyWithWhereWithoutUserInput.schema';
import { PatientConversationScalarWhereInputObjectSchema as PatientConversationScalarWhereInputObjectSchema } from './PatientConversationScalarWhereInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => PatientConversationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
  upsert: z.union([z.lazy(() => PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => PatientConversationCreateManyUserInputEnvelopeObjectSchema).optional(),
  set: z.union([z.lazy(() => PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInputObjectSchema).array()]).optional(),
  disconnect: z.union([z.lazy(() => PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInputObjectSchema).array()]).optional(),
  delete: z.union([z.lazy(() => PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInputObjectSchema).array()]).optional(),
  connect: z.union([z.lazy(() => PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInputObjectSchema).array()]).optional(),
  update: z.union([z.lazy(() => PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
  updateMany: z.union([z.lazy(() => PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
  deleteMany: z.union([z.lazy(() => PatientConversationScalarWhereInputObjectSchema), z.lazy(() => PatientConversationScalarWhereInputObjectSchema).array()]).optional()
}).strict();
export const PatientConversationUpdateManyWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.PatientConversationUpdateManyWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientConversationUpdateManyWithoutUserNestedInput>;
export const PatientConversationUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
