import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CloudFileSelectObjectSchema as CloudFileSelectObjectSchema } from './objects/CloudFileSelect.schema';
import { CloudFileIncludeObjectSchema as CloudFileIncludeObjectSchema } from './objects/CloudFileInclude.schema';
import { CloudFileUpdateInputObjectSchema as CloudFileUpdateInputObjectSchema } from './objects/CloudFileUpdateInput.schema';
import { CloudFileUncheckedUpdateInputObjectSchema as CloudFileUncheckedUpdateInputObjectSchema } from './objects/CloudFileUncheckedUpdateInput.schema';
import { CloudFileWhereUniqueInputObjectSchema as CloudFileWhereUniqueInputObjectSchema } from './objects/CloudFileWhereUniqueInput.schema';

export const CloudFileUpdateOneSchema: z.ZodType<Prisma.CloudFileUpdateArgs> = z.object({ select: CloudFileSelectObjectSchema.optional(), include: CloudFileIncludeObjectSchema.optional(), data: z.union([CloudFileUpdateInputObjectSchema, CloudFileUncheckedUpdateInputObjectSchema]), where: CloudFileWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CloudFileUpdateArgs>;

export const CloudFileUpdateOneZodSchema = z.object({ select: CloudFileSelectObjectSchema.optional(), include: CloudFileIncludeObjectSchema.optional(), data: z.union([CloudFileUpdateInputObjectSchema, CloudFileUncheckedUpdateInputObjectSchema]), where: CloudFileWhereUniqueInputObjectSchema }).strict();