import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionCreateWithoutServiceLineInput.schema';
import { ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutServiceLineInput.schema';
import { ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema as ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema } from './ServiceLineTransactionCreateOrConnectWithoutServiceLineInput.schema';
import { ServiceLineTransactionCreateManyServiceLineInputEnvelopeObjectSchema as ServiceLineTransactionCreateManyServiceLineInputEnvelopeObjectSchema } from './ServiceLineTransactionCreateManyServiceLineInputEnvelope.schema';
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema).array(), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutServiceLineInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutServiceLineInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => ServiceLineTransactionCreateManyServiceLineInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineTransactionCreateNestedManyWithoutServiceLineInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionCreateNestedManyWithoutServiceLineInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionCreateNestedManyWithoutServiceLineInput>;
export const ServiceLineTransactionCreateNestedManyWithoutServiceLineInputObjectZodSchema = makeSchema();
