import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutCloudFilesInputObjectSchema as UserUpdateWithoutCloudFilesInputObjectSchema } from './UserUpdateWithoutCloudFilesInput.schema';
import { UserUncheckedUpdateWithoutCloudFilesInputObjectSchema as UserUncheckedUpdateWithoutCloudFilesInputObjectSchema } from './UserUncheckedUpdateWithoutCloudFilesInput.schema';
import { UserCreateWithoutCloudFilesInputObjectSchema as UserCreateWithoutCloudFilesInputObjectSchema } from './UserCreateWithoutCloudFilesInput.schema';
import { UserUncheckedCreateWithoutCloudFilesInputObjectSchema as UserUncheckedCreateWithoutCloudFilesInputObjectSchema } from './UserUncheckedCreateWithoutCloudFilesInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => UserUpdateWithoutCloudFilesInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutCloudFilesInputObjectSchema)]),
  create: z.union([z.lazy(() => UserCreateWithoutCloudFilesInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutCloudFilesInputObjectSchema)]),
  where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutCloudFilesInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutCloudFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutCloudFilesInput>;
export const UserUpsertWithoutCloudFilesInputObjectZodSchema = makeSchema();
