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 { DatabaseBackupWhereUniqueInputObjectSchema as DatabaseBackupWhereUniqueInputObjectSchema } from './objects/DatabaseBackupWhereUniqueInput.schema';
import { DatabaseBackupCreateInputObjectSchema as DatabaseBackupCreateInputObjectSchema } from './objects/DatabaseBackupCreateInput.schema';
import { DatabaseBackupUncheckedCreateInputObjectSchema as DatabaseBackupUncheckedCreateInputObjectSchema } from './objects/DatabaseBackupUncheckedCreateInput.schema';
import { DatabaseBackupUpdateInputObjectSchema as DatabaseBackupUpdateInputObjectSchema } from './objects/DatabaseBackupUpdateInput.schema';
import { DatabaseBackupUncheckedUpdateInputObjectSchema as DatabaseBackupUncheckedUpdateInputObjectSchema } from './objects/DatabaseBackupUncheckedUpdateInput.schema';

export const DatabaseBackupUpsertOneSchema: z.ZodType<Prisma.DatabaseBackupUpsertArgs> = z.object({ select: DatabaseBackupSelectObjectSchema.optional(), include: DatabaseBackupIncludeObjectSchema.optional(), where: DatabaseBackupWhereUniqueInputObjectSchema, create: z.union([ DatabaseBackupCreateInputObjectSchema, DatabaseBackupUncheckedCreateInputObjectSchema ]), update: z.union([ DatabaseBackupUpdateInputObjectSchema, DatabaseBackupUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.DatabaseBackupUpsertArgs>;

export const DatabaseBackupUpsertOneZodSchema = z.object({ select: DatabaseBackupSelectObjectSchema.optional(), include: DatabaseBackupIncludeObjectSchema.optional(), where: DatabaseBackupWhereUniqueInputObjectSchema, create: z.union([ DatabaseBackupCreateInputObjectSchema, DatabaseBackupUncheckedCreateInputObjectSchema ]), update: z.union([ DatabaseBackupUpdateInputObjectSchema, DatabaseBackupUncheckedUpdateInputObjectSchema ]) }).strict();