feat: add Lab RX feature with template management and auto-seed defaults
- New lab_rx_template table with sortOrder and Prisma migrations - Backend CRUD + reorder routes at /api/lab-rx/templates - Auto-seeds 3 Highland Dental Studio defaults on first use per user - LabRxModal: template picker, inline rename, up/down reorder, full template form with sections (Template Name / Lab Info / Case Details) - RX popup: Tooth Number, Shade, Due Date, Doctor (from NPI providers), Instructions pre-filled with "Please make / Thank you!", print output - lab-rx-templates.ts config file for future git-managed additions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,7 @@ import shoppingVendorsRoutes from "./shopping-vendors";
|
||||
import feeScheduleRoutes from "./feeSchedule";
|
||||
import licenseRoutes from "./license";
|
||||
import insuranceStatusBcbsMaRoutes from "./insuranceStatusBcbsMa";
|
||||
import labRxRoutes from "./lab-rx";
|
||||
|
||||
const router = Router();
|
||||
|
||||
@@ -90,5 +91,6 @@ router.use("/commissions", commissionsRoutes);
|
||||
router.use("/shopping-vendors", shoppingVendorsRoutes);
|
||||
router.use("/fee-schedule", feeScheduleRoutes);
|
||||
router.use("/license", licenseRoutes);
|
||||
router.use("/lab-rx", labRxRoutes);
|
||||
|
||||
export default router;
|
||||
|
||||
92
apps/Backend/src/routes/lab-rx.ts
Normal file
92
apps/Backend/src/routes/lab-rx.ts
Normal file
@@ -0,0 +1,92 @@
|
||||
import express, { Request, Response } from "express";
|
||||
import { storage } from "../storage";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/templates", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
const templates = await storage.getLabRxTemplates(userId);
|
||||
return res.json(templates);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to fetch lab RX templates", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.post("/templates", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
const { name, labName, labPhone, labFax, labAddress, labAccount, caseType, material, instructions } = req.body;
|
||||
if (!name?.trim()) return res.status(400).json({ message: "Template name is required" });
|
||||
const template = await storage.createLabRxTemplate(userId, {
|
||||
name: name.trim(),
|
||||
labName: labName?.trim() || undefined,
|
||||
labPhone: labPhone?.trim() || undefined,
|
||||
labFax: labFax?.trim() || undefined,
|
||||
labAddress: labAddress?.trim() || undefined,
|
||||
labAccount: labAccount?.trim() || undefined,
|
||||
caseType: caseType?.trim() || undefined,
|
||||
material: material?.trim() || undefined,
|
||||
instructions: instructions?.trim() || undefined,
|
||||
});
|
||||
return res.status(201).json(template);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to create lab RX template", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.put("/templates/:id", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
const id = Number(req.params.id);
|
||||
if (isNaN(id)) return res.status(400).json({ message: "Invalid ID" });
|
||||
const { name, labName, labPhone, labFax, labAddress, labAccount, caseType, material, instructions } = req.body;
|
||||
if (name !== undefined && !name?.trim()) return res.status(400).json({ message: "Name cannot be empty" });
|
||||
const template = await storage.updateLabRxTemplate(userId, id, {
|
||||
name: name?.trim(),
|
||||
labName: labName?.trim() || undefined,
|
||||
labPhone: labPhone?.trim() || undefined,
|
||||
labFax: labFax?.trim() || undefined,
|
||||
labAddress: labAddress?.trim() || undefined,
|
||||
labAccount: labAccount?.trim() || undefined,
|
||||
caseType: caseType?.trim() || undefined,
|
||||
material: material?.trim() || undefined,
|
||||
instructions: instructions?.trim() || undefined,
|
||||
});
|
||||
return res.json(template);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to update lab RX template", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.post("/templates/reorder", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
const { orderedIds } = req.body;
|
||||
if (!Array.isArray(orderedIds)) return res.status(400).json({ message: "orderedIds must be an array" });
|
||||
await storage.reorderLabRxTemplates(userId, orderedIds);
|
||||
return res.status(204).send();
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to reorder templates", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.delete("/templates/:id", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
const id = Number(req.params.id);
|
||||
if (isNaN(id)) return res.status(400).json({ message: "Invalid ID" });
|
||||
const ok = await storage.deleteLabRxTemplate(userId, id);
|
||||
if (!ok) return res.status(404).json({ message: "Template not found" });
|
||||
return res.status(204).send();
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to delete lab RX template", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
@@ -25,6 +25,7 @@ import { procedureTimeslotStorage } from "./procedure-timeslot-storage";
|
||||
import { insuranceContactStorage } from "./insurance-contact-storage";
|
||||
import { commissionsStorage } from "./commissions-storage";
|
||||
import { shoppingVendorStorage } from "./shopping-vendor-storage";
|
||||
import { labRxStorage } from "./lab-rx-storage";
|
||||
|
||||
|
||||
export const storage = {
|
||||
@@ -53,6 +54,7 @@ export const storage = {
|
||||
...insuranceContactStorage,
|
||||
...commissionsStorage,
|
||||
...shoppingVendorStorage,
|
||||
...labRxStorage,
|
||||
|
||||
};
|
||||
|
||||
|
||||
90
apps/Backend/src/storage/lab-rx-storage.ts
Normal file
90
apps/Backend/src/storage/lab-rx-storage.ts
Normal file
@@ -0,0 +1,90 @@
|
||||
import { prisma as db } from "@repo/db/client";
|
||||
|
||||
export type LabRxTemplateInput = {
|
||||
name: string;
|
||||
labName?: string;
|
||||
labPhone?: string;
|
||||
labFax?: string;
|
||||
labAddress?: string;
|
||||
labAccount?: string;
|
||||
caseType?: string;
|
||||
material?: string;
|
||||
instructions?: string;
|
||||
};
|
||||
|
||||
const DEFAULT_TEMPLATES: LabRxTemplateInput[] = [
|
||||
{
|
||||
name: "Highland Dental Crown",
|
||||
labName: "Highland Dental Studio",
|
||||
labPhone: "781-552-5198",
|
||||
labAddress: "87 Cambridge Street, Burlington, MA 01803",
|
||||
caseType: "Crown",
|
||||
material: "Zirconia",
|
||||
},
|
||||
{
|
||||
name: "Highland Dental Full Denture",
|
||||
labName: "Highland Dental Studio",
|
||||
labPhone: "781-552-5198",
|
||||
labAddress: "87 Cambridge Street, Burlington, MA 01803",
|
||||
caseType: "Full Denture",
|
||||
},
|
||||
{
|
||||
name: "Highland Dental Partial Denture",
|
||||
labName: "Highland Dental Studio",
|
||||
labPhone: "781-552-5198",
|
||||
labAddress: "87 Cambridge Street, Burlington, MA 01803",
|
||||
caseType: "Partial Denture",
|
||||
},
|
||||
];
|
||||
|
||||
export const labRxStorage = {
|
||||
async getLabRxTemplates(userId: number) {
|
||||
const existing = await db.labRxTemplate.findMany({
|
||||
where: { userId },
|
||||
orderBy: { sortOrder: "asc" },
|
||||
});
|
||||
|
||||
if (existing.length === 0) {
|
||||
await db.labRxTemplate.createMany({
|
||||
data: DEFAULT_TEMPLATES.map((t, index) => ({ userId, sortOrder: index, ...t })),
|
||||
});
|
||||
return db.labRxTemplate.findMany({
|
||||
where: { userId },
|
||||
orderBy: { sortOrder: "asc" },
|
||||
});
|
||||
}
|
||||
|
||||
return existing;
|
||||
},
|
||||
|
||||
async reorderLabRxTemplates(userId: number, orderedIds: number[]) {
|
||||
await db.$transaction(
|
||||
orderedIds.map((id, index) =>
|
||||
db.labRxTemplate.updateMany({
|
||||
where: { id, userId },
|
||||
data: { sortOrder: index },
|
||||
})
|
||||
)
|
||||
);
|
||||
},
|
||||
|
||||
async createLabRxTemplate(userId: number, data: LabRxTemplateInput) {
|
||||
return db.labRxTemplate.create({
|
||||
data: { userId, ...data },
|
||||
});
|
||||
},
|
||||
|
||||
async updateLabRxTemplate(userId: number, id: number, data: Partial<LabRxTemplateInput>) {
|
||||
return db.labRxTemplate.update({
|
||||
where: { id, userId },
|
||||
data,
|
||||
});
|
||||
},
|
||||
|
||||
async deleteLabRxTemplate(userId: number, id: number) {
|
||||
const existing = await db.labRxTemplate.findFirst({ where: { id, userId } });
|
||||
if (!existing) return false;
|
||||
await db.labRxTemplate.delete({ where: { id } });
|
||||
return true;
|
||||
},
|
||||
};
|
||||
@@ -3,12 +3,14 @@ import { Button } from "@/components/ui/button";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { PatientTable } from "@/components/patients/patient-table";
|
||||
import { BarcodeModal } from "@/components/chart/barcode-modal";
|
||||
import { LabRxModal } from "@/components/chart/lab-rx-modal";
|
||||
import { Barcode, FileText } from "lucide-react";
|
||||
import { Patient } from "@repo/db/types";
|
||||
|
||||
export function LabManagementTab() {
|
||||
const [selectedPatient, setSelectedPatient] = useState<Patient | null>(null);
|
||||
const [barcodeOpen, setBarcodeOpen] = useState(false);
|
||||
const [labRxOpen, setLabRxOpen] = useState(false);
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
@@ -33,7 +35,12 @@ export function LabManagementTab() {
|
||||
<Barcode className="h-4 w-4" />
|
||||
Create a Barcode
|
||||
</Button>
|
||||
<Button variant="outline" className="gap-2" disabled>
|
||||
<Button
|
||||
variant="outline"
|
||||
className="gap-2"
|
||||
disabled={!selectedPatient}
|
||||
onClick={() => setLabRxOpen(true)}
|
||||
>
|
||||
<FileText className="h-4 w-4" />
|
||||
Lab RX
|
||||
</Button>
|
||||
@@ -59,11 +66,18 @@ export function LabManagementTab() {
|
||||
</Card>
|
||||
|
||||
{selectedPatient && (
|
||||
<BarcodeModal
|
||||
open={barcodeOpen}
|
||||
onClose={() => setBarcodeOpen(false)}
|
||||
patient={selectedPatient}
|
||||
/>
|
||||
<>
|
||||
<BarcodeModal
|
||||
open={barcodeOpen}
|
||||
onClose={() => setBarcodeOpen(false)}
|
||||
patient={selectedPatient}
|
||||
/>
|
||||
<LabRxModal
|
||||
open={labRxOpen}
|
||||
onClose={() => setLabRxOpen(false)}
|
||||
patient={selectedPatient}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
640
apps/Frontend/src/components/chart/lab-rx-modal.tsx
Normal file
640
apps/Frontend/src/components/chart/lab-rx-modal.tsx
Normal file
@@ -0,0 +1,640 @@
|
||||
import { useState, useRef } from "react";
|
||||
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
|
||||
import { apiRequest } from "@/lib/queryClient";
|
||||
import { useToast } from "@/hooks/use-toast";
|
||||
import { Patient } from "@repo/db/types";
|
||||
import {
|
||||
Dialog,
|
||||
DialogContent,
|
||||
DialogHeader,
|
||||
DialogTitle,
|
||||
DialogFooter,
|
||||
} from "@/components/ui/dialog";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
import { Textarea } from "@/components/ui/textarea";
|
||||
import {
|
||||
Select,
|
||||
SelectContent,
|
||||
SelectItem,
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from "@/components/ui/select";
|
||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||
import { Plus, Pencil, Trash2, Printer, X, Check, FlaskConical, ChevronUp, ChevronDown } from "lucide-react";
|
||||
|
||||
type LabRxTemplate = {
|
||||
id: number;
|
||||
name: string;
|
||||
labName?: string | null;
|
||||
labPhone?: string | null;
|
||||
labFax?: string | null;
|
||||
labAddress?: string | null;
|
||||
labAccount?: string | null;
|
||||
caseType?: string | null;
|
||||
material?: string | null;
|
||||
instructions?: string | null;
|
||||
sortOrder: number;
|
||||
};
|
||||
|
||||
type TemplateFormState = {
|
||||
name: string;
|
||||
labName: string;
|
||||
labPhone: string;
|
||||
labFax: string;
|
||||
labAddress: string;
|
||||
labAccount: string;
|
||||
caseType: string;
|
||||
material: string;
|
||||
instructions: string;
|
||||
};
|
||||
|
||||
type RxFields = {
|
||||
toothNumbers: string;
|
||||
shade: string;
|
||||
dueDate: string;
|
||||
doctorName: string;
|
||||
additionalNotes: string;
|
||||
};
|
||||
|
||||
const EMPTY_TEMPLATE: TemplateFormState = {
|
||||
name: "", labName: "", labPhone: "", labFax: "",
|
||||
labAddress: "", labAccount: "", caseType: "", material: "", instructions: "Please make\nThank you!",
|
||||
};
|
||||
const EMPTY_RX: RxFields = { toothNumbers: "", shade: "", dueDate: "", doctorName: "", additionalNotes: "Please make\nThank you!" };
|
||||
|
||||
const CASE_TYPES = ["Crown", "Bridge", "Veneer", "Inlay/Onlay", "Full Denture", "Partial Denture", "Night Guard", "Retainer", "Implant Crown", "Other"];
|
||||
const MATERIALS = ["Zirconia", "PFM (Porcelain-Fused-to-Metal)", "E-Max", "Acrylic", "Cast Metal", "Composite", "PMMA", "Other"];
|
||||
|
||||
interface Props {
|
||||
open: boolean;
|
||||
onClose: () => void;
|
||||
patient: Patient;
|
||||
}
|
||||
|
||||
export function LabRxModal({ open, onClose, patient }: Props) {
|
||||
const { toast } = useToast();
|
||||
const queryClient = useQueryClient();
|
||||
const printRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
// RX popup
|
||||
const [rxTemplate, setRxTemplate] = useState<LabRxTemplate | null>(null);
|
||||
const [rx, setRx] = useState<RxFields>(EMPTY_RX);
|
||||
|
||||
// Inline rename (Tab 1 cards)
|
||||
const [renamingId, setRenamingId] = useState<number | null>(null);
|
||||
const [renameValue, setRenameValue] = useState("");
|
||||
|
||||
// Manage Templates form
|
||||
const [showTemplateForm, setShowTemplateForm] = useState(false);
|
||||
const [editingTemplateId, setEditingTemplateId] = useState<number | null>(null);
|
||||
const [templateForm, setTemplateForm] = useState<TemplateFormState>(EMPTY_TEMPLATE);
|
||||
|
||||
const { data: providers = [] } = useQuery<{ id: number; providerName: string }[]>({
|
||||
queryKey: ["/api/npiProviders"],
|
||||
queryFn: async () => {
|
||||
const res = await apiRequest("GET", "/api/npiProviders");
|
||||
if (!res.ok) throw new Error("Failed to fetch providers");
|
||||
return res.json();
|
||||
},
|
||||
enabled: open,
|
||||
});
|
||||
|
||||
const { data: templates = [], isLoading } = useQuery<LabRxTemplate[]>({
|
||||
queryKey: ["/api/lab-rx/templates"],
|
||||
queryFn: async () => {
|
||||
const res = await apiRequest("GET", "/api/lab-rx/templates");
|
||||
if (!res.ok) throw new Error("Failed to fetch");
|
||||
return res.json();
|
||||
},
|
||||
enabled: open,
|
||||
});
|
||||
|
||||
const invalidate = () => queryClient.invalidateQueries({ queryKey: ["/api/lab-rx/templates"] });
|
||||
|
||||
const createMutation = useMutation({
|
||||
mutationFn: async (data: TemplateFormState) => {
|
||||
const res = await apiRequest("POST", "/api/lab-rx/templates", data);
|
||||
if (!res.ok) { const e = await res.json().catch(() => null); throw new Error(e?.message || "Failed to save"); }
|
||||
return res.json();
|
||||
},
|
||||
onSuccess: () => { invalidate(); setShowTemplateForm(false); setTemplateForm(EMPTY_TEMPLATE); toast({ title: "Template saved" }); },
|
||||
onError: (e: any) => toast({ title: "Error", description: e.message, variant: "destructive" }),
|
||||
});
|
||||
|
||||
const updateMutation = useMutation({
|
||||
mutationFn: async ({ id, data }: { id: number; data: Partial<TemplateFormState> }) => {
|
||||
const res = await apiRequest("PUT", `/api/lab-rx/templates/${id}`, data);
|
||||
if (!res.ok) { const e = await res.json().catch(() => null); throw new Error(e?.message || "Failed to update"); }
|
||||
return res.json();
|
||||
},
|
||||
onSuccess: () => { invalidate(); setEditingTemplateId(null); setTemplateForm(EMPTY_TEMPLATE); setShowTemplateForm(false); toast({ title: "Template updated" }); },
|
||||
onError: (e: any) => toast({ title: "Error", description: e.message, variant: "destructive" }),
|
||||
});
|
||||
|
||||
const renameMutation = useMutation({
|
||||
mutationFn: async ({ id, name }: { id: number; name: string }) => {
|
||||
const res = await apiRequest("PUT", `/api/lab-rx/templates/${id}`, { name });
|
||||
if (!res.ok) { const e = await res.json().catch(() => null); throw new Error(e?.message || "Failed to rename"); }
|
||||
return res.json();
|
||||
},
|
||||
onSuccess: () => { invalidate(); setRenamingId(null); },
|
||||
onError: (e: any) => toast({ title: "Error", description: e.message, variant: "destructive" }),
|
||||
});
|
||||
|
||||
const deleteMutation = useMutation({
|
||||
mutationFn: async (id: number) => {
|
||||
const res = await apiRequest("DELETE", `/api/lab-rx/templates/${id}`);
|
||||
if (!res.ok) throw new Error("Failed to delete");
|
||||
},
|
||||
onSuccess: () => { invalidate(); toast({ title: "Template deleted" }); },
|
||||
onError: (e: any) => toast({ title: "Error", description: e.message, variant: "destructive" }),
|
||||
});
|
||||
|
||||
const reorderMutation = useMutation({
|
||||
mutationFn: async (orderedIds: number[]) => {
|
||||
const res = await apiRequest("POST", "/api/lab-rx/templates/reorder", { orderedIds });
|
||||
if (!res.ok) throw new Error("Failed to reorder");
|
||||
},
|
||||
onSuccess: () => invalidate(),
|
||||
onError: (e: any) => toast({ title: "Error", description: e.message, variant: "destructive" }),
|
||||
});
|
||||
|
||||
const moveTemplate = (index: number, direction: "up" | "down") => {
|
||||
const swapIndex = direction === "up" ? index - 1 : index + 1;
|
||||
const reordered = [...templates];
|
||||
const a = reordered[index]!;
|
||||
const b = reordered[swapIndex]!;
|
||||
reordered[index] = b;
|
||||
reordered[swapIndex] = a;
|
||||
queryClient.setQueryData<LabRxTemplate[]>(["/api/lab-rx/templates"], reordered);
|
||||
reorderMutation.mutate(reordered.map((t) => t.id));
|
||||
};
|
||||
|
||||
const openRx = (t: LabRxTemplate) => {
|
||||
if (renamingId !== null) return;
|
||||
setRxTemplate(t);
|
||||
setRx(EMPTY_RX);
|
||||
};
|
||||
|
||||
const startRename = (e: React.MouseEvent, t: LabRxTemplate) => {
|
||||
e.stopPropagation();
|
||||
setRenamingId(t.id);
|
||||
setRenameValue(t.name);
|
||||
};
|
||||
|
||||
const commitRename = () => {
|
||||
if (!renameValue.trim()) { toast({ title: "Name cannot be empty", variant: "destructive" }); return; }
|
||||
if (renamingId !== null) renameMutation.mutate({ id: renamingId, name: renameValue.trim() });
|
||||
};
|
||||
|
||||
const cancelRename = () => setRenamingId(null);
|
||||
|
||||
const openAddTemplate = () => { setEditingTemplateId(null); setTemplateForm(EMPTY_TEMPLATE); setShowTemplateForm(true); };
|
||||
const openEditTemplate = (t: LabRxTemplate) => {
|
||||
setEditingTemplateId(t.id);
|
||||
setTemplateForm({ name: t.name, labName: t.labName ?? "", labPhone: t.labPhone ?? "", labFax: t.labFax ?? "", labAddress: t.labAddress ?? "", labAccount: t.labAccount ?? "", caseType: t.caseType ?? "", material: t.material ?? "", instructions: t.instructions ?? "" });
|
||||
setShowTemplateForm(true);
|
||||
};
|
||||
const handleSaveTemplate = () => {
|
||||
if (!templateForm.name.trim()) { toast({ title: "Template name is required", variant: "destructive" }); return; }
|
||||
if (editingTemplateId !== null) updateMutation.mutate({ id: editingTemplateId, data: templateForm });
|
||||
else createMutation.mutate(templateForm);
|
||||
};
|
||||
const isSaving = createMutation.isPending || updateMutation.isPending;
|
||||
|
||||
const handlePrint = () => {
|
||||
const content = printRef.current;
|
||||
if (!content || !rxTemplate) return;
|
||||
const win = window.open("", "_blank", "width=800,height=900");
|
||||
if (!win) return;
|
||||
win.document.write(`<!DOCTYPE html><html><head><title>Lab RX</title>
|
||||
<style>
|
||||
body{font-family:Arial,sans-serif;margin:0;padding:24px;font-size:13px;color:#111}
|
||||
h1{font-size:22px;margin:0 0 4px;text-align:center}
|
||||
.subtitle{text-align:center;color:#555;font-size:12px;margin-bottom:12px}
|
||||
hr{border:none;border-top:2px solid #000;margin:10px 0}
|
||||
.section{margin-bottom:14px}
|
||||
.section-title{font-weight:bold;font-size:11px;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #bbb;margin-bottom:8px;padding-bottom:3px;color:#333}
|
||||
.row{display:flex;gap:24px;margin-bottom:6px}
|
||||
.field{flex:1}
|
||||
.field label{display:block;font-size:10px;color:#777;margin-bottom:1px}
|
||||
.field span{display:block;border-bottom:1px solid #aaa;padding-bottom:2px;min-height:18px;font-size:13px}
|
||||
.instructions-box{border:1px solid #bbb;padding:8px;min-height:64px;white-space:pre-wrap;font-size:12px}
|
||||
.sig-area{display:flex;gap:48px;margin-top:32px}
|
||||
.sig-line{border-top:1px solid #000;padding-top:3px;font-size:10px;color:#777;min-width:180px}
|
||||
@media print{body{margin:0}}
|
||||
</style>
|
||||
</head><body>${content.innerHTML}</body></html>`);
|
||||
win.document.close();
|
||||
win.focus();
|
||||
setTimeout(() => { win.print(); win.close(); }, 300);
|
||||
};
|
||||
|
||||
const patientName = `${patient.firstName} ${patient.lastName}`;
|
||||
const today = new Date().toLocaleDateString("en-US");
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* ── Main modal ── */}
|
||||
<Dialog open={open} onOpenChange={(v) => !v && onClose()}>
|
||||
<DialogContent className="max-w-3xl max-h-[90vh] overflow-y-auto">
|
||||
<DialogHeader>
|
||||
<DialogTitle className="flex items-center gap-2">
|
||||
<FlaskConical className="h-5 w-5" />
|
||||
Lab RX — {patientName}
|
||||
</DialogTitle>
|
||||
</DialogHeader>
|
||||
|
||||
<Tabs defaultValue="rx">
|
||||
<TabsList className="mb-4">
|
||||
<TabsTrigger value="rx">Create Lab RX</TabsTrigger>
|
||||
<TabsTrigger value="templates">Manage Templates</TabsTrigger>
|
||||
</TabsList>
|
||||
|
||||
{/* ── Tab 1: pick template ── */}
|
||||
<TabsContent value="rx" className="space-y-4">
|
||||
<p className="text-xs font-medium text-gray-500 uppercase tracking-wide">
|
||||
Click a template to create a Lab RX
|
||||
</p>
|
||||
{isLoading ? (
|
||||
<p className="text-sm text-gray-400">Loading templates…</p>
|
||||
) : templates.length === 0 ? (
|
||||
<p className="text-sm text-gray-400">No templates yet. Go to "Manage Templates" to add one.</p>
|
||||
) : (
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
|
||||
{templates.map((t) => (
|
||||
<div
|
||||
key={t.id}
|
||||
onClick={() => openRx(t)}
|
||||
className="group relative border rounded-lg p-3 bg-white cursor-pointer hover:border-blue-400 hover:shadow-sm transition-all"
|
||||
>
|
||||
{renamingId === t.id ? (
|
||||
<div className="flex items-center gap-1" onClick={(e) => e.stopPropagation()}>
|
||||
<Input
|
||||
autoFocus
|
||||
value={renameValue}
|
||||
onChange={(e) => setRenameValue(e.target.value)}
|
||||
onKeyDown={(e) => { if (e.key === "Enter") commitRename(); if (e.key === "Escape") cancelRename(); }}
|
||||
className="h-7 text-sm font-medium"
|
||||
/>
|
||||
<Button variant="ghost" size="icon" className="h-6 w-6 shrink-0 text-green-600" onClick={commitRename} disabled={renameMutation.isPending}>
|
||||
<Check className="h-3.5 w-3.5" />
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" className="h-6 w-6 shrink-0" onClick={cancelRename}>
|
||||
<X className="h-3.5 w-3.5" />
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<div className="min-w-0">
|
||||
<p className="font-semibold text-sm text-gray-900 truncate">{t.name}</p>
|
||||
{t.labName && <p className="text-xs text-gray-500 mt-0.5">{t.labName}</p>}
|
||||
<div className="flex flex-wrap gap-x-3 gap-y-0.5 mt-1 text-xs text-gray-400">
|
||||
{t.caseType && <span>{t.caseType}</span>}
|
||||
{t.material && <span>{t.material}</span>}
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
title="Rename template"
|
||||
onClick={(e) => startRename(e, t)}
|
||||
className="shrink-0 p-1 rounded opacity-0 group-hover:opacity-100 hover:bg-gray-100 transition-opacity"
|
||||
>
|
||||
<Pencil className="h-3.5 w-3.5 text-gray-400" />
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</TabsContent>
|
||||
|
||||
{/* ── Tab 2: manage templates ── */}
|
||||
<TabsContent value="templates" className="space-y-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<p className="text-sm text-gray-500">{templates.length} template{templates.length !== 1 ? "s" : ""}</p>
|
||||
<Button size="sm" onClick={openAddTemplate} className="gap-1.5">
|
||||
<Plus className="h-4 w-4" /> Add Template
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{showTemplateForm && (
|
||||
<div className="border rounded-lg overflow-hidden">
|
||||
<div className="bg-gray-100 border-b px-4 py-2.5">
|
||||
<p className="text-sm font-semibold text-gray-800">
|
||||
{editingTemplateId !== null ? "Edit Template" : "New Template"}
|
||||
</p>
|
||||
</div>
|
||||
<div className="p-4 space-y-5 bg-white">
|
||||
|
||||
{/* Template Name section */}
|
||||
<div className="space-y-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<p className="text-xs font-bold uppercase tracking-widest text-blue-600">Template Name</p>
|
||||
<div className="flex-1 h-px bg-blue-100" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Name <span className="text-red-500">*</span></Label>
|
||||
<Input
|
||||
placeholder="e.g. Glidewell Crown, Argen Bridge…"
|
||||
value={templateForm.name}
|
||||
onChange={(e) => setTemplateForm((f) => ({ ...f, name: e.target.value }))}
|
||||
className="h-9 text-sm"
|
||||
/>
|
||||
<p className="text-xs text-gray-400">This name appears on the template picker button.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Lab Information section */}
|
||||
<div className="space-y-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<p className="text-xs font-bold uppercase tracking-widest text-gray-500">Lab Information</p>
|
||||
<div className="flex-1 h-px bg-gray-200" />
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Lab Name</Label>
|
||||
<Input placeholder="e.g. Glidewell Dental" value={templateForm.labName} onChange={(e) => setTemplateForm((f) => ({ ...f, labName: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Account #</Label>
|
||||
<Input placeholder="e.g. 123456" value={templateForm.labAccount} onChange={(e) => setTemplateForm((f) => ({ ...f, labAccount: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Phone</Label>
|
||||
<Input placeholder="(800) 000-0000" value={templateForm.labPhone} onChange={(e) => setTemplateForm((f) => ({ ...f, labPhone: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Fax</Label>
|
||||
<Input placeholder="(800) 000-0001" value={templateForm.labFax} onChange={(e) => setTemplateForm((f) => ({ ...f, labFax: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="col-span-2 space-y-1">
|
||||
<Label className="text-xs text-gray-600">Address</Label>
|
||||
<Input placeholder="123 Lab St, City, State 00000" value={templateForm.labAddress} onChange={(e) => setTemplateForm((f) => ({ ...f, labAddress: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Default Case Details section */}
|
||||
<div className="space-y-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<p className="text-xs font-bold uppercase tracking-widest text-gray-500">Default Case Details</p>
|
||||
<div className="flex-1 h-px bg-gray-200" />
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Case Type</Label>
|
||||
<Select value={templateForm.caseType} onValueChange={(v) => setTemplateForm((f) => ({ ...f, caseType: v }))}>
|
||||
<SelectTrigger className="h-9 text-sm"><SelectValue placeholder="Select…" /></SelectTrigger>
|
||||
<SelectContent>{CASE_TYPES.map((c) => <SelectItem key={c} value={c}>{c}</SelectItem>)}</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Material</Label>
|
||||
<Select value={templateForm.material} onValueChange={(v) => setTemplateForm((f) => ({ ...f, material: v }))}>
|
||||
<SelectTrigger className="h-9 text-sm"><SelectValue placeholder="Select…" /></SelectTrigger>
|
||||
<SelectContent>{MATERIALS.map((m) => <SelectItem key={m} value={m}>{m}</SelectItem>)}</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
<div className="col-span-2 space-y-1">
|
||||
<Label className="text-xs text-gray-600">Instructions</Label>
|
||||
<Textarea placeholder="Standard instructions for this lab…" value={templateForm.instructions} onChange={(e) => setTemplateForm((f) => ({ ...f, instructions: e.target.value }))} className="text-sm resize-none" rows={3} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="bg-gray-50 border-t px-4 py-3 flex gap-2">
|
||||
<Button size="sm" onClick={handleSaveTemplate} disabled={isSaving}>
|
||||
<Check className="h-3.5 w-3.5 mr-1" />{isSaving ? "Saving…" : "Save Template"}
|
||||
</Button>
|
||||
<Button size="sm" variant="outline" onClick={() => { setShowTemplateForm(false); setEditingTemplateId(null); setTemplateForm(EMPTY_TEMPLATE); }} disabled={isSaving}>
|
||||
<X className="h-3.5 w-3.5 mr-1" /> Cancel
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{isLoading ? (
|
||||
<p className="text-sm text-gray-400 py-4 text-center">Loading…</p>
|
||||
) : templates.length === 0 ? (
|
||||
<p className="text-sm text-gray-400 py-8 text-center">No templates yet. Click "Add Template" to create one.</p>
|
||||
) : (
|
||||
<div className="space-y-2">
|
||||
{templates.map((t, index) => (
|
||||
<div key={t.id} className="border rounded-lg p-3 bg-white flex items-center gap-2">
|
||||
<div className="flex flex-col shrink-0">
|
||||
<Button
|
||||
variant="ghost" size="icon" className="h-6 w-6 text-gray-400 hover:text-gray-700 disabled:opacity-20"
|
||||
disabled={index === 0 || reorderMutation.isPending}
|
||||
onClick={() => moveTemplate(index, "up")}
|
||||
>
|
||||
<ChevronUp className="h-4 w-4" />
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost" size="icon" className="h-6 w-6 text-gray-400 hover:text-gray-700 disabled:opacity-20"
|
||||
disabled={index === templates.length - 1 || reorderMutation.isPending}
|
||||
onClick={() => moveTemplate(index, "down")}
|
||||
>
|
||||
<ChevronDown className="h-4 w-4" />
|
||||
</Button>
|
||||
</div>
|
||||
<div className="flex-1 min-w-0">
|
||||
<p className="font-medium text-sm text-gray-900">{t.name}</p>
|
||||
{t.labName && <p className="text-xs text-gray-500">{t.labName}</p>}
|
||||
<div className="flex flex-wrap gap-x-4 gap-y-0.5 text-xs text-gray-400 mt-0.5">
|
||||
{t.caseType && <span>Case: {t.caseType}</span>}
|
||||
{t.material && <span>Material: {t.material}</span>}
|
||||
{t.labPhone && <span>Ph: {t.labPhone}</span>}
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center gap-1 shrink-0">
|
||||
<Button variant="ghost" size="icon" className="h-7 w-7" onClick={() => openEditTemplate(t)}>
|
||||
<Pencil className="h-3.5 w-3.5 text-gray-500" />
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" className="h-7 w-7" onClick={() => deleteMutation.mutate(t.id)} disabled={deleteMutation.isPending}>
|
||||
<Trash2 className="h-3.5 w-3.5 text-red-500" />
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
|
||||
{/* ── RX popup ── */}
|
||||
<Dialog open={!!rxTemplate} onOpenChange={(v) => { if (!v) setRxTemplate(null); }}>
|
||||
<DialogContent className="max-w-2xl max-h-[90vh] overflow-y-auto">
|
||||
<DialogHeader>
|
||||
<DialogTitle className="flex items-center gap-2">
|
||||
<Printer className="h-5 w-5" />
|
||||
Lab RX — {rxTemplate?.name}
|
||||
</DialogTitle>
|
||||
</DialogHeader>
|
||||
|
||||
{rxTemplate && (
|
||||
<>
|
||||
<div className="space-y-5 py-2">
|
||||
|
||||
{/* Tooth Number section */}
|
||||
<div className="space-y-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<p className="text-xs font-bold uppercase tracking-widest text-blue-600">Tooth Number</p>
|
||||
<div className="flex-1 h-px bg-blue-100" />
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Tooth Number(s)</Label>
|
||||
<Input placeholder="e.g. 3, 14, 19" value={rx.toothNumbers} onChange={(e) => setRx((r) => ({ ...r, toothNumbers: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Shade</Label>
|
||||
<Input placeholder="e.g. A2, B1" value={rx.shade} onChange={(e) => setRx((r) => ({ ...r, shade: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Due Date</Label>
|
||||
<Input type="date" value={rx.dueDate} onChange={(e) => setRx((r) => ({ ...r, dueDate: e.target.value }))} className="h-9 text-sm" />
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Doctor's Name</Label>
|
||||
<Select value={rx.doctorName} onValueChange={(v) => setRx((r) => ({ ...r, doctorName: v }))}>
|
||||
<SelectTrigger className="h-9 text-sm">
|
||||
<SelectValue placeholder="Select provider…" />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
{providers.map((p) => (
|
||||
<SelectItem key={p.id} value={p.providerName}>{p.providerName}</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Instructions section */}
|
||||
<div className="space-y-2">
|
||||
<div className="flex items-center gap-2">
|
||||
<p className="text-xs font-bold uppercase tracking-widest text-gray-500">Instructions</p>
|
||||
<div className="flex-1 h-px bg-gray-200" />
|
||||
</div>
|
||||
{rxTemplate.instructions && (
|
||||
<div className="rounded-md bg-gray-50 border px-3 py-2 text-xs text-gray-600 whitespace-pre-wrap">
|
||||
<span className="font-medium text-gray-400 block mb-1">From template</span>
|
||||
{rxTemplate.instructions}
|
||||
</div>
|
||||
)}
|
||||
<div className="space-y-1">
|
||||
<Label className="text-xs text-gray-600">Additional Notes</Label>
|
||||
<Textarea placeholder="Any extra instructions for this case…" value={rx.additionalNotes} onChange={(e) => setRx((r) => ({ ...r, additionalNotes: e.target.value }))} className="text-sm resize-none" rows={3} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* RX preview */}
|
||||
<div className="border rounded-lg p-4 bg-gray-50 text-sm space-y-3">
|
||||
<div className="text-center border-b pb-3">
|
||||
<p className="font-bold text-base">Dental Lab Prescription</p>
|
||||
<p className="text-xs text-gray-500">
|
||||
Date: {today}{rx.dueDate ? ` · Due: ${new Date(rx.dueDate + "T00:00").toLocaleDateString("en-US")}` : ""}
|
||||
</p>
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-x-6 gap-y-1">
|
||||
<div><span className="text-gray-400 text-xs">Patient</span><p className="font-medium">{patientName}</p></div>
|
||||
<div><span className="text-gray-400 text-xs">DOB</span><p>{patient.dateOfBirth ? new Date(patient.dateOfBirth).toLocaleDateString("en-US") : "—"}</p></div>
|
||||
<div className="col-span-2 mt-1 border-t pt-2"><span className="text-gray-400 text-xs">Lab</span><p className="font-medium">{rxTemplate.labName || "—"}</p></div>
|
||||
<div><span className="text-gray-400 text-xs">Phone</span><p>{rxTemplate.labPhone || "—"}</p></div>
|
||||
{rxTemplate.labFax && <div><span className="text-gray-400 text-xs">Fax</span><p>{rxTemplate.labFax}</p></div>}
|
||||
{rxTemplate.labAddress && <div className="col-span-2"><span className="text-gray-400 text-xs">Address</span><p>{rxTemplate.labAddress}</p></div>}
|
||||
{rxTemplate.labAccount && <div><span className="text-gray-400 text-xs">Account #</span><p>{rxTemplate.labAccount}</p></div>}
|
||||
<div className="col-span-2 mt-1 border-t pt-2 grid grid-cols-2 gap-x-6">
|
||||
<div><span className="text-gray-400 text-xs">Case Type</span><p>{rxTemplate.caseType || "—"}</p></div>
|
||||
<div><span className="text-gray-400 text-xs">Material</span><p>{rxTemplate.material || "—"}</p></div>
|
||||
<div><span className="text-gray-400 text-xs">Tooth #</span><p>{rx.toothNumbers || "—"}</p></div>
|
||||
<div><span className="text-gray-400 text-xs">Shade</span><p>{rx.shade || "—"}</p></div>
|
||||
{rx.doctorName && <div><span className="text-gray-400 text-xs">Doctor</span><p>{rx.doctorName}</p></div>}
|
||||
</div>
|
||||
{(rxTemplate.instructions || rx.additionalNotes) && (
|
||||
<div className="col-span-2 mt-1 border-t pt-2">
|
||||
<span className="text-gray-400 text-xs">Instructions</span>
|
||||
<p className="whitespace-pre-wrap text-xs mt-1 text-gray-700">
|
||||
{[rxTemplate.instructions, rx.additionalNotes].filter(Boolean).join("\n\n")}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/* Hidden print DOM */}
|
||||
<div className="hidden">
|
||||
<div ref={printRef}>
|
||||
<h1>Dental Lab Prescription</h1>
|
||||
<div className="subtitle">
|
||||
Date: {today}{rx.dueDate ? ` · Due: ${new Date(rx.dueDate + "T00:00").toLocaleDateString("en-US")}` : ""}
|
||||
</div>
|
||||
<hr />
|
||||
<div className="section">
|
||||
<div className="section-title">Patient Information</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Patient Name</label><span>{patientName}</span></div>
|
||||
<div className="field"><label>Date of Birth</label><span>{patient.dateOfBirth ? new Date(patient.dateOfBirth).toLocaleDateString("en-US") : ""}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="section">
|
||||
<div className="section-title">Dental Lab</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Lab Name</label><span>{rxTemplate.labName ?? ""}</span></div>
|
||||
<div className="field"><label>Account #</label><span>{rxTemplate.labAccount ?? ""}</span></div>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Phone</label><span>{rxTemplate.labPhone ?? ""}</span></div>
|
||||
<div className="field"><label>Fax</label><span>{rxTemplate.labFax ?? ""}</span></div>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Address</label><span>{rxTemplate.labAddress ?? ""}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="section">
|
||||
<div className="section-title">Prescription Details</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Case Type</label><span>{rxTemplate.caseType ?? ""}</span></div>
|
||||
<div className="field"><label>Material</label><span>{rxTemplate.material ?? ""}</span></div>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Tooth Number(s)</label><span>{rx.toothNumbers}</span></div>
|
||||
<div className="field"><label>Shade</label><span>{rx.shade}</span></div>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="field"><label>Doctor's Name</label><span>{rx.doctorName}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="section">
|
||||
<div className="section-title">Instructions</div>
|
||||
<div className="instructions-box">
|
||||
{[rxTemplate.instructions, rx.additionalNotes].filter(Boolean).join("\n\n")}
|
||||
</div>
|
||||
</div>
|
||||
<div className="sig-area">
|
||||
<div className="sig-line">Doctor Signature</div>
|
||||
<div className="sig-line">Date</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
<DialogFooter>
|
||||
<Button variant="outline" onClick={() => setRxTemplate(null)}>Close</Button>
|
||||
<Button onClick={handlePrint} className="gap-2">
|
||||
<Printer className="h-4 w-4" /> Print Lab RX
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</>
|
||||
);
|
||||
}
|
||||
40
apps/Frontend/src/config/lab-rx-templates.ts
Normal file
40
apps/Frontend/src/config/lab-rx-templates.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export type LabRxTemplateConfig = {
|
||||
id: string;
|
||||
name: string;
|
||||
labName?: string;
|
||||
labPhone?: string;
|
||||
labFax?: string;
|
||||
labAddress?: string;
|
||||
labAccount?: string;
|
||||
caseType?: string;
|
||||
material?: string;
|
||||
instructions?: string;
|
||||
};
|
||||
|
||||
export const LAB_RX_TEMPLATES: LabRxTemplateConfig[] = [
|
||||
{
|
||||
id: "highland-crown",
|
||||
name: "Highland Dental Crown",
|
||||
labName: "Highland Dental Studio",
|
||||
labPhone: "781-552-5198",
|
||||
labAddress: "87 Cambridge Street, Burlington, MA 01803",
|
||||
caseType: "Crown",
|
||||
material: "Zirconia",
|
||||
},
|
||||
{
|
||||
id: "highland-full-denture",
|
||||
name: "Highland Dental Full Denture",
|
||||
labName: "Highland Dental Studio",
|
||||
labPhone: "781-552-5198",
|
||||
labAddress: "87 Cambridge Street, Burlington, MA 01803",
|
||||
caseType: "Full Denture",
|
||||
},
|
||||
{
|
||||
id: "highland-partial-denture",
|
||||
name: "Highland Dental Partial Denture",
|
||||
labName: "Highland Dental Studio",
|
||||
labPhone: "781-552-5198",
|
||||
labAddress: "87 Cambridge Street, Burlington, MA 01803",
|
||||
caseType: "Partial Denture",
|
||||
},
|
||||
];
|
||||
File diff suppressed because one or more lines are too long
@@ -500,6 +500,24 @@ exports.Prisma.PatientConversationScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.LabRxTemplateScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
name: 'name',
|
||||
labName: 'labName',
|
||||
labPhone: 'labPhone',
|
||||
labFax: 'labFax',
|
||||
labAddress: 'labAddress',
|
||||
labAccount: 'labAccount',
|
||||
caseType: 'caseType',
|
||||
material: 'material',
|
||||
instructions: 'instructions',
|
||||
doctorName: 'doctorName',
|
||||
sortOrder: 'sortOrder',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.CommissionBatchScalarFieldEnum = {
|
||||
id: 'id',
|
||||
npiProviderId: 'npiProviderId',
|
||||
@@ -667,6 +685,7 @@ exports.Prisma.ModelName = {
|
||||
InsuranceContact: 'InsuranceContact',
|
||||
ProcedureTimeslot: 'ProcedureTimeslot',
|
||||
PatientConversation: 'PatientConversation',
|
||||
LabRxTemplate: 'LabRxTemplate',
|
||||
CommissionBatch: 'CommissionBatch',
|
||||
CommissionBatchItem: 'CommissionBatchItem'
|
||||
};
|
||||
|
||||
2130
packages/db/generated/prisma/index.d.ts
vendored
2130
packages/db/generated/prisma/index.d.ts
vendored
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-d351a8e2afa5a626b25c24fc325b9f8c2c9b0ee5bb0f800b83ea538e43d12368",
|
||||
"name": "prisma-client-2773da16452916320fe842966d774d65188a68e02f9e8e8f296d6070f7b7a13b",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -50,6 +50,7 @@ model User {
|
||||
procedureTimeslot ProcedureTimeslot?
|
||||
insuranceContacts InsuranceContact[]
|
||||
patientConversations PatientConversation[]
|
||||
labRxTemplates LabRxTemplate[]
|
||||
}
|
||||
|
||||
model Patient {
|
||||
@@ -694,6 +695,29 @@ model PatientConversation {
|
||||
@@map("patient_conversation")
|
||||
}
|
||||
|
||||
model LabRxTemplate {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
name String
|
||||
labName String?
|
||||
labPhone String?
|
||||
labFax String?
|
||||
labAddress String?
|
||||
labAccount String?
|
||||
caseType String?
|
||||
material String?
|
||||
instructions String?
|
||||
doctorName String?
|
||||
sortOrder Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([userId])
|
||||
@@map("lab_rx_template")
|
||||
}
|
||||
|
||||
// Commission tracking
|
||||
model CommissionBatch {
|
||||
id Int @id @default(autoincrement())
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "lab_rx_template" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"userId" INTEGER NOT NULL,
|
||||
"name" TEXT NOT NULL,
|
||||
"labName" TEXT,
|
||||
"labPhone" TEXT,
|
||||
"labFax" TEXT,
|
||||
"labAddress" TEXT,
|
||||
"labAccount" TEXT,
|
||||
"caseType" TEXT,
|
||||
"material" TEXT,
|
||||
"instructions" TEXT,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||||
|
||||
CONSTRAINT "lab_rx_template_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "lab_rx_template_userId_idx" ON "lab_rx_template"("userId");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "lab_rx_template" ADD CONSTRAINT "lab_rx_template_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "lab_rx_template" ADD COLUMN "sortOrder" INTEGER NOT NULL DEFAULT 0;
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "lab_rx_template" ADD COLUMN "doctorName" TEXT;
|
||||
@@ -50,6 +50,7 @@ model User {
|
||||
procedureTimeslot ProcedureTimeslot?
|
||||
insuranceContacts InsuranceContact[]
|
||||
patientConversations PatientConversation[]
|
||||
labRxTemplates LabRxTemplate[]
|
||||
}
|
||||
|
||||
model Patient {
|
||||
@@ -695,6 +696,28 @@ model PatientConversation {
|
||||
@@map("patient_conversation")
|
||||
}
|
||||
|
||||
model LabRxTemplate {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
name String
|
||||
labName String?
|
||||
labPhone String?
|
||||
labFax String?
|
||||
labAddress String?
|
||||
labAccount String?
|
||||
caseType String?
|
||||
material String?
|
||||
instructions String?
|
||||
sortOrder Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([userId])
|
||||
@@map("lab_rx_template")
|
||||
}
|
||||
|
||||
// Commission tracking
|
||||
model CommissionBatch {
|
||||
id Int @id @default(autoincrement())
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"generatorVersion": "1.0.0",
|
||||
"generatedAt": "2026-06-29T02:05:45.074Z",
|
||||
"generatedAt": "2026-07-03T02:44:06.886Z",
|
||||
"outputPath": "/home/gg/Desktop/DentalManagementMH06/packages/db/shared",
|
||||
"files": [
|
||||
"schemas/enums/TransactionIsolationLevel.schema.ts",
|
||||
@@ -37,6 +37,7 @@
|
||||
"schemas/enums/InsuranceContactScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/ProcedureTimeslotScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/PatientConversationScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/LabRxTemplateScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/CommissionBatchScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/CommissionBatchItemScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/SortOrder.schema.ts",
|
||||
@@ -217,6 +218,11 @@
|
||||
"schemas/objects/PatientConversationWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/PatientConversationOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/PatientConversationScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateWhereInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchWhereInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchWhereUniqueInput.schema.ts",
|
||||
@@ -451,6 +457,13 @@
|
||||
"schemas/objects/PatientConversationCreateManyInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedUpdateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateManyInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchCreateInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchUpdateInput.schema.ts",
|
||||
@@ -489,6 +502,7 @@
|
||||
"schemas/objects/ProcedureTimeslotNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/InsuranceContactListRelationFilter.schema.ts",
|
||||
"schemas/objects/PatientConversationListRelationFilter.schema.ts",
|
||||
"schemas/objects/LabRxTemplateListRelationFilter.schema.ts",
|
||||
"schemas/objects/PatientOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/AppointmentOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/StaffOrderByRelationAggregateInput.schema.ts",
|
||||
@@ -505,6 +519,7 @@
|
||||
"schemas/objects/CommunicationOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/InsuranceContactOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/UserCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/UserAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/UserMaxOrderByAggregateInput.schema.ts",
|
||||
@@ -756,6 +771,11 @@
|
||||
"schemas/objects/PatientConversationMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/NpiProviderScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/CommissionBatchCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchAvgOrderByAggregateInput.schema.ts",
|
||||
@@ -790,6 +810,7 @@
|
||||
"schemas/objects/ProcedureTimeslotCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceContactCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/StaffUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
@@ -811,6 +832,7 @@
|
||||
"schemas/objects/ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/StringFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/BoolFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/IntFieldUpdateOperationsInput.schema.ts",
|
||||
@@ -835,6 +857,7 @@
|
||||
"schemas/objects/ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/InsuranceContactUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/StaffUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
@@ -856,6 +879,7 @@
|
||||
"schemas/objects/ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/AppointmentCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
@@ -1088,6 +1112,8 @@
|
||||
"schemas/objects/UserCreateNestedOneWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateOneRequiredWithoutConversationNestedInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutLabRxTemplatesNestedInput.schema.ts",
|
||||
"schemas/objects/NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema.ts",
|
||||
@@ -1227,6 +1253,10 @@
|
||||
"schemas/objects/PatientConversationUncheckedCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationCreateOrConnectWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationCreateManyUserInputEnvelope.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateOrConnectWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateManyUserInputEnvelope.schema.ts",
|
||||
"schemas/objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateManyWithWhereWithoutUserInput.schema.ts",
|
||||
@@ -1311,6 +1341,10 @@
|
||||
"schemas/objects/PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUpdateManyWithWhereWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationScalarWhereInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpsertWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateManyWithWhereWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateScalarWhereInput.schema.ts",
|
||||
"schemas/objects/UserCreateWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/UserCreateOrConnectWithoutPatientsInput.schema.ts",
|
||||
@@ -1861,6 +1895,13 @@
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutPatientConversationsInput.schema.ts",
|
||||
"schemas/objects/UserCreateWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserCreateOrConnectWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUpsertWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutLabRxTemplatesInput.schema.ts",
|
||||
"schemas/objects/NpiProviderCreateWithoutCommissionBatchesInput.schema.ts",
|
||||
"schemas/objects/NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema.ts",
|
||||
"schemas/objects/NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema.ts",
|
||||
@@ -1905,6 +1946,7 @@
|
||||
"schemas/objects/CommunicationCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceContactCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedUpdateManyWithoutUserInput.schema.ts",
|
||||
@@ -1953,6 +1995,9 @@
|
||||
"schemas/objects/PatientConversationUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateUncheckedUpdateManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/AppointmentCreateManyPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureCreateManyPatientInput.schema.ts",
|
||||
"schemas/objects/ClaimCreateManyPatientInput.schema.ts",
|
||||
@@ -2225,6 +2270,11 @@
|
||||
"schemas/objects/PatientConversationSumAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationMinAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientConversationMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateCountAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateSumAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateMinAggregateInput.schema.ts",
|
||||
"schemas/objects/LabRxTemplateMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchCountAggregateInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/CommissionBatchSumAggregateInput.schema.ts",
|
||||
@@ -2264,6 +2314,7 @@
|
||||
"schemas/objects/UserCountOutputTypeCountCommunicationsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountInsuranceContactsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountPatientConversationsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountLabRxTemplatesArgs.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeArgs.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeCountAppointmentsArgs.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeCountProceduresArgs.schema.ts",
|
||||
@@ -2335,6 +2386,7 @@
|
||||
"schemas/objects/InsuranceContactSelect.schema.ts",
|
||||
"schemas/objects/ProcedureTimeslotSelect.schema.ts",
|
||||
"schemas/objects/PatientConversationSelect.schema.ts",
|
||||
"schemas/objects/LabRxTemplateSelect.schema.ts",
|
||||
"schemas/objects/CommissionBatchSelect.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemSelect.schema.ts",
|
||||
"schemas/objects/UserArgs.schema.ts",
|
||||
@@ -2369,6 +2421,7 @@
|
||||
"schemas/objects/InsuranceContactArgs.schema.ts",
|
||||
"schemas/objects/ProcedureTimeslotArgs.schema.ts",
|
||||
"schemas/objects/PatientConversationArgs.schema.ts",
|
||||
"schemas/objects/LabRxTemplateArgs.schema.ts",
|
||||
"schemas/objects/CommissionBatchArgs.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemArgs.schema.ts",
|
||||
"schemas/objects/UserInclude.schema.ts",
|
||||
@@ -2402,6 +2455,7 @@
|
||||
"schemas/objects/InsuranceContactInclude.schema.ts",
|
||||
"schemas/objects/ProcedureTimeslotInclude.schema.ts",
|
||||
"schemas/objects/PatientConversationInclude.schema.ts",
|
||||
"schemas/objects/LabRxTemplateInclude.schema.ts",
|
||||
"schemas/objects/CommissionBatchInclude.schema.ts",
|
||||
"schemas/objects/CommissionBatchItemInclude.schema.ts",
|
||||
"schemas/findUniqueUser.schema.ts",
|
||||
@@ -2948,6 +3002,23 @@
|
||||
"schemas/upsertOnePatientConversation.schema.ts",
|
||||
"schemas/aggregatePatientConversation.schema.ts",
|
||||
"schemas/groupByPatientConversation.schema.ts",
|
||||
"schemas/findUniqueLabRxTemplate.schema.ts",
|
||||
"schemas/findUniqueOrThrowLabRxTemplate.schema.ts",
|
||||
"schemas/findFirstLabRxTemplate.schema.ts",
|
||||
"schemas/findFirstOrThrowLabRxTemplate.schema.ts",
|
||||
"schemas/findManyLabRxTemplate.schema.ts",
|
||||
"schemas/countLabRxTemplate.schema.ts",
|
||||
"schemas/createOneLabRxTemplate.schema.ts",
|
||||
"schemas/createManyLabRxTemplate.schema.ts",
|
||||
"schemas/createManyAndReturnLabRxTemplate.schema.ts",
|
||||
"schemas/deleteOneLabRxTemplate.schema.ts",
|
||||
"schemas/deleteManyLabRxTemplate.schema.ts",
|
||||
"schemas/updateOneLabRxTemplate.schema.ts",
|
||||
"schemas/updateManyLabRxTemplate.schema.ts",
|
||||
"schemas/updateManyAndReturnLabRxTemplate.schema.ts",
|
||||
"schemas/upsertOneLabRxTemplate.schema.ts",
|
||||
"schemas/aggregateLabRxTemplate.schema.ts",
|
||||
"schemas/groupByLabRxTemplate.schema.ts",
|
||||
"schemas/findUniqueCommissionBatch.schema.ts",
|
||||
"schemas/findUniqueOrThrowCommissionBatch.schema.ts",
|
||||
"schemas/findFirstCommissionBatch.schema.ts",
|
||||
@@ -3398,6 +3469,19 @@
|
||||
"schemas/results/PatientConversationAggregateResult.schema.ts",
|
||||
"schemas/results/PatientConversationGroupByResult.schema.ts",
|
||||
"schemas/results/PatientConversationCountResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateFindUniqueResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateFindFirstResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateFindManyResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateCreateResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateCreateManyResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateUpdateResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateUpdateManyResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateUpsertResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateDeleteResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateDeleteManyResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateAggregateResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateGroupByResult.schema.ts",
|
||||
"schemas/results/LabRxTemplateCountResult.schema.ts",
|
||||
"schemas/results/CommissionBatchFindUniqueResult.schema.ts",
|
||||
"schemas/results/CommissionBatchFindFirstResult.schema.ts",
|
||||
"schemas/results/CommissionBatchFindManyResult.schema.ts",
|
||||
@@ -3458,6 +3542,7 @@
|
||||
"schemas/variants/pure/InsuranceContact.pure.ts",
|
||||
"schemas/variants/pure/ProcedureTimeslot.pure.ts",
|
||||
"schemas/variants/pure/PatientConversation.pure.ts",
|
||||
"schemas/variants/pure/LabRxTemplate.pure.ts",
|
||||
"schemas/variants/pure/CommissionBatch.pure.ts",
|
||||
"schemas/variants/pure/CommissionBatchItem.pure.ts",
|
||||
"schemas/variants/pure/index.ts",
|
||||
@@ -3493,6 +3578,7 @@
|
||||
"schemas/variants/input/InsuranceContact.input.ts",
|
||||
"schemas/variants/input/ProcedureTimeslot.input.ts",
|
||||
"schemas/variants/input/PatientConversation.input.ts",
|
||||
"schemas/variants/input/LabRxTemplate.input.ts",
|
||||
"schemas/variants/input/CommissionBatch.input.ts",
|
||||
"schemas/variants/input/CommissionBatchItem.input.ts",
|
||||
"schemas/variants/input/index.ts",
|
||||
@@ -3528,6 +3614,7 @@
|
||||
"schemas/variants/result/InsuranceContact.result.ts",
|
||||
"schemas/variants/result/ProcedureTimeslot.result.ts",
|
||||
"schemas/variants/result/PatientConversation.result.ts",
|
||||
"schemas/variants/result/LabRxTemplate.result.ts",
|
||||
"schemas/variants/result/CommissionBatch.result.ts",
|
||||
"schemas/variants/result/CommissionBatchItem.result.ts",
|
||||
"schemas/variants/result/index.ts",
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsOrderByWithRelationInputObjectSchema as AiSettingsOrderByWithRelationInputObjectSchema } from './objects/AiSettingsOrderByWithRelationInput.schema';
|
||||
import { AiSettingsWhereInputObjectSchema as AiSettingsWhereInputObjectSchema } from './objects/AiSettingsWhereInput.schema';
|
||||
import { AiSettingsWhereUniqueInputObjectSchema as AiSettingsWhereUniqueInputObjectSchema } from './objects/AiSettingsWhereUniqueInput.schema';
|
||||
import { AiSettingsCountAggregateInputObjectSchema as AiSettingsCountAggregateInputObjectSchema } from './objects/AiSettingsCountAggregateInput.schema';
|
||||
import { AiSettingsMinAggregateInputObjectSchema as AiSettingsMinAggregateInputObjectSchema } from './objects/AiSettingsMinAggregateInput.schema';
|
||||
import { AiSettingsMaxAggregateInputObjectSchema as AiSettingsMaxAggregateInputObjectSchema } from './objects/AiSettingsMaxAggregateInput.schema';
|
||||
import { AiSettingsAvgAggregateInputObjectSchema as AiSettingsAvgAggregateInputObjectSchema } from './objects/AiSettingsAvgAggregateInput.schema';
|
||||
import { AiSettingsSumAggregateInputObjectSchema as AiSettingsSumAggregateInputObjectSchema } from './objects/AiSettingsSumAggregateInput.schema';
|
||||
|
||||
export const AiSettingsAggregateSchema: z.ZodType<Prisma.AiSettingsAggregateArgs> = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), AiSettingsCountAggregateInputObjectSchema ]).optional(), _min: AiSettingsMinAggregateInputObjectSchema.optional(), _max: AiSettingsMaxAggregateInputObjectSchema.optional(), _avg: AiSettingsAvgAggregateInputObjectSchema.optional(), _sum: AiSettingsSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.AiSettingsAggregateArgs>;
|
||||
|
||||
export const AiSettingsAggregateZodSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), AiSettingsCountAggregateInputObjectSchema ]).optional(), _min: AiSettingsMinAggregateInputObjectSchema.optional(), _max: AiSettingsMaxAggregateInputObjectSchema.optional(), _avg: AiSettingsAvgAggregateInputObjectSchema.optional(), _sum: AiSettingsSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CloudFileChunkOrderByWithRelationInputObjectSchema as CloudFileChunkOrderByWithRelationInputObjectSchema } from './objects/CloudFileChunkOrderByWithRelationInput.schema';
|
||||
import { CloudFileChunkWhereInputObjectSchema as CloudFileChunkWhereInputObjectSchema } from './objects/CloudFileChunkWhereInput.schema';
|
||||
import { CloudFileChunkWhereUniqueInputObjectSchema as CloudFileChunkWhereUniqueInputObjectSchema } from './objects/CloudFileChunkWhereUniqueInput.schema';
|
||||
import { CloudFileChunkCountAggregateInputObjectSchema as CloudFileChunkCountAggregateInputObjectSchema } from './objects/CloudFileChunkCountAggregateInput.schema';
|
||||
import { CloudFileChunkMinAggregateInputObjectSchema as CloudFileChunkMinAggregateInputObjectSchema } from './objects/CloudFileChunkMinAggregateInput.schema';
|
||||
import { CloudFileChunkMaxAggregateInputObjectSchema as CloudFileChunkMaxAggregateInputObjectSchema } from './objects/CloudFileChunkMaxAggregateInput.schema';
|
||||
import { CloudFileChunkAvgAggregateInputObjectSchema as CloudFileChunkAvgAggregateInputObjectSchema } from './objects/CloudFileChunkAvgAggregateInput.schema';
|
||||
import { CloudFileChunkSumAggregateInputObjectSchema as CloudFileChunkSumAggregateInputObjectSchema } from './objects/CloudFileChunkSumAggregateInput.schema';
|
||||
|
||||
export const CloudFileChunkAggregateSchema: z.ZodType<Prisma.CloudFileChunkAggregateArgs> = z.object({ orderBy: z.union([CloudFileChunkOrderByWithRelationInputObjectSchema, CloudFileChunkOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileChunkWhereInputObjectSchema.optional(), cursor: CloudFileChunkWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CloudFileChunkCountAggregateInputObjectSchema ]).optional(), _min: CloudFileChunkMinAggregateInputObjectSchema.optional(), _max: CloudFileChunkMaxAggregateInputObjectSchema.optional(), _avg: CloudFileChunkAvgAggregateInputObjectSchema.optional(), _sum: CloudFileChunkSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CloudFileChunkAggregateArgs>;
|
||||
|
||||
export const CloudFileChunkAggregateZodSchema = z.object({ orderBy: z.union([CloudFileChunkOrderByWithRelationInputObjectSchema, CloudFileChunkOrderByWithRelationInputObjectSchema.array()]).optional(), where: CloudFileChunkWhereInputObjectSchema.optional(), cursor: CloudFileChunkWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CloudFileChunkCountAggregateInputObjectSchema ]).optional(), _min: CloudFileChunkMinAggregateInputObjectSchema.optional(), _max: CloudFileChunkMaxAggregateInputObjectSchema.optional(), _avg: CloudFileChunkAvgAggregateInputObjectSchema.optional(), _sum: CloudFileChunkSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchOrderByWithRelationInputObjectSchema as CommissionBatchOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchOrderByWithRelationInput.schema';
|
||||
import { CommissionBatchWhereInputObjectSchema as CommissionBatchWhereInputObjectSchema } from './objects/CommissionBatchWhereInput.schema';
|
||||
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './objects/CommissionBatchWhereUniqueInput.schema';
|
||||
import { CommissionBatchCountAggregateInputObjectSchema as CommissionBatchCountAggregateInputObjectSchema } from './objects/CommissionBatchCountAggregateInput.schema';
|
||||
import { CommissionBatchMinAggregateInputObjectSchema as CommissionBatchMinAggregateInputObjectSchema } from './objects/CommissionBatchMinAggregateInput.schema';
|
||||
import { CommissionBatchMaxAggregateInputObjectSchema as CommissionBatchMaxAggregateInputObjectSchema } from './objects/CommissionBatchMaxAggregateInput.schema';
|
||||
import { CommissionBatchAvgAggregateInputObjectSchema as CommissionBatchAvgAggregateInputObjectSchema } from './objects/CommissionBatchAvgAggregateInput.schema';
|
||||
import { CommissionBatchSumAggregateInputObjectSchema as CommissionBatchSumAggregateInputObjectSchema } from './objects/CommissionBatchSumAggregateInput.schema';
|
||||
|
||||
export const CommissionBatchAggregateSchema: z.ZodType<Prisma.CommissionBatchAggregateArgs> = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CommissionBatchCountAggregateInputObjectSchema ]).optional(), _min: CommissionBatchMinAggregateInputObjectSchema.optional(), _max: CommissionBatchMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchAggregateArgs>;
|
||||
|
||||
export const CommissionBatchAggregateZodSchema = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CommissionBatchCountAggregateInputObjectSchema ]).optional(), _min: CommissionBatchMinAggregateInputObjectSchema.optional(), _max: CommissionBatchMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemOrderByWithRelationInputObjectSchema as CommissionBatchItemOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchItemOrderByWithRelationInput.schema';
|
||||
import { CommissionBatchItemWhereInputObjectSchema as CommissionBatchItemWhereInputObjectSchema } from './objects/CommissionBatchItemWhereInput.schema';
|
||||
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './objects/CommissionBatchItemWhereUniqueInput.schema';
|
||||
import { CommissionBatchItemCountAggregateInputObjectSchema as CommissionBatchItemCountAggregateInputObjectSchema } from './objects/CommissionBatchItemCountAggregateInput.schema';
|
||||
import { CommissionBatchItemMinAggregateInputObjectSchema as CommissionBatchItemMinAggregateInputObjectSchema } from './objects/CommissionBatchItemMinAggregateInput.schema';
|
||||
import { CommissionBatchItemMaxAggregateInputObjectSchema as CommissionBatchItemMaxAggregateInputObjectSchema } from './objects/CommissionBatchItemMaxAggregateInput.schema';
|
||||
import { CommissionBatchItemAvgAggregateInputObjectSchema as CommissionBatchItemAvgAggregateInputObjectSchema } from './objects/CommissionBatchItemAvgAggregateInput.schema';
|
||||
import { CommissionBatchItemSumAggregateInputObjectSchema as CommissionBatchItemSumAggregateInputObjectSchema } from './objects/CommissionBatchItemSumAggregateInput.schema';
|
||||
|
||||
export const CommissionBatchItemAggregateSchema: z.ZodType<Prisma.CommissionBatchItemAggregateArgs> = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CommissionBatchItemCountAggregateInputObjectSchema ]).optional(), _min: CommissionBatchItemMinAggregateInputObjectSchema.optional(), _max: CommissionBatchItemMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchItemAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchItemSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemAggregateArgs>;
|
||||
|
||||
export const CommissionBatchItemAggregateZodSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CommissionBatchItemCountAggregateInputObjectSchema ]).optional(), _min: CommissionBatchItemMinAggregateInputObjectSchema.optional(), _max: CommissionBatchItemMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchItemAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchItemSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationOrderByWithRelationInputObjectSchema as CommunicationOrderByWithRelationInputObjectSchema } from './objects/CommunicationOrderByWithRelationInput.schema';
|
||||
import { CommunicationWhereInputObjectSchema as CommunicationWhereInputObjectSchema } from './objects/CommunicationWhereInput.schema';
|
||||
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './objects/CommunicationWhereUniqueInput.schema';
|
||||
import { CommunicationCountAggregateInputObjectSchema as CommunicationCountAggregateInputObjectSchema } from './objects/CommunicationCountAggregateInput.schema';
|
||||
import { CommunicationMinAggregateInputObjectSchema as CommunicationMinAggregateInputObjectSchema } from './objects/CommunicationMinAggregateInput.schema';
|
||||
import { CommunicationMaxAggregateInputObjectSchema as CommunicationMaxAggregateInputObjectSchema } from './objects/CommunicationMaxAggregateInput.schema';
|
||||
import { CommunicationAvgAggregateInputObjectSchema as CommunicationAvgAggregateInputObjectSchema } from './objects/CommunicationAvgAggregateInput.schema';
|
||||
import { CommunicationSumAggregateInputObjectSchema as CommunicationSumAggregateInputObjectSchema } from './objects/CommunicationSumAggregateInput.schema';
|
||||
|
||||
export const CommunicationAggregateSchema: z.ZodType<Prisma.CommunicationAggregateArgs> = z.object({ orderBy: z.union([CommunicationOrderByWithRelationInputObjectSchema, CommunicationOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommunicationWhereInputObjectSchema.optional(), cursor: CommunicationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional(), _min: CommunicationMinAggregateInputObjectSchema.optional(), _max: CommunicationMaxAggregateInputObjectSchema.optional(), _avg: CommunicationAvgAggregateInputObjectSchema.optional(), _sum: CommunicationSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationAggregateArgs>;
|
||||
|
||||
export const CommunicationAggregateZodSchema = z.object({ orderBy: z.union([CommunicationOrderByWithRelationInputObjectSchema, CommunicationOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommunicationWhereInputObjectSchema.optional(), cursor: CommunicationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional(), _min: CommunicationMinAggregateInputObjectSchema.optional(), _max: CommunicationMaxAggregateInputObjectSchema.optional(), _avg: CommunicationAvgAggregateInputObjectSchema.optional(), _sum: CommunicationSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactOrderByWithRelationInputObjectSchema as InsuranceContactOrderByWithRelationInputObjectSchema } from './objects/InsuranceContactOrderByWithRelationInput.schema';
|
||||
import { InsuranceContactWhereInputObjectSchema as InsuranceContactWhereInputObjectSchema } from './objects/InsuranceContactWhereInput.schema';
|
||||
import { InsuranceContactWhereUniqueInputObjectSchema as InsuranceContactWhereUniqueInputObjectSchema } from './objects/InsuranceContactWhereUniqueInput.schema';
|
||||
import { InsuranceContactCountAggregateInputObjectSchema as InsuranceContactCountAggregateInputObjectSchema } from './objects/InsuranceContactCountAggregateInput.schema';
|
||||
import { InsuranceContactMinAggregateInputObjectSchema as InsuranceContactMinAggregateInputObjectSchema } from './objects/InsuranceContactMinAggregateInput.schema';
|
||||
import { InsuranceContactMaxAggregateInputObjectSchema as InsuranceContactMaxAggregateInputObjectSchema } from './objects/InsuranceContactMaxAggregateInput.schema';
|
||||
import { InsuranceContactAvgAggregateInputObjectSchema as InsuranceContactAvgAggregateInputObjectSchema } from './objects/InsuranceContactAvgAggregateInput.schema';
|
||||
import { InsuranceContactSumAggregateInputObjectSchema as InsuranceContactSumAggregateInputObjectSchema } from './objects/InsuranceContactSumAggregateInput.schema';
|
||||
|
||||
export const InsuranceContactAggregateSchema: z.ZodType<Prisma.InsuranceContactAggregateArgs> = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), InsuranceContactCountAggregateInputObjectSchema ]).optional(), _min: InsuranceContactMinAggregateInputObjectSchema.optional(), _max: InsuranceContactMaxAggregateInputObjectSchema.optional(), _avg: InsuranceContactAvgAggregateInputObjectSchema.optional(), _sum: InsuranceContactSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceContactAggregateArgs>;
|
||||
|
||||
export const InsuranceContactAggregateZodSchema = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), InsuranceContactCountAggregateInputObjectSchema ]).optional(), _min: InsuranceContactMinAggregateInputObjectSchema.optional(), _max: InsuranceContactMaxAggregateInputObjectSchema.optional(), _avg: InsuranceContactAvgAggregateInputObjectSchema.optional(), _sum: InsuranceContactSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactCountAggregateInputObjectSchema as OfficeContactCountAggregateInputObjectSchema } from './objects/OfficeContactCountAggregateInput.schema';
|
||||
import { OfficeContactMinAggregateInputObjectSchema as OfficeContactMinAggregateInputObjectSchema } from './objects/OfficeContactMinAggregateInput.schema';
|
||||
import { OfficeContactMaxAggregateInputObjectSchema as OfficeContactMaxAggregateInputObjectSchema } from './objects/OfficeContactMaxAggregateInput.schema';
|
||||
import { OfficeContactAvgAggregateInputObjectSchema as OfficeContactAvgAggregateInputObjectSchema } from './objects/OfficeContactAvgAggregateInput.schema';
|
||||
import { OfficeContactSumAggregateInputObjectSchema as OfficeContactSumAggregateInputObjectSchema } from './objects/OfficeContactSumAggregateInput.schema';
|
||||
|
||||
export const OfficeContactAggregateSchema: z.ZodType<Prisma.OfficeContactAggregateArgs> = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional(), _min: OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactAggregateArgs>;
|
||||
|
||||
export const OfficeContactAggregateZodSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional(), _min: OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursOrderByWithRelationInputObjectSchema as OfficeHoursOrderByWithRelationInputObjectSchema } from './objects/OfficeHoursOrderByWithRelationInput.schema';
|
||||
import { OfficeHoursWhereInputObjectSchema as OfficeHoursWhereInputObjectSchema } from './objects/OfficeHoursWhereInput.schema';
|
||||
import { OfficeHoursWhereUniqueInputObjectSchema as OfficeHoursWhereUniqueInputObjectSchema } from './objects/OfficeHoursWhereUniqueInput.schema';
|
||||
import { OfficeHoursCountAggregateInputObjectSchema as OfficeHoursCountAggregateInputObjectSchema } from './objects/OfficeHoursCountAggregateInput.schema';
|
||||
import { OfficeHoursMinAggregateInputObjectSchema as OfficeHoursMinAggregateInputObjectSchema } from './objects/OfficeHoursMinAggregateInput.schema';
|
||||
import { OfficeHoursMaxAggregateInputObjectSchema as OfficeHoursMaxAggregateInputObjectSchema } from './objects/OfficeHoursMaxAggregateInput.schema';
|
||||
import { OfficeHoursAvgAggregateInputObjectSchema as OfficeHoursAvgAggregateInputObjectSchema } from './objects/OfficeHoursAvgAggregateInput.schema';
|
||||
import { OfficeHoursSumAggregateInputObjectSchema as OfficeHoursSumAggregateInputObjectSchema } from './objects/OfficeHoursSumAggregateInput.schema';
|
||||
|
||||
export const OfficeHoursAggregateSchema: z.ZodType<Prisma.OfficeHoursAggregateArgs> = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), OfficeHoursCountAggregateInputObjectSchema ]).optional(), _min: OfficeHoursMinAggregateInputObjectSchema.optional(), _max: OfficeHoursMaxAggregateInputObjectSchema.optional(), _avg: OfficeHoursAvgAggregateInputObjectSchema.optional(), _sum: OfficeHoursSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeHoursAggregateArgs>;
|
||||
|
||||
export const OfficeHoursAggregateZodSchema = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), OfficeHoursCountAggregateInputObjectSchema ]).optional(), _min: OfficeHoursMinAggregateInputObjectSchema.optional(), _max: OfficeHoursMaxAggregateInputObjectSchema.optional(), _avg: OfficeHoursAvgAggregateInputObjectSchema.optional(), _sum: OfficeHoursSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationOrderByWithRelationInputObjectSchema as PatientConversationOrderByWithRelationInputObjectSchema } from './objects/PatientConversationOrderByWithRelationInput.schema';
|
||||
import { PatientConversationWhereInputObjectSchema as PatientConversationWhereInputObjectSchema } from './objects/PatientConversationWhereInput.schema';
|
||||
import { PatientConversationWhereUniqueInputObjectSchema as PatientConversationWhereUniqueInputObjectSchema } from './objects/PatientConversationWhereUniqueInput.schema';
|
||||
import { PatientConversationCountAggregateInputObjectSchema as PatientConversationCountAggregateInputObjectSchema } from './objects/PatientConversationCountAggregateInput.schema';
|
||||
import { PatientConversationMinAggregateInputObjectSchema as PatientConversationMinAggregateInputObjectSchema } from './objects/PatientConversationMinAggregateInput.schema';
|
||||
import { PatientConversationMaxAggregateInputObjectSchema as PatientConversationMaxAggregateInputObjectSchema } from './objects/PatientConversationMaxAggregateInput.schema';
|
||||
import { PatientConversationAvgAggregateInputObjectSchema as PatientConversationAvgAggregateInputObjectSchema } from './objects/PatientConversationAvgAggregateInput.schema';
|
||||
import { PatientConversationSumAggregateInputObjectSchema as PatientConversationSumAggregateInputObjectSchema } from './objects/PatientConversationSumAggregateInput.schema';
|
||||
|
||||
export const PatientConversationAggregateSchema: z.ZodType<Prisma.PatientConversationAggregateArgs> = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientConversationCountAggregateInputObjectSchema ]).optional(), _min: PatientConversationMinAggregateInputObjectSchema.optional(), _max: PatientConversationMaxAggregateInputObjectSchema.optional(), _avg: PatientConversationAvgAggregateInputObjectSchema.optional(), _sum: PatientConversationSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientConversationAggregateArgs>;
|
||||
|
||||
export const PatientConversationAggregateZodSchema = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientConversationCountAggregateInputObjectSchema ]).optional(), _min: PatientConversationMinAggregateInputObjectSchema.optional(), _max: PatientConversationMaxAggregateInputObjectSchema.optional(), _avg: PatientConversationAvgAggregateInputObjectSchema.optional(), _sum: PatientConversationSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentOrderByWithRelationInputObjectSchema as PatientDocumentOrderByWithRelationInputObjectSchema } from './objects/PatientDocumentOrderByWithRelationInput.schema';
|
||||
import { PatientDocumentWhereInputObjectSchema as PatientDocumentWhereInputObjectSchema } from './objects/PatientDocumentWhereInput.schema';
|
||||
import { PatientDocumentWhereUniqueInputObjectSchema as PatientDocumentWhereUniqueInputObjectSchema } from './objects/PatientDocumentWhereUniqueInput.schema';
|
||||
import { PatientDocumentCountAggregateInputObjectSchema as PatientDocumentCountAggregateInputObjectSchema } from './objects/PatientDocumentCountAggregateInput.schema';
|
||||
import { PatientDocumentMinAggregateInputObjectSchema as PatientDocumentMinAggregateInputObjectSchema } from './objects/PatientDocumentMinAggregateInput.schema';
|
||||
import { PatientDocumentMaxAggregateInputObjectSchema as PatientDocumentMaxAggregateInputObjectSchema } from './objects/PatientDocumentMaxAggregateInput.schema';
|
||||
import { PatientDocumentAvgAggregateInputObjectSchema as PatientDocumentAvgAggregateInputObjectSchema } from './objects/PatientDocumentAvgAggregateInput.schema';
|
||||
import { PatientDocumentSumAggregateInputObjectSchema as PatientDocumentSumAggregateInputObjectSchema } from './objects/PatientDocumentSumAggregateInput.schema';
|
||||
|
||||
export const PatientDocumentAggregateSchema: z.ZodType<Prisma.PatientDocumentAggregateArgs> = z.object({ orderBy: z.union([PatientDocumentOrderByWithRelationInputObjectSchema, PatientDocumentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientDocumentWhereInputObjectSchema.optional(), cursor: PatientDocumentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientDocumentCountAggregateInputObjectSchema ]).optional(), _min: PatientDocumentMinAggregateInputObjectSchema.optional(), _max: PatientDocumentMaxAggregateInputObjectSchema.optional(), _avg: PatientDocumentAvgAggregateInputObjectSchema.optional(), _sum: PatientDocumentSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientDocumentAggregateArgs>;
|
||||
|
||||
export const PatientDocumentAggregateZodSchema = z.object({ orderBy: z.union([PatientDocumentOrderByWithRelationInputObjectSchema, PatientDocumentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientDocumentWhereInputObjectSchema.optional(), cursor: PatientDocumentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), PatientDocumentCountAggregateInputObjectSchema ]).optional(), _min: PatientDocumentMinAggregateInputObjectSchema.optional(), _max: PatientDocumentMaxAggregateInputObjectSchema.optional(), _avg: PatientDocumentAvgAggregateInputObjectSchema.optional(), _sum: PatientDocumentSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotOrderByWithRelationInputObjectSchema as ProcedureTimeslotOrderByWithRelationInputObjectSchema } from './objects/ProcedureTimeslotOrderByWithRelationInput.schema';
|
||||
import { ProcedureTimeslotWhereInputObjectSchema as ProcedureTimeslotWhereInputObjectSchema } from './objects/ProcedureTimeslotWhereInput.schema';
|
||||
import { ProcedureTimeslotWhereUniqueInputObjectSchema as ProcedureTimeslotWhereUniqueInputObjectSchema } from './objects/ProcedureTimeslotWhereUniqueInput.schema';
|
||||
import { ProcedureTimeslotCountAggregateInputObjectSchema as ProcedureTimeslotCountAggregateInputObjectSchema } from './objects/ProcedureTimeslotCountAggregateInput.schema';
|
||||
import { ProcedureTimeslotMinAggregateInputObjectSchema as ProcedureTimeslotMinAggregateInputObjectSchema } from './objects/ProcedureTimeslotMinAggregateInput.schema';
|
||||
import { ProcedureTimeslotMaxAggregateInputObjectSchema as ProcedureTimeslotMaxAggregateInputObjectSchema } from './objects/ProcedureTimeslotMaxAggregateInput.schema';
|
||||
import { ProcedureTimeslotAvgAggregateInputObjectSchema as ProcedureTimeslotAvgAggregateInputObjectSchema } from './objects/ProcedureTimeslotAvgAggregateInput.schema';
|
||||
import { ProcedureTimeslotSumAggregateInputObjectSchema as ProcedureTimeslotSumAggregateInputObjectSchema } from './objects/ProcedureTimeslotSumAggregateInput.schema';
|
||||
|
||||
export const ProcedureTimeslotAggregateSchema: z.ZodType<Prisma.ProcedureTimeslotAggregateArgs> = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional(), _min: ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotAggregateArgs>;
|
||||
|
||||
export const ProcedureTimeslotAggregateZodSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional(), _min: ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,14 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsOrderByWithRelationInputObjectSchema as TwilioSettingsOrderByWithRelationInputObjectSchema } from './objects/TwilioSettingsOrderByWithRelationInput.schema';
|
||||
import { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './objects/TwilioSettingsWhereInput.schema';
|
||||
import { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './objects/TwilioSettingsWhereUniqueInput.schema';
|
||||
import { TwilioSettingsCountAggregateInputObjectSchema as TwilioSettingsCountAggregateInputObjectSchema } from './objects/TwilioSettingsCountAggregateInput.schema';
|
||||
import { TwilioSettingsMinAggregateInputObjectSchema as TwilioSettingsMinAggregateInputObjectSchema } from './objects/TwilioSettingsMinAggregateInput.schema';
|
||||
import { TwilioSettingsMaxAggregateInputObjectSchema as TwilioSettingsMaxAggregateInputObjectSchema } from './objects/TwilioSettingsMaxAggregateInput.schema';
|
||||
import { TwilioSettingsAvgAggregateInputObjectSchema as TwilioSettingsAvgAggregateInputObjectSchema } from './objects/TwilioSettingsAvgAggregateInput.schema';
|
||||
import { TwilioSettingsSumAggregateInputObjectSchema as TwilioSettingsSumAggregateInputObjectSchema } from './objects/TwilioSettingsSumAggregateInput.schema';
|
||||
|
||||
export const TwilioSettingsAggregateSchema: z.ZodType<Prisma.TwilioSettingsAggregateArgs> = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional(), _min: TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsAggregateArgs>;
|
||||
|
||||
export const TwilioSettingsAggregateZodSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional(), _min: TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsOrderByWithRelationInputObjectSchema as AiSettingsOrderByWithRelationInputObjectSchema } from './objects/AiSettingsOrderByWithRelationInput.schema';
|
||||
import { AiSettingsWhereInputObjectSchema as AiSettingsWhereInputObjectSchema } from './objects/AiSettingsWhereInput.schema';
|
||||
import { AiSettingsWhereUniqueInputObjectSchema as AiSettingsWhereUniqueInputObjectSchema } from './objects/AiSettingsWhereUniqueInput.schema';
|
||||
import { AiSettingsCountAggregateInputObjectSchema as AiSettingsCountAggregateInputObjectSchema } from './objects/AiSettingsCountAggregateInput.schema';
|
||||
|
||||
export const AiSettingsCountSchema: z.ZodType<Prisma.AiSettingsCountArgs> = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), AiSettingsCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.AiSettingsCountArgs>;
|
||||
|
||||
export const AiSettingsCountZodSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), AiSettingsCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchOrderByWithRelationInputObjectSchema as CommissionBatchOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchOrderByWithRelationInput.schema';
|
||||
import { CommissionBatchWhereInputObjectSchema as CommissionBatchWhereInputObjectSchema } from './objects/CommissionBatchWhereInput.schema';
|
||||
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './objects/CommissionBatchWhereUniqueInput.schema';
|
||||
import { CommissionBatchCountAggregateInputObjectSchema as CommissionBatchCountAggregateInputObjectSchema } from './objects/CommissionBatchCountAggregateInput.schema';
|
||||
|
||||
export const CommissionBatchCountSchema: z.ZodType<Prisma.CommissionBatchCountArgs> = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommissionBatchCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchCountArgs>;
|
||||
|
||||
export const CommissionBatchCountZodSchema = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommissionBatchCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemOrderByWithRelationInputObjectSchema as CommissionBatchItemOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchItemOrderByWithRelationInput.schema';
|
||||
import { CommissionBatchItemWhereInputObjectSchema as CommissionBatchItemWhereInputObjectSchema } from './objects/CommissionBatchItemWhereInput.schema';
|
||||
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './objects/CommissionBatchItemWhereUniqueInput.schema';
|
||||
import { CommissionBatchItemCountAggregateInputObjectSchema as CommissionBatchItemCountAggregateInputObjectSchema } from './objects/CommissionBatchItemCountAggregateInput.schema';
|
||||
|
||||
export const CommissionBatchItemCountSchema: z.ZodType<Prisma.CommissionBatchItemCountArgs> = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommissionBatchItemCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemCountArgs>;
|
||||
|
||||
export const CommissionBatchItemCountZodSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommissionBatchItemCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationOrderByWithRelationInputObjectSchema as CommunicationOrderByWithRelationInputObjectSchema } from './objects/CommunicationOrderByWithRelationInput.schema';
|
||||
import { CommunicationWhereInputObjectSchema as CommunicationWhereInputObjectSchema } from './objects/CommunicationWhereInput.schema';
|
||||
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './objects/CommunicationWhereUniqueInput.schema';
|
||||
import { CommunicationCountAggregateInputObjectSchema as CommunicationCountAggregateInputObjectSchema } from './objects/CommunicationCountAggregateInput.schema';
|
||||
|
||||
export const CommunicationCountSchema: z.ZodType<Prisma.CommunicationCountArgs> = z.object({ orderBy: z.union([CommunicationOrderByWithRelationInputObjectSchema, CommunicationOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommunicationWhereInputObjectSchema.optional(), cursor: CommunicationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationCountArgs>;
|
||||
|
||||
export const CommunicationCountZodSchema = z.object({ orderBy: z.union([CommunicationOrderByWithRelationInputObjectSchema, CommunicationOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommunicationWhereInputObjectSchema.optional(), cursor: CommunicationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), CommunicationCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactOrderByWithRelationInputObjectSchema as InsuranceContactOrderByWithRelationInputObjectSchema } from './objects/InsuranceContactOrderByWithRelationInput.schema';
|
||||
import { InsuranceContactWhereInputObjectSchema as InsuranceContactWhereInputObjectSchema } from './objects/InsuranceContactWhereInput.schema';
|
||||
import { InsuranceContactWhereUniqueInputObjectSchema as InsuranceContactWhereUniqueInputObjectSchema } from './objects/InsuranceContactWhereUniqueInput.schema';
|
||||
import { InsuranceContactCountAggregateInputObjectSchema as InsuranceContactCountAggregateInputObjectSchema } from './objects/InsuranceContactCountAggregateInput.schema';
|
||||
|
||||
export const InsuranceContactCountSchema: z.ZodType<Prisma.InsuranceContactCountArgs> = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), InsuranceContactCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceContactCountArgs>;
|
||||
|
||||
export const InsuranceContactCountZodSchema = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), InsuranceContactCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactCountAggregateInputObjectSchema as OfficeContactCountAggregateInputObjectSchema } from './objects/OfficeContactCountAggregateInput.schema';
|
||||
|
||||
export const OfficeContactCountSchema: z.ZodType<Prisma.OfficeContactCountArgs> = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCountArgs>;
|
||||
|
||||
export const OfficeContactCountZodSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursOrderByWithRelationInputObjectSchema as OfficeHoursOrderByWithRelationInputObjectSchema } from './objects/OfficeHoursOrderByWithRelationInput.schema';
|
||||
import { OfficeHoursWhereInputObjectSchema as OfficeHoursWhereInputObjectSchema } from './objects/OfficeHoursWhereInput.schema';
|
||||
import { OfficeHoursWhereUniqueInputObjectSchema as OfficeHoursWhereUniqueInputObjectSchema } from './objects/OfficeHoursWhereUniqueInput.schema';
|
||||
import { OfficeHoursCountAggregateInputObjectSchema as OfficeHoursCountAggregateInputObjectSchema } from './objects/OfficeHoursCountAggregateInput.schema';
|
||||
|
||||
export const OfficeHoursCountSchema: z.ZodType<Prisma.OfficeHoursCountArgs> = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), OfficeHoursCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeHoursCountArgs>;
|
||||
|
||||
export const OfficeHoursCountZodSchema = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), OfficeHoursCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationOrderByWithRelationInputObjectSchema as PatientConversationOrderByWithRelationInputObjectSchema } from './objects/PatientConversationOrderByWithRelationInput.schema';
|
||||
import { PatientConversationWhereInputObjectSchema as PatientConversationWhereInputObjectSchema } from './objects/PatientConversationWhereInput.schema';
|
||||
import { PatientConversationWhereUniqueInputObjectSchema as PatientConversationWhereUniqueInputObjectSchema } from './objects/PatientConversationWhereUniqueInput.schema';
|
||||
import { PatientConversationCountAggregateInputObjectSchema as PatientConversationCountAggregateInputObjectSchema } from './objects/PatientConversationCountAggregateInput.schema';
|
||||
|
||||
export const PatientConversationCountSchema: z.ZodType<Prisma.PatientConversationCountArgs> = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientConversationCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientConversationCountArgs>;
|
||||
|
||||
export const PatientConversationCountZodSchema = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientConversationCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentOrderByWithRelationInputObjectSchema as PatientDocumentOrderByWithRelationInputObjectSchema } from './objects/PatientDocumentOrderByWithRelationInput.schema';
|
||||
import { PatientDocumentWhereInputObjectSchema as PatientDocumentWhereInputObjectSchema } from './objects/PatientDocumentWhereInput.schema';
|
||||
import { PatientDocumentWhereUniqueInputObjectSchema as PatientDocumentWhereUniqueInputObjectSchema } from './objects/PatientDocumentWhereUniqueInput.schema';
|
||||
import { PatientDocumentCountAggregateInputObjectSchema as PatientDocumentCountAggregateInputObjectSchema } from './objects/PatientDocumentCountAggregateInput.schema';
|
||||
|
||||
export const PatientDocumentCountSchema: z.ZodType<Prisma.PatientDocumentCountArgs> = z.object({ orderBy: z.union([PatientDocumentOrderByWithRelationInputObjectSchema, PatientDocumentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientDocumentWhereInputObjectSchema.optional(), cursor: PatientDocumentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientDocumentCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.PatientDocumentCountArgs>;
|
||||
|
||||
export const PatientDocumentCountZodSchema = z.object({ orderBy: z.union([PatientDocumentOrderByWithRelationInputObjectSchema, PatientDocumentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientDocumentWhereInputObjectSchema.optional(), cursor: PatientDocumentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), PatientDocumentCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotOrderByWithRelationInputObjectSchema as ProcedureTimeslotOrderByWithRelationInputObjectSchema } from './objects/ProcedureTimeslotOrderByWithRelationInput.schema';
|
||||
import { ProcedureTimeslotWhereInputObjectSchema as ProcedureTimeslotWhereInputObjectSchema } from './objects/ProcedureTimeslotWhereInput.schema';
|
||||
import { ProcedureTimeslotWhereUniqueInputObjectSchema as ProcedureTimeslotWhereUniqueInputObjectSchema } from './objects/ProcedureTimeslotWhereUniqueInput.schema';
|
||||
import { ProcedureTimeslotCountAggregateInputObjectSchema as ProcedureTimeslotCountAggregateInputObjectSchema } from './objects/ProcedureTimeslotCountAggregateInput.schema';
|
||||
|
||||
export const ProcedureTimeslotCountSchema: z.ZodType<Prisma.ProcedureTimeslotCountArgs> = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotCountArgs>;
|
||||
|
||||
export const ProcedureTimeslotCountZodSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), ProcedureTimeslotCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsOrderByWithRelationInputObjectSchema as TwilioSettingsOrderByWithRelationInputObjectSchema } from './objects/TwilioSettingsOrderByWithRelationInput.schema';
|
||||
import { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './objects/TwilioSettingsWhereInput.schema';
|
||||
import { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './objects/TwilioSettingsWhereUniqueInput.schema';
|
||||
import { TwilioSettingsCountAggregateInputObjectSchema as TwilioSettingsCountAggregateInputObjectSchema } from './objects/TwilioSettingsCountAggregateInput.schema';
|
||||
|
||||
export const TwilioSettingsCountSchema: z.ZodType<Prisma.TwilioSettingsCountArgs> = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsCountArgs>;
|
||||
|
||||
export const TwilioSettingsCountZodSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), TwilioSettingsCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsCreateManyInputObjectSchema as AiSettingsCreateManyInputObjectSchema } from './objects/AiSettingsCreateManyInput.schema';
|
||||
|
||||
export const AiSettingsCreateManySchema: z.ZodType<Prisma.AiSettingsCreateManyArgs> = z.object({ data: z.union([ AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.AiSettingsCreateManyArgs>;
|
||||
|
||||
export const AiSettingsCreateManyZodSchema = z.object({ data: z.union([ AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsSelectObjectSchema as AiSettingsSelectObjectSchema } from './objects/AiSettingsSelect.schema';
|
||||
import { AiSettingsCreateManyInputObjectSchema as AiSettingsCreateManyInputObjectSchema } from './objects/AiSettingsCreateManyInput.schema';
|
||||
|
||||
export const AiSettingsCreateManyAndReturnSchema: z.ZodType<Prisma.AiSettingsCreateManyAndReturnArgs> = z.object({ select: AiSettingsSelectObjectSchema.optional(), data: z.union([ AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.AiSettingsCreateManyAndReturnArgs>;
|
||||
|
||||
export const AiSettingsCreateManyAndReturnZodSchema = z.object({ select: AiSettingsSelectObjectSchema.optional(), data: z.union([ AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchSelectObjectSchema as CommissionBatchSelectObjectSchema } from './objects/CommissionBatchSelect.schema';
|
||||
import { CommissionBatchCreateManyInputObjectSchema as CommissionBatchCreateManyInputObjectSchema } from './objects/CommissionBatchCreateManyInput.schema';
|
||||
|
||||
export const CommissionBatchCreateManyAndReturnSchema: z.ZodType<Prisma.CommissionBatchCreateManyAndReturnArgs> = z.object({ select: CommissionBatchSelectObjectSchema.optional(), data: z.union([ CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchCreateManyAndReturnArgs>;
|
||||
|
||||
export const CommissionBatchCreateManyAndReturnZodSchema = z.object({ select: CommissionBatchSelectObjectSchema.optional(), data: z.union([ CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemSelectObjectSchema as CommissionBatchItemSelectObjectSchema } from './objects/CommissionBatchItemSelect.schema';
|
||||
import { CommissionBatchItemCreateManyInputObjectSchema as CommissionBatchItemCreateManyInputObjectSchema } from './objects/CommissionBatchItemCreateManyInput.schema';
|
||||
|
||||
export const CommissionBatchItemCreateManyAndReturnSchema: z.ZodType<Prisma.CommissionBatchItemCreateManyAndReturnArgs> = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), data: z.union([ CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemCreateManyAndReturnArgs>;
|
||||
|
||||
export const CommissionBatchItemCreateManyAndReturnZodSchema = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), data: z.union([ CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationSelectObjectSchema as CommunicationSelectObjectSchema } from './objects/CommunicationSelect.schema';
|
||||
import { CommunicationCreateManyInputObjectSchema as CommunicationCreateManyInputObjectSchema } from './objects/CommunicationCreateManyInput.schema';
|
||||
|
||||
export const CommunicationCreateManyAndReturnSchema: z.ZodType<Prisma.CommunicationCreateManyAndReturnArgs> = z.object({ select: CommunicationSelectObjectSchema.optional(), data: z.union([ CommunicationCreateManyInputObjectSchema, z.array(CommunicationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationCreateManyAndReturnArgs>;
|
||||
|
||||
export const CommunicationCreateManyAndReturnZodSchema = z.object({ select: CommunicationSelectObjectSchema.optional(), data: z.union([ CommunicationCreateManyInputObjectSchema, z.array(CommunicationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactSelectObjectSchema as InsuranceContactSelectObjectSchema } from './objects/InsuranceContactSelect.schema';
|
||||
import { InsuranceContactCreateManyInputObjectSchema as InsuranceContactCreateManyInputObjectSchema } from './objects/InsuranceContactCreateManyInput.schema';
|
||||
|
||||
export const InsuranceContactCreateManyAndReturnSchema: z.ZodType<Prisma.InsuranceContactCreateManyAndReturnArgs> = z.object({ select: InsuranceContactSelectObjectSchema.optional(), data: z.union([ InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceContactCreateManyAndReturnArgs>;
|
||||
|
||||
export const InsuranceContactCreateManyAndReturnZodSchema = z.object({ select: InsuranceContactSelectObjectSchema.optional(), data: z.union([ InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactCreateManyInputObjectSchema as OfficeContactCreateManyInputObjectSchema } from './objects/OfficeContactCreateManyInput.schema';
|
||||
|
||||
export const OfficeContactCreateManyAndReturnSchema: z.ZodType<Prisma.OfficeContactCreateManyAndReturnArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateManyAndReturnArgs>;
|
||||
|
||||
export const OfficeContactCreateManyAndReturnZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursSelectObjectSchema as OfficeHoursSelectObjectSchema } from './objects/OfficeHoursSelect.schema';
|
||||
import { OfficeHoursCreateManyInputObjectSchema as OfficeHoursCreateManyInputObjectSchema } from './objects/OfficeHoursCreateManyInput.schema';
|
||||
|
||||
export const OfficeHoursCreateManyAndReturnSchema: z.ZodType<Prisma.OfficeHoursCreateManyAndReturnArgs> = z.object({ select: OfficeHoursSelectObjectSchema.optional(), data: z.union([ OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeHoursCreateManyAndReturnArgs>;
|
||||
|
||||
export const OfficeHoursCreateManyAndReturnZodSchema = z.object({ select: OfficeHoursSelectObjectSchema.optional(), data: z.union([ OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationSelectObjectSchema as PatientConversationSelectObjectSchema } from './objects/PatientConversationSelect.schema';
|
||||
import { PatientConversationCreateManyInputObjectSchema as PatientConversationCreateManyInputObjectSchema } from './objects/PatientConversationCreateManyInput.schema';
|
||||
|
||||
export const PatientConversationCreateManyAndReturnSchema: z.ZodType<Prisma.PatientConversationCreateManyAndReturnArgs> = z.object({ select: PatientConversationSelectObjectSchema.optional(), data: z.union([ PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientConversationCreateManyAndReturnArgs>;
|
||||
|
||||
export const PatientConversationCreateManyAndReturnZodSchema = z.object({ select: PatientConversationSelectObjectSchema.optional(), data: z.union([ PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentSelectObjectSchema as PatientDocumentSelectObjectSchema } from './objects/PatientDocumentSelect.schema';
|
||||
import { PatientDocumentCreateManyInputObjectSchema as PatientDocumentCreateManyInputObjectSchema } from './objects/PatientDocumentCreateManyInput.schema';
|
||||
|
||||
export const PatientDocumentCreateManyAndReturnSchema: z.ZodType<Prisma.PatientDocumentCreateManyAndReturnArgs> = z.object({ select: PatientDocumentSelectObjectSchema.optional(), data: z.union([ PatientDocumentCreateManyInputObjectSchema, z.array(PatientDocumentCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientDocumentCreateManyAndReturnArgs>;
|
||||
|
||||
export const PatientDocumentCreateManyAndReturnZodSchema = z.object({ select: PatientDocumentSelectObjectSchema.optional(), data: z.union([ PatientDocumentCreateManyInputObjectSchema, z.array(PatientDocumentCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotSelectObjectSchema as ProcedureTimeslotSelectObjectSchema } from './objects/ProcedureTimeslotSelect.schema';
|
||||
import { ProcedureTimeslotCreateManyInputObjectSchema as ProcedureTimeslotCreateManyInputObjectSchema } from './objects/ProcedureTimeslotCreateManyInput.schema';
|
||||
|
||||
export const ProcedureTimeslotCreateManyAndReturnSchema: z.ZodType<Prisma.ProcedureTimeslotCreateManyAndReturnArgs> = z.object({ select: ProcedureTimeslotSelectObjectSchema.optional(), data: z.union([ ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotCreateManyAndReturnArgs>;
|
||||
|
||||
export const ProcedureTimeslotCreateManyAndReturnZodSchema = z.object({ select: ProcedureTimeslotSelectObjectSchema.optional(), data: z.union([ ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,8 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsSelectObjectSchema as TwilioSettingsSelectObjectSchema } from './objects/TwilioSettingsSelect.schema';
|
||||
import { TwilioSettingsCreateManyInputObjectSchema as TwilioSettingsCreateManyInputObjectSchema } from './objects/TwilioSettingsCreateManyInput.schema';
|
||||
|
||||
export const TwilioSettingsCreateManyAndReturnSchema: z.ZodType<Prisma.TwilioSettingsCreateManyAndReturnArgs> = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), data: z.union([ TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsCreateManyAndReturnArgs>;
|
||||
|
||||
export const TwilioSettingsCreateManyAndReturnZodSchema = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), data: z.union([ TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchCreateManyInputObjectSchema as CommissionBatchCreateManyInputObjectSchema } from './objects/CommissionBatchCreateManyInput.schema';
|
||||
|
||||
export const CommissionBatchCreateManySchema: z.ZodType<Prisma.CommissionBatchCreateManyArgs> = z.object({ data: z.union([ CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchCreateManyArgs>;
|
||||
|
||||
export const CommissionBatchCreateManyZodSchema = z.object({ data: z.union([ CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemCreateManyInputObjectSchema as CommissionBatchItemCreateManyInputObjectSchema } from './objects/CommissionBatchItemCreateManyInput.schema';
|
||||
|
||||
export const CommissionBatchItemCreateManySchema: z.ZodType<Prisma.CommissionBatchItemCreateManyArgs> = z.object({ data: z.union([ CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemCreateManyArgs>;
|
||||
|
||||
export const CommissionBatchItemCreateManyZodSchema = z.object({ data: z.union([ CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationCreateManyInputObjectSchema as CommunicationCreateManyInputObjectSchema } from './objects/CommunicationCreateManyInput.schema';
|
||||
|
||||
export const CommunicationCreateManySchema: z.ZodType<Prisma.CommunicationCreateManyArgs> = z.object({ data: z.union([ CommunicationCreateManyInputObjectSchema, z.array(CommunicationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationCreateManyArgs>;
|
||||
|
||||
export const CommunicationCreateManyZodSchema = z.object({ data: z.union([ CommunicationCreateManyInputObjectSchema, z.array(CommunicationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactCreateManyInputObjectSchema as InsuranceContactCreateManyInputObjectSchema } from './objects/InsuranceContactCreateManyInput.schema';
|
||||
|
||||
export const InsuranceContactCreateManySchema: z.ZodType<Prisma.InsuranceContactCreateManyArgs> = z.object({ data: z.union([ InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceContactCreateManyArgs>;
|
||||
|
||||
export const InsuranceContactCreateManyZodSchema = z.object({ data: z.union([ InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactCreateManyInputObjectSchema as OfficeContactCreateManyInputObjectSchema } from './objects/OfficeContactCreateManyInput.schema';
|
||||
|
||||
export const OfficeContactCreateManySchema: z.ZodType<Prisma.OfficeContactCreateManyArgs> = z.object({ data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateManyArgs>;
|
||||
|
||||
export const OfficeContactCreateManyZodSchema = z.object({ data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursCreateManyInputObjectSchema as OfficeHoursCreateManyInputObjectSchema } from './objects/OfficeHoursCreateManyInput.schema';
|
||||
|
||||
export const OfficeHoursCreateManySchema: z.ZodType<Prisma.OfficeHoursCreateManyArgs> = z.object({ data: z.union([ OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeHoursCreateManyArgs>;
|
||||
|
||||
export const OfficeHoursCreateManyZodSchema = z.object({ data: z.union([ OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationCreateManyInputObjectSchema as PatientConversationCreateManyInputObjectSchema } from './objects/PatientConversationCreateManyInput.schema';
|
||||
|
||||
export const PatientConversationCreateManySchema: z.ZodType<Prisma.PatientConversationCreateManyArgs> = z.object({ data: z.union([ PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientConversationCreateManyArgs>;
|
||||
|
||||
export const PatientConversationCreateManyZodSchema = z.object({ data: z.union([ PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentCreateManyInputObjectSchema as PatientDocumentCreateManyInputObjectSchema } from './objects/PatientDocumentCreateManyInput.schema';
|
||||
|
||||
export const PatientDocumentCreateManySchema: z.ZodType<Prisma.PatientDocumentCreateManyArgs> = z.object({ data: z.union([ PatientDocumentCreateManyInputObjectSchema, z.array(PatientDocumentCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.PatientDocumentCreateManyArgs>;
|
||||
|
||||
export const PatientDocumentCreateManyZodSchema = z.object({ data: z.union([ PatientDocumentCreateManyInputObjectSchema, z.array(PatientDocumentCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotCreateManyInputObjectSchema as ProcedureTimeslotCreateManyInputObjectSchema } from './objects/ProcedureTimeslotCreateManyInput.schema';
|
||||
|
||||
export const ProcedureTimeslotCreateManySchema: z.ZodType<Prisma.ProcedureTimeslotCreateManyArgs> = z.object({ data: z.union([ ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotCreateManyArgs>;
|
||||
|
||||
export const ProcedureTimeslotCreateManyZodSchema = z.object({ data: z.union([ ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsCreateManyInputObjectSchema as TwilioSettingsCreateManyInputObjectSchema } from './objects/TwilioSettingsCreateManyInput.schema';
|
||||
|
||||
export const TwilioSettingsCreateManySchema: z.ZodType<Prisma.TwilioSettingsCreateManyArgs> = z.object({ data: z.union([ TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsCreateManyArgs>;
|
||||
|
||||
export const TwilioSettingsCreateManyZodSchema = z.object({ data: z.union([ TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsSelectObjectSchema as AiSettingsSelectObjectSchema } from './objects/AiSettingsSelect.schema';
|
||||
import { AiSettingsIncludeObjectSchema as AiSettingsIncludeObjectSchema } from './objects/AiSettingsInclude.schema';
|
||||
import { AiSettingsCreateInputObjectSchema as AiSettingsCreateInputObjectSchema } from './objects/AiSettingsCreateInput.schema';
|
||||
import { AiSettingsUncheckedCreateInputObjectSchema as AiSettingsUncheckedCreateInputObjectSchema } from './objects/AiSettingsUncheckedCreateInput.schema';
|
||||
|
||||
export const AiSettingsCreateOneSchema: z.ZodType<Prisma.AiSettingsCreateArgs> = z.object({ select: AiSettingsSelectObjectSchema.optional(), include: AiSettingsIncludeObjectSchema.optional(), data: z.union([AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.AiSettingsCreateArgs>;
|
||||
|
||||
export const AiSettingsCreateOneZodSchema = z.object({ select: AiSettingsSelectObjectSchema.optional(), include: AiSettingsIncludeObjectSchema.optional(), data: z.union([AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchSelectObjectSchema as CommissionBatchSelectObjectSchema } from './objects/CommissionBatchSelect.schema';
|
||||
import { CommissionBatchIncludeObjectSchema as CommissionBatchIncludeObjectSchema } from './objects/CommissionBatchInclude.schema';
|
||||
import { CommissionBatchCreateInputObjectSchema as CommissionBatchCreateInputObjectSchema } from './objects/CommissionBatchCreateInput.schema';
|
||||
import { CommissionBatchUncheckedCreateInputObjectSchema as CommissionBatchUncheckedCreateInputObjectSchema } from './objects/CommissionBatchUncheckedCreateInput.schema';
|
||||
|
||||
export const CommissionBatchCreateOneSchema: z.ZodType<Prisma.CommissionBatchCreateArgs> = z.object({ select: CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchCreateInputObjectSchema, CommissionBatchUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.CommissionBatchCreateArgs>;
|
||||
|
||||
export const CommissionBatchCreateOneZodSchema = z.object({ select: CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchCreateInputObjectSchema, CommissionBatchUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemSelectObjectSchema as CommissionBatchItemSelectObjectSchema } from './objects/CommissionBatchItemSelect.schema';
|
||||
import { CommissionBatchItemIncludeObjectSchema as CommissionBatchItemIncludeObjectSchema } from './objects/CommissionBatchItemInclude.schema';
|
||||
import { CommissionBatchItemCreateInputObjectSchema as CommissionBatchItemCreateInputObjectSchema } from './objects/CommissionBatchItemCreateInput.schema';
|
||||
import { CommissionBatchItemUncheckedCreateInputObjectSchema as CommissionBatchItemUncheckedCreateInputObjectSchema } from './objects/CommissionBatchItemUncheckedCreateInput.schema';
|
||||
|
||||
export const CommissionBatchItemCreateOneSchema: z.ZodType<Prisma.CommissionBatchItemCreateArgs> = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemCreateInputObjectSchema, CommissionBatchItemUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemCreateArgs>;
|
||||
|
||||
export const CommissionBatchItemCreateOneZodSchema = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemCreateInputObjectSchema, CommissionBatchItemUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationSelectObjectSchema as CommunicationSelectObjectSchema } from './objects/CommunicationSelect.schema';
|
||||
import { CommunicationIncludeObjectSchema as CommunicationIncludeObjectSchema } from './objects/CommunicationInclude.schema';
|
||||
import { CommunicationCreateInputObjectSchema as CommunicationCreateInputObjectSchema } from './objects/CommunicationCreateInput.schema';
|
||||
import { CommunicationUncheckedCreateInputObjectSchema as CommunicationUncheckedCreateInputObjectSchema } from './objects/CommunicationUncheckedCreateInput.schema';
|
||||
|
||||
export const CommunicationCreateOneSchema: z.ZodType<Prisma.CommunicationCreateArgs> = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), data: z.union([CommunicationCreateInputObjectSchema, CommunicationUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.CommunicationCreateArgs>;
|
||||
|
||||
export const CommunicationCreateOneZodSchema = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), data: z.union([CommunicationCreateInputObjectSchema, CommunicationUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactSelectObjectSchema as InsuranceContactSelectObjectSchema } from './objects/InsuranceContactSelect.schema';
|
||||
import { InsuranceContactIncludeObjectSchema as InsuranceContactIncludeObjectSchema } from './objects/InsuranceContactInclude.schema';
|
||||
import { InsuranceContactCreateInputObjectSchema as InsuranceContactCreateInputObjectSchema } from './objects/InsuranceContactCreateInput.schema';
|
||||
import { InsuranceContactUncheckedCreateInputObjectSchema as InsuranceContactUncheckedCreateInputObjectSchema } from './objects/InsuranceContactUncheckedCreateInput.schema';
|
||||
|
||||
export const InsuranceContactCreateOneSchema: z.ZodType<Prisma.InsuranceContactCreateArgs> = z.object({ select: InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactIncludeObjectSchema.optional(), data: z.union([InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.InsuranceContactCreateArgs>;
|
||||
|
||||
export const InsuranceContactCreateOneZodSchema = z.object({ select: InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactIncludeObjectSchema.optional(), data: z.union([InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactCreateInputObjectSchema as OfficeContactCreateInputObjectSchema } from './objects/OfficeContactCreateInput.schema';
|
||||
import { OfficeContactUncheckedCreateInputObjectSchema as OfficeContactUncheckedCreateInputObjectSchema } from './objects/OfficeContactUncheckedCreateInput.schema';
|
||||
|
||||
export const OfficeContactCreateOneSchema: z.ZodType<Prisma.OfficeContactCreateArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateArgs>;
|
||||
|
||||
export const OfficeContactCreateOneZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursSelectObjectSchema as OfficeHoursSelectObjectSchema } from './objects/OfficeHoursSelect.schema';
|
||||
import { OfficeHoursIncludeObjectSchema as OfficeHoursIncludeObjectSchema } from './objects/OfficeHoursInclude.schema';
|
||||
import { OfficeHoursCreateInputObjectSchema as OfficeHoursCreateInputObjectSchema } from './objects/OfficeHoursCreateInput.schema';
|
||||
import { OfficeHoursUncheckedCreateInputObjectSchema as OfficeHoursUncheckedCreateInputObjectSchema } from './objects/OfficeHoursUncheckedCreateInput.schema';
|
||||
|
||||
export const OfficeHoursCreateOneSchema: z.ZodType<Prisma.OfficeHoursCreateArgs> = z.object({ select: OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursCreateInputObjectSchema, OfficeHoursUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.OfficeHoursCreateArgs>;
|
||||
|
||||
export const OfficeHoursCreateOneZodSchema = z.object({ select: OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursCreateInputObjectSchema, OfficeHoursUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationSelectObjectSchema as PatientConversationSelectObjectSchema } from './objects/PatientConversationSelect.schema';
|
||||
import { PatientConversationIncludeObjectSchema as PatientConversationIncludeObjectSchema } from './objects/PatientConversationInclude.schema';
|
||||
import { PatientConversationCreateInputObjectSchema as PatientConversationCreateInputObjectSchema } from './objects/PatientConversationCreateInput.schema';
|
||||
import { PatientConversationUncheckedCreateInputObjectSchema as PatientConversationUncheckedCreateInputObjectSchema } from './objects/PatientConversationUncheckedCreateInput.schema';
|
||||
|
||||
export const PatientConversationCreateOneSchema: z.ZodType<Prisma.PatientConversationCreateArgs> = z.object({ select: PatientConversationSelectObjectSchema.optional(), include: PatientConversationIncludeObjectSchema.optional(), data: z.union([PatientConversationCreateInputObjectSchema, PatientConversationUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.PatientConversationCreateArgs>;
|
||||
|
||||
export const PatientConversationCreateOneZodSchema = z.object({ select: PatientConversationSelectObjectSchema.optional(), include: PatientConversationIncludeObjectSchema.optional(), data: z.union([PatientConversationCreateInputObjectSchema, PatientConversationUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentSelectObjectSchema as PatientDocumentSelectObjectSchema } from './objects/PatientDocumentSelect.schema';
|
||||
import { PatientDocumentIncludeObjectSchema as PatientDocumentIncludeObjectSchema } from './objects/PatientDocumentInclude.schema';
|
||||
import { PatientDocumentCreateInputObjectSchema as PatientDocumentCreateInputObjectSchema } from './objects/PatientDocumentCreateInput.schema';
|
||||
import { PatientDocumentUncheckedCreateInputObjectSchema as PatientDocumentUncheckedCreateInputObjectSchema } from './objects/PatientDocumentUncheckedCreateInput.schema';
|
||||
|
||||
export const PatientDocumentCreateOneSchema: z.ZodType<Prisma.PatientDocumentCreateArgs> = z.object({ select: PatientDocumentSelectObjectSchema.optional(), include: PatientDocumentIncludeObjectSchema.optional(), data: z.union([PatientDocumentCreateInputObjectSchema, PatientDocumentUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.PatientDocumentCreateArgs>;
|
||||
|
||||
export const PatientDocumentCreateOneZodSchema = z.object({ select: PatientDocumentSelectObjectSchema.optional(), include: PatientDocumentIncludeObjectSchema.optional(), data: z.union([PatientDocumentCreateInputObjectSchema, PatientDocumentUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotSelectObjectSchema as ProcedureTimeslotSelectObjectSchema } from './objects/ProcedureTimeslotSelect.schema';
|
||||
import { ProcedureTimeslotIncludeObjectSchema as ProcedureTimeslotIncludeObjectSchema } from './objects/ProcedureTimeslotInclude.schema';
|
||||
import { ProcedureTimeslotCreateInputObjectSchema as ProcedureTimeslotCreateInputObjectSchema } from './objects/ProcedureTimeslotCreateInput.schema';
|
||||
import { ProcedureTimeslotUncheckedCreateInputObjectSchema as ProcedureTimeslotUncheckedCreateInputObjectSchema } from './objects/ProcedureTimeslotUncheckedCreateInput.schema';
|
||||
|
||||
export const ProcedureTimeslotCreateOneSchema: z.ZodType<Prisma.ProcedureTimeslotCreateArgs> = z.object({ select: ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotIncludeObjectSchema.optional(), data: z.union([ProcedureTimeslotCreateInputObjectSchema, ProcedureTimeslotUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotCreateArgs>;
|
||||
|
||||
export const ProcedureTimeslotCreateOneZodSchema = z.object({ select: ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotIncludeObjectSchema.optional(), data: z.union([ProcedureTimeslotCreateInputObjectSchema, ProcedureTimeslotUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,10 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsSelectObjectSchema as TwilioSettingsSelectObjectSchema } from './objects/TwilioSettingsSelect.schema';
|
||||
import { TwilioSettingsIncludeObjectSchema as TwilioSettingsIncludeObjectSchema } from './objects/TwilioSettingsInclude.schema';
|
||||
import { TwilioSettingsCreateInputObjectSchema as TwilioSettingsCreateInputObjectSchema } from './objects/TwilioSettingsCreateInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateInputObjectSchema as TwilioSettingsUncheckedCreateInputObjectSchema } from './objects/TwilioSettingsUncheckedCreateInput.schema';
|
||||
|
||||
export const TwilioSettingsCreateOneSchema: z.ZodType<Prisma.TwilioSettingsCreateArgs> = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsIncludeObjectSchema.optional(), data: z.union([TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsCreateArgs>;
|
||||
|
||||
export const TwilioSettingsCreateOneZodSchema = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsIncludeObjectSchema.optional(), data: z.union([TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsWhereInputObjectSchema as AiSettingsWhereInputObjectSchema } from './objects/AiSettingsWhereInput.schema';
|
||||
|
||||
export const AiSettingsDeleteManySchema: z.ZodType<Prisma.AiSettingsDeleteManyArgs> = z.object({ where: AiSettingsWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.AiSettingsDeleteManyArgs>;
|
||||
|
||||
export const AiSettingsDeleteManyZodSchema = z.object({ where: AiSettingsWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchWhereInputObjectSchema as CommissionBatchWhereInputObjectSchema } from './objects/CommissionBatchWhereInput.schema';
|
||||
|
||||
export const CommissionBatchDeleteManySchema: z.ZodType<Prisma.CommissionBatchDeleteManyArgs> = z.object({ where: CommissionBatchWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchDeleteManyArgs>;
|
||||
|
||||
export const CommissionBatchDeleteManyZodSchema = z.object({ where: CommissionBatchWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemWhereInputObjectSchema as CommissionBatchItemWhereInputObjectSchema } from './objects/CommissionBatchItemWhereInput.schema';
|
||||
|
||||
export const CommissionBatchItemDeleteManySchema: z.ZodType<Prisma.CommissionBatchItemDeleteManyArgs> = z.object({ where: CommissionBatchItemWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemDeleteManyArgs>;
|
||||
|
||||
export const CommissionBatchItemDeleteManyZodSchema = z.object({ where: CommissionBatchItemWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationWhereInputObjectSchema as CommunicationWhereInputObjectSchema } from './objects/CommunicationWhereInput.schema';
|
||||
|
||||
export const CommunicationDeleteManySchema: z.ZodType<Prisma.CommunicationDeleteManyArgs> = z.object({ where: CommunicationWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.CommunicationDeleteManyArgs>;
|
||||
|
||||
export const CommunicationDeleteManyZodSchema = z.object({ where: CommunicationWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactWhereInputObjectSchema as InsuranceContactWhereInputObjectSchema } from './objects/InsuranceContactWhereInput.schema';
|
||||
|
||||
export const InsuranceContactDeleteManySchema: z.ZodType<Prisma.InsuranceContactDeleteManyArgs> = z.object({ where: InsuranceContactWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.InsuranceContactDeleteManyArgs>;
|
||||
|
||||
export const InsuranceContactDeleteManyZodSchema = z.object({ where: InsuranceContactWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
|
||||
export const OfficeContactDeleteManySchema: z.ZodType<Prisma.OfficeContactDeleteManyArgs> = z.object({ where: OfficeContactWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactDeleteManyArgs>;
|
||||
|
||||
export const OfficeContactDeleteManyZodSchema = z.object({ where: OfficeContactWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursWhereInputObjectSchema as OfficeHoursWhereInputObjectSchema } from './objects/OfficeHoursWhereInput.schema';
|
||||
|
||||
export const OfficeHoursDeleteManySchema: z.ZodType<Prisma.OfficeHoursDeleteManyArgs> = z.object({ where: OfficeHoursWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeHoursDeleteManyArgs>;
|
||||
|
||||
export const OfficeHoursDeleteManyZodSchema = z.object({ where: OfficeHoursWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationWhereInputObjectSchema as PatientConversationWhereInputObjectSchema } from './objects/PatientConversationWhereInput.schema';
|
||||
|
||||
export const PatientConversationDeleteManySchema: z.ZodType<Prisma.PatientConversationDeleteManyArgs> = z.object({ where: PatientConversationWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientConversationDeleteManyArgs>;
|
||||
|
||||
export const PatientConversationDeleteManyZodSchema = z.object({ where: PatientConversationWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentWhereInputObjectSchema as PatientDocumentWhereInputObjectSchema } from './objects/PatientDocumentWhereInput.schema';
|
||||
|
||||
export const PatientDocumentDeleteManySchema: z.ZodType<Prisma.PatientDocumentDeleteManyArgs> = z.object({ where: PatientDocumentWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.PatientDocumentDeleteManyArgs>;
|
||||
|
||||
export const PatientDocumentDeleteManyZodSchema = z.object({ where: PatientDocumentWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotWhereInputObjectSchema as ProcedureTimeslotWhereInputObjectSchema } from './objects/ProcedureTimeslotWhereInput.schema';
|
||||
|
||||
export const ProcedureTimeslotDeleteManySchema: z.ZodType<Prisma.ProcedureTimeslotDeleteManyArgs> = z.object({ where: ProcedureTimeslotWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotDeleteManyArgs>;
|
||||
|
||||
export const ProcedureTimeslotDeleteManyZodSchema = z.object({ where: ProcedureTimeslotWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsWhereInputObjectSchema as TwilioSettingsWhereInputObjectSchema } from './objects/TwilioSettingsWhereInput.schema';
|
||||
|
||||
export const TwilioSettingsDeleteManySchema: z.ZodType<Prisma.TwilioSettingsDeleteManyArgs> = z.object({ where: TwilioSettingsWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsDeleteManyArgs>;
|
||||
|
||||
export const TwilioSettingsDeleteManyZodSchema = z.object({ where: TwilioSettingsWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsSelectObjectSchema as AiSettingsSelectObjectSchema } from './objects/AiSettingsSelect.schema';
|
||||
import { AiSettingsIncludeObjectSchema as AiSettingsIncludeObjectSchema } from './objects/AiSettingsInclude.schema';
|
||||
import { AiSettingsWhereUniqueInputObjectSchema as AiSettingsWhereUniqueInputObjectSchema } from './objects/AiSettingsWhereUniqueInput.schema';
|
||||
|
||||
export const AiSettingsDeleteOneSchema: z.ZodType<Prisma.AiSettingsDeleteArgs> = z.object({ select: AiSettingsSelectObjectSchema.optional(), include: AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.AiSettingsDeleteArgs>;
|
||||
|
||||
export const AiSettingsDeleteOneZodSchema = z.object({ select: AiSettingsSelectObjectSchema.optional(), include: AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchSelectObjectSchema as CommissionBatchSelectObjectSchema } from './objects/CommissionBatchSelect.schema';
|
||||
import { CommissionBatchIncludeObjectSchema as CommissionBatchIncludeObjectSchema } from './objects/CommissionBatchInclude.schema';
|
||||
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './objects/CommissionBatchWhereUniqueInput.schema';
|
||||
|
||||
export const CommissionBatchDeleteOneSchema: z.ZodType<Prisma.CommissionBatchDeleteArgs> = z.object({ select: CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CommissionBatchDeleteArgs>;
|
||||
|
||||
export const CommissionBatchDeleteOneZodSchema = z.object({ select: CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemSelectObjectSchema as CommissionBatchItemSelectObjectSchema } from './objects/CommissionBatchItemSelect.schema';
|
||||
import { CommissionBatchItemIncludeObjectSchema as CommissionBatchItemIncludeObjectSchema } from './objects/CommissionBatchItemInclude.schema';
|
||||
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './objects/CommissionBatchItemWhereUniqueInput.schema';
|
||||
|
||||
export const CommissionBatchItemDeleteOneSchema: z.ZodType<Prisma.CommissionBatchItemDeleteArgs> = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemDeleteArgs>;
|
||||
|
||||
export const CommissionBatchItemDeleteOneZodSchema = z.object({ select: CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommunicationSelectObjectSchema as CommunicationSelectObjectSchema } from './objects/CommunicationSelect.schema';
|
||||
import { CommunicationIncludeObjectSchema as CommunicationIncludeObjectSchema } from './objects/CommunicationInclude.schema';
|
||||
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './objects/CommunicationWhereUniqueInput.schema';
|
||||
|
||||
export const CommunicationDeleteOneSchema: z.ZodType<Prisma.CommunicationDeleteArgs> = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), where: CommunicationWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.CommunicationDeleteArgs>;
|
||||
|
||||
export const CommunicationDeleteOneZodSchema = z.object({ select: CommunicationSelectObjectSchema.optional(), include: CommunicationIncludeObjectSchema.optional(), where: CommunicationWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { InsuranceContactSelectObjectSchema as InsuranceContactSelectObjectSchema } from './objects/InsuranceContactSelect.schema';
|
||||
import { InsuranceContactIncludeObjectSchema as InsuranceContactIncludeObjectSchema } from './objects/InsuranceContactInclude.schema';
|
||||
import { InsuranceContactWhereUniqueInputObjectSchema as InsuranceContactWhereUniqueInputObjectSchema } from './objects/InsuranceContactWhereUniqueInput.schema';
|
||||
|
||||
export const InsuranceContactDeleteOneSchema: z.ZodType<Prisma.InsuranceContactDeleteArgs> = z.object({ select: InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.InsuranceContactDeleteArgs>;
|
||||
|
||||
export const InsuranceContactDeleteOneZodSchema = z.object({ select: InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
|
||||
export const OfficeContactDeleteOneSchema: z.ZodType<Prisma.OfficeContactDeleteArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeContactDeleteArgs>;
|
||||
|
||||
export const OfficeContactDeleteOneZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeHoursSelectObjectSchema as OfficeHoursSelectObjectSchema } from './objects/OfficeHoursSelect.schema';
|
||||
import { OfficeHoursIncludeObjectSchema as OfficeHoursIncludeObjectSchema } from './objects/OfficeHoursInclude.schema';
|
||||
import { OfficeHoursWhereUniqueInputObjectSchema as OfficeHoursWhereUniqueInputObjectSchema } from './objects/OfficeHoursWhereUniqueInput.schema';
|
||||
|
||||
export const OfficeHoursDeleteOneSchema: z.ZodType<Prisma.OfficeHoursDeleteArgs> = z.object({ select: OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeHoursDeleteArgs>;
|
||||
|
||||
export const OfficeHoursDeleteOneZodSchema = z.object({ select: OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientConversationSelectObjectSchema as PatientConversationSelectObjectSchema } from './objects/PatientConversationSelect.schema';
|
||||
import { PatientConversationIncludeObjectSchema as PatientConversationIncludeObjectSchema } from './objects/PatientConversationInclude.schema';
|
||||
import { PatientConversationWhereUniqueInputObjectSchema as PatientConversationWhereUniqueInputObjectSchema } from './objects/PatientConversationWhereUniqueInput.schema';
|
||||
|
||||
export const PatientConversationDeleteOneSchema: z.ZodType<Prisma.PatientConversationDeleteArgs> = z.object({ select: PatientConversationSelectObjectSchema.optional(), include: PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientConversationDeleteArgs>;
|
||||
|
||||
export const PatientConversationDeleteOneZodSchema = z.object({ select: PatientConversationSelectObjectSchema.optional(), include: PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientDocumentSelectObjectSchema as PatientDocumentSelectObjectSchema } from './objects/PatientDocumentSelect.schema';
|
||||
import { PatientDocumentIncludeObjectSchema as PatientDocumentIncludeObjectSchema } from './objects/PatientDocumentInclude.schema';
|
||||
import { PatientDocumentWhereUniqueInputObjectSchema as PatientDocumentWhereUniqueInputObjectSchema } from './objects/PatientDocumentWhereUniqueInput.schema';
|
||||
|
||||
export const PatientDocumentDeleteOneSchema: z.ZodType<Prisma.PatientDocumentDeleteArgs> = z.object({ select: PatientDocumentSelectObjectSchema.optional(), include: PatientDocumentIncludeObjectSchema.optional(), where: PatientDocumentWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientDocumentDeleteArgs>;
|
||||
|
||||
export const PatientDocumentDeleteOneZodSchema = z.object({ select: PatientDocumentSelectObjectSchema.optional(), include: PatientDocumentIncludeObjectSchema.optional(), where: PatientDocumentWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ProcedureTimeslotSelectObjectSchema as ProcedureTimeslotSelectObjectSchema } from './objects/ProcedureTimeslotSelect.schema';
|
||||
import { ProcedureTimeslotIncludeObjectSchema as ProcedureTimeslotIncludeObjectSchema } from './objects/ProcedureTimeslotInclude.schema';
|
||||
import { ProcedureTimeslotWhereUniqueInputObjectSchema as ProcedureTimeslotWhereUniqueInputObjectSchema } from './objects/ProcedureTimeslotWhereUniqueInput.schema';
|
||||
|
||||
export const ProcedureTimeslotDeleteOneSchema: z.ZodType<Prisma.ProcedureTimeslotDeleteArgs> = z.object({ select: ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ProcedureTimeslotDeleteArgs>;
|
||||
|
||||
export const ProcedureTimeslotDeleteOneZodSchema = z.object({ select: ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -1,9 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { TwilioSettingsSelectObjectSchema as TwilioSettingsSelectObjectSchema } from './objects/TwilioSettingsSelect.schema';
|
||||
import { TwilioSettingsIncludeObjectSchema as TwilioSettingsIncludeObjectSchema } from './objects/TwilioSettingsInclude.schema';
|
||||
import { TwilioSettingsWhereUniqueInputObjectSchema as TwilioSettingsWhereUniqueInputObjectSchema } from './objects/TwilioSettingsWhereUniqueInput.schema';
|
||||
|
||||
export const TwilioSettingsDeleteOneSchema: z.ZodType<Prisma.TwilioSettingsDeleteArgs> = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.TwilioSettingsDeleteArgs>;
|
||||
|
||||
export const TwilioSettingsDeleteOneZodSchema = z.object({ select: TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,5 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const LabRxTemplateScalarFieldEnumSchema = z.enum(['id', 'userId', 'name', 'labName', 'labPhone', 'labFax', 'labAddress', 'labAccount', 'caseType', 'material', 'instructions', 'doctorName', 'sortOrder', 'createdAt', 'updatedAt'])
|
||||
|
||||
export type LabRxTemplateScalarFieldEnum = z.infer<typeof LabRxTemplateScalarFieldEnumSchema>;
|
||||
@@ -1,52 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { AiSettingsIncludeObjectSchema as AiSettingsIncludeObjectSchema } from './objects/AiSettingsInclude.schema';
|
||||
import { AiSettingsOrderByWithRelationInputObjectSchema as AiSettingsOrderByWithRelationInputObjectSchema } from './objects/AiSettingsOrderByWithRelationInput.schema';
|
||||
import { AiSettingsWhereInputObjectSchema as AiSettingsWhereInputObjectSchema } from './objects/AiSettingsWhereInput.schema';
|
||||
import { AiSettingsWhereUniqueInputObjectSchema as AiSettingsWhereUniqueInputObjectSchema } from './objects/AiSettingsWhereUniqueInput.schema';
|
||||
import { AiSettingsScalarFieldEnumSchema } from './enums/AiSettingsScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const AiSettingsFindFirstSelectSchema: z.ZodType<Prisma.AiSettingsSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
apiKey: z.boolean().optional(),
|
||||
aiEnabled: z.boolean().optional(),
|
||||
openAiKey: z.boolean().optional(),
|
||||
openAiEnabled: z.boolean().optional(),
|
||||
claudeAiKey: z.boolean().optional(),
|
||||
claudeAiEnabled: z.boolean().optional(),
|
||||
claudeAiModel: z.boolean().optional(),
|
||||
openAiModel: z.boolean().optional(),
|
||||
googleAiModel: z.boolean().optional(),
|
||||
dentalMgmtKey: z.boolean().optional(),
|
||||
dentalMgmtEnabled: z.boolean().optional(),
|
||||
afterHoursEnabled: z.boolean().optional(),
|
||||
openPhoneReply: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.AiSettingsSelect>;
|
||||
|
||||
export const AiSettingsFindFirstSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
apiKey: z.boolean().optional(),
|
||||
aiEnabled: z.boolean().optional(),
|
||||
openAiKey: z.boolean().optional(),
|
||||
openAiEnabled: z.boolean().optional(),
|
||||
claudeAiKey: z.boolean().optional(),
|
||||
claudeAiEnabled: z.boolean().optional(),
|
||||
claudeAiModel: z.boolean().optional(),
|
||||
openAiModel: z.boolean().optional(),
|
||||
googleAiModel: z.boolean().optional(),
|
||||
dentalMgmtKey: z.boolean().optional(),
|
||||
dentalMgmtEnabled: z.boolean().optional(),
|
||||
afterHoursEnabled: z.boolean().optional(),
|
||||
openPhoneReply: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const AiSettingsFindFirstSchema: z.ZodType<Prisma.AiSettingsFindFirstArgs> = z.object({ select: AiSettingsFindFirstSelectSchema.optional(), include: z.lazy(() => AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.AiSettingsFindFirstArgs>;
|
||||
|
||||
export const AiSettingsFindFirstZodSchema = z.object({ select: AiSettingsFindFirstSelectSchema.optional(), include: z.lazy(() => AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -1,38 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchIncludeObjectSchema as CommissionBatchIncludeObjectSchema } from './objects/CommissionBatchInclude.schema';
|
||||
import { CommissionBatchOrderByWithRelationInputObjectSchema as CommissionBatchOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchOrderByWithRelationInput.schema';
|
||||
import { CommissionBatchWhereInputObjectSchema as CommissionBatchWhereInputObjectSchema } from './objects/CommissionBatchWhereInput.schema';
|
||||
import { CommissionBatchWhereUniqueInputObjectSchema as CommissionBatchWhereUniqueInputObjectSchema } from './objects/CommissionBatchWhereUniqueInput.schema';
|
||||
import { CommissionBatchScalarFieldEnumSchema } from './enums/CommissionBatchScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const CommissionBatchFindFirstSelectSchema: z.ZodType<Prisma.CommissionBatchSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
npiProviderId: z.boolean().optional(),
|
||||
totalCollection: z.boolean().optional(),
|
||||
commissionAmount: z.boolean().optional(),
|
||||
notes: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
npiProvider: z.boolean().optional(),
|
||||
items: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.CommissionBatchSelect>;
|
||||
|
||||
export const CommissionBatchFindFirstSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
npiProviderId: z.boolean().optional(),
|
||||
totalCollection: z.boolean().optional(),
|
||||
commissionAmount: z.boolean().optional(),
|
||||
notes: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
npiProvider: z.boolean().optional(),
|
||||
items: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const CommissionBatchFindFirstSchema: z.ZodType<Prisma.CommissionBatchFindFirstArgs> = z.object({ select: CommissionBatchFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchFindFirstArgs>;
|
||||
|
||||
export const CommissionBatchFindFirstZodSchema = z.object({ select: CommissionBatchFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -1,32 +0,0 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { CommissionBatchItemIncludeObjectSchema as CommissionBatchItemIncludeObjectSchema } from './objects/CommissionBatchItemInclude.schema';
|
||||
import { CommissionBatchItemOrderByWithRelationInputObjectSchema as CommissionBatchItemOrderByWithRelationInputObjectSchema } from './objects/CommissionBatchItemOrderByWithRelationInput.schema';
|
||||
import { CommissionBatchItemWhereInputObjectSchema as CommissionBatchItemWhereInputObjectSchema } from './objects/CommissionBatchItemWhereInput.schema';
|
||||
import { CommissionBatchItemWhereUniqueInputObjectSchema as CommissionBatchItemWhereUniqueInputObjectSchema } from './objects/CommissionBatchItemWhereUniqueInput.schema';
|
||||
import { CommissionBatchItemScalarFieldEnumSchema } from './enums/CommissionBatchItemScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const CommissionBatchItemFindFirstSelectSchema: z.ZodType<Prisma.CommissionBatchItemSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
commissionBatchId: z.boolean().optional(),
|
||||
paymentId: z.boolean().optional(),
|
||||
collectionAmount: z.boolean().optional(),
|
||||
commissionBatch: z.boolean().optional(),
|
||||
payment: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemSelect>;
|
||||
|
||||
export const CommissionBatchItemFindFirstSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
commissionBatchId: z.boolean().optional(),
|
||||
paymentId: z.boolean().optional(),
|
||||
collectionAmount: z.boolean().optional(),
|
||||
commissionBatch: z.boolean().optional(),
|
||||
payment: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const CommissionBatchItemFindFirstSchema: z.ZodType<Prisma.CommissionBatchItemFindFirstArgs> = z.object({ select: CommissionBatchItemFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.CommissionBatchItemFindFirstArgs>;
|
||||
|
||||
export const CommissionBatchItemFindFirstZodSchema = z.object({ select: CommissionBatchItemFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user