import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CloudFolderSelectObjectSchema as CloudFolderSelectObjectSchema } from './objects/CloudFolderSelect.schema';
import { CloudFolderIncludeObjectSchema as CloudFolderIncludeObjectSchema } from './objects/CloudFolderInclude.schema';
import { CloudFolderUpdateInputObjectSchema as CloudFolderUpdateInputObjectSchema } from './objects/CloudFolderUpdateInput.schema';
import { CloudFolderUncheckedUpdateInputObjectSchema as CloudFolderUncheckedUpdateInputObjectSchema } from './objects/CloudFolderUncheckedUpdateInput.schema';
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './objects/CloudFolderWhereUniqueInput.schema';

export const CloudFolderUpdateOneSchema: z.ZodType<Prisma.CloudFolderUpdateArgs> = z.object({ select: CloudFolderSelectObjectSchema.optional(), include: CloudFolderIncludeObjectSchema.optional(), data: z.union([CloudFolderUpdateInputObjectSchema, CloudFolderUncheckedUpdateInputObjectSchema]), where: CloudFolderWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CloudFolderUpdateArgs>;

export const CloudFolderUpdateOneZodSchema = z.object({ select: CloudFolderSelectObjectSchema.optional(), include: CloudFolderIncludeObjectSchema.optional(), data: z.union([CloudFolderUpdateInputObjectSchema, CloudFolderUncheckedUpdateInputObjectSchema]), where: CloudFolderWhereUniqueInputObjectSchema }).strict();