import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderCreateWithoutFilesInputObjectSchema as CloudFolderCreateWithoutFilesInputObjectSchema } from './CloudFolderCreateWithoutFilesInput.schema';
import { CloudFolderUncheckedCreateWithoutFilesInputObjectSchema as CloudFolderUncheckedCreateWithoutFilesInputObjectSchema } from './CloudFolderUncheckedCreateWithoutFilesInput.schema';
import { CloudFolderCreateOrConnectWithoutFilesInputObjectSchema as CloudFolderCreateOrConnectWithoutFilesInputObjectSchema } from './CloudFolderCreateOrConnectWithoutFilesInput.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutFilesInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutFilesInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => CloudFolderCreateOrConnectWithoutFilesInputObjectSchema).optional(),
  connect: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).optional()
}).strict();
export const CloudFolderCreateNestedOneWithoutFilesInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateNestedOneWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateNestedOneWithoutFilesInput>;
export const CloudFolderCreateNestedOneWithoutFilesInputObjectZodSchema = makeSchema();
