import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { AiSettingsSelectObjectSchema as AiSettingsSelectObjectSchema } from './objects/AiSettingsSelect.schema';
import { AiSettingsIncludeObjectSchema as AiSettingsIncludeObjectSchema } from './objects/AiSettingsInclude.schema';
import { AiSettingsWhereUniqueInputObjectSchema as AiSettingsWhereUniqueInputObjectSchema } from './objects/AiSettingsWhereUniqueInput.schema';
import { AiSettingsCreateInputObjectSchema as AiSettingsCreateInputObjectSchema } from './objects/AiSettingsCreateInput.schema';
import { AiSettingsUncheckedCreateInputObjectSchema as AiSettingsUncheckedCreateInputObjectSchema } from './objects/AiSettingsUncheckedCreateInput.schema';
import { AiSettingsUpdateInputObjectSchema as AiSettingsUpdateInputObjectSchema } from './objects/AiSettingsUpdateInput.schema';
import { AiSettingsUncheckedUpdateInputObjectSchema as AiSettingsUncheckedUpdateInputObjectSchema } from './objects/AiSettingsUncheckedUpdateInput.schema';

export const AiSettingsUpsertOneSchema: z.ZodType<Prisma.AiSettingsUpsertArgs> = z.object({ select: AiSettingsSelectObjectSchema.optional(), include: AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInputObjectSchema, create: z.union([ AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInputObjectSchema ]), update: z.union([ AiSettingsUpdateInputObjectSchema, AiSettingsUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.AiSettingsUpsertArgs>;

export const AiSettingsUpsertOneZodSchema = z.object({ select: AiSettingsSelectObjectSchema.optional(), include: AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInputObjectSchema, create: z.union([ AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInputObjectSchema ]), update: z.union([ AiSettingsUpdateInputObjectSchema, AiSettingsUncheckedUpdateInputObjectSchema ]) }).strict();