import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientUpdateWithoutGroupsInputObjectSchema as PatientUpdateWithoutGroupsInputObjectSchema } from './PatientUpdateWithoutGroupsInput.schema'; import { PatientUncheckedUpdateWithoutGroupsInputObjectSchema as PatientUncheckedUpdateWithoutGroupsInputObjectSchema } from './PatientUncheckedUpdateWithoutGroupsInput.schema'; import { PatientCreateWithoutGroupsInputObjectSchema as PatientCreateWithoutGroupsInputObjectSchema } from './PatientCreateWithoutGroupsInput.schema'; import { PatientUncheckedCreateWithoutGroupsInputObjectSchema as PatientUncheckedCreateWithoutGroupsInputObjectSchema } from './PatientUncheckedCreateWithoutGroupsInput.schema'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => PatientUpdateWithoutGroupsInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutGroupsInputObjectSchema)]), create: z.union([z.lazy(() => PatientCreateWithoutGroupsInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutGroupsInputObjectSchema)]), where: z.lazy(() => PatientWhereInputObjectSchema).optional() }).strict(); export const PatientUpsertWithoutGroupsInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpsertWithoutGroupsInputObjectZodSchema = makeSchema();