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';
import { CloudFileChunkCreateWithoutFileInputObjectSchema as CloudFileChunkCreateWithoutFileInputObjectSchema } from './CloudFileChunkCreateWithoutFileInput.schema';
import { CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema as CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema } from './CloudFileChunkUncheckedCreateWithoutFileInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => CloudFileChunkWhereUniqueInputObjectSchema),
  update: z.union([z.lazy(() => CloudFileChunkUpdateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedUpdateWithoutFileInputObjectSchema)]),
  create: z.union([z.lazy(() => CloudFileChunkCreateWithoutFileInputObjectSchema), z.lazy(() => CloudFileChunkUncheckedCreateWithoutFileInputObjectSchema)])
}).strict();
export const CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectSchema: z.ZodType<Prisma.CloudFileChunkUpsertWithWhereUniqueWithoutFileInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFileChunkUpsertWithWhereUniqueWithoutFileInput>;
export const CloudFileChunkUpsertWithWhereUniqueWithoutFileInputObjectZodSchema = makeSchema();
