import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema';
import { CloudFolderCreateOrConnectWithoutPatientInputObjectSchema as CloudFolderCreateOrConnectWithoutPatientInputObjectSchema } from './CloudFolderCreateOrConnectWithoutPatientInput.schema';
import { CloudFolderCreateManyPatientInputEnvelopeObjectSchema as CloudFolderCreateManyPatientInputEnvelopeObjectSchema } from './CloudFolderCreateManyPatientInputEnvelope.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutPatientInput>;
export const CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
