feat: Select Procedures flow, batch-column NPI provider fix, auto PDF save
- Add 'Select Procedures' right-click option on appointment page (separate from Claims/PreAuth) - Select Procedures form saves CDT codes + NPI provider to AppointmentProcedure storage - Remove Save button from insurance claim form; Claims/PreAuth opens for insurance submission only - Claims/PreAuth auto-prefills from saved procedures including NPI provider - Batch-column: procedures npiProviderId takes priority over stale claim npiProviderId - Batch-column: auto-save PDF to patient Documents after successful submission (no socket needed) - Add npiProviderId column to AppointmentProcedure table (prisma db push) - Fix 'invalid db creation invocation': guard staffId, npiProviderId, procedureDate as Date object, totalBilled NaN guard - Add full error logging to batch-column catch block Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
55
packages/db/shared/schemas/findFirstOrThrowCronJobLog.schema.d.ts
vendored
Normal file
55
packages/db/shared/schemas/findFirstOrThrowCronJobLog.schema.d.ts
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
export declare const CronJobLogFindFirstOrThrowSelectSchema: z.ZodType<Prisma.CronJobLogSelect>;
|
||||
export declare const CronJobLogFindFirstOrThrowSelectZodSchema: z.ZodObject<{
|
||||
id: z.ZodOptional<z.ZodBoolean>;
|
||||
jobName: z.ZodOptional<z.ZodBoolean>;
|
||||
status: z.ZodOptional<z.ZodBoolean>;
|
||||
startedAt: z.ZodOptional<z.ZodBoolean>;
|
||||
completedAt: z.ZodOptional<z.ZodBoolean>;
|
||||
durationMs: z.ZodOptional<z.ZodBoolean>;
|
||||
errorMessage: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
status?: boolean | undefined;
|
||||
id?: boolean | undefined;
|
||||
jobName?: boolean | undefined;
|
||||
startedAt?: boolean | undefined;
|
||||
completedAt?: boolean | undefined;
|
||||
durationMs?: boolean | undefined;
|
||||
errorMessage?: boolean | undefined;
|
||||
}, {
|
||||
status?: boolean | undefined;
|
||||
id?: boolean | undefined;
|
||||
jobName?: boolean | undefined;
|
||||
startedAt?: boolean | undefined;
|
||||
completedAt?: boolean | undefined;
|
||||
durationMs?: boolean | undefined;
|
||||
errorMessage?: boolean | undefined;
|
||||
}>;
|
||||
export declare const CronJobLogFindFirstOrThrowSchema: z.ZodType<Prisma.CronJobLogFindFirstOrThrowArgs>;
|
||||
export declare const CronJobLogFindFirstOrThrowZodSchema: z.ZodObject<{
|
||||
select: z.ZodOptional<z.ZodType<Prisma.CronJobLogSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.CronJobLogSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
|
||||
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.CronJobLogOrderByWithRelationInput, z.ZodTypeDef, Prisma.CronJobLogOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.CronJobLogOrderByWithRelationInput, z.ZodTypeDef, Prisma.CronJobLogOrderByWithRelationInput>, "many">]>>;
|
||||
where: z.ZodOptional<z.ZodType<Prisma.CronJobLogWhereInput, z.ZodTypeDef, Prisma.CronJobLogWhereInput>>;
|
||||
cursor: z.ZodOptional<z.ZodType<Prisma.CronJobLogWhereUniqueInput, z.ZodTypeDef, Prisma.CronJobLogWhereUniqueInput>>;
|
||||
take: z.ZodOptional<z.ZodNumber>;
|
||||
skip: z.ZodOptional<z.ZodNumber>;
|
||||
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "jobName", "status", "startedAt", "completedAt", "durationMs", "errorMessage"]>, z.ZodArray<z.ZodEnum<["id", "jobName", "status", "startedAt", "completedAt", "durationMs", "errorMessage"]>, "many">]>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
where?: Prisma.CronJobLogWhereInput | undefined;
|
||||
select?: Prisma.CronJobLogSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
||||
orderBy?: Prisma.CronJobLogOrderByWithRelationInput | Prisma.CronJobLogOrderByWithRelationInput[] | undefined;
|
||||
cursor?: Prisma.CronJobLogWhereUniqueInput | undefined;
|
||||
take?: number | undefined;
|
||||
skip?: number | undefined;
|
||||
distinct?: "status" | "id" | "jobName" | "startedAt" | "completedAt" | "durationMs" | "errorMessage" | ("status" | "id" | "jobName" | "startedAt" | "completedAt" | "durationMs" | "errorMessage")[] | undefined;
|
||||
}, {
|
||||
where?: Prisma.CronJobLogWhereInput | undefined;
|
||||
select?: Prisma.CronJobLogSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
||||
orderBy?: Prisma.CronJobLogOrderByWithRelationInput | Prisma.CronJobLogOrderByWithRelationInput[] | undefined;
|
||||
cursor?: Prisma.CronJobLogWhereUniqueInput | undefined;
|
||||
take?: number | undefined;
|
||||
skip?: number | undefined;
|
||||
distinct?: "status" | "id" | "jobName" | "startedAt" | "completedAt" | "durationMs" | "errorMessage" | ("status" | "id" | "jobName" | "startedAt" | "completedAt" | "durationMs" | "errorMessage")[] | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=findFirstOrThrowCronJobLog.schema.d.ts.map
|
||||
Reference in New Issue
Block a user