import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFolderUpdateWithoutChildrenInputObjectSchema as CloudFolderUpdateWithoutChildrenInputObjectSchema } from './CloudFolderUpdateWithoutChildrenInput.schema';
import { CloudFolderUncheckedUpdateWithoutChildrenInputObjectSchema as CloudFolderUncheckedUpdateWithoutChildrenInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutChildrenInput.schema';
import { CloudFolderCreateWithoutChildrenInputObjectSchema as CloudFolderCreateWithoutChildrenInputObjectSchema } from './CloudFolderCreateWithoutChildrenInput.schema';
import { CloudFolderUncheckedCreateWithoutChildrenInputObjectSchema as CloudFolderUncheckedCreateWithoutChildrenInputObjectSchema } from './CloudFolderUncheckedCreateWithoutChildrenInput.schema';
import { CloudFolderWhereInputObjectSchema as CloudFolderWhereInputObjectSchema } from './CloudFolderWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => CloudFolderUpdateWithoutChildrenInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutChildrenInputObjectSchema)]),
  create: z.union([z.lazy(() => CloudFolderCreateWithoutChildrenInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutChildrenInputObjectSchema)]),
  where: z.lazy(() => CloudFolderWhereInputObjectSchema).optional()
}).strict();
export const CloudFolderUpsertWithoutChildrenInputObjectSchema: z.ZodType<Prisma.CloudFolderUpsertWithoutChildrenInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpsertWithoutChildrenInput>;
export const CloudFolderUpsertWithoutChildrenInputObjectZodSchema = makeSchema();
