import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
import { UserUpdateWithoutUpdatedPaymentsInputObjectSchema as UserUpdateWithoutUpdatedPaymentsInputObjectSchema } from './UserUpdateWithoutUpdatedPaymentsInput.schema';
import { UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema as UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema } from './UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => UserWhereInputObjectSchema).optional(),
  data: z.union([z.lazy(() => UserUpdateWithoutUpdatedPaymentsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema)])
}).strict();
export const UserUpdateToOneWithWhereWithoutUpdatedPaymentsInputObjectSchema: z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutUpdatedPaymentsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUpdateToOneWithWhereWithoutUpdatedPaymentsInput>;
export const UserUpdateToOneWithWhereWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema();
