import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema as CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemCreateWithoutCommissionBatchInput.schema';
import { CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema as CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema';
import { CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema as CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema } from './CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema';
import { CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema as CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema } from './CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema';
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './CommissionBatchItemWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectSchema: z.ZodType<Prisma.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput>;
export const CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectZodSchema = makeSchema();
