import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
import { CloudFolderUpdateWithoutUserInputObjectSchema as CloudFolderUpdateWithoutUserInputObjectSchema } from './CloudFolderUpdateWithoutUserInput.schema';
import { CloudFolderUncheckedUpdateWithoutUserInputObjectSchema as CloudFolderUncheckedUpdateWithoutUserInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutUserInput.schema';
import { CloudFolderCreateWithoutUserInputObjectSchema as CloudFolderCreateWithoutUserInputObjectSchema } from './CloudFolderCreateWithoutUserInput.schema';
import { CloudFolderUncheckedCreateWithoutUserInputObjectSchema as CloudFolderUncheckedCreateWithoutUserInputObjectSchema } from './CloudFolderUncheckedCreateWithoutUserInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema),
  update: z.union([z.lazy(() => CloudFolderUpdateWithoutUserInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutUserInputObjectSchema)]),
  create: z.union([z.lazy(() => CloudFolderCreateWithoutUserInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutUserInputObjectSchema)])
}).strict();
export const CloudFolderUpsertWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.CloudFolderUpsertWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpsertWithWhereUniqueWithoutUserInput>;
export const CloudFolderUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
