import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutShoppingVendorsInputObjectSchema as UserCreateWithoutShoppingVendorsInputObjectSchema } from './UserCreateWithoutShoppingVendorsInput.schema';
import { UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema as UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema } from './UserUncheckedCreateWithoutShoppingVendorsInput.schema';
import { UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema as UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema } from './UserCreateOrConnectWithoutShoppingVendorsInput.schema';
import { UserUpsertWithoutShoppingVendorsInputObjectSchema as UserUpsertWithoutShoppingVendorsInputObjectSchema } from './UserUpsertWithoutShoppingVendorsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectSchema as UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectSchema } from './UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema';
import { UserUpdateWithoutShoppingVendorsInputObjectSchema as UserUpdateWithoutShoppingVendorsInputObjectSchema } from './UserUpdateWithoutShoppingVendorsInput.schema';
import { UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema as UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema } from './UserUncheckedUpdateWithoutShoppingVendorsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutShoppingVendorsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUpdateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutShoppingVendorsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutShoppingVendorsNestedInput>;
export const UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectZodSchema = makeSchema();
