import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema'; import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema'; import { PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema'; import { PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema as PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput.schema'; import { PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientServiceHistoryCreateManyPatientInputEnvelope.schema'; import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema'; import { PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput.schema'; import { PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput.schema'; import { PatientServiceHistoryScalarWhereInputObjectSchema as PatientServiceHistoryScalarWhereInputObjectSchema } from './PatientServiceHistoryScalarWhereInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(), connectOrCreate: z.union([z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(), upsert: z.union([z.lazy(() => PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(), createMany: z.lazy(() => PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(), set: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(), disconnect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(), delete: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(), connect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(), update: z.union([z.lazy(() => PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(), updateMany: z.union([z.lazy(() => PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(), deleteMany: z.union([z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema).array()]).optional() }).strict(); export const PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();