import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import { NpiProviderCreateWithoutCommissionBatchesInputObjectSchema as NpiProviderCreateWithoutCommissionBatchesInputObjectSchema } from './NpiProviderCreateWithoutCommissionBatchesInput.schema';
import { NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema as NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema } from './NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema';
import { NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema as NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema } from './NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema';
import { NpiProviderWhereUniqueInputObjectSchema as NpiProviderWhereUniqueInputObjectSchema } from './NpiProviderWhereUniqueInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => NpiProviderCreateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema).optional(),
  connect: z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).optional()
}).strict();
export const NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectSchema: z.ZodType<Prisma.NpiProviderCreateNestedOneWithoutCommissionBatchesInput> = makeSchema() as unknown as z.ZodType<Prisma.NpiProviderCreateNestedOneWithoutCommissionBatchesInput>;
export const NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectZodSchema = makeSchema();
