import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserUpdateWithoutShoppingVendorsInputObjectSchema as UserUpdateWithoutShoppingVendorsInputObjectSchema } from './UserUpdateWithoutShoppingVendorsInput.schema';
import { UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema as UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema } from './UserUncheckedUpdateWithoutShoppingVendorsInput.schema';
import { UserCreateWithoutShoppingVendorsInputObjectSchema as UserCreateWithoutShoppingVendorsInputObjectSchema } from './UserCreateWithoutShoppingVendorsInput.schema';
import { UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema as UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema } from './UserUncheckedCreateWithoutShoppingVendorsInput.schema';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'

const makeSchema = () => z.object({
  update: z.union([z.lazy(() => UserUpdateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema)]),
  create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]),
  where: z.lazy(() => UserWhereInputObjectSchema).optional()
}).strict();
export const UserUpsertWithoutShoppingVendorsInputObjectSchema: z.ZodType<Prisma.UserUpsertWithoutShoppingVendorsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpsertWithoutShoppingVendorsInput>;
export const UserUpsertWithoutShoppingVendorsInputObjectZodSchema = makeSchema();
