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 { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutPatientConversationsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
}).strict();
export const UserCreateNestedOneWithoutPatientConversationsInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutPatientConversationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutPatientConversationsInput>;
export const UserCreateNestedOneWithoutPatientConversationsInputObjectZodSchema = makeSchema();
