import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { CloudFileChunkSelectObjectSchema as CloudFileChunkSelectObjectSchema } from './objects/CloudFileChunkSelect.schema';
import { CloudFileChunkIncludeObjectSchema as CloudFileChunkIncludeObjectSchema } from './objects/CloudFileChunkInclude.schema';
import { CloudFileChunkUpdateInputObjectSchema as CloudFileChunkUpdateInputObjectSchema } from './objects/CloudFileChunkUpdateInput.schema';
import { CloudFileChunkUncheckedUpdateInputObjectSchema as CloudFileChunkUncheckedUpdateInputObjectSchema } from './objects/CloudFileChunkUncheckedUpdateInput.schema';
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './objects/CloudFileChunkWhereUniqueInput.schema';

export const CloudFileChunkUpdateOneSchema: z.ZodType<Prisma.CloudFileChunkUpdateArgs> = z.object({ select: CloudFileChunkSelectObjectSchema.optional(), include: CloudFileChunkIncludeObjectSchema.optional(), data: z.union([CloudFileChunkUpdateInputObjectSchema, CloudFileChunkUncheckedUpdateInputObjectSchema]), where: CloudFileChunkWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CloudFileChunkUpdateArgs>;

export const CloudFileChunkUpdateOneZodSchema = z.object({ select: CloudFileChunkSelectObjectSchema.optional(), include: CloudFileChunkIncludeObjectSchema.optional(), data: z.union([CloudFileChunkUpdateInputObjectSchema, CloudFileChunkUncheckedUpdateInputObjectSchema]), where: CloudFileChunkWhereUniqueInputObjectSchema }).strict();