import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
import { InsuranceContactSelectObjectSchema as InsuranceContactSelectObjectSchema } from './objects/InsuranceContactSelect.schema';
import { InsuranceContactIncludeObjectSchema as InsuranceContactIncludeObjectSchema } from './objects/InsuranceContactInclude.schema';
import { InsuranceContactWhereUniqueInputObjectSchema as InsuranceContactWhereUniqueInputObjectSchema } from './objects/InsuranceContactWhereUniqueInput.schema';
import { InsuranceContactCreateInputObjectSchema as InsuranceContactCreateInputObjectSchema } from './objects/InsuranceContactCreateInput.schema';
import { InsuranceContactUncheckedCreateInputObjectSchema as InsuranceContactUncheckedCreateInputObjectSchema } from './objects/InsuranceContactUncheckedCreateInput.schema';
import { InsuranceContactUpdateInputObjectSchema as InsuranceContactUpdateInputObjectSchema } from './objects/InsuranceContactUpdateInput.schema';
import { InsuranceContactUncheckedUpdateInputObjectSchema as InsuranceContactUncheckedUpdateInputObjectSchema } from './objects/InsuranceContactUncheckedUpdateInput.schema';

export const InsuranceContactUpsertOneSchema: z.ZodType<Prisma.InsuranceContactUpsertArgs> = z.object({ select: InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInputObjectSchema, create: z.union([ InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInputObjectSchema ]), update: z.union([ InsuranceContactUpdateInputObjectSchema, InsuranceContactUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType<Prisma.InsuranceContactUpsertArgs>;

export const InsuranceContactUpsertOneZodSchema = z.object({ select: InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInputObjectSchema, create: z.union([ InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInputObjectSchema ]), update: z.union([ InsuranceContactUpdateInputObjectSchema, InsuranceContactUncheckedUpdateInputObjectSchema ]) }).strict();