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

const makeSchema = () => z.object({
  where: z.lazy(() => CloudFolderWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => CloudFolderUpdateWithoutChildrenInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutChildrenInputObjectSchema)])
}).strict();
export const CloudFolderUpdateToOneWithWhereWithoutChildrenInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateToOneWithWhereWithoutChildrenInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateToOneWithWhereWithoutChildrenInput>;
export const CloudFolderUpdateToOneWithWhereWithoutChildrenInputObjectZodSchema = makeSchema();
