import * as z from 'zod'; import type { Prisma } from '../../../generated/prisma'; import { PatientPreauthHistoryCreateWithoutPatientInputObjectSchema as PatientPreauthHistoryCreateWithoutPatientInputObjectSchema } from './PatientPreauthHistoryCreateWithoutPatientInput.schema'; import { PatientPreauthHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientPreauthHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientPreauthHistoryUncheckedCreateWithoutPatientInput.schema'; import { PatientPreauthHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientPreauthHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientPreauthHistoryCreateOrConnectWithoutPatientInput.schema'; import { PatientPreauthHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientPreauthHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientPreauthHistoryCreateManyPatientInputEnvelope.schema'; import { PatientPreauthHistoryWhereUniqueInputObjectSchema as PatientPreauthHistoryWhereUniqueInputObjectSchema } from './PatientPreauthHistoryWhereUniqueInput.schema' const makeSchema = () => z.object({ create: z.union([z.lazy(() => PatientPreauthHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientPreauthHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientPreauthHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientPreauthHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(), connectOrCreate: z.union([z.lazy(() => PatientPreauthHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientPreauthHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(), createMany: z.lazy(() => PatientPreauthHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(), connect: z.union([z.lazy(() => PatientPreauthHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientPreauthHistoryWhereUniqueInputObjectSchema).array()]).optional() }).strict(); export const PatientPreauthHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType = makeSchema() as unknown as z.ZodType; export const PatientPreauthHistoryUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();