import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutPatientConversationsInputObjectSchema as UserUpdateWithoutPatientConversationsInputObjectSchema } from './UserUpdateWithoutPatientConversationsInput.schema';
import { UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema as UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema } from './UserUncheckedUpdateWithoutPatientConversationsInput.schema';
import { UserCreateWithoutPatientConversationsInputObjectSchema as UserCreateWithoutPatientConversationsInputObjectSchema } from './UserCreateWithoutPatientConversationsInput.schema';
import { UserUncheckedCreateWithoutPatientConversationsInputObjectSchema as UserUncheckedCreateWithoutPatientConversationsInputObjectSchema } from './UserUncheckedCreateWithoutPatientConversationsInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => UserUpdateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema)]),
  create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]),
  where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutPatientConversationsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutPatientConversationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutPatientConversationsInput>;
export const UserUpsertWithoutPatientConversationsInputObjectZodSchema = makeSchema();
