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 { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './objects/CloudFileChunkWhereUniqueInput.schema';
import { CloudFileChunkCreateInputObjectSchema as CloudFileChunkCreateInputObjectSchema } from './objects/CloudFileChunkCreateInput.schema';
import { CloudFileChunkUncheckedCreateInputObjectSchema as CloudFileChunkUncheckedCreateInputObjectSchema } from './objects/CloudFileChunkUncheckedCreateInput.schema';
import { CloudFileChunkUpdateInputObjectSchema as CloudFileChunkUpdateInputObjectSchema } from './objects/CloudFileChunkUpdateInput.schema';
import { CloudFileChunkUncheckedUpdateInputObjectSchema as CloudFileChunkUncheckedUpdateInputObjectSchema } from './objects/CloudFileChunkUncheckedUpdateInput.schema';

export const CloudFileChunkUpsertOneSchema: z.ZodType<Prisma.CloudFileChunkUpsertArgs> = z.object({ select: CloudFileChunkSelectObjectSchema.optional(), include: CloudFileChunkIncludeObjectSchema.optional(), where: CloudFileChunkWhereUniqueInputObjectSchema, create: z.union([ CloudFileChunkCreateInputObjectSchema, CloudFileChunkUncheckedCreateInputObjectSchema ]), update: z.union([ CloudFileChunkUpdateInputObjectSchema, CloudFileChunkUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.CloudFileChunkUpsertArgs>;

export const CloudFileChunkUpsertOneZodSchema = z.object({ select: CloudFileChunkSelectObjectSchema.optional(), include: CloudFileChunkIncludeObjectSchema.optional(), where: CloudFileChunkWhereUniqueInputObjectSchema, create: z.union([ CloudFileChunkCreateInputObjectSchema, CloudFileChunkUncheckedCreateInputObjectSchema ]), update: z.union([ CloudFileChunkUpdateInputObjectSchema, CloudFileChunkUncheckedUpdateInputObjectSchema ]) }).strict();