import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutBackupDestinationsInputObjectSchema as UserUpdateWithoutBackupDestinationsInputObjectSchema } from './UserUpdateWithoutBackupDestinationsInput.schema';
import { UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema as UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema } from './UserUncheckedUpdateWithoutBackupDestinationsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => UserUpdateWithoutBackupDestinationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutBackupDestinationsInput>;
export const UserUpdateToOneWithWhereWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
