import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutCloudFoldersInputObjectSchema as UserUpdateWithoutCloudFoldersInputObjectSchema } from './UserUpdateWithoutCloudFoldersInput.schema';
import { UserUncheckedUpdateWithoutCloudFoldersInputObjectSchema as UserUncheckedUpdateWithoutCloudFoldersInputObjectSchema } from './UserUncheckedUpdateWithoutCloudFoldersInput.schema';
import { UserCreateWithoutCloudFoldersInputObjectSchema as UserCreateWithoutCloudFoldersInputObjectSchema } from './UserCreateWithoutCloudFoldersInput.schema';
import { UserUncheckedCreateWithoutCloudFoldersInputObjectSchema as UserUncheckedCreateWithoutCloudFoldersInputObjectSchema } from './UserUncheckedCreateWithoutCloudFoldersInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => UserUpdateWithoutCloudFoldersInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutCloudFoldersInputObjectSchema)]),
  create: z.union([z.lazy(() => UserCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutCloudFoldersInputObjectSchema)]),
  where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutCloudFoldersInput>;
export const UserUpsertWithoutCloudFoldersInputObjectZodSchema = makeSchema();
