import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { PatientDocumentCreateWithoutPatientInputObjectSchema as PatientDocumentCreateWithoutPatientInputObjectSchema } from './PatientDocumentCreateWithoutPatientInput.schema';
import { PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateWithoutPatientInput.schema';
import { PatientDocumentCreateOrConnectWithoutPatientInputObjectSchema as PatientDocumentCreateOrConnectWithoutPatientInputObjectSchema } from './PatientDocumentCreateOrConnectWithoutPatientInput.schema';
import { PatientDocumentCreateManyPatientInputEnvelopeObjectSchema as PatientDocumentCreateManyPatientInputEnvelopeObjectSchema } from './PatientDocumentCreateManyPatientInputEnvelope.schema';
import { PatientDocumentWhereUniqueInputObjectSchema as PatientDocumentWhereUniqueInputObjectSchema } from './PatientDocumentWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => PatientDocumentCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientDocumentCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientDocumentUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => PatientDocumentCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientDocumentCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => PatientDocumentCreateManyPatientInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => PatientDocumentWhereUniqueInputObjectSchema), z.lazy(() => PatientDocumentWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientDocumentUncheckedCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientDocumentUncheckedCreateNestedManyWithoutPatientInput>;
export const PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
