import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './CloudFileChunkWhereUniqueInput.schema';
import { CloudFileChunkUpdateWithoutFileInputObjectSchema as CloudFileChunkUpdateWithoutFileInputObjectSchema } from './CloudFileChunkUpdateWithoutFileInput.schema';
import { CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema as CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedUpdateWithoutFileInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema),
  data: z.union([z.lazy(() => CloudFileChunkUpdateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema)])
}).strict();
export const CloudFileChunkUpdateWithWhereUniqueWithoutFileInputObjectSchema: z.ZodType<Prisma.CloudFileChunkUpdateWithWhereUniqueWithoutFileInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkUpdateWithWhereUniqueWithoutFileInput>;
export const CloudFileChunkUpdateWithWhereUniqueWithoutFileInputObjectZodSchema = makeSchema();
