import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { ServiceLineTransactionCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateWithoutPaymentInput.schema';
import { ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineTransactionUncheckedCreateWithoutPaymentInput.schema';
import { ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema as ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema } from './ServiceLineTransactionCreateOrConnectWithoutPaymentInput.schema';
import { ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema as ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema } from './ServiceLineTransactionCreateManyPaymentInputEnvelope.schema';
import { ServiceLineTransactionWhereUniqueInputObjectSchema as ServiceLineTransactionWhereUniqueInputObjectSchema } from './ServiceLineTransactionWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineTransactionCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => ServiceLineTransactionCreateManyPaymentInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineTransactionWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput>;
export const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema();
