import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutParentInputObjectSchema as CloudFolderCreateWithoutParentInputObjectSchema } from './CloudFolderCreateWithoutParentInput.schema';
import { CloudFolderUncheckedCreateWithoutParentInputObjectSchema as CloudFolderUncheckedCreateWithoutParentInputObjectSchema } from './CloudFolderUncheckedCreateWithoutParentInput.schema';
import { CloudFolderCreateOrConnectWithoutParentInputObjectSchema as CloudFolderCreateOrConnectWithoutParentInputObjectSchema } from './CloudFolderCreateOrConnectWithoutParentInput.schema';
import { CloudFolderCreateManyParentInputEnvelopeObjectSchema as CloudFolderCreateManyParentInputEnvelopeObjectSchema } from './CloudFolderCreateManyParentInputEnvelope.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutParentInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutParentInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CloudFolderCreateManyParentInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutParentInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutParentInput>;
export const CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectZodSchema = makeSchema();
