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 { ServiceLineUpdateInputObjectSchema as ServiceLineUpdateInputObjectSchema } from './objects/ServiceLineUpdateInput.schema';
import { ServiceLineUncheckedUpdateInputObjectSchema as ServiceLineUncheckedUpdateInputObjectSchema } from './objects/ServiceLineUncheckedUpdateInput.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './objects/ServiceLineWhereUniqueInput.schema';

export const ServiceLineUpdateOneSchema: z.ZodType<Prisma.ServiceLineUpdateArgs> = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema]), where: ServiceLineWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ServiceLineUpdateArgs>;

export const ServiceLineUpdateOneZodSchema = z.object({ select: ServiceLineSelectObjectSchema.optional(), include: ServiceLineIncludeObjectSchema.optional(), data: z.union([ServiceLineUpdateInputObjectSchema, ServiceLineUncheckedUpdateInputObjectSchema]), where: ServiceLineWhereUniqueInputObjectSchema }).strict();