import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserCreateWithoutBackupsInputObjectSchema as UserCreateWithoutBackupsInputObjectSchema } from './UserCreateWithoutBackupsInput.schema';
import { UserUncheckedCreateWithoutBackupsInputObjectSchema as UserUncheckedCreateWithoutBackupsInputObjectSchema } from './UserUncheckedCreateWithoutBackupsInput.schema';
import { UserCreateOrConnectWithoutBackupsInputObjectSchema as UserCreateOrConnectWithoutBackupsInputObjectSchema } from './UserCreateOrConnectWithoutBackupsInput.schema';
import { UserUpsertWithoutBackupsInputObjectSchema as UserUpsertWithoutBackupsInputObjectSchema } from './UserUpsertWithoutBackupsInput.schema';
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
import { UserUpdateToOneWithWhereWithoutBackupsInputObjectSchema as UserUpdateToOneWithWhereWithoutBackupsInputObjectSchema } from './UserUpdateToOneWithWhereWithoutBackupsInput.schema';
import { UserUpdateWithoutBackupsInputObjectSchema as UserUpdateWithoutBackupsInputObjectSchema } from './UserUpdateWithoutBackupsInput.schema';
import { UserUncheckedUpdateWithoutBackupsInputObjectSchema as UserUncheckedUpdateWithoutBackupsInputObjectSchema } from './UserUncheckedUpdateWithoutBackupsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => UserCreateWithoutBackupsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutBackupsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutBackupsInputObjectSchema).optional(),
  upsert: z.lazy(() => UserUpsertWithoutBackupsInputObjectSchema).optional(),
  connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutBackupsInputObjectSchema), z.lazy(() => UserUpdateWithoutBackupsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutBackupsInputObjectSchema)]).optional()
}).strict();
export const UserUpdateOneRequiredWithoutBackupsNestedInputObjectSchema: z.ZodType<Prisma.UserUpdateOneRequiredWithoutBackupsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateOneRequiredWithoutBackupsNestedInput>;
export const UserUpdateOneRequiredWithoutBackupsNestedInputObjectZodSchema = makeSchema();
