Adds an optional Provider (NPI) select to the Edit Appointment form, sourced from Settings > NPI Providers. The AI "Claim for Column" batch flow now prefers the appointment's own provider when resolving which provider Selenium should select on the insurance site (e.g. MassHealth rendering provider dropdown), falling back to the existing per-procedure selection, active claim, or first configured provider. Also resyncs packages/db's committed compiled schema/client artifacts with their .ts sources — they had drifted out of sync (some untouched since July), which was silently stripping the new npiProviderId field via stale .strict() zod schemas. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
139 lines
7.9 KiB
TypeScript
139 lines
7.9 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
export declare const UserFindFirstOrThrowSelectSchema: z.ZodType<Prisma.UserSelect>;
|
|
export declare const UserFindFirstOrThrowSelectZodSchema: z.ZodObject<{
|
|
id: z.ZodOptional<z.ZodBoolean>;
|
|
username: z.ZodOptional<z.ZodBoolean>;
|
|
password: z.ZodOptional<z.ZodBoolean>;
|
|
autoBackupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
autoBackupHour: z.ZodOptional<z.ZodBoolean>;
|
|
usbBackupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
usbBackupHour: z.ZodOptional<z.ZodBoolean>;
|
|
autoMhCheckEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
autoMhCheckDayOfWeek: z.ZodOptional<z.ZodBoolean>;
|
|
autoMhCheckHour: z.ZodOptional<z.ZodBoolean>;
|
|
patients: z.ZodOptional<z.ZodBoolean>;
|
|
appointments: z.ZodOptional<z.ZodBoolean>;
|
|
staff: z.ZodOptional<z.ZodBoolean>;
|
|
npiProviders: z.ZodOptional<z.ZodBoolean>;
|
|
claims: z.ZodOptional<z.ZodBoolean>;
|
|
insuranceCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
shoppingVendors: z.ZodOptional<z.ZodBoolean>;
|
|
updatedPayments: z.ZodOptional<z.ZodBoolean>;
|
|
backups: z.ZodOptional<z.ZodBoolean>;
|
|
backupDestinations: z.ZodOptional<z.ZodBoolean>;
|
|
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
cloudFolders: z.ZodOptional<z.ZodBoolean>;
|
|
cloudFiles: z.ZodOptional<z.ZodBoolean>;
|
|
communications: z.ZodOptional<z.ZodBoolean>;
|
|
twilioSettings: z.ZodOptional<z.ZodBoolean>;
|
|
aiSettings: z.ZodOptional<z.ZodBoolean>;
|
|
officeHours: z.ZodOptional<z.ZodBoolean>;
|
|
officeContact: z.ZodOptional<z.ZodBoolean>;
|
|
procedureTimeslot: z.ZodOptional<z.ZodBoolean>;
|
|
insuranceContacts: z.ZodOptional<z.ZodBoolean>;
|
|
patientConversations: z.ZodOptional<z.ZodBoolean>;
|
|
labRxTemplates: z.ZodOptional<z.ZodBoolean>;
|
|
seleniumSettings: z.ZodOptional<z.ZodBoolean>;
|
|
_count: z.ZodOptional<z.ZodBoolean>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
id?: boolean | undefined;
|
|
username?: boolean | undefined;
|
|
password?: boolean | undefined;
|
|
appointments?: boolean | undefined;
|
|
staff?: boolean | undefined;
|
|
claims?: boolean | undefined;
|
|
autoBackupEnabled?: boolean | undefined;
|
|
autoBackupHour?: boolean | undefined;
|
|
usbBackupEnabled?: boolean | undefined;
|
|
usbBackupHour?: boolean | undefined;
|
|
autoMhCheckEnabled?: boolean | undefined;
|
|
autoMhCheckDayOfWeek?: boolean | undefined;
|
|
autoMhCheckHour?: boolean | undefined;
|
|
patients?: boolean | undefined;
|
|
npiProviders?: boolean | undefined;
|
|
insuranceCredentials?: boolean | undefined;
|
|
shoppingVendors?: boolean | undefined;
|
|
updatedPayments?: boolean | undefined;
|
|
backups?: boolean | undefined;
|
|
backupDestinations?: boolean | undefined;
|
|
notifications?: boolean | undefined;
|
|
cloudFolders?: boolean | undefined;
|
|
cloudFiles?: boolean | undefined;
|
|
communications?: boolean | undefined;
|
|
twilioSettings?: boolean | undefined;
|
|
aiSettings?: boolean | undefined;
|
|
officeHours?: boolean | undefined;
|
|
officeContact?: boolean | undefined;
|
|
procedureTimeslot?: boolean | undefined;
|
|
insuranceContacts?: boolean | undefined;
|
|
labRxTemplates?: boolean | undefined;
|
|
seleniumSettings?: boolean | undefined;
|
|
patientConversations?: boolean | undefined;
|
|
_count?: boolean | undefined;
|
|
}, {
|
|
id?: boolean | undefined;
|
|
username?: boolean | undefined;
|
|
password?: boolean | undefined;
|
|
appointments?: boolean | undefined;
|
|
staff?: boolean | undefined;
|
|
claims?: boolean | undefined;
|
|
autoBackupEnabled?: boolean | undefined;
|
|
autoBackupHour?: boolean | undefined;
|
|
usbBackupEnabled?: boolean | undefined;
|
|
usbBackupHour?: boolean | undefined;
|
|
autoMhCheckEnabled?: boolean | undefined;
|
|
autoMhCheckDayOfWeek?: boolean | undefined;
|
|
autoMhCheckHour?: boolean | undefined;
|
|
patients?: boolean | undefined;
|
|
npiProviders?: boolean | undefined;
|
|
insuranceCredentials?: boolean | undefined;
|
|
shoppingVendors?: boolean | undefined;
|
|
updatedPayments?: boolean | undefined;
|
|
backups?: boolean | undefined;
|
|
backupDestinations?: boolean | undefined;
|
|
notifications?: boolean | undefined;
|
|
cloudFolders?: boolean | undefined;
|
|
cloudFiles?: boolean | undefined;
|
|
communications?: boolean | undefined;
|
|
twilioSettings?: boolean | undefined;
|
|
aiSettings?: boolean | undefined;
|
|
officeHours?: boolean | undefined;
|
|
officeContact?: boolean | undefined;
|
|
procedureTimeslot?: boolean | undefined;
|
|
insuranceContacts?: boolean | undefined;
|
|
labRxTemplates?: boolean | undefined;
|
|
seleniumSettings?: boolean | undefined;
|
|
patientConversations?: boolean | undefined;
|
|
_count?: boolean | undefined;
|
|
}>;
|
|
export declare const UserFindFirstOrThrowSchema: z.ZodType<Prisma.UserFindFirstOrThrowArgs>;
|
|
export declare const UserFindFirstOrThrowZodSchema: z.ZodObject<{
|
|
select: z.ZodOptional<z.ZodType<Prisma.UserSelect<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.UserSelect<import("../../generated/prisma/runtime/client").DefaultArgs>>>;
|
|
include: z.ZodLazy<z.ZodOptional<z.ZodType<Prisma.UserInclude<import("../../generated/prisma/runtime/client").DefaultArgs>, z.ZodTypeDef, Prisma.UserInclude<import("../../generated/prisma/runtime/client").DefaultArgs>>>>;
|
|
orderBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Prisma.UserOrderByWithRelationInput, z.ZodTypeDef, Prisma.UserOrderByWithRelationInput>, z.ZodArray<z.ZodType<Prisma.UserOrderByWithRelationInput, z.ZodTypeDef, Prisma.UserOrderByWithRelationInput>, "many">]>>;
|
|
where: z.ZodOptional<z.ZodType<Prisma.UserWhereInput, z.ZodTypeDef, Prisma.UserWhereInput>>;
|
|
cursor: z.ZodOptional<z.ZodType<Prisma.UserWhereUniqueInput, z.ZodTypeDef, Prisma.UserWhereUniqueInput>>;
|
|
take: z.ZodOptional<z.ZodNumber>;
|
|
skip: z.ZodOptional<z.ZodNumber>;
|
|
distinct: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["id", "username", "password", "autoBackupEnabled", "autoBackupHour", "usbBackupEnabled", "usbBackupHour", "autoMhCheckEnabled", "autoMhCheckDayOfWeek", "autoMhCheckHour"]>, z.ZodArray<z.ZodEnum<["id", "username", "password", "autoBackupEnabled", "autoBackupHour", "usbBackupEnabled", "usbBackupHour", "autoMhCheckEnabled", "autoMhCheckDayOfWeek", "autoMhCheckHour"]>, "many">]>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
where?: Prisma.UserWhereInput | undefined;
|
|
include?: Prisma.UserInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.UserSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.UserWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "id" | "username" | "password" | "autoBackupEnabled" | "autoBackupHour" | "usbBackupEnabled" | "usbBackupHour" | "autoMhCheckEnabled" | "autoMhCheckDayOfWeek" | "autoMhCheckHour" | ("id" | "username" | "password" | "autoBackupEnabled" | "autoBackupHour" | "usbBackupEnabled" | "usbBackupHour" | "autoMhCheckEnabled" | "autoMhCheckDayOfWeek" | "autoMhCheckHour")[] | undefined;
|
|
}, {
|
|
where?: Prisma.UserWhereInput | undefined;
|
|
include?: Prisma.UserInclude<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
select?: Prisma.UserSelect<import("../../generated/prisma/runtime/client").DefaultArgs> | undefined;
|
|
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] | undefined;
|
|
cursor?: Prisma.UserWhereUniqueInput | undefined;
|
|
take?: number | undefined;
|
|
skip?: number | undefined;
|
|
distinct?: "id" | "username" | "password" | "autoBackupEnabled" | "autoBackupHour" | "usbBackupEnabled" | "usbBackupHour" | "autoMhCheckEnabled" | "autoMhCheckDayOfWeek" | "autoMhCheckHour" | ("id" | "username" | "password" | "autoBackupEnabled" | "autoBackupHour" | "usbBackupEnabled" | "usbBackupHour" | "autoMhCheckEnabled" | "autoMhCheckDayOfWeek" | "autoMhCheckHour")[] | undefined;
|
|
}>;
|
|
//# sourceMappingURL=findFirstOrThrowUser.schema.d.ts.map
|