import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { DatabaseBackupWhereUniqueInputObjectSchema as DatabaseBackupWhereUniqueInputObjectSchema } from './DatabaseBackupWhereUniqueInput.schema';
import { DatabaseBackupUpdateWithoutUserInputObjectSchema as DatabaseBackupUpdateWithoutUserInputObjectSchema } from './DatabaseBackupUpdateWithoutUserInput.schema';
import { DatabaseBackupUncheckedUpdateWithoutUserInputObjectSchema as DatabaseBackupUncheckedUpdateWithoutUserInputObjectSchema } from './DatabaseBackupUncheckedUpdateWithoutUserInput.schema';
import { DatabaseBackupCreateWithoutUserInputObjectSchema as DatabaseBackupCreateWithoutUserInputObjectSchema } from './DatabaseBackupCreateWithoutUserInput.schema';
import { DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema as DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema } from './DatabaseBackupUncheckedCreateWithoutUserInput.schema'

const makeSchema = () => z.object({
  where: z.lazy(() => DatabaseBackupWhereUniqueInputObjectSchema),
  update: z.union([z.lazy(() => DatabaseBackupUpdateWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUncheckedUpdateWithoutUserInputObjectSchema)]),
  create: z.union([z.lazy(() => DatabaseBackupCreateWithoutUserInputObjectSchema), z.lazy(() => DatabaseBackupUncheckedCreateWithoutUserInputObjectSchema)])
}).strict();
export const DatabaseBackupUpsertWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.DatabaseBackupUpsertWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.DatabaseBackupUpsertWithWhereUniqueWithoutUserInput>;
export const DatabaseBackupUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
