- 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>
142 lines
8.0 KiB
TypeScript
142 lines
8.0 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>;
|
|
telnyxSettings: 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;
|
|
telnyxSettings?: 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;
|
|
telnyxSettings?: 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
|