import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { CommissionBatchCreateWithoutNpiProviderInputObjectSchema as CommissionBatchCreateWithoutNpiProviderInputObjectSchema } from './CommissionBatchCreateWithoutNpiProviderInput.schema';
import { CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema as CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema } from './CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema';
import { CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema as CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema } from './CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema';
import { CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema as CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema } from './CommissionBatchCreateManyNpiProviderInputEnvelope.schema';
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './CommissionBatchWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(),
  connectOrCreate: z.union([z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(),
  createMany: z.lazy(() => CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema).optional(),
  connect: z.union([z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInputObjectSchema).array()]).optional()
}).strict();
export const CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema: z.ZodType<Prisma.CommissionBatchCreateNestedManyWithoutNpiProviderInput> = makeSchema() as unknown as z.ZodType<Prisma.CommissionBatchCreateNestedManyWithoutNpiProviderInput>;
export const CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema();
