import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutPatientConversationsInputObjectSchema as UserCreateWithoutPatientConversationsInputObjectSchema } from './UserCreateWithoutPatientConversationsInput.schema';
import { UserUncheckedCreateWithoutPatientConversationsInputObjectSchema as UserUncheckedCreateWithoutPatientConversationsInputObjectSchema } from './UserUncheckedCreateWithoutPatientConversationsInput.schema';
import { UserCreateOrConnectWithoutPatientConversationsInputObjectSchema as UserCreateOrConnectWithoutPatientConversationsInputObjectSchema } from './UserCreateOrConnectWithoutPatientConversationsInput.schema';
import { UserUpsertWithoutPatientConversationsInputObjectSchema as UserUpsertWithoutPatientConversationsInputObjectSchema } from './UserUpsertWithoutPatientConversationsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectSchema as UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectSchema } from './UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema';
import { UserUpdateWithoutPatientConversationsInputObjectSchema as UserUpdateWithoutPatientConversationsInputObjectSchema } from './UserUpdateWithoutPatientConversationsInput.schema';
import { UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema as UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema } from './UserUncheckedUpdateWithoutPatientConversationsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutPatientConversationsInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutPatientConversationsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUpdateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutPatientConversationsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutPatientConversationsNestedInput>;
export const UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectZodSchema = makeSchema();
