import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchItemCreateWithoutPaymentInputObjectSchema as CommissionBatchItemCreateWithoutPaymentInputObjectSchema } from './CommissionBatchItemCreateWithoutPaymentInput.schema';
import { CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema as CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema } from './CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema';
import { CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema as CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema } from './CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema';
import { CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema as CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema } from './CommissionBatchItemCreateManyPaymentInputEnvelope.schema';
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './CommissionBatchItemWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema: z.ZodType<Prisma.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput>;
export const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema();
