Files
DentalManagementMH06/packages/db/usedSchemas/browser.d.ts

475 lines
18 KiB
TypeScript

import * as z from "zod";
export declare const PatientStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE", "UNKNOWN"]>;
export type PatientStatus = z.infer<typeof PatientStatusSchema>;
export declare const ClaimStatusSchema: z.ZodEnum<["PENDING", "APPROVED", "CANCELLED", "REVIEW", "VOID"]>;
export type ClaimStatus = z.infer<typeof ClaimStatusSchema>;
export declare const PaymentMethodSchema: z.ZodEnum<["EFT", "CHECK", "CASH", "CARD", "OTHER"]>;
export type PaymentMethod = z.infer<typeof PaymentMethodSchema>;
export declare const PaymentStatusSchema: z.ZodEnum<["PENDING", "PARTIALLY_PAID", "PAID", "OVERPAID", "DENIED", "VOID"]>;
export type PaymentStatus = z.infer<typeof PaymentStatusSchema>;
export declare const NotificationTypesSchema: z.ZodEnum<["BACKUP", "CLAIM", "PAYMENT", "ETC"]>;
export type NotificationTypes = z.infer<typeof NotificationTypesSchema>;
export declare const ProcedureSourceSchema: z.ZodEnum<["COMBO", "MANUAL"]>;
export type ProcedureSource = z.infer<typeof ProcedureSourceSchema>;
export declare const PdfTitleKeySchema: z.ZodEnum<["INSURANCE_CLAIM", "INSURANCE_CLAIM_PREAUTH", "ELIGIBILITY_STATUS", "CLAIM_STATUS", "OTHER"]>;
export type PdfTitleKey = z.infer<typeof PdfTitleKeySchema>;
export declare const CommunicationChannelSchema: z.ZodEnum<["sms", "voice"]>;
export type CommunicationChannel = z.infer<typeof CommunicationChannelSchema>;
export declare const CommunicationDirectionSchema: z.ZodEnum<["outbound", "inbound"]>;
export type CommunicationDirection = z.infer<typeof CommunicationDirectionSchema>;
export declare const CommunicationStatusSchema: z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>;
export type CommunicationStatus = z.infer<typeof CommunicationStatusSchema>;
export declare const UserUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
username: z.ZodString;
password: z.ZodString;
}, "strip", z.ZodTypeAny, {
username: string;
password: string;
id?: number | undefined;
}, {
username: string;
password: string;
id?: number | undefined;
}>;
export declare const PatientUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
firstName: z.ZodString;
lastName: z.ZodString;
dateOfBirth: z.ZodString;
phone: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
address: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
zipCode: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "UNKNOWN"]>>;
}, "strip", z.ZodTypeAny, {
dateOfBirth: string;
firstName: string;
lastName: string;
status?: "ACTIVE" | "INACTIVE" | "UNKNOWN" | undefined;
id?: number | undefined;
email?: string | undefined;
phone?: string | undefined;
address?: string | undefined;
city?: string | undefined;
zipCode?: string | undefined;
state?: string | undefined;
}, {
dateOfBirth: string;
firstName: string;
lastName: string;
status?: "ACTIVE" | "INACTIVE" | "UNKNOWN" | undefined;
id?: number | undefined;
email?: string | undefined;
phone?: string | undefined;
address?: string | undefined;
city?: string | undefined;
zipCode?: string | undefined;
state?: string | undefined;
}>;
export declare const StaffUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
firstName: z.ZodString;
lastName: z.ZodString;
role: z.ZodString;
phone: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
userId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
role: string;
firstName: string;
lastName: string;
id?: number | undefined;
userId?: number | undefined;
email?: string | undefined;
phone?: string | undefined;
}, {
role: string;
firstName: string;
lastName: string;
id?: number | undefined;
userId?: number | undefined;
email?: string | undefined;
phone?: string | undefined;
}>;
export declare const AppointmentUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
patientId: z.ZodNumber;
userId: z.ZodOptional<z.ZodNumber>;
staffId: z.ZodOptional<z.ZodNumber>;
title: z.ZodOptional<z.ZodString>;
date: z.ZodDate;
startTime: z.ZodString;
endTime: z.ZodString;
type: z.ZodString;
status: z.ZodOptional<z.ZodEnum<["scheduled", "confirmed", "completed", "cancelled", "no-show"]>>;
notes: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
type: string;
date: Date;
patientId: number;
startTime: string;
endTime: string;
status?: "completed" | "scheduled" | "confirmed" | "cancelled" | "no-show" | undefined;
id?: number | undefined;
title?: string | undefined;
notes?: string | undefined;
userId?: number | undefined;
staffId?: number | undefined;
}, {
type: string;
date: Date;
patientId: number;
startTime: string;
endTime: string;
status?: "completed" | "scheduled" | "confirmed" | "cancelled" | "no-show" | undefined;
id?: number | undefined;
title?: string | undefined;
notes?: string | undefined;
userId?: number | undefined;
staffId?: number | undefined;
}>;
export declare const AppointmentProcedureUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
appointmentId: z.ZodNumber;
patientId: z.ZodNumber;
procedureCode: z.ZodString;
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
toothNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
toothSurface: z.ZodNullable<z.ZodOptional<z.ZodString>>;
oralCavityArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
source: z.ZodOptional<z.ZodEnum<["COMBO", "MANUAL"]>>;
comboKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
patientId: number;
procedureCode: string;
appointmentId: number;
id?: number | undefined;
createdAt?: Date | undefined;
procedureLabel?: string | null | undefined;
fee?: number | null | undefined;
category?: string | null | undefined;
toothNumber?: string | null | undefined;
toothSurface?: string | null | undefined;
oralCavityArea?: string | null | undefined;
source?: "COMBO" | "MANUAL" | undefined;
comboKey?: string | null | undefined;
}, {
patientId: number;
procedureCode: string;
appointmentId: number;
id?: number | undefined;
createdAt?: Date | undefined;
procedureLabel?: string | null | undefined;
fee?: number | null | undefined;
category?: string | null | undefined;
toothNumber?: string | null | undefined;
toothSurface?: string | null | undefined;
oralCavityArea?: string | null | undefined;
source?: "COMBO" | "MANUAL" | undefined;
comboKey?: string | null | undefined;
}>;
export declare const NpiProviderUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
npiNumber: z.ZodString;
providerName: z.ZodString;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
userId: number;
npiNumber: string;
providerName: string;
id?: number | undefined;
createdAt?: Date | undefined;
}, {
userId: number;
npiNumber: string;
providerName: string;
id?: number | undefined;
createdAt?: Date | undefined;
}>;
export declare const ClaimUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
patientId: z.ZodNumber;
appointmentId: z.ZodOptional<z.ZodNumber>;
status: z.ZodOptional<z.ZodEnum<["PENDING", "APPROVED", "CANCELLED", "REVIEW", "VOID"]>>;
submittedAt: z.ZodOptional<z.ZodString>;
paidAt: z.ZodOptional<z.ZodString>;
amount: z.ZodOptional<z.ZodNumber>;
insuranceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
patientId: number;
status?: "PENDING" | "APPROVED" | "CANCELLED" | "REVIEW" | "VOID" | undefined;
id?: number | undefined;
appointmentId?: number | undefined;
insuranceId?: string | undefined;
submittedAt?: string | undefined;
paidAt?: string | undefined;
amount?: number | undefined;
}, {
patientId: number;
status?: "PENDING" | "APPROVED" | "CANCELLED" | "REVIEW" | "VOID" | undefined;
id?: number | undefined;
appointmentId?: number | undefined;
insuranceId?: string | undefined;
submittedAt?: string | undefined;
paidAt?: string | undefined;
amount?: number | undefined;
}>;
export declare const InsuranceCredentialUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
siteKey: z.ZodString;
username: z.ZodString;
password: z.ZodString;
}, "strip", z.ZodTypeAny, {
userId: number;
siteKey: string;
username: string;
password: string;
id?: number | undefined;
}, {
userId: number;
siteKey: string;
username: string;
password: string;
id?: number | undefined;
}>;
export declare const PdfFileUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
filename: z.ZodString;
pdfData: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
uploadedAt: z.ZodOptional<z.ZodDate>;
groupId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
filename: string;
pdfData: Uint8Array<ArrayBuffer>;
groupId: number;
uploadedAt?: Date | undefined;
id?: number | undefined;
}, {
filename: string;
pdfData: Uint8Array<ArrayBuffer>;
groupId: number;
uploadedAt?: Date | undefined;
id?: number | undefined;
}>;
export declare const PdfGroupUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
title: z.ZodString;
titleKey: z.ZodOptional<z.ZodEnum<["INSURANCE_CLAIM", "INSURANCE_CLAIM_PREAUTH", "ELIGIBILITY_STATUS", "CLAIM_STATUS", "OTHER"]>>;
createdAt: z.ZodOptional<z.ZodDate>;
patientId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
title: string;
patientId: number;
id?: number | undefined;
titleKey?: "INSURANCE_CLAIM" | "INSURANCE_CLAIM_PREAUTH" | "ELIGIBILITY_STATUS" | "CLAIM_STATUS" | "OTHER" | undefined;
createdAt?: Date | undefined;
}, {
title: string;
patientId: number;
id?: number | undefined;
titleKey?: "INSURANCE_CLAIM" | "INSURANCE_CLAIM_PREAUTH" | "ELIGIBILITY_STATUS" | "CLAIM_STATUS" | "OTHER" | undefined;
createdAt?: Date | undefined;
}>;
export declare const PaymentUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
patientId: z.ZodNumber;
appointmentId: z.ZodOptional<z.ZodNumber>;
amount: z.ZodNumber;
method: z.ZodOptional<z.ZodEnum<["EFT", "CHECK", "CASH", "CARD", "OTHER"]>>;
status: z.ZodOptional<z.ZodEnum<["PENDING", "PARTIALLY_PAID", "PAID", "OVERPAID", "DENIED", "VOID"]>>;
paymentDate: z.ZodOptional<z.ZodString>;
updatedById: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
patientId: number;
amount: number;
status?: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED" | undefined;
id?: number | undefined;
appointmentId?: number | undefined;
method?: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD" | undefined;
updatedById?: number | undefined;
paymentDate?: string | undefined;
}, {
patientId: number;
amount: number;
status?: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED" | undefined;
id?: number | undefined;
appointmentId?: number | undefined;
method?: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD" | undefined;
updatedById?: number | undefined;
paymentDate?: string | undefined;
}>;
export declare const ServiceLineTransactionCreateInputObjectSchema: z.ZodObject<{
transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
paidAmount: z.ZodNumber;
adjustedAmount: z.ZodOptional<z.ZodNumber>;
method: z.ZodEnum<["EFT", "CHECK", "CASH", "CARD", "OTHER"]>;
receivedDate: z.ZodDate;
payerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
paidAmount: number;
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
receivedDate: Date;
createdAt?: Date | undefined;
notes?: string | null | undefined;
transactionId?: string | null | undefined;
adjustedAmount?: number | undefined;
payerName?: string | null | undefined;
}, {
paidAmount: number;
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
receivedDate: Date;
createdAt?: Date | undefined;
notes?: string | null | undefined;
transactionId?: string | null | undefined;
adjustedAmount?: number | undefined;
payerName?: string | null | undefined;
}>;
export declare const NotificationUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
type: z.ZodEnum<["BACKUP", "CLAIM", "PAYMENT", "ETC"]>;
message: z.ZodString;
createdAt: z.ZodOptional<z.ZodDate>;
read: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
message: string;
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
userId: number;
id?: number | undefined;
createdAt?: Date | undefined;
read?: boolean | undefined;
}, {
message: string;
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
userId: number;
id?: number | undefined;
createdAt?: Date | undefined;
read?: boolean | undefined;
}>;
export declare const DatabaseBackupUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
userId: number;
id?: number | undefined;
createdAt?: Date | undefined;
}, {
userId: number;
id?: number | undefined;
createdAt?: Date | undefined;
}>;
export declare const BackupDestinationUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
path: z.ZodString;
isActive: z.ZodOptional<z.ZodBoolean>;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
path: string;
userId: number;
id?: number | undefined;
createdAt?: Date | undefined;
isActive?: boolean | undefined;
}, {
path: string;
userId: number;
id?: number | undefined;
createdAt?: Date | undefined;
isActive?: boolean | undefined;
}>;
export declare const CloudFolderUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
name: z.ZodString;
parentId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
userId: number;
name: string;
id?: number | undefined;
createdAt?: Date | undefined;
parentId?: number | null | undefined;
}, {
userId: number;
name: string;
id?: number | undefined;
createdAt?: Date | undefined;
parentId?: number | null | undefined;
}>;
export declare const CloudFileUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
userId: z.ZodNumber;
name: z.ZodString;
mimeType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
fileSize: z.ZodBigInt;
folderId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
isComplete: z.ZodOptional<z.ZodBoolean>;
totalChunks: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
userId: number;
name: string;
fileSize: bigint;
id?: number | undefined;
createdAt?: Date | undefined;
mimeType?: string | null | undefined;
isComplete?: boolean | undefined;
totalChunks?: number | null | undefined;
folderId?: number | null | undefined;
}, {
userId: number;
name: string;
fileSize: bigint;
id?: number | undefined;
createdAt?: Date | undefined;
mimeType?: string | null | undefined;
isComplete?: boolean | undefined;
totalChunks?: number | null | undefined;
folderId?: number | null | undefined;
}>;
export declare const CommunicationUncheckedCreateInputObjectSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
patientId: z.ZodNumber;
userId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
channel: z.ZodEnum<["sms", "voice"]>;
direction: z.ZodEnum<["outbound", "inbound"]>;
status: z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>;
body: z.ZodNullable<z.ZodOptional<z.ZodString>>;
callDuration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
twilioSid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodOptional<z.ZodDate>;
}, "strip", z.ZodTypeAny, {
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
patientId: number;
channel: "sms" | "voice";
direction: "outbound" | "inbound";
id?: number | undefined;
createdAt?: Date | undefined;
userId?: number | null | undefined;
body?: string | null | undefined;
callDuration?: number | null | undefined;
twilioSid?: string | null | undefined;
}, {
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
patientId: number;
channel: "sms" | "voice";
direction: "outbound" | "inbound";
id?: number | undefined;
createdAt?: Date | undefined;
userId?: number | null | undefined;
body?: string | null | undefined;
callDuration?: number | null | undefined;
twilioSid?: string | null | undefined;
}>;
//# sourceMappingURL=browser.d.ts.map