import type { Prisma } from '../../generated/prisma'; import * as z from 'zod'; import { ServiceLineSelectObjectSchema as ServiceLineSelectObjectSchema } from './objects/ServiceLineSelect.schema'; import { ServiceLineIncludeObjectSchema as ServiceLineIncludeObjectSchema } from './objects/ServiceLineInclude.schema'; import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema'; import { ServiceLineCreateInputObjectSchema as ServiceLineCreateInputObjectSchema } from './objects/ServiceLineCreateInput.schema'; import { ServiceLineUncheckedCreateInputObjectSchema as ServiceLineUncheckedCreateInputObjectSchema } from './objects/ServiceLineUncheckedCreateInput.schema'; import { ServiceLineUpdateInputObjectSchema as ServiceLineUpdateInputObjectSchema } from './objects/ServiceLineUpdateInput.schema'; import { ServiceLineUncheckedUpdateInputObjectSchema as ServiceLineUncheckedUpdateInputObjectSchema } from './objects/ServiceLineUncheckedUpdateInput.schema'; export const ServiceLineUpsertOneSchema: z.ZodType = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), where: ServiceLineWhereUniqueInputObjectSchema, create: z.union([ ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema ]) }).strict() as unknown as z.ZodType; export const ServiceLineUpsertOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), where: ServiceLineWhereUniqueInputObjectSchema, create: z.union([ ServiceLineCreateInputObjectSchema, ServiceLineUncheckedCreateInputObjectSchema ]), update: z.union([ ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema ]) }).strict();