import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderUpdateWithoutFilesInputObjectSchema as CloudFolderUpdateWithoutFilesInputObjectSchema } from './CloudFolderUpdateWithoutFilesInput.schema';
import { CloudFolderUncheckedUpdateWithoutFilesInputObjectSchema as CloudFolderUncheckedUpdateWithoutFilesInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutFilesInput.schema';
import { CloudFolderCreateWithoutFilesInputObjectSchema as CloudFolderCreateWithoutFilesInputObjectSchema } from './CloudFolderCreateWithoutFilesInput.schema';
import { CloudFolderUncheckedCreateWithoutFilesInputObjectSchema as CloudFolderUncheckedCreateWithoutFilesInputObjectSchema } from './CloudFolderUncheckedCreateWithoutFilesInput.schema';
import { CloudFolderWhereInputObjectSchema as CloudFolderWhereInputObjectSchema } from './CloudFolderWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => CloudFolderUpdateWithoutFilesInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutFilesInputObjectSchema)]),
  create: z.union([z.lazy(() => CloudFolderCreateWithoutFilesInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutFilesInputObjectSchema)]),
  where: z.lazy(() => CloudFolderWhereInputObjectSchema).optional()
}).strict();
export const CloudFolderUpsertWithoutFilesInputObjectSchema: z.ZodType<Prisma.CloudFolderUpsertWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpsertWithoutFilesInput>;
export const CloudFolderUpsertWithoutFilesInputObjectZodSchema = makeSchema();
