import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
import { CloudFolderUpdateWithoutParentInputObjectSchema as CloudFolderUpdateWithoutParentInputObjectSchema } from './CloudFolderUpdateWithoutParentInput.schema';
import { CloudFolderUncheckedUpdateWithoutParentInputObjectSchema as CloudFolderUncheckedUpdateWithoutParentInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutParentInput.schema';
import { CloudFolderCreateWithoutParentInputObjectSchema as CloudFolderCreateWithoutParentInputObjectSchema } from './CloudFolderCreateWithoutParentInput.schema';
import { CloudFolderUncheckedCreateWithoutParentInputObjectSchema as CloudFolderUncheckedCreateWithoutParentInputObjectSchema } from './CloudFolderUncheckedCreateWithoutParentInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema),
  update: z.union([z.lazy(() => CloudFolderUpdateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutParentInputObjectSchema)]),
  create: z.union([z.lazy(() => CloudFolderCreateWithoutParentInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutParentInputObjectSchema)])
}).strict();
export const CloudFolderUpsertWithWhereUniqueWithoutParentInputObjectSchema: z.ZodType<Prisma.CloudFolderUpsertWithWhereUniqueWithoutParentInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpsertWithWhereUniqueWithoutParentInput>;
export const CloudFolderUpsertWithWhereUniqueWithoutParentInputObjectZodSchema = makeSchema();
