import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientUpdateWithoutConversationInputObjectSchema as PatientUpdateWithoutConversationInputObjectSchema } from './PatientUpdateWithoutConversationInput.schema'; import { PatientUncheckedUpdateWithoutConversationInputObjectSchema as PatientUncheckedUpdateWithoutConversationInputObjectSchema } from './PatientUncheckedUpdateWithoutConversationInput.schema'; import { PatientCreateWithoutConversationInputObjectSchema as PatientCreateWithoutConversationInputObjectSchema } from './PatientCreateWithoutConversationInput.schema'; import { PatientUncheckedCreateWithoutConversationInputObjectSchema as PatientUncheckedCreateWithoutConversationInputObjectSchema } from './PatientUncheckedCreateWithoutConversationInput.schema'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => PatientUpdateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutConversationInputObjectSchema)]), create: z.union([z.lazy(() => PatientCreateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutConversationInputObjectSchema)]), where: z.lazy(() => PatientWhereInputObjectSchema).optional() }).strict(); export const PatientUpsertWithoutConversationInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpsertWithoutConversationInputObjectZodSchema = makeSchema();