- 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>
41 lines
3.4 KiB
TypeScript
41 lines
3.4 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const CommunicationGroupBySchema: z.ZodType<Prisma.CommunicationGroupByArgs>;
|
|
export declare const CommunicationGroupByZodSchema: z.ZodObject<{
|
|
where: z.ZodOptional<z.ZodType<Prisma.CommunicationWhereInput, z.ZodTypeDef, Prisma.CommunicationWhereInput>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.CommunicationOrderByWithAggregationInput, z.ZodTypeDef, Prisma.CommunicationOrderByWithAggregationInput>, z.ZodArray<z.ZodType<Prisma.CommunicationOrderByWithAggregationInput, z.ZodTypeDef, Prisma.CommunicationOrderByWithAggregationInput>, "many">]>>;
|
|
having: z.ZodOptional<z.ZodType<Prisma.CommunicationScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CommunicationScalarWhereWithAggregatesInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
by: z.ZodArray<z.ZodEnum<["id", "patientId", "userId", "channel", "direction", "status", "provider", "body", "callDuration", "twilioSid", "createdAt"]>, "many">;
|
|
_count: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodType<Prisma.CommunicationCountAggregateInputType, z.ZodTypeDef, Prisma.CommunicationCountAggregateInputType>]>>;
|
|
_min: z.ZodOptional<z.ZodType<Prisma.CommunicationMinAggregateInputType, z.ZodTypeDef, Prisma.CommunicationMinAggregateInputType>>;
|
|
_max: z.ZodOptional<z.ZodType<Prisma.CommunicationMaxAggregateInputType, z.ZodTypeDef, Prisma.CommunicationMaxAggregateInputType>>;
|
|
_avg: z.ZodOptional<z.ZodType<Prisma.CommunicationAvgAggregateInputType, z.ZodTypeDef, Prisma.CommunicationAvgAggregateInputType>>;
|
|
_sum: z.ZodOptional<z.ZodType<Prisma.CommunicationSumAggregateInputType, z.ZodTypeDef, Prisma.CommunicationSumAggregateInputType>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
by: ("status" | "id" | "createdAt" | "patientId" | "userId" | "channel" | "direction" | "provider" | "body" | "callDuration" | "twilioSid")[];
|
|
where?: Prisma.CommunicationWhereInput | undefined;
|
|
_count?: true | Prisma.CommunicationCountAggregateInputType | undefined;
|
|
orderBy?: Prisma.CommunicationOrderByWithAggregationInput | Prisma.CommunicationOrderByWithAggregationInput[] | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
_min?: Prisma.CommunicationMinAggregateInputType | undefined;
|
|
_max?: Prisma.CommunicationMaxAggregateInputType | undefined;
|
|
_avg?: Prisma.CommunicationAvgAggregateInputType | undefined;
|
|
_sum?: Prisma.CommunicationSumAggregateInputType | undefined;
|
|
having?: Prisma.CommunicationScalarWhereWithAggregatesInput | undefined;
|
|
}, {
|
|
by: ("status" | "id" | "createdAt" | "patientId" | "userId" | "channel" | "direction" | "provider" | "body" | "callDuration" | "twilioSid")[];
|
|
where?: Prisma.CommunicationWhereInput | undefined;
|
|
_count?: true | Prisma.CommunicationCountAggregateInputType | undefined;
|
|
orderBy?: Prisma.CommunicationOrderByWithAggregationInput | Prisma.CommunicationOrderByWithAggregationInput[] | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
_min?: Prisma.CommunicationMinAggregateInputType | undefined;
|
|
_max?: Prisma.CommunicationMaxAggregateInputType | undefined;
|
|
_avg?: Prisma.CommunicationAvgAggregateInputType | undefined;
|
|
_sum?: Prisma.CommunicationSumAggregateInputType | undefined;
|
|
having?: Prisma.CommunicationScalarWhereWithAggregatesInput | undefined;
|
|
}>;
|
|
//# sourceMappingURL=groupByCommunication.schema.d.ts.map
|