Files
DentalManagement09/packages/db/shared/schemas/groupByNpiProvider.schema.d.ts
T
GiteadandClaude Opus 5.5 1abc2c705d fix: allow letters in insurance ID; add patient state (default MA)
- Backend insurance ID check now accepts letters + digits (BCBS IDs have
  a letter prefix), matching the frontend schema; create route validates
  the normalized body
- Patient.state column (default "MA") with State select on the patient
  form; ADA claim form uses the patient's state instead of the office's
- Rebuild stale packages/db compiled .js so the runtime schemas include
  new fields (state, office billing NPI fields, Telnyx settings)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 23:29:27 -04:00

41 lines
3.2 KiB
TypeScript

import type { Prisma } from '../../generated/prisma';
import * as z from 'zod';
export declare const NpiProviderGroupBySchema: z.ZodType<Prisma.NpiProviderGroupByArgs>;
export declare const NpiProviderGroupByZodSchema: z.ZodObject<{
where: z.ZodOptional<z.ZodType<Prisma.NpiProviderWhereInput, z.ZodTypeDef, Prisma.NpiProviderWhereInput>>;
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.NpiProviderOrderByWithAggregationInput, z.ZodTypeDef, Prisma.NpiProviderOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.NpiProviderOrderByWithAggregationInput, z.ZodTypeDef, Prisma.NpiProviderOrderByWithAggregationInput>, "many">]>>;
having: z.ZodOptional<z.ZodType<Prisma.NpiProviderScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.NpiProviderScalarWhereWithAggregatesInput>>;
take: z.ZodOptional<z.ZodNumber>;
skip: z.ZodOptional<z.ZodNumber>;
by: z.ZodArray<z.ZodEnum<["id", "userId", "npiNumber", "providerName", "licenseNumber", "sortOrder", "createdAt"]>, "many">;
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.NpiProviderCountAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderCountAggregateInputType>]>>;
_min: z.ZodOptional<z.ZodType<Prisma.NpiProviderMinAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderMinAggregateInputType>>;
_max: z.ZodOptional<z.ZodType<Prisma.NpiProviderMaxAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderMaxAggregateInputType>>;
_avg: z.ZodOptional<z.ZodType<Prisma.NpiProviderAvgAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderAvgAggregateInputType>>;
_sum: z.ZodOptional<z.ZodType<Prisma.NpiProviderSumAggregateInputType, z.ZodTypeDef, Prisma.NpiProviderSumAggregateInputType>>;
}, "strict", z.ZodTypeAny, {
by: ("id" | "createdAt" | "userId" | "npiNumber" | "providerName" | "licenseNumber" | "sortOrder")[];
where?: Prisma.NpiProviderWhereInput | undefined;
_count?: true | Prisma.NpiProviderCountAggregateInputType | undefined;
orderBy?: Prisma.NpiProviderOrderByWithAggregationInput | Prisma.NpiProviderOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.NpiProviderMinAggregateInputType | undefined;
_max?: Prisma.NpiProviderMaxAggregateInputType | undefined;
_avg?: Prisma.NpiProviderAvgAggregateInputType | undefined;
_sum?: Prisma.NpiProviderSumAggregateInputType | undefined;
having?: Prisma.NpiProviderScalarWhereWithAggregatesInput | undefined;
}, {
by: ("id" | "createdAt" | "userId" | "npiNumber" | "providerName" | "licenseNumber" | "sortOrder")[];
where?: Prisma.NpiProviderWhereInput | undefined;
_count?: true | Prisma.NpiProviderCountAggregateInputType | undefined;
orderBy?: Prisma.NpiProviderOrderByWithAggregationInput | Prisma.NpiProviderOrderByWithAggregationInput[] | undefined;
take?: number | undefined;
skip?: number | undefined;
_min?: Prisma.NpiProviderMinAggregateInputType | undefined;
_max?: Prisma.NpiProviderMaxAggregateInputType | undefined;
_avg?: Prisma.NpiProviderAvgAggregateInputType | undefined;
_sum?: Prisma.NpiProviderSumAggregateInputType | undefined;
having?: Prisma.NpiProviderScalarWhereWithAggregatesInput | undefined;
}>;
//# sourceMappingURL=groupByNpiProvider.schema.d.ts.map