import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { TwilioSettingsSelectObjectSchema as TwilioSettingsSelectObjectSchema } from './objects/TwilioSettingsSelect.schema';
import { TwilioSettingsIncludeObjectSchema as TwilioSettingsIncludeObjectSchema } from './objects/TwilioSettingsInclude.schema';
import { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './objects/TwilioSettingsWhereUniqueInput.schema';
import { TwilioSettingsCreateInputObjectSchema as TwilioSettingsCreateInputObjectSchema } from './objects/TwilioSettingsCreateInput.schema';
import { TwilioSettingsUncheckedCreateInputObjectSchema as TwilioSettingsUncheckedCreateInputObjectSchema } from './objects/TwilioSettingsUncheckedCreateInput.schema';
import { TwilioSettingsUpdateInputObjectSchema as TwilioSettingsUpdateInputObjectSchema } from './objects/TwilioSettingsUpdateInput.schema';
import { TwilioSettingsUncheckedUpdateInputObjectSchema as TwilioSettingsUncheckedUpdateInputObjectSchema } from './objects/TwilioSettingsUncheckedUpdateInput.schema';

export const TwilioSettingsUpsertOneSchema: z.ZodType<Prisma.TwilioSettingsUpsertArgs> = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInputObjectSchema, create: z.union([ TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInputObjectSchema ]), update: z.union([ TwilioSettingsUpdateInputObjectSchema, TwilioSettingsUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsUpsertArgs>;

export const TwilioSettingsUpsertOneZodSchema = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInputObjectSchema, create: z.union([ TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInputObjectSchema ]), update: z.union([ TwilioSettingsUpdateInputObjectSchema, TwilioSettingsUncheckedUpdateInputObjectSchema ]) }).strict();