- 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>
76 lines
5.0 KiB
TypeScript
76 lines
5.0 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const CommunicationFindFirstOrThrowSelectSchema: z.ZodType<Prisma.CommunicationSelect>;
|
|
export declare const CommunicationFindFirstOrThrowSelectZodSchema: z.ZodObject<{
|
|
id: z.ZodOptional<z.ZodBoolean>;
|
|
patientId: z.ZodOptional<z.ZodBoolean>;
|
|
userId: z.ZodOptional<z.ZodBoolean>;
|
|
channel: z.ZodOptional<z.ZodBoolean>;
|
|
direction: z.ZodOptional<z.ZodBoolean>;
|
|
status: z.ZodOptional<z.ZodBoolean>;
|
|
provider: z.ZodOptional<z.ZodBoolean>;
|
|
body: z.ZodOptional<z.ZodBoolean>;
|
|
callDuration: z.ZodOptional<z.ZodBoolean>;
|
|
twilioSid: z.ZodOptional<z.ZodBoolean>;
|
|
createdAt: z.ZodOptional<z.ZodBoolean>;
|
|
patient: z.ZodOptional<z.ZodBoolean>;
|
|
user: z.ZodOptional<z.ZodBoolean>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
status?: boolean | undefined;
|
|
id?: boolean | undefined;
|
|
createdAt?: boolean | undefined;
|
|
patientId?: boolean | undefined;
|
|
patient?: boolean | undefined;
|
|
userId?: boolean | undefined;
|
|
user?: boolean | undefined;
|
|
channel?: boolean | undefined;
|
|
direction?: boolean | undefined;
|
|
provider?: boolean | undefined;
|
|
body?: boolean | undefined;
|
|
callDuration?: boolean | undefined;
|
|
twilioSid?: boolean | undefined;
|
|
}, {
|
|
status?: boolean | undefined;
|
|
id?: boolean | undefined;
|
|
createdAt?: boolean | undefined;
|
|
patientId?: boolean | undefined;
|
|
patient?: boolean | undefined;
|
|
userId?: boolean | undefined;
|
|
user?: boolean | undefined;
|
|
channel?: boolean | undefined;
|
|
direction?: boolean | undefined;
|
|
provider?: boolean | undefined;
|
|
body?: boolean | undefined;
|
|
callDuration?: boolean | undefined;
|
|
twilioSid?: boolean | undefined;
|
|
}>;
|
|
export declare const CommunicationFindFirstOrThrowSchema: z.ZodType<Prisma.CommunicationFindFirstOrThrowArgs>;
|
|
export declare const CommunicationFindFirstOrThrowZodSchema: z.ZodObject<{
|
|
select: z.ZodOptional<z.ZodType<Prisma.CommunicationSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.CommunicationSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
|
|
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.CommunicationInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.CommunicationInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.CommunicationOrderByWithRelationInput, z.ZodTypeDef, Prisma.CommunicationOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.CommunicationOrderByWithRelationInput, z.ZodTypeDef, Prisma.CommunicationOrderByWithRelationInput>, "many">]>>;
|
|
where: z.ZodOptional<z.ZodType<Prisma.CommunicationWhereInput, z.ZodTypeDef, Prisma.CommunicationWhereInput>>;
|
|
cursor: z.ZodOptional<z.ZodType<Prisma.CommunicationWhereUniqueInput, z.ZodTypeDef, Prisma.CommunicationWhereUniqueInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "patientId", "userId", "channel", "direction", "status", "provider", "body", "callDuration", "twilioSid", "createdAt"]>, z.ZodArray<z.ZodEnum<["id", "patientId", "userId", "channel", "direction", "status", "provider", "body", "callDuration", "twilioSid", "createdAt"]>, "many">]>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
where?: Prisma.CommunicationWhereInput | undefined;
|
|
include?: Prisma.CommunicationInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.CommunicationSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.CommunicationOrderByWithRelationInput | Prisma.CommunicationOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.CommunicationWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "status" | "id" | "createdAt" | "patientId" | "userId" | "channel" | "direction" | "provider" | "body" | "callDuration" | "twilioSid" | ("status" | "id" | "createdAt" | "patientId" | "userId" | "channel" | "direction" | "provider" | "body" | "callDuration" | "twilioSid")[] | undefined;
|
|
}, {
|
|
where?: Prisma.CommunicationWhereInput | undefined;
|
|
include?: Prisma.CommunicationInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.CommunicationSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.CommunicationOrderByWithRelationInput | Prisma.CommunicationOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.CommunicationWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "status" | "id" | "createdAt" | "patientId" | "userId" | "channel" | "direction" | "provider" | "body" | "callDuration" | "twilioSid" | ("status" | "id" | "createdAt" | "patientId" | "userId" | "channel" | "direction" | "provider" | "body" | "callDuration" | "twilioSid")[] | undefined;
|
|
}>;
|
|
//# sourceMappingURL=findFirstOrThrowCommunication.schema.d.ts.map
|