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 { NpiProviderUpsertWithoutCommissionBatchesInputObjectSchema as NpiProviderUpsertWithoutCommissionBatchesInputObjectSchema } from './NpiProviderUpsertWithoutCommissionBatchesInput.schema';
import { NpiProviderWhereUniqueInputObjectSchema as NpiProviderWhereUniqueInputObjectSchema } from './NpiProviderWhereUniqueInput.schema';
import { NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectSchema as NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectSchema } from './NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput.schema';
import { NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema as NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema } from './NpiProviderUpdateWithoutCommissionBatchesInput.schema';
import { NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema as NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema } from './NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema'

const makeSchema = () => z.object({
  create: z.union([z.lazy(() => NpiProviderCreateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema)]).optional(),
  connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema).optional(),
  upsert: z.lazy(() => NpiProviderUpsertWithoutCommissionBatchesInputObjectSchema).optional(),
  connect: z.lazy(() => NpiProviderWhereUniqueInputObjectSchema).optional(),
  update: z.union([z.lazy(() => NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema)]).optional()
}).strict();
export const NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectSchema: z.ZodType<Prisma.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput>;
export const NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectZodSchema = makeSchema();
