feat: MassHealth service history extraction, shown in Patient Details
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -128,6 +128,17 @@ export async function runCmspEligibilityHistoryRemainingProcessor(
|
||||
if (Object.keys(updates).length > 0) {
|
||||
await storage.updatePatient(patient.id, updates);
|
||||
}
|
||||
|
||||
// Only replace when rows came back — an empty read may just mean the portal
|
||||
// was slow, and shouldn't wipe history saved by an earlier check.
|
||||
if (Array.isArray(seleniumResult.service_history) && seleniumResult.service_history.length > 0) {
|
||||
try {
|
||||
await storage.replacePatientServiceHistory(patient.id, seleniumResult.service_history);
|
||||
} catch (e: any) {
|
||||
console.error("[cmspProcessor] saving service history failed:", e.message);
|
||||
}
|
||||
}
|
||||
|
||||
outputResult.patientUpdateStatus = newStatus
|
||||
? `Patient status updated to ${newStatus}`
|
||||
: "Eligibility unknown — status not changed";
|
||||
|
||||
@@ -422,4 +422,17 @@ router.get("/:id/communications", async (req: Request, res: Response): Promise<a
|
||||
}
|
||||
});
|
||||
|
||||
// GET /api/patients/:id/service-history
|
||||
router.get("/:id/service-history", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const patientId = parseInt(req.params.id);
|
||||
if (isNaN(patientId)) return res.status(400).json({ message: "Invalid patient ID" });
|
||||
|
||||
const history = await storage.getPatientServiceHistory(patientId);
|
||||
return res.status(200).json(history);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to fetch service history", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
||||
@@ -6,6 +6,14 @@ import {
|
||||
} from "@repo/db/types";
|
||||
import { prisma as db } from "@repo/db/client";
|
||||
|
||||
export type ServiceHistoryRow = {
|
||||
procedureCode: string;
|
||||
description?: string | null;
|
||||
toothQuadArchSurface?: string | null;
|
||||
placeOfService?: string | null;
|
||||
serviceDate?: string | null;
|
||||
};
|
||||
|
||||
export interface IStorage {
|
||||
// Patient methods
|
||||
getPatient(id: number): Promise<Patient | undefined>;
|
||||
@@ -49,6 +57,11 @@ export interface IStorage {
|
||||
limit?: number,
|
||||
offset?: number
|
||||
): Promise<{ rows: any[]; totalCount: number }>;
|
||||
getPatientServiceHistory(patientId: number): Promise<(ServiceHistoryRow & { id: number })[]>;
|
||||
replacePatientServiceHistory(
|
||||
patientId: number,
|
||||
rows: ServiceHistoryRow[]
|
||||
): Promise<void>;
|
||||
}
|
||||
|
||||
export const patientsStorage: IStorage = {
|
||||
@@ -157,6 +170,30 @@ export const patientsStorage: IStorage = {
|
||||
} catch (_) {}
|
||||
},
|
||||
|
||||
// Rows are kept in the portal's order (newest service first)
|
||||
async getPatientServiceHistory(patientId: number) {
|
||||
return db.patientServiceHistory.findMany({
|
||||
where: { patientId },
|
||||
orderBy: { id: "asc" },
|
||||
});
|
||||
},
|
||||
|
||||
async replacePatientServiceHistory(patientId: number, rows: ServiceHistoryRow[]) {
|
||||
await db.$transaction([
|
||||
db.patientServiceHistory.deleteMany({ where: { patientId } }),
|
||||
db.patientServiceHistory.createMany({
|
||||
data: rows.map((row) => ({
|
||||
patientId,
|
||||
procedureCode: row.procedureCode,
|
||||
description: row.description ?? null,
|
||||
toothQuadArchSurface: row.toothQuadArchSurface ?? null,
|
||||
placeOfService: row.placeOfService ?? null,
|
||||
serviceDate: row.serviceDate ?? null,
|
||||
})),
|
||||
}),
|
||||
]);
|
||||
},
|
||||
|
||||
async deletePatient(id: number): Promise<void> {
|
||||
try {
|
||||
await db.patient.delete({ where: { id } });
|
||||
|
||||
@@ -51,6 +51,15 @@ import {
|
||||
type PatientDocument
|
||||
} from "@/lib/api/documents";
|
||||
|
||||
interface ServiceHistoryRow {
|
||||
id: number;
|
||||
procedureCode: string;
|
||||
description: string | null;
|
||||
toothQuadArchSurface: string | null;
|
||||
placeOfService: string | null;
|
||||
serviceDate: string | null;
|
||||
}
|
||||
|
||||
interface PatientApiResponse {
|
||||
patients: Patient[];
|
||||
totalCount: number;
|
||||
@@ -707,6 +716,16 @@ export function PatientTable({
|
||||
}
|
||||
};
|
||||
|
||||
const { data: serviceHistory = [], isLoading: isServiceHistoryLoading } = useQuery<ServiceHistoryRow[]>({
|
||||
queryKey: ["patient-service-history", currentPatient?.id],
|
||||
queryFn: async () => {
|
||||
const res = await apiRequest("GET", `/api/patients/${currentPatient?.id}/service-history`);
|
||||
if (!res.ok) throw new Error("Failed to load service history");
|
||||
return res.json();
|
||||
},
|
||||
enabled: isViewPatientOpen && !!currentPatient?.id,
|
||||
});
|
||||
|
||||
const searchKeyPart = debouncedSearchCriteria?.searchTerm || "recent";
|
||||
|
||||
const {
|
||||
@@ -1197,7 +1216,7 @@ export function PatientTable({
|
||||
|
||||
{/* View Patient Modal */}
|
||||
<Dialog open={isViewPatientOpen} onOpenChange={setIsViewPatientOpen}>
|
||||
<DialogContent className="sm:max-w-[600px]">
|
||||
<DialogContent className="sm:max-w-[800px] max-h-[90vh] overflow-y-auto">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Patient Details</DialogTitle>
|
||||
<DialogDescription>
|
||||
@@ -1348,6 +1367,40 @@ export function PatientTable({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="pt-4">
|
||||
<h4 className="font-medium text-gray-900">Service History</h4>
|
||||
{isServiceHistoryLoading ? (
|
||||
<p className="mt-2 text-gray-500">Loading...</p>
|
||||
) : serviceHistory.length === 0 ? (
|
||||
<p className="mt-2 text-gray-500">
|
||||
No service history on file. It is saved when MH eligibility is checked.
|
||||
</p>
|
||||
) : (
|
||||
<Table className="mt-2">
|
||||
<TableHeader>
|
||||
<TableRow>
|
||||
<TableHead>Procedure Code</TableHead>
|
||||
<TableHead>Procedure Code Description</TableHead>
|
||||
<TableHead>Tooth/Quad/Arch/Surface</TableHead>
|
||||
<TableHead>Place of Service</TableHead>
|
||||
<TableHead>Service Date</TableHead>
|
||||
</TableRow>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{serviceHistory.map((row) => (
|
||||
<TableRow key={row.id}>
|
||||
<TableCell>{row.procedureCode}</TableCell>
|
||||
<TableCell>{row.description}</TableCell>
|
||||
<TableCell>{row.toothQuadArchSurface}</TableCell>
|
||||
<TableCell>{row.placeOfService}</TableCell>
|
||||
<TableCell>{row.serviceDate}</TableCell>
|
||||
</TableRow>
|
||||
))}
|
||||
</TableBody>
|
||||
</Table>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="flex justify-end space-x-2 pt-4">
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
import time
|
||||
|
||||
# Service history table: header cells plus the cell texts of every row.
|
||||
# innerText (not .text) so cells rendered off-screen still return their text.
|
||||
_TABLE_JS = """
|
||||
for (const table of document.querySelectorAll('table')) {
|
||||
const headers = Array.from(table.querySelectorAll('thead th, thead td'))
|
||||
.map(th => (th.innerText || th.textContent || '').toLowerCase().replace(/[^a-z]/g, ''));
|
||||
if (!headers.some(h => h.includes('procedurecode')) || !headers.some(h => h.includes('servicedate'))) continue;
|
||||
const rows = Array.from(table.querySelectorAll('tbody tr'))
|
||||
.map(tr => Array.from(tr.querySelectorAll('td'))
|
||||
.map(td => (td.innerText || td.textContent || '').replace(/\\s+/g, ' ').trim()));
|
||||
return {headers, rows, paged: !!document.querySelector('.pagination, [class*="paginat"]')};
|
||||
}
|
||||
return null;
|
||||
"""
|
||||
|
||||
|
||||
def _column_indexes(headers):
|
||||
def find(match):
|
||||
return next((i for i, h in enumerate(headers) if match(h)), None)
|
||||
|
||||
return {
|
||||
"procedureCode": find(lambda h: "procedurecode" in h and "description" not in h),
|
||||
"description": find(lambda h: "description" in h),
|
||||
"toothQuadArchSurface": find(lambda h: "tooth" in h),
|
||||
"placeOfService": find(lambda h: "placeofservice" in h),
|
||||
"serviceDate": find(lambda h: "servicedate" in h),
|
||||
}
|
||||
|
||||
|
||||
def parse_service_history(headers, rows):
|
||||
"""Map raw table cells to row dicts, dropping placeholder rows (e.g. a
|
||||
single "no records" cell) and rows without a procedure code."""
|
||||
columns = _column_indexes(headers)
|
||||
result = []
|
||||
for cells in rows:
|
||||
if len(cells) < len(headers):
|
||||
continue
|
||||
row = {
|
||||
key: cells[i] if i is not None and i < len(cells) else ""
|
||||
for key, i in columns.items()
|
||||
}
|
||||
if row["procedureCode"]:
|
||||
result.append(row)
|
||||
return result
|
||||
|
||||
|
||||
def extract_service_history(driver, timeout=15):
|
||||
"""Read the MassHealth Service History table.
|
||||
|
||||
AngularJS adds the rows after the page loads, so keep polling until every
|
||||
row has its procedure code. A member with no history waits the full
|
||||
timeout. Returns [] when nothing was found — this can't tell "no history"
|
||||
from "the page was too slow", so callers must not treat it as "no history".
|
||||
"""
|
||||
deadline = time.time() + timeout
|
||||
history = []
|
||||
while True:
|
||||
try:
|
||||
table = driver.execute_script(_TABLE_JS)
|
||||
if table:
|
||||
history = parse_service_history(table["headers"], table["rows"])
|
||||
if history and len(history) == len(table["rows"]):
|
||||
if table["paged"]:
|
||||
print("[extract_service_history] pagination found — only the current page was read")
|
||||
break
|
||||
except Exception as e:
|
||||
print(f"[extract_service_history] reading table failed: {e}")
|
||||
if time.time() >= deadline:
|
||||
break
|
||||
time.sleep(1)
|
||||
|
||||
print(f"[extract_service_history] {len(history)} row(s)")
|
||||
return history
|
||||
@@ -11,6 +11,7 @@ import base64
|
||||
|
||||
from mh_eligibility_results import extract_eligibility_row
|
||||
from mh_member_details import extract_member_demographics
|
||||
from mh_service_history import extract_service_history
|
||||
|
||||
|
||||
class AutomationCMSPEligibilityHistoryRemainingCheck:
|
||||
@@ -351,6 +352,10 @@ class AutomationCMSPEligibilityHistoryRemainingCheck:
|
||||
wait.until(lambda d: d.execute_script("return document.readyState") == "complete")
|
||||
time.sleep(3)
|
||||
|
||||
service_history = extract_service_history(self.driver)
|
||||
if service_history:
|
||||
self.extracted_data["service_history"] = service_history
|
||||
|
||||
safe_member = "".join(c for c in str(self.memberId) if c.isalnum() or c in "-_.")
|
||||
pdf_filename = f"mh_history_{safe_member}.pdf"
|
||||
pdf_data = self.driver.execute_cdp_cmd("Page.printToPDF", {"printBackground": True})
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -525,6 +525,17 @@ exports.Prisma.PatientConversationScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.PatientServiceHistoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
patientId: 'patientId',
|
||||
procedureCode: 'procedureCode',
|
||||
description: 'description',
|
||||
toothQuadArchSurface: 'toothQuadArchSurface',
|
||||
placeOfService: 'placeOfService',
|
||||
serviceDate: 'serviceDate',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.LabRxTemplateScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
@@ -721,6 +732,7 @@ exports.Prisma.ModelName = {
|
||||
InsuranceContact: 'InsuranceContact',
|
||||
ProcedureTimeslot: 'ProcedureTimeslot',
|
||||
PatientConversation: 'PatientConversation',
|
||||
PatientServiceHistory: 'PatientServiceHistory',
|
||||
LabRxTemplate: 'LabRxTemplate',
|
||||
CommissionBatch: 'CommissionBatch',
|
||||
CommissionBatchItem: 'CommissionBatchItem',
|
||||
|
||||
+1843
-1
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-484c656978522fea1ec1b60912892a304ec69858e6bc3701e3e06b7030cdeafd",
|
||||
"name": "prisma-client-01b48bd0456d48936b7527399127242418a65188285f81893df198fb01f65dfc",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -56,16 +56,16 @@ model User {
|
||||
}
|
||||
|
||||
model Patient {
|
||||
id Int @id @default(autoincrement())
|
||||
id Int @id @default(autoincrement())
|
||||
firstName String
|
||||
lastName String
|
||||
dateOfBirth DateTime? @db.Date
|
||||
dateOfBirth DateTime? @db.Date
|
||||
gender String
|
||||
phone String
|
||||
email String?
|
||||
address String?
|
||||
city String?
|
||||
state String? @default("MA")
|
||||
state String? @default("MA")
|
||||
zipCode String?
|
||||
insuranceProvider String?
|
||||
insuranceId String?
|
||||
@@ -75,14 +75,14 @@ model Patient {
|
||||
policyHolderRelationship String? // ADA box 18: SELF | SPOUSE | DEPENDENT | OTHER
|
||||
allergies String?
|
||||
medicalConditions String?
|
||||
preferredLanguage String? @default("English")
|
||||
status PatientStatus @default(UNKNOWN)
|
||||
preferredLanguage String? @default("English")
|
||||
status PatientStatus @default(UNKNOWN)
|
||||
remainingBenefit String?
|
||||
thirdPartyInsurance String?
|
||||
userId Int
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
appointments Appointment[]
|
||||
procedures AppointmentProcedure[]
|
||||
claims Claim[]
|
||||
@@ -91,7 +91,8 @@ model Patient {
|
||||
communications Communication[]
|
||||
documents PatientDocument[]
|
||||
conversation PatientConversation?
|
||||
cloudFolders CloudFolder[] @relation("PatientCloudFolder")
|
||||
cloudFolders CloudFolder[] @relation("PatientCloudFolder")
|
||||
serviceHistory PatientServiceHistory[]
|
||||
|
||||
@@index([insuranceId])
|
||||
@@index([createdAt])
|
||||
@@ -744,6 +745,23 @@ model PatientConversation {
|
||||
@@map("patient_conversation")
|
||||
}
|
||||
|
||||
// Snapshot of the MassHealth Service History table, replaced on each eligibility check
|
||||
model PatientServiceHistory {
|
||||
id Int @id @default(autoincrement())
|
||||
patientId Int
|
||||
procedureCode String
|
||||
description String?
|
||||
toothQuadArchSurface String?
|
||||
placeOfService String?
|
||||
serviceDate String? // as shown by the portal, e.g. 10/15/2026
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([patientId])
|
||||
@@map("patient_service_history")
|
||||
}
|
||||
|
||||
model LabRxTemplate {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "patient_service_history" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"patientId" INTEGER NOT NULL,
|
||||
"procedureCode" TEXT NOT NULL,
|
||||
"description" TEXT,
|
||||
"toothQuadArchSurface" TEXT,
|
||||
"placeOfService" TEXT,
|
||||
"serviceDate" TEXT,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
CONSTRAINT "patient_service_history_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "patient_service_history_patientId_idx" ON "patient_service_history"("patientId");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "patient_service_history" ADD CONSTRAINT "patient_service_history_patientId_fkey" FOREIGN KEY ("patientId") REFERENCES "Patient"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
@@ -92,6 +92,7 @@ model Patient {
|
||||
documents PatientDocument[]
|
||||
conversation PatientConversation?
|
||||
cloudFolders CloudFolder[] @relation("PatientCloudFolder")
|
||||
serviceHistory PatientServiceHistory[]
|
||||
|
||||
@@index([insuranceId])
|
||||
@@index([createdAt])
|
||||
@@ -745,6 +746,23 @@ model PatientConversation {
|
||||
@@map("patient_conversation")
|
||||
}
|
||||
|
||||
// Snapshot of the MassHealth Service History table, replaced on each eligibility check
|
||||
model PatientServiceHistory {
|
||||
id Int @id @default(autoincrement())
|
||||
patientId Int
|
||||
procedureCode String
|
||||
description String?
|
||||
toothQuadArchSurface String?
|
||||
placeOfService String?
|
||||
serviceDate String? // as shown by the portal, e.g. 10/15/2026
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([patientId])
|
||||
@@map("patient_service_history")
|
||||
}
|
||||
|
||||
model LabRxTemplate {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"generatorVersion": "1.0.0",
|
||||
"generatedAt": "2026-10-11T18:46:03.569Z",
|
||||
"generatedAt": "2026-11-05T03:16:03.000Z",
|
||||
"outputPath": "/home/ee/Desktop/DentalManagement09/packages/db/shared",
|
||||
"files": [
|
||||
"schemas/enums/TransactionIsolationLevel.schema.ts",
|
||||
@@ -38,6 +38,7 @@
|
||||
"schemas/enums/InsuranceContactScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/ProcedureTimeslotScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/PatientConversationScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/PatientServiceHistoryScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/LabRxTemplateScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/CommissionBatchScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/CommissionBatchItemScalarFieldEnum.schema.ts",
|
||||
@@ -226,6 +227,11 @@
|
||||
"schemas/objects/PatientConversationWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/PatientConversationOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/PatientConversationScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryWhereInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateWhereInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateWhereUniqueInput.schema.ts",
|
||||
@@ -477,6 +483,13 @@
|
||||
"schemas/objects/PatientConversationCreateManyInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpdateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedUpdateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateManyInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateInput.schema.ts",
|
||||
@@ -567,10 +580,12 @@
|
||||
"schemas/objects/PdfGroupListRelationFilter.schema.ts",
|
||||
"schemas/objects/PatientDocumentListRelationFilter.schema.ts",
|
||||
"schemas/objects/PatientConversationNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryListRelationFilter.schema.ts",
|
||||
"schemas/objects/SortOrderInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/PdfGroupOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientDocumentOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientMaxOrderByAggregateInput.schema.ts",
|
||||
@@ -807,6 +822,11 @@
|
||||
"schemas/objects/PatientConversationMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistorySumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateMaxOrderByAggregateInput.schema.ts",
|
||||
@@ -939,6 +959,7 @@
|
||||
"schemas/objects/PatientDocumentCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientConversationCreateNestedOneWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/ClaimUncheckedCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
@@ -948,6 +969,7 @@
|
||||
"schemas/objects/PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/NullableDateTimeFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/NullableIntFieldUpdateOperationsInput.schema.ts",
|
||||
@@ -963,6 +985,7 @@
|
||||
"schemas/objects/PatientDocumentUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUpdateOneWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/ClaimUncheckedUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
@@ -972,6 +995,7 @@
|
||||
"schemas/objects/PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInput.schema.ts",
|
||||
"schemas/objects/PatientCreateNestedOneWithoutAppointmentsInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutAppointmentsInput.schema.ts",
|
||||
"schemas/objects/StaffCreateNestedOneWithoutAppointmentsInput.schema.ts",
|
||||
@@ -1170,6 +1194,8 @@
|
||||
"schemas/objects/UserCreateNestedOneWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateOneRequiredWithoutConversationNestedInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema.ts",
|
||||
"schemas/objects/PatientCreateNestedOneWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateOneRequiredWithoutServiceHistoryNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutLabRxTemplatesNestedInput.schema.ts",
|
||||
"schemas/objects/NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema.ts",
|
||||
@@ -1459,6 +1485,10 @@
|
||||
"schemas/objects/CloudFolderUncheckedCreateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderCreateOrConnectWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderCreateManyPatientInputEnvelope.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateManyPatientInputEnvelope.schema.ts",
|
||||
"schemas/objects/UserUpsertWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutPatientsInput.schema.ts",
|
||||
@@ -1494,6 +1524,10 @@
|
||||
"schemas/objects/CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUpdateManyWithWhereWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryScalarWhereInput.schema.ts",
|
||||
"schemas/objects/PatientCreateWithoutAppointmentsInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.ts",
|
||||
"schemas/objects/PatientCreateOrConnectWithoutAppointmentsInput.schema.ts",
|
||||
@@ -1992,6 +2026,13 @@
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/PatientCreateWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedCreateWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientCreateOrConnectWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientUpsertWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateToOneWithWhereWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedUpdateWithoutServiceHistoryInput.schema.ts",
|
||||
"schemas/objects/UserCreateWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserCreateOrConnectWithoutLabRxTemplatesInput.schema.ts",
|
||||
@@ -2110,6 +2151,7 @@
|
||||
"schemas/objects/CommunicationCreateManyPatientInput.schema.ts",
|
||||
"schemas/objects/PatientDocumentCreateManyPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderCreateManyPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCreateManyPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentUpdateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientInput.schema.ts",
|
||||
@@ -2134,6 +2176,9 @@
|
||||
"schemas/objects/CloudFolderUpdateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUncheckedUpdateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUpdateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedUpdateWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryUncheckedUpdateManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureCreateManyAppointmentInput.schema.ts",
|
||||
"schemas/objects/ClaimCreateManyAppointmentInput.schema.ts",
|
||||
"schemas/objects/AppointmentFileCreateManyAppointmentInput.schema.ts",
|
||||
@@ -2383,6 +2428,11 @@
|
||||
"schemas/objects/PatientConversationSumAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationMinAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryCountAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistorySumAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryMinAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCountAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateSumAggregateInput.schema.ts",
|
||||
@@ -2442,6 +2492,7 @@
|
||||
"schemas/objects/PatientCountOutputTypeCountCommunicationsArgs.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeCountDocumentsArgs.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeCountCloudFoldersArgs.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeCountServiceHistoryArgs.schema.ts",
|
||||
"schemas/objects/AppointmentCountOutputTypeArgs.schema.ts",
|
||||
"schemas/objects/AppointmentCountOutputTypeCountProceduresArgs.schema.ts",
|
||||
"schemas/objects/AppointmentCountOutputTypeCountClaimsArgs.schema.ts",
|
||||
@@ -2506,6 +2557,7 @@
|
||||
"schemas/objects/InsuranceContactSelect.schema.ts",
|
||||
"schemas/objects/ProcedureTimeslotSelect.schema.ts",
|
||||
"schemas/objects/PatientConversationSelect.schema.ts",
|
||||
"schemas/objects/PatientServiceHistorySelect.schema.ts",
|
||||
"schemas/objects/LabRxTemplateSelect.schema.ts",
|
||||
"schemas/objects/CommissionBatchSelect.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemSelect.schema.ts",
|
||||
@@ -2543,6 +2595,7 @@
|
||||
"schemas/objects/InsuranceContactArgs.schema.ts",
|
||||
"schemas/objects/ProcedureTimeslotArgs.schema.ts",
|
||||
"schemas/objects/PatientConversationArgs.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryArgs.schema.ts",
|
||||
"schemas/objects/LabRxTemplateArgs.schema.ts",
|
||||
"schemas/objects/CommissionBatchArgs.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemArgs.schema.ts",
|
||||
@@ -2579,6 +2632,7 @@
|
||||
"schemas/objects/InsuranceContactInclude.schema.ts",
|
||||
"schemas/objects/ProcedureTimeslotInclude.schema.ts",
|
||||
"schemas/objects/PatientConversationInclude.schema.ts",
|
||||
"schemas/objects/PatientServiceHistoryInclude.schema.ts",
|
||||
"schemas/objects/LabRxTemplateInclude.schema.ts",
|
||||
"schemas/objects/CommissionBatchInclude.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemInclude.schema.ts",
|
||||
@@ -3144,6 +3198,23 @@
|
||||
"schemas/upsertOnePatientConversation.schema.ts",
|
||||
"schemas/aggregatePatientConversation.schema.ts",
|
||||
"schemas/groupByPatientConversation.schema.ts",
|
||||
"schemas/findUniquePatientServiceHistory.schema.ts",
|
||||
"schemas/findUniqueOrThrowPatientServiceHistory.schema.ts",
|
||||
"schemas/findFirstPatientServiceHistory.schema.ts",
|
||||
"schemas/findFirstOrThrowPatientServiceHistory.schema.ts",
|
||||
"schemas/findManyPatientServiceHistory.schema.ts",
|
||||
"schemas/countPatientServiceHistory.schema.ts",
|
||||
"schemas/createOnePatientServiceHistory.schema.ts",
|
||||
"schemas/createManyPatientServiceHistory.schema.ts",
|
||||
"schemas/createManyAndReturnPatientServiceHistory.schema.ts",
|
||||
"schemas/deleteOnePatientServiceHistory.schema.ts",
|
||||
"schemas/deleteManyPatientServiceHistory.schema.ts",
|
||||
"schemas/updateOnePatientServiceHistory.schema.ts",
|
||||
"schemas/updateManyPatientServiceHistory.schema.ts",
|
||||
"schemas/updateManyAndReturnPatientServiceHistory.schema.ts",
|
||||
"schemas/upsertOnePatientServiceHistory.schema.ts",
|
||||
"schemas/aggregatePatientServiceHistory.schema.ts",
|
||||
"schemas/groupByPatientServiceHistory.schema.ts",
|
||||
"schemas/findUniqueLabRxTemplate.schema.ts",
|
||||
"schemas/findUniqueOrThrowLabRxTemplate.schema.ts",
|
||||
"schemas/findFirstLabRxTemplate.schema.ts",
|
||||
@@ -3641,6 +3712,19 @@
|
||||
"schemas/results/PatientConversationAggregateResult.schema.ts",
|
||||
"schemas/results/PatientConversationGroupByResult.schema.ts",
|
||||
"schemas/results/PatientConversationCountResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryFindUniqueResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryFindFirstResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryFindManyResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryCreateResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryCreateManyResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryUpdateResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryUpdateManyResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryUpsertResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryDeleteResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryDeleteManyResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryAggregateResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryGroupByResult.schema.ts",
|
||||
"schemas/results/PatientServiceHistoryCountResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateFindUniqueResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateFindFirstResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateFindManyResult.schema.ts",
|
||||
@@ -3728,6 +3812,7 @@
|
||||
"schemas/variants/pure/InsuranceContact.pure.ts",
|
||||
"schemas/variants/pure/ProcedureTimeslot.pure.ts",
|
||||
"schemas/variants/pure/PatientConversation.pure.ts",
|
||||
"schemas/variants/pure/PatientServiceHistory.pure.ts",
|
||||
"schemas/variants/pure/LabRxTemplate.pure.ts",
|
||||
"schemas/variants/pure/CommissionBatch.pure.ts",
|
||||
"schemas/variants/pure/CommissionBatchItem.pure.ts",
|
||||
@@ -3766,6 +3851,7 @@
|
||||
"schemas/variants/input/InsuranceContact.input.ts",
|
||||
"schemas/variants/input/ProcedureTimeslot.input.ts",
|
||||
"schemas/variants/input/PatientConversation.input.ts",
|
||||
"schemas/variants/input/PatientServiceHistory.input.ts",
|
||||
"schemas/variants/input/LabRxTemplate.input.ts",
|
||||
"schemas/variants/input/CommissionBatch.input.ts",
|
||||
"schemas/variants/input/CommissionBatchItem.input.ts",
|
||||
@@ -3804,6 +3890,7 @@
|
||||
"schemas/variants/result/InsuranceContact.result.ts",
|
||||
"schemas/variants/result/ProcedureTimeslot.result.ts",
|
||||
"schemas/variants/result/PatientConversation.result.ts",
|
||||
"schemas/variants/result/PatientServiceHistory.result.ts",
|
||||
"schemas/variants/result/LabRxTemplate.result.ts",
|
||||
"schemas/variants/result/CommissionBatch.result.ts",
|
||||
"schemas/variants/result/CommissionBatchItem.result.ts",
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryCountAggregateInputObjectSchema as PatientServiceHistoryCountAggregateInputObjectSchema } from './objects/PatientServiceHistoryCountAggregateInput.schema';
|
||||
import { PatientServiceHistoryMinAggregateInputObjectSchema as PatientServiceHistoryMinAggregateInputObjectSchema } from './objects/PatientServiceHistoryMinAggregateInput.schema';
|
||||
import { PatientServiceHistoryMaxAggregateInputObjectSchema as PatientServiceHistoryMaxAggregateInputObjectSchema } from './objects/PatientServiceHistoryMaxAggregateInput.schema';
|
||||
import { PatientServiceHistoryAvgAggregateInputObjectSchema as PatientServiceHistoryAvgAggregateInputObjectSchema } from './objects/PatientServiceHistoryAvgAggregateInput.schema';
|
||||
import { PatientServiceHistorySumAggregateInputObjectSchema as PatientServiceHistorySumAggregateInputObjectSchema } from './objects/PatientServiceHistorySumAggregateInput.schema';
|
||||
|
||||
export const PatientServiceHistoryAggregateSchema: z.ZodType<Prisma.PatientServiceHistoryAggregateArgs> = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional(), _min: PatientServiceHistoryMinAggregateInputObjectSchema.optional(), _max: PatientServiceHistoryMaxAggregateInputObjectSchema.optional(), _avg: PatientServiceHistoryAvgAggregateInputObjectSchema.optional(), _sum: PatientServiceHistorySumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryAggregateArgs>;
|
||||
|
||||
export const PatientServiceHistoryAggregateZodSchema = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional(), _min: PatientServiceHistoryMinAggregateInputObjectSchema.optional(), _max: PatientServiceHistoryMaxAggregateInputObjectSchema.optional(), _avg: PatientServiceHistoryAvgAggregateInputObjectSchema.optional(), _sum: PatientServiceHistorySumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryCountAggregateInputObjectSchema as PatientServiceHistoryCountAggregateInputObjectSchema } from './objects/PatientServiceHistoryCountAggregateInput.schema';
|
||||
|
||||
export const PatientServiceHistoryCountSchema: z.ZodType<Prisma.PatientServiceHistoryCountArgs> = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCountArgs>;
|
||||
|
||||
export const PatientServiceHistoryCountZodSchema = z.object({ orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -0,0 +1,8 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema';
|
||||
import { PatientServiceHistoryCreateManyInputObjectSchema as PatientServiceHistoryCreateManyInputObjectSchema } from './objects/PatientServiceHistoryCreateManyInput.schema';
|
||||
|
||||
export const PatientServiceHistoryCreateManyAndReturnSchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyAndReturnArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), data: z.union([ PatientServiceHistoryCreateManyInputObjectSchema, z.array(PatientServiceHistoryCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyAndReturnArgs>;
|
||||
|
||||
export const PatientServiceHistoryCreateManyAndReturnZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), data: z.union([ PatientServiceHistoryCreateManyInputObjectSchema, z.array(PatientServiceHistoryCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryCreateManyInputObjectSchema as PatientServiceHistoryCreateManyInputObjectSchema } from './objects/PatientServiceHistoryCreateManyInput.schema';
|
||||
|
||||
export const PatientServiceHistoryCreateManySchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyArgs> = z.object({ data: z.union([ PatientServiceHistoryCreateManyInputObjectSchema, z.array(PatientServiceHistoryCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyArgs>;
|
||||
|
||||
export const PatientServiceHistoryCreateManyZodSchema = z.object({ data: z.union([ PatientServiceHistoryCreateManyInputObjectSchema, z.array(PatientServiceHistoryCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryCreateInputObjectSchema as PatientServiceHistoryCreateInputObjectSchema } from './objects/PatientServiceHistoryCreateInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateInputObjectSchema as PatientServiceHistoryUncheckedCreateInputObjectSchema } from './objects/PatientServiceHistoryUncheckedCreateInput.schema';
|
||||
|
||||
export const PatientServiceHistoryCreateOneSchema: z.ZodType<Prisma.PatientServiceHistoryCreateArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), data: z.union([PatientServiceHistoryCreateInputObjectSchema, PatientServiceHistoryUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateArgs>;
|
||||
|
||||
export const PatientServiceHistoryCreateOneZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), data: z.union([PatientServiceHistoryCreateInputObjectSchema, PatientServiceHistoryUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
|
||||
export const PatientServiceHistoryDeleteManySchema: z.ZodType<Prisma.PatientServiceHistoryDeleteManyArgs> = z.object({ where: PatientServiceHistoryWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryDeleteManyArgs>;
|
||||
|
||||
export const PatientServiceHistoryDeleteManyZodSchema = z.object({ where: PatientServiceHistoryWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
|
||||
export const PatientServiceHistoryDeleteOneSchema: z.ZodType<Prisma.PatientServiceHistoryDeleteArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryDeleteArgs>;
|
||||
|
||||
export const PatientServiceHistoryDeleteOneZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,5 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const PatientServiceHistoryScalarFieldEnumSchema = z.enum(['id', 'patientId', 'procedureCode', 'description', 'toothQuadArchSurface', 'placeOfService', 'serviceDate', 'createdAt'])
|
||||
|
||||
export type PatientServiceHistoryScalarFieldEnum = z.infer<typeof PatientServiceHistoryScalarFieldEnumSchema>;
|
||||
@@ -46,6 +46,7 @@ export const PatientFindFirstOrThrowSelectSchema: z.ZodType<Prisma.PatientSelect
|
||||
documents: z.boolean().optional(),
|
||||
conversation: z.boolean().optional(),
|
||||
cloudFolders: z.boolean().optional(),
|
||||
serviceHistory: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.PatientSelect>;
|
||||
|
||||
@@ -86,6 +87,7 @@ export const PatientFindFirstOrThrowSelectZodSchema = z.object({
|
||||
documents: z.boolean().optional(),
|
||||
conversation: z.boolean().optional(),
|
||||
cloudFolders: z.boolean().optional(),
|
||||
serviceHistory: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryScalarFieldEnumSchema } from './enums/PatientServiceHistoryScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const PatientServiceHistoryFindFirstOrThrowSelectSchema: z.ZodType<Prisma.PatientServiceHistorySelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.PatientServiceHistorySelect>;
|
||||
|
||||
export const PatientServiceHistoryFindFirstOrThrowSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const PatientServiceHistoryFindFirstOrThrowSchema: z.ZodType<Prisma.PatientServiceHistoryFindFirstOrThrowArgs> = z.object({ select: PatientServiceHistoryFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryFindFirstOrThrowArgs>;
|
||||
|
||||
export const PatientServiceHistoryFindFirstOrThrowZodSchema = z.object({ select: PatientServiceHistoryFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -46,6 +46,7 @@ export const PatientFindFirstSelectSchema: z.ZodType<Prisma.PatientSelect> = z.o
|
||||
documents: z.boolean().optional(),
|
||||
conversation: z.boolean().optional(),
|
||||
cloudFolders: z.boolean().optional(),
|
||||
serviceHistory: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.PatientSelect>;
|
||||
|
||||
@@ -86,6 +87,7 @@ export const PatientFindFirstSelectZodSchema = z.object({
|
||||
documents: z.boolean().optional(),
|
||||
conversation: z.boolean().optional(),
|
||||
cloudFolders: z.boolean().optional(),
|
||||
serviceHistory: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryScalarFieldEnumSchema } from './enums/PatientServiceHistoryScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const PatientServiceHistoryFindFirstSelectSchema: z.ZodType<Prisma.PatientServiceHistorySelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.PatientServiceHistorySelect>;
|
||||
|
||||
export const PatientServiceHistoryFindFirstSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const PatientServiceHistoryFindFirstSchema: z.ZodType<Prisma.PatientServiceHistoryFindFirstArgs> = z.object({ select: PatientServiceHistoryFindFirstSelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryFindFirstArgs>;
|
||||
|
||||
export const PatientServiceHistoryFindFirstZodSchema = z.object({ select: PatientServiceHistoryFindFirstSelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -46,6 +46,7 @@ export const PatientFindManySelectSchema: z.ZodType<Prisma.PatientSelect> = z.ob
|
||||
documents: z.boolean().optional(),
|
||||
conversation: z.boolean().optional(),
|
||||
cloudFolders: z.boolean().optional(),
|
||||
serviceHistory: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.PatientSelect>;
|
||||
|
||||
@@ -86,6 +87,7 @@ export const PatientFindManySelectZodSchema = z.object({
|
||||
documents: z.boolean().optional(),
|
||||
conversation: z.boolean().optional(),
|
||||
cloudFolders: z.boolean().optional(),
|
||||
serviceHistory: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryOrderByWithRelationInputObjectSchema as PatientServiceHistoryOrderByWithRelationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithRelationInput.schema';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryScalarFieldEnumSchema } from './enums/PatientServiceHistoryScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const PatientServiceHistoryFindManySelectSchema: z.ZodType<Prisma.PatientServiceHistorySelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.PatientServiceHistorySelect>;
|
||||
|
||||
export const PatientServiceHistoryFindManySelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const PatientServiceHistoryFindManySchema: z.ZodType<Prisma.PatientServiceHistoryFindManyArgs> = z.object({ select: PatientServiceHistoryFindManySelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryFindManyArgs>;
|
||||
|
||||
export const PatientServiceHistoryFindManyZodSchema = z.object({ select: PatientServiceHistoryFindManySelectSchema.optional(), include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema.optional()), orderBy: z.union([PatientServiceHistoryOrderByWithRelationInputObjectSchema, PatientServiceHistoryOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientServiceHistoryWhereInputObjectSchema.optional(), cursor: PatientServiceHistoryWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientServiceHistoryScalarFieldEnumSchema, PatientServiceHistoryScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
|
||||
export const PatientServiceHistoryFindUniqueOrThrowSchema: z.ZodType<Prisma.PatientServiceHistoryFindUniqueOrThrowArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryFindUniqueOrThrowArgs>;
|
||||
|
||||
export const PatientServiceHistoryFindUniqueOrThrowZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './objects/PatientServiceHistorySelect.schema';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './objects/PatientServiceHistoryInclude.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './objects/PatientServiceHistoryWhereUniqueInput.schema';
|
||||
|
||||
export const PatientServiceHistoryFindUniqueSchema: z.ZodType<Prisma.PatientServiceHistoryFindUniqueArgs> = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryFindUniqueArgs>;
|
||||
|
||||
export const PatientServiceHistoryFindUniqueZodSchema = z.object({ select: PatientServiceHistorySelectObjectSchema.optional(), include: PatientServiceHistoryIncludeObjectSchema.optional(), where: PatientServiceHistoryWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,15 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './objects/PatientServiceHistoryWhereInput.schema';
|
||||
import { PatientServiceHistoryOrderByWithAggregationInputObjectSchema as PatientServiceHistoryOrderByWithAggregationInputObjectSchema } from './objects/PatientServiceHistoryOrderByWithAggregationInput.schema';
|
||||
import { PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema as PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema } from './objects/PatientServiceHistoryScalarWhereWithAggregatesInput.schema';
|
||||
import { PatientServiceHistoryScalarFieldEnumSchema } from './enums/PatientServiceHistoryScalarFieldEnum.schema';
|
||||
import { PatientServiceHistoryCountAggregateInputObjectSchema as PatientServiceHistoryCountAggregateInputObjectSchema } from './objects/PatientServiceHistoryCountAggregateInput.schema';
|
||||
import { PatientServiceHistoryMinAggregateInputObjectSchema as PatientServiceHistoryMinAggregateInputObjectSchema } from './objects/PatientServiceHistoryMinAggregateInput.schema';
|
||||
import { PatientServiceHistoryMaxAggregateInputObjectSchema as PatientServiceHistoryMaxAggregateInputObjectSchema } from './objects/PatientServiceHistoryMaxAggregateInput.schema';
|
||||
import { PatientServiceHistoryAvgAggregateInputObjectSchema as PatientServiceHistoryAvgAggregateInputObjectSchema } from './objects/PatientServiceHistoryAvgAggregateInput.schema';
|
||||
import { PatientServiceHistorySumAggregateInputObjectSchema as PatientServiceHistorySumAggregateInputObjectSchema } from './objects/PatientServiceHistorySumAggregateInput.schema';
|
||||
|
||||
export const PatientServiceHistoryGroupBySchema: z.ZodType<Prisma.PatientServiceHistoryGroupByArgs> = z.object({ where: PatientServiceHistoryWhereInputObjectSchema.optional(), orderBy: z.union([PatientServiceHistoryOrderByWithAggregationInputObjectSchema, PatientServiceHistoryOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PatientServiceHistoryScalarFieldEnumSchema), _count: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional(), _min: PatientServiceHistoryMinAggregateInputObjectSchema.optional(), _max: PatientServiceHistoryMaxAggregateInputObjectSchema.optional(), _avg: PatientServiceHistoryAvgAggregateInputObjectSchema.optional(), _sum: PatientServiceHistorySumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientServiceHistoryGroupByArgs>;
|
||||
|
||||
export const PatientServiceHistoryGroupByZodSchema = z.object({ where: PatientServiceHistoryWhereInputObjectSchema.optional(), orderBy: z.union([PatientServiceHistoryOrderByWithAggregationInputObjectSchema, PatientServiceHistoryOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PatientServiceHistoryScalarFieldEnumSchema), _count: z.union([ z.literal(true), PatientServiceHistoryCountAggregateInputObjectSchema ]).optional(), _min: PatientServiceHistoryMinAggregateInputObjectSchema.optional(), _max: PatientServiceHistoryMaxAggregateInputObjectSchema.optional(), _avg: PatientServiceHistoryAvgAggregateInputObjectSchema.optional(), _sum: PatientServiceHistorySumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -32,6 +32,7 @@ export * from './enums/OfficeContactScalarFieldEnum.schema'
|
||||
export * from './enums/InsuranceContactScalarFieldEnum.schema'
|
||||
export * from './enums/ProcedureTimeslotScalarFieldEnum.schema'
|
||||
export * from './enums/PatientConversationScalarFieldEnum.schema'
|
||||
export * from './enums/PatientServiceHistoryScalarFieldEnum.schema'
|
||||
export * from './enums/LabRxTemplateScalarFieldEnum.schema'
|
||||
export * from './enums/CommissionBatchScalarFieldEnum.schema'
|
||||
export * from './enums/CommissionBatchItemScalarFieldEnum.schema'
|
||||
@@ -616,6 +617,23 @@ export * from './updateManyAndReturnPatientConversation.schema'
|
||||
export * from './upsertOnePatientConversation.schema'
|
||||
export * from './aggregatePatientConversation.schema'
|
||||
export * from './groupByPatientConversation.schema'
|
||||
export * from './findUniquePatientServiceHistory.schema'
|
||||
export * from './findUniqueOrThrowPatientServiceHistory.schema'
|
||||
export * from './findFirstPatientServiceHistory.schema'
|
||||
export * from './findFirstOrThrowPatientServiceHistory.schema'
|
||||
export * from './findManyPatientServiceHistory.schema'
|
||||
export * from './countPatientServiceHistory.schema'
|
||||
export * from './createOnePatientServiceHistory.schema'
|
||||
export * from './createManyPatientServiceHistory.schema'
|
||||
export * from './createManyAndReturnPatientServiceHistory.schema'
|
||||
export * from './deleteOnePatientServiceHistory.schema'
|
||||
export * from './deleteManyPatientServiceHistory.schema'
|
||||
export * from './updateOnePatientServiceHistory.schema'
|
||||
export * from './updateManyPatientServiceHistory.schema'
|
||||
export * from './updateManyAndReturnPatientServiceHistory.schema'
|
||||
export * from './upsertOnePatientServiceHistory.schema'
|
||||
export * from './aggregatePatientServiceHistory.schema'
|
||||
export * from './groupByPatientServiceHistory.schema'
|
||||
export * from './findUniqueLabRxTemplate.schema'
|
||||
export * from './findUniqueOrThrowLabRxTemplate.schema'
|
||||
export * from './findFirstLabRxTemplate.schema'
|
||||
@@ -1113,6 +1131,19 @@ export * from './results/PatientConversationDeleteManyResult.schema'
|
||||
export * from './results/PatientConversationAggregateResult.schema'
|
||||
export * from './results/PatientConversationGroupByResult.schema'
|
||||
export * from './results/PatientConversationCountResult.schema'
|
||||
export * from './results/PatientServiceHistoryFindUniqueResult.schema'
|
||||
export * from './results/PatientServiceHistoryFindFirstResult.schema'
|
||||
export * from './results/PatientServiceHistoryFindManyResult.schema'
|
||||
export * from './results/PatientServiceHistoryCreateResult.schema'
|
||||
export * from './results/PatientServiceHistoryCreateManyResult.schema'
|
||||
export * from './results/PatientServiceHistoryUpdateResult.schema'
|
||||
export * from './results/PatientServiceHistoryUpdateManyResult.schema'
|
||||
export * from './results/PatientServiceHistoryUpsertResult.schema'
|
||||
export * from './results/PatientServiceHistoryDeleteResult.schema'
|
||||
export * from './results/PatientServiceHistoryDeleteManyResult.schema'
|
||||
export * from './results/PatientServiceHistoryAggregateResult.schema'
|
||||
export * from './results/PatientServiceHistoryGroupByResult.schema'
|
||||
export * from './results/PatientServiceHistoryCountResult.schema'
|
||||
export * from './results/LabRxTemplateFindUniqueResult.schema'
|
||||
export * from './results/LabRxTemplateFindFirstResult.schema'
|
||||
export * from './results/LabRxTemplateFindManyResult.schema'
|
||||
@@ -1200,6 +1231,7 @@ export * from './variants/pure/OfficeContact.pure'
|
||||
export * from './variants/pure/InsuranceContact.pure'
|
||||
export * from './variants/pure/ProcedureTimeslot.pure'
|
||||
export * from './variants/pure/PatientConversation.pure'
|
||||
export * from './variants/pure/PatientServiceHistory.pure'
|
||||
export * from './variants/pure/LabRxTemplate.pure'
|
||||
export * from './variants/pure/CommissionBatch.pure'
|
||||
export * from './variants/pure/CommissionBatchItem.pure'
|
||||
@@ -1238,6 +1270,7 @@ export * from './variants/input/OfficeContact.input'
|
||||
export * from './variants/input/InsuranceContact.input'
|
||||
export * from './variants/input/ProcedureTimeslot.input'
|
||||
export * from './variants/input/PatientConversation.input'
|
||||
export * from './variants/input/PatientServiceHistory.input'
|
||||
export * from './variants/input/LabRxTemplate.input'
|
||||
export * from './variants/input/CommissionBatch.input'
|
||||
export * from './variants/input/CommissionBatchItem.input'
|
||||
@@ -1276,6 +1309,7 @@ export * from './variants/result/OfficeContact.result'
|
||||
export * from './variants/result/InsuranceContact.result'
|
||||
export * from './variants/result/ProcedureTimeslot.result'
|
||||
export * from './variants/result/PatientConversation.result'
|
||||
export * from './variants/result/PatientServiceHistory.result'
|
||||
export * from './variants/result/LabRxTemplate.result'
|
||||
export * from './variants/result/CommissionBatch.result'
|
||||
export * from './variants/result/CommissionBatchItem.result'
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './PatientServiceHistoryWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCountOutputTypeCountServiceHistoryArgsObjectSchema = makeSchema();
|
||||
export const PatientCountOutputTypeCountServiceHistoryArgsObjectZodSchema = makeSchema();
|
||||
@@ -7,7 +7,8 @@ import { PatientCountOutputTypeCountGroupsArgsObjectSchema as PatientCountOutput
|
||||
import { PatientCountOutputTypeCountPaymentArgsObjectSchema as PatientCountOutputTypeCountPaymentArgsObjectSchema } from './PatientCountOutputTypeCountPaymentArgs.schema';
|
||||
import { PatientCountOutputTypeCountCommunicationsArgsObjectSchema as PatientCountOutputTypeCountCommunicationsArgsObjectSchema } from './PatientCountOutputTypeCountCommunicationsArgs.schema';
|
||||
import { PatientCountOutputTypeCountDocumentsArgsObjectSchema as PatientCountOutputTypeCountDocumentsArgsObjectSchema } from './PatientCountOutputTypeCountDocumentsArgs.schema';
|
||||
import { PatientCountOutputTypeCountCloudFoldersArgsObjectSchema as PatientCountOutputTypeCountCloudFoldersArgsObjectSchema } from './PatientCountOutputTypeCountCloudFoldersArgs.schema'
|
||||
import { PatientCountOutputTypeCountCloudFoldersArgsObjectSchema as PatientCountOutputTypeCountCloudFoldersArgsObjectSchema } from './PatientCountOutputTypeCountCloudFoldersArgs.schema';
|
||||
import { PatientCountOutputTypeCountServiceHistoryArgsObjectSchema as PatientCountOutputTypeCountServiceHistoryArgsObjectSchema } from './PatientCountOutputTypeCountServiceHistoryArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
appointments: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountAppointmentsArgsObjectSchema)]).optional(),
|
||||
@@ -17,7 +18,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountPaymentArgsObjectSchema)]).optional(),
|
||||
communications: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCommunicationsArgsObjectSchema)]).optional(),
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountDocumentsArgsObjectSchema)]).optional(),
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCloudFoldersArgsObjectSchema)]).optional()
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCloudFoldersArgsObjectSchema)]).optional(),
|
||||
serviceHistory: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountServiceHistoryArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientCountOutputTypeSelectObjectSchema: z.ZodType<Prisma.PatientCountOutputTypeSelect> = makeSchema() as unknown as z.ZodType<Prisma.PatientCountOutputTypeSelect>;
|
||||
export const PatientCountOutputTypeSelectObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -10,7 +10,8 @@ import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreate
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -45,7 +46,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateInputObjectSchema: z.ZodType<Prisma.PatientCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateInput>;
|
||||
export const PatientCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateWithoutServiceHistoryInputObjectSchema as PatientCreateWithoutServiceHistoryInputObjectSchema } from './PatientCreateWithoutServiceHistoryInput.schema';
|
||||
import { PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema as PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema } from './PatientUncheckedCreateWithoutServiceHistoryInput.schema';
|
||||
import { PatientCreateOrConnectWithoutServiceHistoryInputObjectSchema as PatientCreateOrConnectWithoutServiceHistoryInputObjectSchema } from './PatientCreateOrConnectWithoutServiceHistoryInput.schema';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutServiceHistoryInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutServiceHistoryInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateNestedOneWithoutServiceHistoryInputObjectSchema: z.ZodType<Prisma.PatientCreateNestedOneWithoutServiceHistoryInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateNestedOneWithoutServiceHistoryInput>;
|
||||
export const PatientCreateNestedOneWithoutServiceHistoryInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
|
||||
import { PatientCreateWithoutServiceHistoryInputObjectSchema as PatientCreateWithoutServiceHistoryInputObjectSchema } from './PatientCreateWithoutServiceHistoryInput.schema';
|
||||
import { PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema as PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema } from './PatientUncheckedCreateWithoutServiceHistoryInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutServiceHistoryInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutServiceHistoryInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientCreateOrConnectWithoutServiceHistoryInputObjectSchema: z.ZodType<Prisma.PatientCreateOrConnectWithoutServiceHistoryInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateOrConnectWithoutServiceHistoryInput>;
|
||||
export const PatientCreateOrConnectWithoutServiceHistoryInputObjectZodSchema = makeSchema();
|
||||
@@ -9,7 +9,8 @@ import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreate
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutAppointmentsInput>;
|
||||
export const PatientCreateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreate
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutClaimsInput>;
|
||||
export const PatientCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutCloudFoldersInput>;
|
||||
export const PatientCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
|
||||
+4
-2
@@ -9,7 +9,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutCommunicationsInput>;
|
||||
export const PatientCreateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutConversationInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutConversationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutConversationInput>;
|
||||
export const PatientCreateWithoutConversationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutDocumentsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutDocumentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutDocumentsInput>;
|
||||
export const PatientCreateWithoutDocumentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreate
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutGroupsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutGroupsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutGroupsInput>;
|
||||
export const PatientCreateWithoutGroupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutPaymentInput>;
|
||||
export const PatientCreateWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreate
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutProceduresInput>;
|
||||
export const PatientCreateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { UserCreateNestedOneWithoutPatientsInputObjectSchema as UserCreateNestedOneWithoutPatientsInputObjectSchema } from './UserCreateNestedOneWithoutPatientsInput.schema';
|
||||
import { AppointmentCreateNestedManyWithoutPatientInputObjectSchema as AppointmentCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutPatientInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNestedManyWithoutPatientInputObjectSchema } from './ClaimCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
lastName: z.string(),
|
||||
dateOfBirth: z.coerce.date().optional().nullable(),
|
||||
gender: z.string(),
|
||||
phone: z.string(),
|
||||
email: z.string().optional().nullable(),
|
||||
address: z.string().optional().nullable(),
|
||||
city: z.string().optional().nullable(),
|
||||
state: z.string().optional().nullable(),
|
||||
zipCode: z.string().optional().nullable(),
|
||||
insuranceProvider: z.string().optional().nullable(),
|
||||
insuranceId: z.string().optional().nullable(),
|
||||
groupNumber: z.string().optional().nullable(),
|
||||
policyHolder: z.string().optional().nullable(),
|
||||
policyHolderPatientId: z.number().int().optional().nullable(),
|
||||
policyHolderRelationship: z.string().optional().nullable(),
|
||||
allergies: z.string().optional().nullable(),
|
||||
medicalConditions: z.string().optional().nullable(),
|
||||
preferredLanguage: z.string().optional().nullable(),
|
||||
status: PatientStatusSchema.optional(),
|
||||
remainingBenefit: z.string().optional().nullable(),
|
||||
thirdPartyInsurance: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutPatientsInputObjectSchema),
|
||||
appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutServiceHistoryInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutServiceHistoryInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutServiceHistoryInput>;
|
||||
export const PatientCreateWithoutServiceHistoryInputObjectZodSchema = makeSchema();
|
||||
@@ -9,7 +9,8 @@ import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreate
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutUserInput>;
|
||||
export const PatientCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -10,6 +10,7 @@ import { CommunicationFindManySchema as CommunicationFindManySchema } from '../f
|
||||
import { PatientDocumentFindManySchema as PatientDocumentFindManySchema } from '../findManyPatientDocument.schema';
|
||||
import { PatientConversationArgsObjectSchema as PatientConversationArgsObjectSchema } from './PatientConversationArgs.schema';
|
||||
import { CloudFolderFindManySchema as CloudFolderFindManySchema } from '../findManyCloudFolder.schema';
|
||||
import { PatientServiceHistoryFindManySchema as PatientServiceHistoryFindManySchema } from '../findManyPatientServiceHistory.schema';
|
||||
import { PatientCountOutputTypeArgsObjectSchema as PatientCountOutputTypeArgsObjectSchema } from './PatientCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -23,6 +24,7 @@ const makeSchema = () => z.object({
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientDocumentFindManySchema)]).optional(),
|
||||
conversation: z.union([z.boolean(), z.lazy(() => PatientConversationArgsObjectSchema)]).optional(),
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => CloudFolderFindManySchema)]).optional(),
|
||||
serviceHistory: z.union([z.boolean(), z.lazy(() => PatientServiceHistoryFindManySchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientIncludeObjectSchema: z.ZodType<Prisma.PatientInclude> = makeSchema() as unknown as z.ZodType<Prisma.PatientInclude>;
|
||||
|
||||
@@ -11,7 +11,8 @@ import { PaymentOrderByRelationAggregateInputObjectSchema as PaymentOrderByRelat
|
||||
import { CommunicationOrderByRelationAggregateInputObjectSchema as CommunicationOrderByRelationAggregateInputObjectSchema } from './CommunicationOrderByRelationAggregateInput.schema';
|
||||
import { PatientDocumentOrderByRelationAggregateInputObjectSchema as PatientDocumentOrderByRelationAggregateInputObjectSchema } from './PatientDocumentOrderByRelationAggregateInput.schema';
|
||||
import { PatientConversationOrderByWithRelationInputObjectSchema as PatientConversationOrderByWithRelationInputObjectSchema } from './PatientConversationOrderByWithRelationInput.schema';
|
||||
import { CloudFolderOrderByRelationAggregateInputObjectSchema as CloudFolderOrderByRelationAggregateInputObjectSchema } from './CloudFolderOrderByRelationAggregateInput.schema'
|
||||
import { CloudFolderOrderByRelationAggregateInputObjectSchema as CloudFolderOrderByRelationAggregateInputObjectSchema } from './CloudFolderOrderByRelationAggregateInput.schema';
|
||||
import { PatientServiceHistoryOrderByRelationAggregateInputObjectSchema as PatientServiceHistoryOrderByRelationAggregateInputObjectSchema } from './PatientServiceHistoryOrderByRelationAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
@@ -49,7 +50,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationOrderByWithRelationInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryOrderByRelationAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.PatientOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientOrderByWithRelationInput>;
|
||||
export const PatientOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -10,6 +10,7 @@ import { CommunicationFindManySchema as CommunicationFindManySchema } from '../f
|
||||
import { PatientDocumentFindManySchema as PatientDocumentFindManySchema } from '../findManyPatientDocument.schema';
|
||||
import { PatientConversationArgsObjectSchema as PatientConversationArgsObjectSchema } from './PatientConversationArgs.schema';
|
||||
import { CloudFolderFindManySchema as CloudFolderFindManySchema } from '../findManyCloudFolder.schema';
|
||||
import { PatientServiceHistoryFindManySchema as PatientServiceHistoryFindManySchema } from '../findManyPatientServiceHistory.schema';
|
||||
import { PatientCountOutputTypeArgsObjectSchema as PatientCountOutputTypeArgsObjectSchema } from './PatientCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -49,6 +50,7 @@ const makeSchema = () => z.object({
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientDocumentFindManySchema)]).optional(),
|
||||
conversation: z.union([z.boolean(), z.lazy(() => PatientConversationArgsObjectSchema)]).optional(),
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => CloudFolderFindManySchema)]).optional(),
|
||||
serviceHistory: z.union([z.boolean(), z.lazy(() => PatientServiceHistoryFindManySchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientSelectObjectSchema: z.ZodType<Prisma.PatientSelect> = makeSchema() as unknown as z.ZodType<Prisma.PatientSelect>;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistorySelectObjectSchema as PatientServiceHistorySelectObjectSchema } from './PatientServiceHistorySelect.schema';
|
||||
import { PatientServiceHistoryIncludeObjectSchema as PatientServiceHistoryIncludeObjectSchema } from './PatientServiceHistoryInclude.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
select: z.lazy(() => PatientServiceHistorySelectObjectSchema).optional(),
|
||||
include: z.lazy(() => PatientServiceHistoryIncludeObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryArgsObjectSchema = makeSchema();
|
||||
export const PatientServiceHistoryArgsObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryAvgAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryAvgAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryAvgAggregateInputType>;
|
||||
export const PatientServiceHistoryAvgAggregateInputObjectZodSchema = makeSchema();
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryAvgOrderByAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryAvgOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryAvgOrderByAggregateInput>;
|
||||
export const PatientServiceHistoryAvgOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,17 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
procedureCode: z.literal(true).optional(),
|
||||
description: z.literal(true).optional(),
|
||||
toothQuadArchSurface: z.literal(true).optional(),
|
||||
placeOfService: z.literal(true).optional(),
|
||||
serviceDate: z.literal(true).optional(),
|
||||
createdAt: z.literal(true).optional(),
|
||||
_all: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCountAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCountAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCountAggregateInputType>;
|
||||
export const PatientServiceHistoryCountAggregateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
procedureCode: SortOrderSchema.optional(),
|
||||
description: SortOrderSchema.optional(),
|
||||
toothQuadArchSurface: SortOrderSchema.optional(),
|
||||
placeOfService: SortOrderSchema.optional(),
|
||||
serviceDate: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCountOrderByAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCountOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCountOrderByAggregateInput>;
|
||||
export const PatientServiceHistoryCountOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateNestedOneWithoutServiceHistoryInputObjectSchema as PatientCreateNestedOneWithoutServiceHistoryInputObjectSchema } from './PatientCreateNestedOneWithoutServiceHistoryInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutServiceHistoryInputObjectSchema)
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateInput>;
|
||||
export const PatientServiceHistoryCreateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateManyInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyInput>;
|
||||
export const PatientServiceHistoryCreateManyInputObjectZodSchema = makeSchema();
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateManyPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyPatientInput>;
|
||||
export const PatientServiceHistoryCreateManyPatientInputObjectZodSchema = makeSchema();
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryCreateManyPatientInputObjectSchema as PatientServiceHistoryCreateManyPatientInputObjectSchema } from './PatientServiceHistoryCreateManyPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
data: z.union([z.lazy(() => PatientServiceHistoryCreateManyPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateManyPatientInputObjectSchema).array()]),
|
||||
skipDuplicates: z.boolean().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateManyPatientInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateManyPatientInputEnvelope>;
|
||||
export const PatientServiceHistoryCreateManyPatientInputEnvelopeObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientServiceHistoryCreateManyPatientInputEnvelope.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateNestedManyWithoutPatientInput>;
|
||||
export const PatientServiceHistoryCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateOrConnectWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateOrConnectWithoutPatientInput>;
|
||||
export const PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryCreateWithoutPatientInput>;
|
||||
export const PatientServiceHistoryCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientArgsObjectSchema as PatientArgsObjectSchema } from './PatientArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryIncludeObjectSchema: z.ZodType<Prisma.PatientServiceHistoryInclude> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryInclude>;
|
||||
export const PatientServiceHistoryIncludeObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryWhereInputObjectSchema as PatientServiceHistoryWhereInputObjectSchema } from './PatientServiceHistoryWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
every: z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).optional(),
|
||||
some: z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).optional(),
|
||||
none: z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryListRelationFilterObjectSchema: z.ZodType<Prisma.PatientServiceHistoryListRelationFilter> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryListRelationFilter>;
|
||||
export const PatientServiceHistoryListRelationFilterObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
procedureCode: z.literal(true).optional(),
|
||||
description: z.literal(true).optional(),
|
||||
toothQuadArchSurface: z.literal(true).optional(),
|
||||
placeOfService: z.literal(true).optional(),
|
||||
serviceDate: z.literal(true).optional(),
|
||||
createdAt: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryMaxAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryMaxAggregateInputType>;
|
||||
export const PatientServiceHistoryMaxAggregateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
procedureCode: SortOrderSchema.optional(),
|
||||
description: SortOrderSchema.optional(),
|
||||
toothQuadArchSurface: SortOrderSchema.optional(),
|
||||
placeOfService: SortOrderSchema.optional(),
|
||||
serviceDate: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryMaxOrderByAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryMaxOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryMaxOrderByAggregateInput>;
|
||||
export const PatientServiceHistoryMaxOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
procedureCode: z.literal(true).optional(),
|
||||
description: z.literal(true).optional(),
|
||||
toothQuadArchSurface: z.literal(true).optional(),
|
||||
placeOfService: z.literal(true).optional(),
|
||||
serviceDate: z.literal(true).optional(),
|
||||
createdAt: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryMinAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryMinAggregateInputType>;
|
||||
export const PatientServiceHistoryMinAggregateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
procedureCode: SortOrderSchema.optional(),
|
||||
description: SortOrderSchema.optional(),
|
||||
toothQuadArchSurface: SortOrderSchema.optional(),
|
||||
placeOfService: SortOrderSchema.optional(),
|
||||
serviceDate: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryMinOrderByAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryMinOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryMinOrderByAggregateInput>;
|
||||
export const PatientServiceHistoryMinOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
_count: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryOrderByRelationAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryOrderByRelationAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryOrderByRelationAggregateInput>;
|
||||
export const PatientServiceHistoryOrderByRelationAggregateInputObjectZodSchema = makeSchema();
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { PatientServiceHistoryCountOrderByAggregateInputObjectSchema as PatientServiceHistoryCountOrderByAggregateInputObjectSchema } from './PatientServiceHistoryCountOrderByAggregateInput.schema';
|
||||
import { PatientServiceHistoryAvgOrderByAggregateInputObjectSchema as PatientServiceHistoryAvgOrderByAggregateInputObjectSchema } from './PatientServiceHistoryAvgOrderByAggregateInput.schema';
|
||||
import { PatientServiceHistoryMaxOrderByAggregateInputObjectSchema as PatientServiceHistoryMaxOrderByAggregateInputObjectSchema } from './PatientServiceHistoryMaxOrderByAggregateInput.schema';
|
||||
import { PatientServiceHistoryMinOrderByAggregateInputObjectSchema as PatientServiceHistoryMinOrderByAggregateInputObjectSchema } from './PatientServiceHistoryMinOrderByAggregateInput.schema';
|
||||
import { PatientServiceHistorySumOrderByAggregateInputObjectSchema as PatientServiceHistorySumOrderByAggregateInputObjectSchema } from './PatientServiceHistorySumOrderByAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
procedureCode: SortOrderSchema.optional(),
|
||||
description: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
toothQuadArchSurface: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
placeOfService: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
serviceDate: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
_count: z.lazy(() => PatientServiceHistoryCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => PatientServiceHistoryAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => PatientServiceHistoryMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
_min: z.lazy(() => PatientServiceHistoryMinOrderByAggregateInputObjectSchema).optional(),
|
||||
_sum: z.lazy(() => PatientServiceHistorySumOrderByAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryOrderByWithAggregationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryOrderByWithAggregationInput>;
|
||||
export const PatientServiceHistoryOrderByWithAggregationInputObjectZodSchema = makeSchema();
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { PatientOrderByWithRelationInputObjectSchema as PatientOrderByWithRelationInputObjectSchema } from './PatientOrderByWithRelationInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
procedureCode: SortOrderSchema.optional(),
|
||||
description: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
toothQuadArchSurface: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
placeOfService: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
serviceDate: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
patient: z.lazy(() => PatientOrderByWithRelationInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryOrderByWithRelationInput>;
|
||||
export const PatientServiceHistoryOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
||||
import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema';
|
||||
import { DateTimeFilterObjectSchema as DateTimeFilterObjectSchema } from './DateTimeFilter.schema'
|
||||
|
||||
const patientservicehistoryscalarwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
procedureCode: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
description: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
placeOfService: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
serviceDate: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryScalarWhereInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryScalarWhereInput> = patientservicehistoryscalarwhereinputSchema as unknown as z.ZodType<Prisma.PatientServiceHistoryScalarWhereInput>;
|
||||
export const PatientServiceHistoryScalarWhereInputObjectZodSchema = patientservicehistoryscalarwhereinputSchema;
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
||||
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema';
|
||||
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema';
|
||||
import { DateTimeWithAggregatesFilterObjectSchema as DateTimeWithAggregatesFilterObjectSchema } from './DateTimeWithAggregatesFilter.schema'
|
||||
|
||||
const patientservicehistoryscalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
procedureCode: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
description: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
placeOfService: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
serviceDate: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryScalarWhereWithAggregatesInput> = patientservicehistoryscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.PatientServiceHistoryScalarWhereWithAggregatesInput>;
|
||||
export const PatientServiceHistoryScalarWhereWithAggregatesInputObjectZodSchema = patientservicehistoryscalarwherewithaggregatesinputSchema;
|
||||
@@ -0,0 +1,17 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientArgsObjectSchema as PatientArgsObjectSchema } from './PatientArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
description: z.boolean().optional(),
|
||||
toothQuadArchSurface: z.boolean().optional(),
|
||||
placeOfService: z.boolean().optional(),
|
||||
serviceDate: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistorySelectObjectSchema: z.ZodType<Prisma.PatientServiceHistorySelect> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistorySelect>;
|
||||
export const PatientServiceHistorySelectObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistorySumAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistorySumAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistorySumAggregateInputType>;
|
||||
export const PatientServiceHistorySumAggregateInputObjectZodSchema = makeSchema();
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistorySumOrderByAggregateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistorySumOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistorySumOrderByAggregateInput>;
|
||||
export const PatientServiceHistorySumOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedCreateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateInput>;
|
||||
export const PatientServiceHistoryUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientServiceHistoryCreateManyPatientInputEnvelope.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
procedureCode: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
toothQuadArchSurface: z.string().optional().nullable(),
|
||||
placeOfService: z.string().optional().nullable(),
|
||||
serviceDate: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedCreateWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateInput>;
|
||||
export const PatientServiceHistoryUncheckedUpdateInputObjectZodSchema = makeSchema();
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateManyInput>;
|
||||
export const PatientServiceHistoryUncheckedUpdateManyInputObjectZodSchema = makeSchema();
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateManyWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema as PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientServiceHistoryCreateManyPatientInputEnvelope.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryScalarWhereInputObjectSchema as PatientServiceHistoryScalarWhereInputObjectSchema } from './PatientServiceHistoryScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInput>;
|
||||
export const PatientServiceHistoryUncheckedUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUncheckedUpdateWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { PatientUpdateOneRequiredWithoutServiceHistoryNestedInputObjectSchema as PatientUpdateOneRequiredWithoutServiceHistoryNestedInputObjectSchema } from './PatientUpdateOneRequiredWithoutServiceHistoryNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
patient: z.lazy(() => PatientUpdateOneRequiredWithoutServiceHistoryNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpdateInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateInput>;
|
||||
export const PatientServiceHistoryUpdateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpdateManyMutationInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateManyMutationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateManyMutationInput>;
|
||||
export const PatientServiceHistoryUpdateManyMutationInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryScalarWhereInputObjectSchema as PatientServiceHistoryScalarWhereInputObjectSchema } from './PatientServiceHistoryScalarWhereInput.schema';
|
||||
import { PatientServiceHistoryUpdateManyMutationInputObjectSchema as PatientServiceHistoryUpdateManyMutationInputObjectSchema } from './PatientServiceHistoryUpdateManyMutationInput.schema';
|
||||
import { PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema),
|
||||
data: z.union([z.lazy(() => PatientServiceHistoryUpdateManyMutationInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateManyWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema as PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateOrConnectWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema as PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema as PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema } from './PatientServiceHistoryCreateManyPatientInputEnvelope.schema';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateManyWithWhereWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryScalarWhereInputObjectSchema as PatientServiceHistoryScalarWhereInputObjectSchema } from './PatientServiceHistoryScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => PatientServiceHistoryCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateManyWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateManyWithoutPatientNestedInput>;
|
||||
export const PatientServiceHistoryUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema),
|
||||
data: z.union([z.lazy(() => PatientServiceHistoryUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
description: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
placeOfService: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
serviceDate: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpdateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpdateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpdateWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUpdateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientServiceHistoryWhereUniqueInputObjectSchema as PatientServiceHistoryWhereUniqueInputObjectSchema } from './PatientServiceHistoryWhereUniqueInput.schema';
|
||||
import { PatientServiceHistoryUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUpdateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedUpdateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryCreateWithoutPatientInputObjectSchema as PatientServiceHistoryCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryCreateWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientServiceHistoryWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => PatientServiceHistoryUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedUpdateWithoutPatientInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => PatientServiceHistoryCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientServiceHistoryUncheckedCreateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInput>;
|
||||
export const PatientServiceHistoryUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,25 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
||||
import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema';
|
||||
import { DateTimeFilterObjectSchema as DateTimeFilterObjectSchema } from './DateTimeFilter.schema';
|
||||
import { PatientScalarRelationFilterObjectSchema as PatientScalarRelationFilterObjectSchema } from './PatientScalarRelationFilter.schema';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'
|
||||
|
||||
const patientservicehistorywhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => PatientServiceHistoryWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => PatientServiceHistoryWhereInputObjectSchema), z.lazy(() => PatientServiceHistoryWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
procedureCode: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
description: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
toothQuadArchSurface: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
placeOfService: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
serviceDate: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
patient: z.union([z.lazy(() => PatientScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryWhereInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryWhereInput> = patientservicehistorywhereinputSchema as unknown as z.ZodType<Prisma.PatientServiceHistoryWhereInput>;
|
||||
export const PatientServiceHistoryWhereInputObjectZodSchema = patientservicehistorywhereinputSchema;
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional()
|
||||
}).strict();
|
||||
export const PatientServiceHistoryWhereUniqueInputObjectSchema: z.ZodType<Prisma.PatientServiceHistoryWhereUniqueInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientServiceHistoryWhereUniqueInput>;
|
||||
export const PatientServiceHistoryWhereUniqueInputObjectZodSchema = makeSchema();
|
||||
@@ -9,7 +9,8 @@ import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Paym
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -45,7 +46,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateInput>;
|
||||
export const PatientUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
+4
-2
@@ -8,7 +8,8 @@ import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Paym
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutAppointmentsInput>;
|
||||
export const PatientUncheckedCreateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
+4
-2
@@ -8,7 +8,8 @@ import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Paym
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutClaimsInput>;
|
||||
export const PatientUncheckedCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
+4
-2
@@ -8,7 +8,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutCloudFoldersInput>;
|
||||
export const PatientUncheckedCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
|
||||
+4
-2
@@ -8,7 +8,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
serviceHistory: z.lazy(() => PatientServiceHistoryUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutCommunicationsInput>;
|
||||
export const PatientUncheckedCreateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user