import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { BackupDestinationSelectObjectSchema as BackupDestinationSelectObjectSchema } from './objects/BackupDestinationSelect.schema';
import { BackupDestinationIncludeObjectSchema as BackupDestinationIncludeObjectSchema } from './objects/BackupDestinationInclude.schema';
import { BackupDestinationWhereUniqueInputObjectSchema as BackupDestinationWhereUniqueInputObjectSchema } from './objects/BackupDestinationWhereUniqueInput.schema';
import { BackupDestinationCreateInputObjectSchema as BackupDestinationCreateInputObjectSchema } from './objects/BackupDestinationCreateInput.schema';
import { BackupDestinationUncheckedCreateInputObjectSchema as BackupDestinationUncheckedCreateInputObjectSchema } from './objects/BackupDestinationUncheckedCreateInput.schema';
import { BackupDestinationUpdateInputObjectSchema as BackupDestinationUpdateInputObjectSchema } from './objects/BackupDestinationUpdateInput.schema';
import { BackupDestinationUncheckedUpdateInputObjectSchema as BackupDestinationUncheckedUpdateInputObjectSchema } from './objects/BackupDestinationUncheckedUpdateInput.schema';

export const BackupDestinationUpsertOneSchema: z.ZodType<Prisma.BackupDestinationUpsertArgs> = z.object({ select: BackupDestinationSelectObjectSchema.optional(), include: BackupDestinationIncludeObjectSchema.optional(), where: BackupDestinationWhereUniqueInputObjectSchema, create: z.union([ BackupDestinationCreateInputObjectSchema, BackupDestinationUncheckedCreateInputObjectSchema ]), update: z.union([ BackupDestinationUpdateInputObjectSchema, BackupDestinationUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.BackupDestinationUpsertArgs>;

export const BackupDestinationUpsertOneZodSchema = z.object({ select: BackupDestinationSelectObjectSchema.optional(), include: BackupDestinationIncludeObjectSchema.optional(), where: BackupDestinationWhereUniqueInputObjectSchema, create: z.union([ BackupDestinationCreateInputObjectSchema, BackupDestinationUncheckedCreateInputObjectSchema ]), update: z.union([ BackupDestinationUpdateInputObjectSchema, BackupDestinationUncheckedUpdateInputObjectSchema ]) }).strict();