import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { DatabaseBackupSelectObjectSchema as DatabaseBackupSelectObjectSchema } from './objects/DatabaseBackupSelect.schema';
import { DatabaseBackupIncludeObjectSchema as DatabaseBackupIncludeObjectSchema } from './objects/DatabaseBackupInclude.schema';
import { DatabaseBackupUpdateInputObjectSchema as DatabaseBackupUpdateInputObjectSchema } from './objects/DatabaseBackupUpdateInput.schema';
import { DatabaseBackupUncheckedUpdateInputObjectSchema as DatabaseBackupUncheckedUpdateInputObjectSchema } from './objects/DatabaseBackupUncheckedUpdateInput.schema';
import { DatabaseBackupWhereUniqueInputObjectSchema as DatabaseBackupWhereUniqueInputObjectSchema } from './objects/DatabaseBackupWhereUniqueInput.schema';

export const DatabaseBackupUpdateOneSchema: z.ZodType<Prisma.DatabaseBackupUpdateArgs> = z.object({ select: DatabaseBackupSelectObjectSchema.optional(), include: DatabaseBackupIncludeObjectSchema.optional(), data: z.union([DatabaseBackupUpdateInputObjectSchema, DatabaseBackupUncheckedUpdateInputObjectSchema]), where: DatabaseBackupWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.DatabaseBackupUpdateArgs>;

export const DatabaseBackupUpdateOneZodSchema = z.object({ select: DatabaseBackupSelectObjectSchema.optional(), include: DatabaseBackupIncludeObjectSchema.optional(), data: z.union([DatabaseBackupUpdateInputObjectSchema, DatabaseBackupUncheckedUpdateInputObjectSchema]), where: DatabaseBackupWhereUniqueInputObjectSchema }).strict();