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 { CloudFolderUpsertWithoutFilesInputObjectSchema as CloudFolderUpsertWithoutFilesInputObjectSchema } from './CloudFolderUpsertWithoutFilesInput.schema';
import { CloudFolderWhereInputObjectSchema as CloudFolderWhereInputObjectSchema } from './CloudFolderWhereInput.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
import { CloudFolderUpdateToOneWithWhereWithoutFilesInputObjectSchema as CloudFolderUpdateToOneWithWhereWithoutFilesInputObjectSchema } from './CloudFolderUpdateToOneWithWhereWithoutFilesInput.schema';
import { CloudFolderUpdateWithoutFilesInputObjectSchema as CloudFolderUpdateWithoutFilesInputObjectSchema } from './CloudFolderUpdateWithoutFilesInput.schema';
import { CloudFolderUncheckedUpdateWithoutFilesInputObjectSchema as CloudFolderUncheckedUpdateWithoutFilesInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutFilesInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CloudFolderCreateWithoutFilesInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutFilesInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => CloudFolderCreateOrConnectWithoutFilesInputObjectSchema).optional(),
  upsert: z.lazy(() => CloudFolderUpsertWithoutFilesInputObjectSchema).optional(),
  disconnect: z.union([z.boolean(), z.lazy(() => CloudFolderWhereInputObjectSchema)]).optional(),
  delete: z.union([z.boolean(), z.lazy(() => CloudFolderWhereInputObjectSchema)]).optional(),
  connect: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => CloudFolderUpdateToOneWithWhereWithoutFilesInputObjectSchema), z.lazy(() => CloudFolderUpdateWithoutFilesInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutFilesInputObjectSchema)]).optional()
}).strict();
export const CloudFolderUpdateOneWithoutFilesNestedInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateOneWithoutFilesNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateOneWithoutFilesNestedInput>;
export const CloudFolderUpdateOneWithoutFilesNestedInputObjectZodSchema = makeSchema();
