import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientUpdateWithoutPreauthHistoryInputObjectSchema as PatientUpdateWithoutPreauthHistoryInputObjectSchema } from './PatientUpdateWithoutPreauthHistoryInput.schema'; import { PatientUncheckedUpdateWithoutPreauthHistoryInputObjectSchema as PatientUncheckedUpdateWithoutPreauthHistoryInputObjectSchema } from './PatientUncheckedUpdateWithoutPreauthHistoryInput.schema'; import { PatientCreateWithoutPreauthHistoryInputObjectSchema as PatientCreateWithoutPreauthHistoryInputObjectSchema } from './PatientCreateWithoutPreauthHistoryInput.schema'; import { PatientUncheckedCreateWithoutPreauthHistoryInputObjectSchema as PatientUncheckedCreateWithoutPreauthHistoryInputObjectSchema } from './PatientUncheckedCreateWithoutPreauthHistoryInput.schema'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => PatientUpdateWithoutPreauthHistoryInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutPreauthHistoryInputObjectSchema)]), create: z.union([z.lazy(() => PatientCreateWithoutPreauthHistoryInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPreauthHistoryInputObjectSchema)]), where: z.lazy(() => PatientWhereInputObjectSchema).optional() }).strict(); export const PatientUpsertWithoutPreauthHistoryInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpsertWithoutPreauthHistoryInputObjectZodSchema = makeSchema();