import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientUpdateWithoutServiceHistoryInputObjectSchema as PatientUpdateWithoutServiceHistoryInputObjectSchema } from './PatientUpdateWithoutServiceHistoryInput.schema'; import { PatientUncheckedUpdateWithoutServiceHistoryInputObjectSchema as PatientUncheckedUpdateWithoutServiceHistoryInputObjectSchema } from './PatientUncheckedUpdateWithoutServiceHistoryInput.schema'; import { PatientCreateWithoutServiceHistoryInputObjectSchema as PatientCreateWithoutServiceHistoryInputObjectSchema } from './PatientCreateWithoutServiceHistoryInput.schema'; import { PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema as PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema } from './PatientUncheckedCreateWithoutServiceHistoryInput.schema'; import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema' const makeSchema = () => z.object({ update: z.union([z.lazy(() => PatientUpdateWithoutServiceHistoryInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutServiceHistoryInputObjectSchema)]), create: z.union([z.lazy(() => PatientCreateWithoutServiceHistoryInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema)]), where: z.lazy(() => PatientWhereInputObjectSchema).optional() }).strict(); export const PatientUpsertWithoutServiceHistoryInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientUpsertWithoutServiceHistoryInputObjectZodSchema = makeSchema();