import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema'; import { PatientServiceHistoryUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithoutPatientInput.schema'; import { PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateWithoutPatientInput.schema'; import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema'; import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema' const makeSchema = () => z.object({ where: z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), update: z.union([z.lazy(() => PatientServiceHistoryUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema)]), create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema)]) }).strict(); export const PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();