initial commit
This commit is contained in:
545
packages/db/generated/prisma/index-browser.js
Normal file
545
packages/db/generated/prisma/index-browser.js
Normal file
@@ -0,0 +1,545 @@
|
||||
|
||||
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
||||
/* eslint-disable */
|
||||
// biome-ignore-all lint: generated file
|
||||
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
|
||||
const {
|
||||
Decimal,
|
||||
DbNull,
|
||||
JsonNull,
|
||||
AnyNull,
|
||||
NullTypes,
|
||||
makeStrictEnum,
|
||||
Public,
|
||||
getRuntime,
|
||||
skip
|
||||
} = require('./runtime/index-browser.js')
|
||||
|
||||
|
||||
const Prisma = {}
|
||||
|
||||
exports.Prisma = Prisma
|
||||
exports.$Enums = {}
|
||||
|
||||
/**
|
||||
* Prisma Client JS version: 7.4.1
|
||||
* Query Engine version: 55ae170b1ced7fc6ed07a15f110549408c501bb3
|
||||
*/
|
||||
Prisma.prismaVersion = {
|
||||
client: "7.4.1",
|
||||
engine: "55ae170b1ced7fc6ed07a15f110549408c501bb3"
|
||||
}
|
||||
|
||||
Prisma.PrismaClientKnownRequestError = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)};
|
||||
Prisma.PrismaClientUnknownRequestError = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.PrismaClientRustPanicError = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.PrismaClientInitializationError = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.PrismaClientValidationError = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.Decimal = Decimal
|
||||
|
||||
/**
|
||||
* Re-export of sql-template-tag
|
||||
*/
|
||||
Prisma.sql = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.empty = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.join = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.raw = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.validator = Public.validator
|
||||
|
||||
/**
|
||||
* Extensions
|
||||
*/
|
||||
Prisma.getExtensionContext = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
Prisma.defineExtension = () => {
|
||||
const runtimeName = getRuntime().prettyName;
|
||||
throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
||||
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
||||
)}
|
||||
|
||||
/**
|
||||
* Shorthand utilities for JSON filtering
|
||||
*/
|
||||
Prisma.DbNull = DbNull
|
||||
Prisma.JsonNull = JsonNull
|
||||
Prisma.AnyNull = AnyNull
|
||||
|
||||
Prisma.NullTypes = NullTypes
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Enums
|
||||
*/
|
||||
|
||||
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
||||
ReadUncommitted: 'ReadUncommitted',
|
||||
ReadCommitted: 'ReadCommitted',
|
||||
RepeatableRead: 'RepeatableRead',
|
||||
Serializable: 'Serializable'
|
||||
});
|
||||
|
||||
exports.Prisma.UserScalarFieldEnum = {
|
||||
id: 'id',
|
||||
username: 'username',
|
||||
password: 'password'
|
||||
};
|
||||
|
||||
exports.Prisma.PatientScalarFieldEnum = {
|
||||
id: 'id',
|
||||
firstName: 'firstName',
|
||||
lastName: 'lastName',
|
||||
dateOfBirth: 'dateOfBirth',
|
||||
gender: 'gender',
|
||||
phone: 'phone',
|
||||
email: 'email',
|
||||
address: 'address',
|
||||
city: 'city',
|
||||
zipCode: 'zipCode',
|
||||
insuranceProvider: 'insuranceProvider',
|
||||
insuranceId: 'insuranceId',
|
||||
groupNumber: 'groupNumber',
|
||||
policyHolder: 'policyHolder',
|
||||
allergies: 'allergies',
|
||||
medicalConditions: 'medicalConditions',
|
||||
status: 'status',
|
||||
userId: 'userId',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.AppointmentScalarFieldEnum = {
|
||||
id: 'id',
|
||||
patientId: 'patientId',
|
||||
userId: 'userId',
|
||||
staffId: 'staffId',
|
||||
title: 'title',
|
||||
date: 'date',
|
||||
startTime: 'startTime',
|
||||
endTime: 'endTime',
|
||||
type: 'type',
|
||||
notes: 'notes',
|
||||
procedureCodeNotes: 'procedureCodeNotes',
|
||||
status: 'status',
|
||||
createdAt: 'createdAt',
|
||||
eligibilityStatus: 'eligibilityStatus'
|
||||
};
|
||||
|
||||
exports.Prisma.StaffScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
name: 'name',
|
||||
email: 'email',
|
||||
role: 'role',
|
||||
phone: 'phone',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.NpiProviderScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
npiNumber: 'npiNumber',
|
||||
providerName: 'providerName',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.AppointmentProcedureScalarFieldEnum = {
|
||||
id: 'id',
|
||||
appointmentId: 'appointmentId',
|
||||
patientId: 'patientId',
|
||||
procedureCode: 'procedureCode',
|
||||
procedureLabel: 'procedureLabel',
|
||||
fee: 'fee',
|
||||
category: 'category',
|
||||
toothNumber: 'toothNumber',
|
||||
toothSurface: 'toothSurface',
|
||||
oralCavityArea: 'oralCavityArea',
|
||||
source: 'source',
|
||||
comboKey: 'comboKey',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.ClaimScalarFieldEnum = {
|
||||
id: 'id',
|
||||
patientId: 'patientId',
|
||||
appointmentId: 'appointmentId',
|
||||
userId: 'userId',
|
||||
staffId: 'staffId',
|
||||
patientName: 'patientName',
|
||||
memberId: 'memberId',
|
||||
dateOfBirth: 'dateOfBirth',
|
||||
remarks: 'remarks',
|
||||
missingTeethStatus: 'missingTeethStatus',
|
||||
missingTeeth: 'missingTeeth',
|
||||
serviceDate: 'serviceDate',
|
||||
insuranceProvider: 'insuranceProvider',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
status: 'status',
|
||||
claimNumber: 'claimNumber'
|
||||
};
|
||||
|
||||
exports.Prisma.ServiceLineScalarFieldEnum = {
|
||||
id: 'id',
|
||||
claimId: 'claimId',
|
||||
paymentId: 'paymentId',
|
||||
procedureCode: 'procedureCode',
|
||||
procedureDate: 'procedureDate',
|
||||
quad: 'quad',
|
||||
arch: 'arch',
|
||||
toothNumber: 'toothNumber',
|
||||
toothSurface: 'toothSurface',
|
||||
totalBilled: 'totalBilled',
|
||||
totalPaid: 'totalPaid',
|
||||
totalAdjusted: 'totalAdjusted',
|
||||
totalDue: 'totalDue',
|
||||
status: 'status'
|
||||
};
|
||||
|
||||
exports.Prisma.ClaimFileScalarFieldEnum = {
|
||||
id: 'id',
|
||||
claimId: 'claimId',
|
||||
filename: 'filename',
|
||||
mimeType: 'mimeType'
|
||||
};
|
||||
|
||||
exports.Prisma.InsuranceCredentialScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
siteKey: 'siteKey',
|
||||
username: 'username',
|
||||
password: 'password'
|
||||
};
|
||||
|
||||
exports.Prisma.PdfGroupScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
titleKey: 'titleKey',
|
||||
createdAt: 'createdAt',
|
||||
patientId: 'patientId'
|
||||
};
|
||||
|
||||
exports.Prisma.PdfFileScalarFieldEnum = {
|
||||
id: 'id',
|
||||
filename: 'filename',
|
||||
pdfData: 'pdfData',
|
||||
uploadedAt: 'uploadedAt',
|
||||
groupId: 'groupId'
|
||||
};
|
||||
|
||||
exports.Prisma.PaymentScalarFieldEnum = {
|
||||
id: 'id',
|
||||
claimId: 'claimId',
|
||||
patientId: 'patientId',
|
||||
userId: 'userId',
|
||||
updatedById: 'updatedById',
|
||||
totalBilled: 'totalBilled',
|
||||
totalPaid: 'totalPaid',
|
||||
totalAdjusted: 'totalAdjusted',
|
||||
totalDue: 'totalDue',
|
||||
status: 'status',
|
||||
notes: 'notes',
|
||||
icn: 'icn',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.ServiceLineTransactionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
paymentId: 'paymentId',
|
||||
serviceLineId: 'serviceLineId',
|
||||
transactionId: 'transactionId',
|
||||
paidAmount: 'paidAmount',
|
||||
adjustedAmount: 'adjustedAmount',
|
||||
method: 'method',
|
||||
receivedDate: 'receivedDate',
|
||||
payerName: 'payerName',
|
||||
notes: 'notes',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.DatabaseBackupScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.BackupDestinationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
path: 'path',
|
||||
isActive: 'isActive',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.NotificationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
type: 'type',
|
||||
message: 'message',
|
||||
createdAt: 'createdAt',
|
||||
read: 'read'
|
||||
};
|
||||
|
||||
exports.Prisma.CloudFolderScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
name: 'name',
|
||||
parentId: 'parentId',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.CloudFileScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
name: 'name',
|
||||
mimeType: 'mimeType',
|
||||
fileSize: 'fileSize',
|
||||
folderId: 'folderId',
|
||||
isComplete: 'isComplete',
|
||||
totalChunks: 'totalChunks',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.CloudFileChunkScalarFieldEnum = {
|
||||
id: 'id',
|
||||
fileId: 'fileId',
|
||||
seq: 'seq',
|
||||
data: 'data',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.CommunicationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
patientId: 'patientId',
|
||||
userId: 'userId',
|
||||
channel: 'channel',
|
||||
direction: 'direction',
|
||||
status: 'status',
|
||||
body: 'body',
|
||||
callDuration: 'callDuration',
|
||||
twilioSid: 'twilioSid',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.PatientDocumentScalarFieldEnum = {
|
||||
id: 'id',
|
||||
patientId: 'patientId',
|
||||
filename: 'filename',
|
||||
originalName: 'originalName',
|
||||
mimeType: 'mimeType',
|
||||
fileSize: 'fileSize',
|
||||
filePath: 'filePath',
|
||||
uploadedAt: 'uploadedAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
};
|
||||
|
||||
exports.Prisma.NullableJsonNullValueInput = {
|
||||
DbNull: Prisma.DbNull,
|
||||
JsonNull: Prisma.JsonNull
|
||||
};
|
||||
|
||||
exports.Prisma.QueryMode = {
|
||||
default: 'default',
|
||||
insensitive: 'insensitive'
|
||||
};
|
||||
|
||||
exports.Prisma.NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
};
|
||||
|
||||
exports.Prisma.JsonNullValueFilter = {
|
||||
DbNull: Prisma.DbNull,
|
||||
JsonNull: Prisma.JsonNull,
|
||||
AnyNull: Prisma.AnyNull
|
||||
};
|
||||
exports.PatientStatus = exports.$Enums.PatientStatus = {
|
||||
ACTIVE: 'ACTIVE',
|
||||
INACTIVE: 'INACTIVE',
|
||||
UNKNOWN: 'UNKNOWN'
|
||||
};
|
||||
|
||||
exports.ProcedureSource = exports.$Enums.ProcedureSource = {
|
||||
COMBO: 'COMBO',
|
||||
MANUAL: 'MANUAL'
|
||||
};
|
||||
|
||||
exports.MissingTeethStatus = exports.$Enums.MissingTeethStatus = {
|
||||
No_missing: 'No_missing',
|
||||
endentulous: 'endentulous',
|
||||
Yes_missing: 'Yes_missing'
|
||||
};
|
||||
|
||||
exports.ClaimStatus = exports.$Enums.ClaimStatus = {
|
||||
PENDING: 'PENDING',
|
||||
APPROVED: 'APPROVED',
|
||||
CANCELLED: 'CANCELLED',
|
||||
REVIEW: 'REVIEW',
|
||||
VOID: 'VOID'
|
||||
};
|
||||
|
||||
exports.ServiceLineStatus = exports.$Enums.ServiceLineStatus = {
|
||||
PENDING: 'PENDING',
|
||||
PARTIALLY_PAID: 'PARTIALLY_PAID',
|
||||
PAID: 'PAID',
|
||||
UNPAID: 'UNPAID',
|
||||
ADJUSTED: 'ADJUSTED',
|
||||
OVERPAID: 'OVERPAID',
|
||||
DENIED: 'DENIED'
|
||||
};
|
||||
|
||||
exports.PdfTitleKey = exports.$Enums.PdfTitleKey = {
|
||||
INSURANCE_CLAIM: 'INSURANCE_CLAIM',
|
||||
INSURANCE_CLAIM_PREAUTH: 'INSURANCE_CLAIM_PREAUTH',
|
||||
ELIGIBILITY_STATUS: 'ELIGIBILITY_STATUS',
|
||||
CLAIM_STATUS: 'CLAIM_STATUS',
|
||||
OTHER: 'OTHER'
|
||||
};
|
||||
|
||||
exports.PaymentStatus = exports.$Enums.PaymentStatus = {
|
||||
PENDING: 'PENDING',
|
||||
PARTIALLY_PAID: 'PARTIALLY_PAID',
|
||||
PAID: 'PAID',
|
||||
OVERPAID: 'OVERPAID',
|
||||
DENIED: 'DENIED',
|
||||
VOID: 'VOID'
|
||||
};
|
||||
|
||||
exports.PaymentMethod = exports.$Enums.PaymentMethod = {
|
||||
EFT: 'EFT',
|
||||
CHECK: 'CHECK',
|
||||
CASH: 'CASH',
|
||||
CARD: 'CARD',
|
||||
OTHER: 'OTHER'
|
||||
};
|
||||
|
||||
exports.NotificationTypes = exports.$Enums.NotificationTypes = {
|
||||
BACKUP: 'BACKUP',
|
||||
CLAIM: 'CLAIM',
|
||||
PAYMENT: 'PAYMENT',
|
||||
ETC: 'ETC'
|
||||
};
|
||||
|
||||
exports.CommunicationChannel = exports.$Enums.CommunicationChannel = {
|
||||
sms: 'sms',
|
||||
voice: 'voice'
|
||||
};
|
||||
|
||||
exports.CommunicationDirection = exports.$Enums.CommunicationDirection = {
|
||||
outbound: 'outbound',
|
||||
inbound: 'inbound'
|
||||
};
|
||||
|
||||
exports.CommunicationStatus = exports.$Enums.CommunicationStatus = {
|
||||
queued: 'queued',
|
||||
sent: 'sent',
|
||||
delivered: 'delivered',
|
||||
failed: 'failed',
|
||||
completed: 'completed',
|
||||
busy: 'busy',
|
||||
no_answer: 'no_answer'
|
||||
};
|
||||
|
||||
exports.Prisma.ModelName = {
|
||||
User: 'User',
|
||||
Patient: 'Patient',
|
||||
Appointment: 'Appointment',
|
||||
Staff: 'Staff',
|
||||
NpiProvider: 'NpiProvider',
|
||||
AppointmentProcedure: 'AppointmentProcedure',
|
||||
Claim: 'Claim',
|
||||
ServiceLine: 'ServiceLine',
|
||||
ClaimFile: 'ClaimFile',
|
||||
InsuranceCredential: 'InsuranceCredential',
|
||||
PdfGroup: 'PdfGroup',
|
||||
PdfFile: 'PdfFile',
|
||||
Payment: 'Payment',
|
||||
ServiceLineTransaction: 'ServiceLineTransaction',
|
||||
DatabaseBackup: 'DatabaseBackup',
|
||||
BackupDestination: 'BackupDestination',
|
||||
Notification: 'Notification',
|
||||
CloudFolder: 'CloudFolder',
|
||||
CloudFile: 'CloudFile',
|
||||
CloudFileChunk: 'CloudFileChunk',
|
||||
Communication: 'Communication',
|
||||
PatientDocument: 'PatientDocument'
|
||||
};
|
||||
|
||||
/**
|
||||
* This is a stub Prisma Client that will error at runtime if called.
|
||||
*/
|
||||
class PrismaClient {
|
||||
constructor() {
|
||||
return new Proxy(this, {
|
||||
get(target, prop) {
|
||||
let message
|
||||
const runtime = getRuntime()
|
||||
if (runtime.isEdge) {
|
||||
message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
|
||||
- Use Prisma Accelerate: https://pris.ly/d/accelerate
|
||||
- Use Driver Adapters: https://pris.ly/d/driver-adapters
|
||||
`;
|
||||
} else {
|
||||
message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
|
||||
}
|
||||
|
||||
message += `
|
||||
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
||||
|
||||
throw new Error(message)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
exports.PrismaClient = PrismaClient
|
||||
|
||||
Object.assign(exports, Prisma)
|
||||
Reference in New Issue
Block a user