fix: fix remote browser socket connection and related updates
This commit is contained in:
@@ -22,42 +22,42 @@ export declare const AppointmentInputSchema: z.ZodObject<{
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
eligibilityStatus: "ACTIVE" | "INACTIVE" | "UNKNOWN" | "PLAN_NOT_ACCEPTED";
|
||||
procedures: unknown[];
|
||||
userId: number;
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | null | undefined;
|
||||
procedureCodeNotes?: string | null | undefined;
|
||||
user?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
eligibilityStatus: "ACTIVE" | "INACTIVE" | "UNKNOWN" | "PLAN_NOT_ACCEPTED";
|
||||
procedures: unknown[];
|
||||
userId: number;
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | null | undefined;
|
||||
procedureCodeNotes?: string | null | undefined;
|
||||
user?: unknown;
|
||||
staff?: unknown;
|
||||
}>;
|
||||
export type AppointmentInputType = z.infer<typeof AppointmentInputSchema>;
|
||||
|
||||
@@ -20,7 +20,8 @@ export const AppointmentInputSchema = z.object({
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional().nullable(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
claims: z.array(z.unknown()),
|
||||
files: z.array(z.unknown())
|
||||
}).strict();
|
||||
|
||||
export type AppointmentInputType = z.infer<typeof AppointmentInputSchema>;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
// prettier-ignore
|
||||
export const AppointmentFileInputSchema = z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable(),
|
||||
appointment: z.unknown()
|
||||
}).strict();
|
||||
|
||||
export type AppointmentFileInputType = z.infer<typeof AppointmentFileInputSchema>;
|
||||
@@ -3,6 +3,7 @@ export declare const AppointmentProcedureInputSchema: z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
npiProviderId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
||||
@@ -15,14 +16,16 @@ export declare const AppointmentProcedureInputSchema: z.ZodObject<{
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
npiProvider: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
source: "COMBO" | "MANUAL";
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
npiProviderId?: number | null | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: number | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
@@ -31,14 +34,16 @@ export declare const AppointmentProcedureInputSchema: z.ZodObject<{
|
||||
oralCavityArea?: string | null | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
appointment?: unknown;
|
||||
npiProvider?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
source: "COMBO" | "MANUAL";
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
npiProviderId?: number | null | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: number | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
@@ -47,6 +52,7 @@ export declare const AppointmentProcedureInputSchema: z.ZodObject<{
|
||||
oralCavityArea?: string | null | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
appointment?: unknown;
|
||||
npiProvider?: unknown;
|
||||
}>;
|
||||
export type AppointmentProcedureInputType = z.infer<typeof AppointmentProcedureInputSchema>;
|
||||
//# sourceMappingURL=AppointmentProcedure.input.d.ts.map
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedure.input.d.ts","sourceRoot":"","sources":["AppointmentProcedure.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBjC,CAAC;AAEZ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
||||
{"version":3,"file":"AppointmentProcedure.input.d.ts","sourceRoot":"","sources":["AppointmentProcedure.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBjC,CAAC;AAEZ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
||||
@@ -41,6 +41,7 @@ exports.AppointmentProcedureInputSchema = z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.number().optional().nullable(),
|
||||
@@ -52,5 +53,6 @@ exports.AppointmentProcedureInputSchema = z.object({
|
||||
comboKey: z.string().optional().nullable(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
patient: z.unknown(),
|
||||
npiProvider: z.unknown().optional().nullable()
|
||||
}).strict();
|
||||
|
||||
@@ -8,15 +8,15 @@ export declare const BackupDestinationInputSchema: z.ZodObject<{
|
||||
user: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
path: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
isActive: boolean;
|
||||
user?: unknown;
|
||||
}, {
|
||||
path: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
isActive: boolean;
|
||||
user?: unknown;
|
||||
|
||||
@@ -17,20 +17,22 @@ export declare const ClaimInputSchema: z.ZodObject<{
|
||||
updatedAt: z.ZodDate;
|
||||
status: z.ZodEnum<["PENDING", "APPROVED", "CANCELLED", "REVIEW", "VOID"]>;
|
||||
claimNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
npiProviderId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
||||
patient: z.ZodUnknown;
|
||||
appointment: z.ZodUnknown;
|
||||
user: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
staff: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
npiProvider: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
serviceLines: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claimFiles: z.ZodArray<z.ZodUnknown, "many">;
|
||||
payment: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
status: "PENDING" | "APPROVED" | "CANCELLED" | "REVIEW" | "VOID";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
appointmentId: number;
|
||||
userId: number;
|
||||
staffId: number;
|
||||
updatedAt: Date;
|
||||
serviceLines: unknown[];
|
||||
@@ -42,20 +44,22 @@ export declare const ClaimInputSchema: z.ZodObject<{
|
||||
serviceDate: Date;
|
||||
insuranceProvider: string;
|
||||
claimFiles: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
npiProviderId?: number | null | undefined;
|
||||
appointment?: unknown;
|
||||
npiProvider?: unknown;
|
||||
user?: unknown;
|
||||
staff?: unknown;
|
||||
payment?: unknown;
|
||||
missingTeeth?: unknown;
|
||||
claimNumber?: string | null | undefined;
|
||||
}, {
|
||||
status: "PENDING" | "APPROVED" | "CANCELLED" | "REVIEW" | "VOID";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
appointmentId: number;
|
||||
userId: number;
|
||||
staffId: number;
|
||||
updatedAt: Date;
|
||||
serviceLines: unknown[];
|
||||
@@ -67,9 +71,11 @@ export declare const ClaimInputSchema: z.ZodObject<{
|
||||
serviceDate: Date;
|
||||
insuranceProvider: string;
|
||||
claimFiles: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
npiProviderId?: number | null | undefined;
|
||||
appointment?: unknown;
|
||||
npiProvider?: unknown;
|
||||
user?: unknown;
|
||||
staff?: unknown;
|
||||
payment?: unknown;
|
||||
missingTeeth?: unknown;
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"Claim.input.d.ts","sourceRoot":"","sources":["Claim.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBlB,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
||||
{"version":3,"file":"Claim.input.d.ts","sourceRoot":"","sources":["Claim.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BlB,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
||||
@@ -56,10 +56,12 @@ exports.ClaimInputSchema = z.object({
|
||||
updatedAt: z.date(),
|
||||
status: ClaimStatus_schema_1.ClaimStatusSchema,
|
||||
claimNumber: z.string().optional().nullable(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
patient: z.unknown(),
|
||||
appointment: z.unknown(),
|
||||
user: z.unknown().optional().nullable(),
|
||||
staff: z.unknown().optional().nullable(),
|
||||
npiProvider: z.unknown().optional().nullable(),
|
||||
serviceLines: z.array(z.unknown()),
|
||||
claimFiles: z.array(z.unknown()),
|
||||
payment: z.unknown().optional().nullable()
|
||||
|
||||
@@ -4,18 +4,21 @@ export declare const ClaimFileInputSchema: z.ZodObject<{
|
||||
claimId: z.ZodNumber;
|
||||
filename: z.ZodString;
|
||||
mimeType: z.ZodString;
|
||||
filePath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
claim: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
id: number;
|
||||
filename: string;
|
||||
id: number;
|
||||
mimeType: string;
|
||||
claimId: number;
|
||||
filePath?: string | null | undefined;
|
||||
claim?: unknown;
|
||||
}, {
|
||||
id: number;
|
||||
filename: string;
|
||||
id: number;
|
||||
mimeType: string;
|
||||
claimId: number;
|
||||
filePath?: string | null | undefined;
|
||||
claim?: unknown;
|
||||
}>;
|
||||
export type ClaimFileInputType = z.infer<typeof ClaimFileInputSchema>;
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"ClaimFile.input.d.ts","sourceRoot":"","sources":["ClaimFile.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAMtB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
||||
{"version":3,"file":"ClaimFile.input.d.ts","sourceRoot":"","sources":["ClaimFile.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;EAOtB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
||||
@@ -41,5 +41,6 @@ exports.ClaimFileInputSchema = z.object({
|
||||
claimId: z.number().int(),
|
||||
filename: z.string(),
|
||||
mimeType: z.string(),
|
||||
filePath: z.string().optional().nullable(),
|
||||
claim: z.unknown()
|
||||
}).strict();
|
||||
|
||||
@@ -8,14 +8,15 @@ export declare const CloudFileInputSchema: z.ZodObject<{
|
||||
folderId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
||||
isComplete: z.ZodBoolean;
|
||||
totalChunks: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
||||
diskPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
createdAt: z.ZodDate;
|
||||
updatedAt: z.ZodDate;
|
||||
user: z.ZodUnknown;
|
||||
folder: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
chunks: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
name: string;
|
||||
updatedAt: Date;
|
||||
@@ -25,11 +26,12 @@ export declare const CloudFileInputSchema: z.ZodObject<{
|
||||
user?: unknown;
|
||||
mimeType?: string | null | undefined;
|
||||
totalChunks?: number | null | undefined;
|
||||
diskPath?: string | null | undefined;
|
||||
folderId?: number | null | undefined;
|
||||
folder?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
name: string;
|
||||
updatedAt: Date;
|
||||
@@ -39,6 +41,7 @@ export declare const CloudFileInputSchema: z.ZodObject<{
|
||||
user?: unknown;
|
||||
mimeType?: string | null | undefined;
|
||||
totalChunks?: number | null | undefined;
|
||||
diskPath?: string | null | undefined;
|
||||
folderId?: number | null | undefined;
|
||||
folder?: unknown;
|
||||
}>;
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"CloudFile.input.d.ts","sourceRoot":"","sources":["CloudFile.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
||||
{"version":3,"file":"CloudFile.input.d.ts","sourceRoot":"","sources":["CloudFile.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
||||
@@ -45,6 +45,7 @@ exports.CloudFileInputSchema = z.object({
|
||||
folderId: z.number().int().optional().nullable(),
|
||||
isComplete: z.boolean(),
|
||||
totalChunks: z.number().int().optional().nullable(),
|
||||
diskPath: z.string().optional().nullable(),
|
||||
createdAt: z.date(),
|
||||
updatedAt: z.date(),
|
||||
user: z.unknown(),
|
||||
|
||||
@@ -7,16 +7,16 @@ export declare const CloudFileChunkInputSchema: z.ZodObject<{
|
||||
createdAt: z.ZodDate;
|
||||
file: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
data: Uint8Array<ArrayBuffer>;
|
||||
createdAt: Date;
|
||||
seq: number;
|
||||
fileId: number;
|
||||
file?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
data: Uint8Array<ArrayBuffer>;
|
||||
createdAt: Date;
|
||||
seq: number;
|
||||
fileId: number;
|
||||
file?: unknown;
|
||||
|
||||
@@ -11,8 +11,8 @@ export declare const CloudFolderInputSchema: z.ZodObject<{
|
||||
createdAt: z.ZodDate;
|
||||
updatedAt: z.ZodDate;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
name: string;
|
||||
updatedAt: Date;
|
||||
@@ -22,8 +22,8 @@ export declare const CloudFolderInputSchema: z.ZodObject<{
|
||||
parentId?: number | null | undefined;
|
||||
parent?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
name: string;
|
||||
updatedAt: Date;
|
||||
|
||||
@@ -14,27 +14,27 @@ export declare const CommunicationInputSchema: z.ZodObject<{
|
||||
user: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
status: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
channel: "sms" | "voice";
|
||||
direction: "outbound" | "inbound";
|
||||
userId?: number | null | undefined;
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
user?: unknown;
|
||||
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";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
channel: "sms" | "voice";
|
||||
direction: "outbound" | "inbound";
|
||||
userId?: number | null | undefined;
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
user?: unknown;
|
||||
userId?: number | null | undefined;
|
||||
body?: string | null | undefined;
|
||||
callDuration?: number | null | undefined;
|
||||
twilioSid?: string | null | undefined;
|
||||
|
||||
@@ -5,13 +5,13 @@ export declare const DatabaseBackupInputSchema: z.ZodObject<{
|
||||
createdAt: z.ZodDate;
|
||||
user: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
user?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
user?: unknown;
|
||||
}>;
|
||||
|
||||
@@ -10,16 +10,16 @@ export declare const NotificationInputSchema: z.ZodObject<{
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
message: string;
|
||||
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
read: boolean;
|
||||
user?: unknown;
|
||||
}, {
|
||||
message: string;
|
||||
type: "BACKUP" | "CLAIM" | "PAYMENT" | "ETC";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
read: boolean;
|
||||
user?: unknown;
|
||||
|
||||
@@ -6,19 +6,25 @@ export declare const NpiProviderInputSchema: z.ZodObject<{
|
||||
providerName: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
user: z.ZodUnknown;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
appointmentProcedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
claims: unknown[];
|
||||
npiNumber: string;
|
||||
providerName: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
appointmentProcedures: unknown[];
|
||||
user?: unknown;
|
||||
}, {
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
claims: unknown[];
|
||||
npiNumber: string;
|
||||
providerName: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
appointmentProcedures: unknown[];
|
||||
user?: unknown;
|
||||
}>;
|
||||
export type NpiProviderInputType = z.infer<typeof NpiProviderInputSchema>;
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"NpiProvider.input.d.ts","sourceRoot":"","sources":["NpiProvider.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOxB,CAAC;AAEZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
||||
{"version":3,"file":"NpiProvider.input.d.ts","sourceRoot":"","sources":["NpiProvider.input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
||||
@@ -42,5 +42,7 @@ exports.NpiProviderInputSchema = z.object({
|
||||
npiNumber: z.string(),
|
||||
providerName: z.string(),
|
||||
createdAt: z.date(),
|
||||
user: z.unknown()
|
||||
user: z.unknown(),
|
||||
claims: z.array(z.unknown()),
|
||||
appointmentProcedures: z.array(z.unknown())
|
||||
}).strict();
|
||||
|
||||
@@ -29,10 +29,10 @@ export declare const PatientInputSchema: z.ZodObject<{
|
||||
documents: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
status: "ACTIVE" | "INACTIVE" | "UNKNOWN" | "PLAN_NOT_ACCEPTED";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
createdAt: Date;
|
||||
procedures: unknown[];
|
||||
userId: number;
|
||||
claims: unknown[];
|
||||
phone: string;
|
||||
appointments: unknown[];
|
||||
@@ -57,10 +57,10 @@ export declare const PatientInputSchema: z.ZodObject<{
|
||||
medicalConditions?: string | null | undefined;
|
||||
}, {
|
||||
status: "ACTIVE" | "INACTIVE" | "UNKNOWN" | "PLAN_NOT_ACCEPTED";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
createdAt: Date;
|
||||
procedures: unknown[];
|
||||
userId: number;
|
||||
claims: unknown[];
|
||||
phone: string;
|
||||
appointments: unknown[];
|
||||
|
||||
@@ -11,26 +11,26 @@ export declare const PatientDocumentInputSchema: z.ZodObject<{
|
||||
updatedAt: z.ZodDate;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
id: number;
|
||||
filename: string;
|
||||
uploadedAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
mimeType: string;
|
||||
filePath: string;
|
||||
updatedAt: Date;
|
||||
originalName: string;
|
||||
fileSize: bigint;
|
||||
filePath: string;
|
||||
patient?: unknown;
|
||||
}, {
|
||||
id: number;
|
||||
filename: string;
|
||||
uploadedAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
mimeType: string;
|
||||
filePath: string;
|
||||
updatedAt: Date;
|
||||
originalName: string;
|
||||
fileSize: bigint;
|
||||
filePath: string;
|
||||
patient?: unknown;
|
||||
}>;
|
||||
export type PatientDocumentInputType = z.infer<typeof PatientDocumentInputSchema>;
|
||||
|
||||
@@ -21,10 +21,10 @@ export declare const PaymentInputSchema: z.ZodObject<{
|
||||
serviceLines: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
status: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
userId: number;
|
||||
totalBilled: number;
|
||||
totalPaid: number;
|
||||
totalAdjusted: number;
|
||||
@@ -41,10 +41,10 @@ export declare const PaymentInputSchema: z.ZodObject<{
|
||||
updatedById?: number | null | undefined;
|
||||
}, {
|
||||
status: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED";
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
createdAt: Date;
|
||||
patientId: number;
|
||||
userId: number;
|
||||
totalBilled: number;
|
||||
totalPaid: number;
|
||||
totalAdjusted: number;
|
||||
|
||||
@@ -7,17 +7,17 @@ export declare const PdfFileInputSchema: z.ZodObject<{
|
||||
groupId: z.ZodNumber;
|
||||
group: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
id: number;
|
||||
filename: string;
|
||||
pdfData: Uint8Array<ArrayBuffer>;
|
||||
uploadedAt: Date;
|
||||
id: number;
|
||||
groupId: number;
|
||||
group?: unknown;
|
||||
}, {
|
||||
id: number;
|
||||
filename: string;
|
||||
pdfData: Uint8Array<ArrayBuffer>;
|
||||
uploadedAt: Date;
|
||||
id: number;
|
||||
groupId: number;
|
||||
group?: unknown;
|
||||
}>;
|
||||
|
||||
@@ -8,18 +8,18 @@ export declare const PdfGroupInputSchema: z.ZodObject<{
|
||||
patient: z.ZodUnknown;
|
||||
pdfs: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
title: string;
|
||||
titleKey: "INSURANCE_CLAIM" | "INSURANCE_CLAIM_PREAUTH" | "ELIGIBILITY_STATUS" | "CLAIM_STATUS" | "OTHER";
|
||||
createdAt: Date;
|
||||
pdfs: unknown[];
|
||||
patientId: number;
|
||||
patient?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
title: string;
|
||||
titleKey: "INSURANCE_CLAIM" | "INSURANCE_CLAIM_PREAUTH" | "ELIGIBILITY_STATUS" | "CLAIM_STATUS" | "OTHER";
|
||||
createdAt: Date;
|
||||
pdfs: unknown[];
|
||||
patientId: number;
|
||||
patient?: unknown;
|
||||
|
||||
@@ -14,8 +14,8 @@ export declare const ServiceLineTransactionInputSchema: z.ZodObject<{
|
||||
payment: z.ZodUnknown;
|
||||
serviceLine: z.ZodUnknown;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
paymentId: number;
|
||||
paidAmount: number;
|
||||
adjustedAmount: number;
|
||||
@@ -28,8 +28,8 @@ export declare const ServiceLineTransactionInputSchema: z.ZodObject<{
|
||||
payment?: unknown;
|
||||
serviceLine?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
paymentId: number;
|
||||
paidAmount: number;
|
||||
adjustedAmount: number;
|
||||
|
||||
@@ -11,8 +11,8 @@ export declare const StaffInputSchema: z.ZodObject<{
|
||||
appointments: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
claims: unknown[];
|
||||
name: string;
|
||||
@@ -22,8 +22,8 @@ export declare const StaffInputSchema: z.ZodObject<{
|
||||
email?: string | null | undefined;
|
||||
phone?: string | null | undefined;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
createdAt: Date;
|
||||
userId: number;
|
||||
claims: unknown[];
|
||||
name: string;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
export { UserInputSchema } from './User.input';
|
||||
export { PatientInputSchema } from './Patient.input';
|
||||
export { AppointmentInputSchema } from './Appointment.input';
|
||||
export { AppointmentFileInputSchema } from './AppointmentFile.input';
|
||||
export { StaffInputSchema } from './Staff.input';
|
||||
export { NpiProviderInputSchema } from './NpiProvider.input';
|
||||
export { AppointmentProcedureInputSchema } from './AppointmentProcedure.input';
|
||||
|
||||
Reference in New Issue
Block a user