import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineCreateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema as ServiceLineCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineCreateOrConnectWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUpsertWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUpsertWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUpsertWithoutServiceLineTransactionsInput.schema';
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema';
import { ServiceLineUpdateToOneWithWhereWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUpdateToOneWithWhereWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUpdateToOneWithWhereWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUpdateWithoutServiceLineTransactionsInput.schema';
import { ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => ServiceLineCreateOrConnectWithoutServiceLineTransactionsInputObjectSchema).optional(),
  upsert: z.lazy(() => ServiceLineUpsertWithoutServiceLineTransactionsInputObjectSchema).optional(),
  connect: z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => ServiceLineUpdateToOneWithWhereWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema)]).optional()
}).strict();
export const ServiceLineUpdateOneRequiredWithoutServiceLineTransactionsNestedInputObjectSchema: z.ZodType<Prisma.ServiceLineUpdateOneRequiredWithoutServiceLineTransactionsNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpdateOneRequiredWithoutServiceLineTransactionsNestedInput>;
export const ServiceLineUpdateOneRequiredWithoutServiceLineTransactionsNestedInputObjectZodSchema = makeSchema();
