import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutUserInputObjectSchema as CloudFolderCreateWithoutUserInputObjectSchema } from './CloudFolderCreateWithoutUserInput.schema';
import { CloudFolderUncheckedCreateWithoutUserInputObjectSchema as CloudFolderUncheckedCreateWithoutUserInputObjectSchema } from './CloudFolderUncheckedCreateWithoutUserInput.schema';
import { CloudFolderCreateOrConnectWithoutUserInputObjectSchema as CloudFolderCreateOrConnectWithoutUserInputObjectSchema } from './CloudFolderCreateOrConnectWithoutUserInput.schema';
import { CloudFolderCreateManyUserInputEnvelopeObjectSchema as CloudFolderCreateManyUserInputEnvelopeObjectSchema } from './CloudFolderCreateManyUserInputEnvelope.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutUserInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutUserInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CloudFolderCreateManyUserInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutUserInput>;
export const CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
