feat: add AI Dental Shopping section with sidebar nav and Login Info page
- Add AI Dental Shopping to sidebar with Search/Tag and Login Info sub-pages - Build full-stack Login Info CRUD: save vendor name, website, username, password per user - Add ShoppingVendor Prisma model, run db push, regenerate client and Zod schemas - Add storage layer, REST API at /api/shopping-vendors/, and frontend table with add/edit/delete modal Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
edec03e893
commit
e34140c2b1
@@ -32,6 +32,7 @@ import officeContactRoutes from "./office-contact";
|
||||
import procedureTimeslotRoutes from "./procedure-timeslot";
|
||||
import insuranceContactsRoutes from "./insurance-contacts";
|
||||
import commissionsRoutes from "./commissions";
|
||||
import shoppingVendorsRoutes from "./shopping-vendors";
|
||||
|
||||
const router = Router();
|
||||
|
||||
@@ -68,5 +69,6 @@ router.use("/office-contact", officeContactRoutes);
|
||||
router.use("/procedure-timeslot", procedureTimeslotRoutes);
|
||||
router.use("/insurance-contacts", insuranceContactsRoutes);
|
||||
router.use("/commissions", commissionsRoutes);
|
||||
router.use("/shopping-vendors", shoppingVendorsRoutes);
|
||||
|
||||
export default router;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
import express, { Request, Response } from "express";
|
||||
import { storage } from "../storage";
|
||||
import { insertShoppingVendorSchema, ShoppingVendor } from "@repo/db/types";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
if (!req.user?.id) return res.status(401).json({ message: "Unauthorized" });
|
||||
const vendors = await storage.getShoppingVendorsByUser(req.user.id);
|
||||
return res.status(200).json(vendors);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to fetch vendors", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.post("/", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
if (!req.user?.id) return res.status(401).json({ message: "Unauthorized" });
|
||||
const parseResult = insertShoppingVendorSchema.safeParse({ ...req.body, userId: req.user.id });
|
||||
if (!parseResult.success) {
|
||||
const firstError = Object.values(parseResult.error.flatten().fieldErrors)[0]?.[0] || "Invalid input";
|
||||
return res.status(400).json({ message: firstError });
|
||||
}
|
||||
const vendor = await storage.createShoppingVendor(parseResult.data);
|
||||
return res.status(201).json(vendor);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to create vendor", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.put("/:id", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const id = Number(req.params.id);
|
||||
if (isNaN(id)) return res.status(400).send("Invalid vendor ID");
|
||||
const vendor = await storage.updateShoppingVendor(id, req.body as Partial<ShoppingVendor>);
|
||||
return res.status(200).json(vendor);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to update vendor", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
router.delete("/: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).send("Invalid ID");
|
||||
const existing = await storage.getShoppingVendor(id);
|
||||
if (!existing) return res.status(404).json({ message: "Vendor not found" });
|
||||
if (existing.userId !== userId) return res.status(403).json({ message: "Forbidden" });
|
||||
const ok = await storage.deleteShoppingVendor(userId, id);
|
||||
if (!ok) return res.status(404).json({ message: "Vendor not found or already deleted" });
|
||||
return res.status(204).send();
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to delete vendor", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
@@ -24,6 +24,7 @@ import { officeContactStorage } from "./office-contact-storage";
|
||||
import { procedureTimeslotStorage } from "./procedure-timeslot-storage";
|
||||
import { insuranceContactStorage } from "./insurance-contact-storage";
|
||||
import { commissionsStorage } from "./commissions-storage";
|
||||
import { shoppingVendorStorage } from "./shopping-vendor-storage";
|
||||
|
||||
|
||||
export const storage = {
|
||||
@@ -51,6 +52,7 @@ export const storage = {
|
||||
...procedureTimeslotStorage,
|
||||
...insuranceContactStorage,
|
||||
...commissionsStorage,
|
||||
...shoppingVendorStorage,
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
import { InsertShoppingVendor, ShoppingVendor } from "@repo/db/types";
|
||||
import { prisma as db } from "@repo/db/client";
|
||||
|
||||
export interface IShoppingVendorStorage {
|
||||
getShoppingVendor(id: number): Promise<ShoppingVendor | null>;
|
||||
getShoppingVendorsByUser(userId: number): Promise<ShoppingVendor[]>;
|
||||
createShoppingVendor(data: InsertShoppingVendor): Promise<ShoppingVendor>;
|
||||
updateShoppingVendor(id: number, updates: Partial<ShoppingVendor>): Promise<ShoppingVendor | null>;
|
||||
deleteShoppingVendor(userId: number, id: number): Promise<boolean>;
|
||||
}
|
||||
|
||||
export const shoppingVendorStorage: IShoppingVendorStorage = {
|
||||
async getShoppingVendor(id: number) {
|
||||
return await db.shoppingVendor.findUnique({ where: { id } }) as ShoppingVendor | null;
|
||||
},
|
||||
|
||||
async getShoppingVendorsByUser(userId: number) {
|
||||
return await db.shoppingVendor.findMany({ where: { userId }, orderBy: { id: "asc" } }) as ShoppingVendor[];
|
||||
},
|
||||
|
||||
async createShoppingVendor(data: InsertShoppingVendor) {
|
||||
return await db.shoppingVendor.create({ data }) as ShoppingVendor;
|
||||
},
|
||||
|
||||
async updateShoppingVendor(id: number, updates: Partial<ShoppingVendor>) {
|
||||
return await db.shoppingVendor.update({ where: { id }, data: updates }) as ShoppingVendor;
|
||||
},
|
||||
|
||||
async deleteShoppingVendor(userId: number, id: number) {
|
||||
try {
|
||||
await db.shoppingVendor.delete({ where: { userId, id } });
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
};
|
||||
@@ -29,6 +29,8 @@ const ReportsPage = lazy(() => import("./pages/reports-page"));
|
||||
const CloudStoragePage = lazy(() => import("./pages/cloud-storage-page"));
|
||||
const JobMonitorPage = lazy(() => import("./pages/job-monitor-page"));
|
||||
const ChartPage = lazy(() => import("./pages/chart-page"));
|
||||
const DentalShoppingSearchTagPage = lazy(() => import("./pages/dental-shopping-search-tag-page"));
|
||||
const DentalShoppingLoginInfoPage = lazy(() => import("./pages/dental-shopping-login-info-page"));
|
||||
const NotFound = lazy(() => import("./pages/not-found"));
|
||||
|
||||
function Router() {
|
||||
@@ -61,6 +63,8 @@ function Router() {
|
||||
/>
|
||||
<ProtectedRoute path="/reports" component={() => <ReportsPage />} />
|
||||
<ProtectedRoute path="/cloud-storage" component={() => <CloudStoragePage />} />
|
||||
<ProtectedRoute path="/dental-shopping/search-tag" component={() => <DentalShoppingSearchTagPage />} />
|
||||
<ProtectedRoute path="/dental-shopping/login-info" component={() => <DentalShoppingLoginInfoPage />} />
|
||||
<ProtectedRoute
|
||||
path="/job-monitor"
|
||||
component={() => <JobMonitorPage />}
|
||||
|
||||
@@ -30,6 +30,9 @@ import {
|
||||
Building2,
|
||||
Timer,
|
||||
BookOpen,
|
||||
ShoppingCart,
|
||||
Search,
|
||||
KeyRound,
|
||||
} from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { useMemo, useState, useEffect } from "react";
|
||||
@@ -62,6 +65,7 @@ export function Sidebar() {
|
||||
const s = new Set<string>();
|
||||
if (location.startsWith("/chart")) s.add("/chart");
|
||||
if (location.startsWith("/settings")) s.add("/settings");
|
||||
if (location.startsWith("/dental-shopping")) s.add("/dental-shopping");
|
||||
return s;
|
||||
});
|
||||
|
||||
@@ -72,6 +76,9 @@ export function Sidebar() {
|
||||
if (location.startsWith("/settings")) {
|
||||
setExpandedPaths((prev) => new Set([...prev, "/settings"]));
|
||||
}
|
||||
if (location.startsWith("/dental-shopping")) {
|
||||
setExpandedPaths((prev) => new Set([...prev, "/dental-shopping"]));
|
||||
}
|
||||
}, [location]);
|
||||
|
||||
const togglePath = (path: string) => {
|
||||
@@ -162,6 +169,23 @@ export function Sidebar() {
|
||||
path: "/cloud-storage",
|
||||
icon: <Cloud className="h-5 w-5 text-sky-500" />,
|
||||
},
|
||||
{
|
||||
name: "AI Dental Shopping",
|
||||
path: "/dental-shopping",
|
||||
icon: <ShoppingCart className="h-5 w-5 text-cyan-500" />,
|
||||
children: [
|
||||
{
|
||||
name: "Search / Tag",
|
||||
path: "/dental-shopping/search-tag",
|
||||
icon: <Search className="h-4 w-4 text-cyan-400" />,
|
||||
},
|
||||
{
|
||||
name: "Login Info",
|
||||
path: "/dental-shopping/login-info",
|
||||
icon: <KeyRound className="h-4 w-4 text-cyan-400" />,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Database Management",
|
||||
path: "/database-management",
|
||||
|
||||
@@ -0,0 +1,317 @@
|
||||
import { useState, useEffect } from "react";
|
||||
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
|
||||
import { apiRequest } from "@/lib/queryClient";
|
||||
import { useAuth } from "@/hooks/use-auth";
|
||||
import { useToast } from "@/hooks/use-toast";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { DeleteConfirmationDialog } from "@/components/ui/deleteDialog";
|
||||
import { KeyRound, Plus, Pencil, Trash2, Eye, EyeOff, ExternalLink } from "lucide-react";
|
||||
|
||||
type ShoppingVendor = {
|
||||
id: number;
|
||||
userId: number;
|
||||
vendorName: string;
|
||||
websiteUrl: string;
|
||||
loginUsername: string;
|
||||
loginPassword: string;
|
||||
};
|
||||
|
||||
const QUERY_KEY = ["/api/shopping-vendors/"];
|
||||
|
||||
// ─── Modal ─────────────────────────────────────────────────────────────────
|
||||
|
||||
function VendorModal({
|
||||
userId,
|
||||
defaultValues,
|
||||
onClose,
|
||||
}: {
|
||||
userId: number;
|
||||
defaultValues?: ShoppingVendor;
|
||||
onClose: () => void;
|
||||
}) {
|
||||
const { toast } = useToast();
|
||||
const qc = useQueryClient();
|
||||
|
||||
const [vendorName, setVendorName] = useState(defaultValues?.vendorName ?? "");
|
||||
const [websiteUrl, setWebsiteUrl] = useState(defaultValues?.websiteUrl ?? "");
|
||||
const [loginUsername, setLoginUsername] = useState(defaultValues?.loginUsername ?? "");
|
||||
const [loginPassword, setLoginPassword] = useState(defaultValues?.loginPassword ?? "");
|
||||
const [showPassword, setShowPassword] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
setVendorName(defaultValues?.vendorName ?? "");
|
||||
setWebsiteUrl(defaultValues?.websiteUrl ?? "");
|
||||
setLoginUsername(defaultValues?.loginUsername ?? "");
|
||||
setLoginPassword(defaultValues?.loginPassword ?? "");
|
||||
}, [defaultValues]);
|
||||
|
||||
const mutation = useMutation({
|
||||
mutationFn: async () => {
|
||||
const payload = { vendorName: vendorName.trim(), websiteUrl: websiteUrl.trim(), loginUsername: loginUsername.trim(), loginPassword: loginPassword.trim(), userId };
|
||||
const url = defaultValues?.id ? `/api/shopping-vendors/${defaultValues.id}` : "/api/shopping-vendors/";
|
||||
const method = defaultValues?.id ? "PUT" : "POST";
|
||||
const res = await apiRequest(method, url, payload);
|
||||
if (!res.ok) {
|
||||
const err = await res.json().catch(() => null);
|
||||
throw new Error(err?.message || "Failed to save vendor");
|
||||
}
|
||||
return res.json();
|
||||
},
|
||||
onSuccess: () => {
|
||||
toast({ title: `Vendor ${defaultValues?.id ? "updated" : "added"} successfully.` });
|
||||
qc.invalidateQueries({ queryKey: QUERY_KEY });
|
||||
onClose();
|
||||
},
|
||||
onError: (err: any) => {
|
||||
toast({ title: "Error", description: err.message, variant: "destructive" });
|
||||
},
|
||||
});
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!vendorName || !websiteUrl || !loginUsername || !loginPassword) {
|
||||
toast({ title: "All fields are required.", variant: "destructive" });
|
||||
return;
|
||||
}
|
||||
mutation.mutate();
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="fixed inset-0 bg-black/50 flex justify-center items-center z-50">
|
||||
<div className="bg-white rounded-xl p-6 w-full max-w-md shadow-xl">
|
||||
<h2 className="text-lg font-semibold mb-5">
|
||||
{defaultValues?.id ? "Edit Vendor" : "Add Vendor"}
|
||||
</h2>
|
||||
<form onSubmit={handleSubmit} className="space-y-4">
|
||||
<div>
|
||||
<label className="block text-sm font-medium text-gray-700 mb-1">Vendor Name</label>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="e.g. Net32"
|
||||
value={vendorName}
|
||||
onChange={(e) => setVendorName(e.target.value)}
|
||||
className="w-full border rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label className="block text-sm font-medium text-gray-700 mb-1">Website URL</label>
|
||||
<input
|
||||
type="url"
|
||||
placeholder="https://www.net32.com"
|
||||
value={websiteUrl}
|
||||
onChange={(e) => setWebsiteUrl(e.target.value)}
|
||||
className="w-full border rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label className="block text-sm font-medium text-gray-700 mb-1">Username / Email</label>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="your@email.com"
|
||||
value={loginUsername}
|
||||
onChange={(e) => setLoginUsername(e.target.value)}
|
||||
className="w-full border rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label className="block text-sm font-medium text-gray-700 mb-1">Password</label>
|
||||
<div className="relative">
|
||||
<input
|
||||
type={showPassword ? "text" : "password"}
|
||||
placeholder="••••••••"
|
||||
value={loginPassword}
|
||||
onChange={(e) => setLoginPassword(e.target.value)}
|
||||
className="w-full border rounded-lg px-3 py-2 pr-10 text-sm focus:outline-none focus:ring-2 focus:ring-cyan-500"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
tabIndex={-1}
|
||||
onClick={() => setShowPassword((p) => !p)}
|
||||
className="absolute inset-y-0 right-3 flex items-center text-gray-400 hover:text-gray-600"
|
||||
>
|
||||
{showPassword ? <EyeOff className="h-4 w-4" /> : <Eye className="h-4 w-4" />}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex justify-end gap-3 pt-2">
|
||||
<button
|
||||
type="button"
|
||||
onClick={onClose}
|
||||
disabled={mutation.isPending}
|
||||
className="text-sm text-gray-500 hover:underline"
|
||||
>
|
||||
Cancel
|
||||
</button>
|
||||
<button
|
||||
type="submit"
|
||||
disabled={mutation.isPending}
|
||||
className="bg-cyan-600 text-white text-sm px-5 py-2 rounded-lg hover:bg-cyan-700 disabled:opacity-50"
|
||||
>
|
||||
{mutation.isPending ? "Saving..." : defaultValues?.id ? "Update" : "Add Vendor"}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// ─── Page ──────────────────────────────────────────────────────────────────
|
||||
|
||||
export default function DentalShoppingLoginInfoPage() {
|
||||
const { user } = useAuth();
|
||||
const { toast } = useToast();
|
||||
const qc = useQueryClient();
|
||||
|
||||
const [modalOpen, setModalOpen] = useState(false);
|
||||
const [editingVendor, setEditingVendor] = useState<ShoppingVendor | null>(null);
|
||||
const [deleteTarget, setDeleteTarget] = useState<ShoppingVendor | null>(null);
|
||||
const [revealedIds, setRevealedIds] = useState<Set<number>>(new Set());
|
||||
|
||||
const { data: vendors = [], isLoading } = useQuery<ShoppingVendor[]>({
|
||||
queryKey: QUERY_KEY,
|
||||
queryFn: async () => {
|
||||
const res = await apiRequest("GET", "/api/shopping-vendors/");
|
||||
if (!res.ok) throw new Error("Failed to fetch vendors");
|
||||
return res.json();
|
||||
},
|
||||
});
|
||||
|
||||
const deleteMutation = useMutation({
|
||||
mutationFn: async (id: number) => {
|
||||
const res = await apiRequest("DELETE", `/api/shopping-vendors/${id}`);
|
||||
if (!res.ok) throw new Error("Failed to delete vendor");
|
||||
},
|
||||
onSuccess: () => {
|
||||
qc.invalidateQueries({ queryKey: QUERY_KEY });
|
||||
setDeleteTarget(null);
|
||||
toast({ title: "Vendor deleted." });
|
||||
},
|
||||
onError: (err: any) => {
|
||||
toast({ title: "Error", description: err.message, variant: "destructive" });
|
||||
},
|
||||
});
|
||||
|
||||
const toggleReveal = (id: number) => {
|
||||
setRevealedIds((prev) => {
|
||||
const next = new Set(prev);
|
||||
if (next.has(id)) next.delete(id);
|
||||
else next.add(id);
|
||||
return next;
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="p-6 max-w-4xl mx-auto">
|
||||
{/* Header */}
|
||||
<div className="flex items-center justify-between mb-6">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="p-2 rounded-lg bg-cyan-50">
|
||||
<KeyRound className="h-6 w-6 text-cyan-600" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-2xl font-semibold text-gray-800">Login Info</h1>
|
||||
<p className="text-sm text-gray-500">Manage login credentials for dental shopping websites</p>
|
||||
</div>
|
||||
</div>
|
||||
<Button
|
||||
onClick={() => { setEditingVendor(null); setModalOpen(true); }}
|
||||
className="bg-cyan-600 hover:bg-cyan-700 text-white"
|
||||
>
|
||||
<Plus className="h-4 w-4 mr-2" /> Add Vendor
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{/* Table */}
|
||||
<div className="bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden">
|
||||
{isLoading ? (
|
||||
<div className="py-16 text-center text-gray-400 text-sm">Loading...</div>
|
||||
) : vendors.length === 0 ? (
|
||||
<div className="py-16 flex flex-col items-center gap-3 text-center">
|
||||
<KeyRound className="h-10 w-10 text-gray-300" />
|
||||
<p className="text-gray-400 text-sm">No vendors saved yet. Click "Add Vendor" to get started.</p>
|
||||
</div>
|
||||
) : (
|
||||
<table className="min-w-full divide-y divide-gray-200">
|
||||
<thead className="bg-gray-50">
|
||||
<tr>
|
||||
<th className="px-5 py-3 text-left text-xs font-semibold text-gray-500 uppercase tracking-wider">Vendor</th>
|
||||
<th className="px-5 py-3 text-left text-xs font-semibold text-gray-500 uppercase tracking-wider">Website</th>
|
||||
<th className="px-5 py-3 text-left text-xs font-semibold text-gray-500 uppercase tracking-wider">Username / Email</th>
|
||||
<th className="px-5 py-3 text-left text-xs font-semibold text-gray-500 uppercase tracking-wider">Password</th>
|
||||
<th className="px-5 py-3" />
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody className="divide-y divide-gray-100">
|
||||
{vendors.map((v) => (
|
||||
<tr key={v.id} className="hover:bg-gray-50 transition-colors">
|
||||
<td className="px-5 py-3 font-medium text-gray-800 text-sm">{v.vendorName}</td>
|
||||
<td className="px-5 py-3 text-sm">
|
||||
<a
|
||||
href={v.websiteUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-cyan-600 hover:underline flex items-center gap-1"
|
||||
>
|
||||
{v.websiteUrl.replace(/^https?:\/\//, "")}
|
||||
<ExternalLink className="h-3 w-3 flex-shrink-0" />
|
||||
</a>
|
||||
</td>
|
||||
<td className="px-5 py-3 text-sm text-gray-600">{v.loginUsername}</td>
|
||||
<td className="px-5 py-3 text-sm text-gray-600">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="font-mono">
|
||||
{revealedIds.has(v.id) ? v.loginPassword : "••••••••"}
|
||||
</span>
|
||||
<button
|
||||
onClick={() => toggleReveal(v.id)}
|
||||
className="text-gray-400 hover:text-gray-600"
|
||||
title={revealedIds.has(v.id) ? "Hide password" : "Show password"}
|
||||
>
|
||||
{revealedIds.has(v.id) ? <EyeOff className="h-3.5 w-3.5" /> : <Eye className="h-3.5 w-3.5" />}
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
<td className="px-5 py-3 text-right">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={() => { setEditingVendor(v); setModalOpen(true); }}
|
||||
>
|
||||
<Pencil className="h-4 w-4 text-gray-500" />
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={() => setDeleteTarget(v)}
|
||||
>
|
||||
<Trash2 className="h-4 w-4 text-red-500" />
|
||||
</Button>
|
||||
</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Add/Edit Modal */}
|
||||
{modalOpen && user?.id != null && (
|
||||
<VendorModal
|
||||
userId={user.id as number}
|
||||
defaultValues={editingVendor ?? undefined}
|
||||
onClose={() => { setModalOpen(false); setEditingVendor(null); }}
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* Delete Confirm */}
|
||||
<DeleteConfirmationDialog
|
||||
isOpen={!!deleteTarget}
|
||||
onConfirm={() => deleteTarget && deleteMutation.mutate(deleteTarget.id)}
|
||||
onCancel={() => setDeleteTarget(null)}
|
||||
entityName={deleteTarget?.vendorName}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
import { ShoppingBag, Tag, Search } from "lucide-react";
|
||||
|
||||
export default function DentalShoppingSearchTagPage() {
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="flex items-center gap-3 mb-6">
|
||||
<div className="p-2 rounded-lg bg-cyan-50">
|
||||
<Search className="h-6 w-6 text-cyan-600" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-2xl font-semibold text-gray-800">Search / Tag</h1>
|
||||
<p className="text-sm text-gray-500">Compare, tag, and remember dental products</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="rounded-xl border border-dashed border-gray-300 bg-gray-50 flex flex-col items-center justify-center py-24 text-center">
|
||||
<div className="flex gap-3 mb-4">
|
||||
<ShoppingBag className="h-10 w-10 text-cyan-300" />
|
||||
<Tag className="h-10 w-10 text-cyan-300" />
|
||||
</div>
|
||||
<p className="text-gray-400 text-sm">
|
||||
Search, compare, tag, and save dental products — coming soon.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -271,6 +271,15 @@ exports.Prisma.InsuranceCredentialScalarFieldEnum = {
|
||||
password: 'password'
|
||||
};
|
||||
|
||||
exports.Prisma.ShoppingVendorScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
vendorName: 'vendorName',
|
||||
websiteUrl: 'websiteUrl',
|
||||
loginUsername: 'loginUsername',
|
||||
loginPassword: 'loginPassword'
|
||||
};
|
||||
|
||||
exports.Prisma.PdfGroupScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
@@ -619,6 +628,7 @@ exports.Prisma.ModelName = {
|
||||
ServiceLine: 'ServiceLine',
|
||||
ClaimFile: 'ClaimFile',
|
||||
InsuranceCredential: 'InsuranceCredential',
|
||||
ShoppingVendor: 'ShoppingVendor',
|
||||
PdfGroup: 'PdfGroup',
|
||||
PdfFile: 'PdfFile',
|
||||
Payment: 'Payment',
|
||||
|
||||
+1771
-1
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-399048034458d5be2d4dc2eb570e77ca5c8345feb86d4b43b05fbd0cbc08be01",
|
||||
"name": "prisma-client-763f714d62d731c0b365e1acdf19cac05ed4e6562d30b17cc8ffd11e6278eb14",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -30,6 +30,7 @@ model User {
|
||||
npiProviders NpiProvider[]
|
||||
claims Claim[]
|
||||
insuranceCredentials InsuranceCredential[]
|
||||
shoppingVendors ShoppingVendor[]
|
||||
updatedPayments Payment[] @relation("PaymentUpdatedBy")
|
||||
backups DatabaseBackup[]
|
||||
backupDestinations BackupDestination[]
|
||||
@@ -299,6 +300,19 @@ model InsuranceCredential {
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
model ShoppingVendor {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
vendorName String
|
||||
websiteUrl String
|
||||
loginUsername String
|
||||
loginPassword String
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
model PdfGroup {
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
|
||||
@@ -30,6 +30,7 @@ model User {
|
||||
npiProviders NpiProvider[]
|
||||
claims Claim[]
|
||||
insuranceCredentials InsuranceCredential[]
|
||||
shoppingVendors ShoppingVendor[]
|
||||
updatedPayments Payment[] @relation("PaymentUpdatedBy")
|
||||
backups DatabaseBackup[]
|
||||
backupDestinations BackupDestination[]
|
||||
@@ -300,6 +301,19 @@ model InsuranceCredential {
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
model ShoppingVendor {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
vendorName String
|
||||
websiteUrl String
|
||||
loginUsername String
|
||||
loginPassword String
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
model PdfGroup {
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"generatorVersion": "1.0.0",
|
||||
"generatedAt": "2026-05-16T03:17:00.434Z",
|
||||
"generatedAt": "2026-05-17T04:25:11.522Z",
|
||||
"outputPath": "/home/ee/Desktop/DentalManagementMH05/packages/db/shared",
|
||||
"files": [
|
||||
"schemas/enums/TransactionIsolationLevel.schema.ts",
|
||||
@@ -16,6 +16,7 @@
|
||||
"schemas/enums/ServiceLineScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/ClaimFileScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/InsuranceCredentialScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/ShoppingVendorScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/PdfGroupScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/PdfFileScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/PaymentScalarFieldEnum.schema.ts",
|
||||
@@ -111,6 +112,11 @@
|
||||
"schemas/objects/InsuranceCredentialWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorWhereInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/PdfGroupWhereInput.schema.ts",
|
||||
"schemas/objects/PdfGroupOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/PdfGroupWhereUniqueInput.schema.ts",
|
||||
@@ -298,6 +304,13 @@
|
||||
"schemas/objects/InsuranceCredentialCreateManyInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpdateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedUpdateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateManyInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/PdfGroupCreateInput.schema.ts",
|
||||
"schemas/objects/PdfGroupUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/PdfGroupUpdateInput.schema.ts",
|
||||
@@ -461,6 +474,7 @@
|
||||
"schemas/objects/NpiProviderListRelationFilter.schema.ts",
|
||||
"schemas/objects/ClaimListRelationFilter.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialListRelationFilter.schema.ts",
|
||||
"schemas/objects/ShoppingVendorListRelationFilter.schema.ts",
|
||||
"schemas/objects/PaymentListRelationFilter.schema.ts",
|
||||
"schemas/objects/DatabaseBackupListRelationFilter.schema.ts",
|
||||
"schemas/objects/BackupDestinationListRelationFilter.schema.ts",
|
||||
@@ -481,6 +495,7 @@
|
||||
"schemas/objects/NpiProviderOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/ClaimOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/PaymentOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/DatabaseBackupOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/BackupDestinationOrderByRelationAggregateInput.schema.ts",
|
||||
@@ -564,6 +579,7 @@
|
||||
"schemas/objects/EnumMissingTeethStatusFilter.schema.ts",
|
||||
"schemas/objects/JsonNullableFilter.schema.ts",
|
||||
"schemas/objects/EnumClaimStatusFilter.schema.ts",
|
||||
"schemas/objects/AppointmentNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/ServiceLineListRelationFilter.schema.ts",
|
||||
"schemas/objects/ClaimFileListRelationFilter.schema.ts",
|
||||
"schemas/objects/PaymentNullableScalarRelationFilter.schema.ts",
|
||||
@@ -601,6 +617,11 @@
|
||||
"schemas/objects/InsuranceCredentialMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/EnumPdfTitleKeyFilter.schema.ts",
|
||||
"schemas/objects/PdfFileListRelationFilter.schema.ts",
|
||||
"schemas/objects/PdfFileOrderByRelationAggregateInput.schema.ts",
|
||||
@@ -753,6 +774,7 @@
|
||||
"schemas/objects/NpiProviderCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ClaimCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PaymentCreateNestedManyWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/DatabaseBackupCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/BackupDestinationCreateNestedManyWithoutUserInput.schema.ts",
|
||||
@@ -773,6 +795,7 @@
|
||||
"schemas/objects/NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ClaimUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
@@ -795,6 +818,7 @@
|
||||
"schemas/objects/NpiProviderUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/ClaimUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/PaymentUpdateManyWithoutUpdatedByNestedInput.schema.ts",
|
||||
"schemas/objects/DatabaseBackupUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/BackupDestinationUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
@@ -816,6 +840,7 @@
|
||||
"schemas/objects/NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/ClaimUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema.ts",
|
||||
"schemas/objects/DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
@@ -939,7 +964,7 @@
|
||||
"schemas/objects/EnumMissingTeethStatusFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/EnumClaimStatusFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateOneRequiredWithoutClaimsNestedInput.schema.ts",
|
||||
"schemas/objects/AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema.ts",
|
||||
"schemas/objects/AppointmentUpdateOneWithoutClaimsNestedInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneWithoutClaimsNestedInput.schema.ts",
|
||||
"schemas/objects/StaffUpdateOneWithoutClaimsNestedInput.schema.ts",
|
||||
"schemas/objects/NpiProviderUpdateOneWithoutClaimsNestedInput.schema.ts",
|
||||
@@ -963,6 +988,8 @@
|
||||
"schemas/objects/ClaimUpdateOneRequiredWithoutClaimFilesNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutInsuranceCredentialsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema.ts",
|
||||
"schemas/objects/PatientCreateNestedOneWithoutGroupsInput.schema.ts",
|
||||
"schemas/objects/PdfFileCreateNestedManyWithoutGroupInput.schema.ts",
|
||||
"schemas/objects/PdfFileUncheckedCreateNestedManyWithoutGroupInput.schema.ts",
|
||||
@@ -1138,6 +1165,10 @@
|
||||
"schemas/objects/InsuranceCredentialUncheckedCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialCreateOrConnectWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialCreateManyUserInputEnvelope.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateOrConnectWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateManyUserInputEnvelope.schema.ts",
|
||||
"schemas/objects/PaymentCreateWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/PaymentUncheckedCreateWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/PaymentCreateOrConnectWithoutUpdatedByInput.schema.ts",
|
||||
@@ -1213,6 +1244,10 @@
|
||||
"schemas/objects/InsuranceCredentialUpdateWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUpdateManyWithWhereWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialScalarWhereInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorScalarWhereInput.schema.ts",
|
||||
"schemas/objects/PaymentUpsertWithWhereUniqueWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/PaymentUpdateWithWhereUniqueWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/PaymentUpdateManyWithWhereWithoutUpdatedByInput.schema.ts",
|
||||
@@ -1557,6 +1592,13 @@
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutInsuranceCredentialsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutInsuranceCredentialsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema.ts",
|
||||
"schemas/objects/UserCreateWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserCreateOrConnectWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserUpsertWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutShoppingVendorsInput.schema.ts",
|
||||
"schemas/objects/PatientCreateWithoutGroupsInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedCreateWithoutGroupsInput.schema.ts",
|
||||
"schemas/objects/PatientCreateOrConnectWithoutGroupsInput.schema.ts",
|
||||
@@ -1832,6 +1874,7 @@
|
||||
"schemas/objects/NpiProviderCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/ClaimCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/PaymentCreateManyUpdatedByInput.schema.ts",
|
||||
"schemas/objects/DatabaseBackupCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/BackupDestinationCreateManyUserInput.schema.ts",
|
||||
@@ -1859,6 +1902,9 @@
|
||||
"schemas/objects/InsuranceCredentialUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialUncheckedUpdateManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PaymentUpdateWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/PaymentUncheckedUpdateWithoutUpdatedByInput.schema.ts",
|
||||
"schemas/objects/PaymentUncheckedUpdateManyWithoutUpdatedByInput.schema.ts",
|
||||
@@ -2049,6 +2095,11 @@
|
||||
"schemas/objects/InsuranceCredentialSumAggregateInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialMinAggregateInput.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorCountAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorSumAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorMinAggregateInput.schema.ts",
|
||||
"schemas/objects/ShoppingVendorMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/PdfGroupCountAggregateInput.schema.ts",
|
||||
"schemas/objects/PdfGroupAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/PdfGroupSumAggregateInput.schema.ts",
|
||||
@@ -2178,6 +2229,7 @@
|
||||
"schemas/objects/UserCountOutputTypeCountNpiProvidersArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountClaimsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountInsuranceCredentialsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountShoppingVendorsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountUpdatedPaymentsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountBackupsArgs.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeCountBackupDestinationsArgs.schema.ts",
|
||||
@@ -2236,6 +2288,7 @@
|
||||
"schemas/objects/ServiceLineSelect.schema.ts",
|
||||
"schemas/objects/ClaimFileSelect.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialSelect.schema.ts",
|
||||
"schemas/objects/ShoppingVendorSelect.schema.ts",
|
||||
"schemas/objects/PdfGroupSelect.schema.ts",
|
||||
"schemas/objects/PdfFileSelect.schema.ts",
|
||||
"schemas/objects/PaymentSelect.schema.ts",
|
||||
@@ -2269,6 +2322,7 @@
|
||||
"schemas/objects/ServiceLineArgs.schema.ts",
|
||||
"schemas/objects/ClaimFileArgs.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialArgs.schema.ts",
|
||||
"schemas/objects/ShoppingVendorArgs.schema.ts",
|
||||
"schemas/objects/PdfGroupArgs.schema.ts",
|
||||
"schemas/objects/PdfFileArgs.schema.ts",
|
||||
"schemas/objects/PaymentArgs.schema.ts",
|
||||
@@ -2302,6 +2356,7 @@
|
||||
"schemas/objects/ServiceLineInclude.schema.ts",
|
||||
"schemas/objects/ClaimFileInclude.schema.ts",
|
||||
"schemas/objects/InsuranceCredentialInclude.schema.ts",
|
||||
"schemas/objects/ShoppingVendorInclude.schema.ts",
|
||||
"schemas/objects/PdfGroupInclude.schema.ts",
|
||||
"schemas/objects/PdfFileInclude.schema.ts",
|
||||
"schemas/objects/PaymentInclude.schema.ts",
|
||||
@@ -2510,6 +2565,23 @@
|
||||
"schemas/upsertOneInsuranceCredential.schema.ts",
|
||||
"schemas/aggregateInsuranceCredential.schema.ts",
|
||||
"schemas/groupByInsuranceCredential.schema.ts",
|
||||
"schemas/findUniqueShoppingVendor.schema.ts",
|
||||
"schemas/findUniqueOrThrowShoppingVendor.schema.ts",
|
||||
"schemas/findFirstShoppingVendor.schema.ts",
|
||||
"schemas/findFirstOrThrowShoppingVendor.schema.ts",
|
||||
"schemas/findManyShoppingVendor.schema.ts",
|
||||
"schemas/countShoppingVendor.schema.ts",
|
||||
"schemas/createOneShoppingVendor.schema.ts",
|
||||
"schemas/createManyShoppingVendor.schema.ts",
|
||||
"schemas/createManyAndReturnShoppingVendor.schema.ts",
|
||||
"schemas/deleteOneShoppingVendor.schema.ts",
|
||||
"schemas/deleteManyShoppingVendor.schema.ts",
|
||||
"schemas/updateOneShoppingVendor.schema.ts",
|
||||
"schemas/updateManyShoppingVendor.schema.ts",
|
||||
"schemas/updateManyAndReturnShoppingVendor.schema.ts",
|
||||
"schemas/upsertOneShoppingVendor.schema.ts",
|
||||
"schemas/aggregateShoppingVendor.schema.ts",
|
||||
"schemas/groupByShoppingVendor.schema.ts",
|
||||
"schemas/findUniquePdfGroup.schema.ts",
|
||||
"schemas/findUniqueOrThrowPdfGroup.schema.ts",
|
||||
"schemas/findFirstPdfGroup.schema.ts",
|
||||
@@ -3027,6 +3099,19 @@
|
||||
"schemas/results/InsuranceCredentialAggregateResult.schema.ts",
|
||||
"schemas/results/InsuranceCredentialGroupByResult.schema.ts",
|
||||
"schemas/results/InsuranceCredentialCountResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorFindUniqueResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorFindFirstResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorFindManyResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorCreateResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorCreateManyResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorUpdateResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorUpdateManyResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorUpsertResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorDeleteResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorDeleteManyResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorAggregateResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorGroupByResult.schema.ts",
|
||||
"schemas/results/ShoppingVendorCountResult.schema.ts",
|
||||
"schemas/results/PdfGroupFindUniqueResult.schema.ts",
|
||||
"schemas/results/PdfGroupFindFirstResult.schema.ts",
|
||||
"schemas/results/PdfGroupFindManyResult.schema.ts",
|
||||
@@ -3326,6 +3411,7 @@
|
||||
"schemas/variants/pure/ServiceLine.pure.ts",
|
||||
"schemas/variants/pure/ClaimFile.pure.ts",
|
||||
"schemas/variants/pure/InsuranceCredential.pure.ts",
|
||||
"schemas/variants/pure/ShoppingVendor.pure.ts",
|
||||
"schemas/variants/pure/PdfGroup.pure.ts",
|
||||
"schemas/variants/pure/PdfFile.pure.ts",
|
||||
"schemas/variants/pure/Payment.pure.ts",
|
||||
@@ -3360,6 +3446,7 @@
|
||||
"schemas/variants/input/ServiceLine.input.ts",
|
||||
"schemas/variants/input/ClaimFile.input.ts",
|
||||
"schemas/variants/input/InsuranceCredential.input.ts",
|
||||
"schemas/variants/input/ShoppingVendor.input.ts",
|
||||
"schemas/variants/input/PdfGroup.input.ts",
|
||||
"schemas/variants/input/PdfFile.input.ts",
|
||||
"schemas/variants/input/Payment.input.ts",
|
||||
@@ -3394,6 +3481,7 @@
|
||||
"schemas/variants/result/ServiceLine.result.ts",
|
||||
"schemas/variants/result/ClaimFile.result.ts",
|
||||
"schemas/variants/result/InsuranceCredential.result.ts",
|
||||
"schemas/variants/result/ShoppingVendor.result.ts",
|
||||
"schemas/variants/result/PdfGroup.result.ts",
|
||||
"schemas/variants/result/PdfFile.result.ts",
|
||||
"schemas/variants/result/Payment.result.ts",
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorOrderByWithRelationInputObjectSchema as ShoppingVendorOrderByWithRelationInputObjectSchema } from './objects/ShoppingVendorOrderByWithRelationInput.schema';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorCountAggregateInputObjectSchema as ShoppingVendorCountAggregateInputObjectSchema } from './objects/ShoppingVendorCountAggregateInput.schema';
|
||||
import { ShoppingVendorMinAggregateInputObjectSchema as ShoppingVendorMinAggregateInputObjectSchema } from './objects/ShoppingVendorMinAggregateInput.schema';
|
||||
import { ShoppingVendorMaxAggregateInputObjectSchema as ShoppingVendorMaxAggregateInputObjectSchema } from './objects/ShoppingVendorMaxAggregateInput.schema';
|
||||
import { ShoppingVendorAvgAggregateInputObjectSchema as ShoppingVendorAvgAggregateInputObjectSchema } from './objects/ShoppingVendorAvgAggregateInput.schema';
|
||||
import { ShoppingVendorSumAggregateInputObjectSchema as ShoppingVendorSumAggregateInputObjectSchema } from './objects/ShoppingVendorSumAggregateInput.schema';
|
||||
|
||||
export const ShoppingVendorAggregateSchema: z.ZodType<Prisma.ShoppingVendorAggregateArgs> = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ShoppingVendorCountAggregateInputObjectSchema ]).optional(), _min: ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorAggregateArgs>;
|
||||
|
||||
export const ShoppingVendorAggregateZodSchema = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), ShoppingVendorCountAggregateInputObjectSchema ]).optional(), _min: ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorOrderByWithRelationInputObjectSchema as ShoppingVendorOrderByWithRelationInputObjectSchema } from './objects/ShoppingVendorOrderByWithRelationInput.schema';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorCountAggregateInputObjectSchema as ShoppingVendorCountAggregateInputObjectSchema } from './objects/ShoppingVendorCountAggregateInput.schema';
|
||||
|
||||
export const ShoppingVendorCountSchema: z.ZodType<Prisma.ShoppingVendorCountArgs> = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), ShoppingVendorCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorCountArgs>;
|
||||
|
||||
export const ShoppingVendorCountZodSchema = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), ShoppingVendorCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -0,0 +1,8 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorSelectObjectSchema as ShoppingVendorSelectObjectSchema } from './objects/ShoppingVendorSelect.schema';
|
||||
import { ShoppingVendorCreateManyInputObjectSchema as ShoppingVendorCreateManyInputObjectSchema } from './objects/ShoppingVendorCreateManyInput.schema';
|
||||
|
||||
export const ShoppingVendorCreateManyAndReturnSchema: z.ZodType<Prisma.ShoppingVendorCreateManyAndReturnArgs> = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), data: z.union([ ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorCreateManyAndReturnArgs>;
|
||||
|
||||
export const ShoppingVendorCreateManyAndReturnZodSchema = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), data: z.union([ ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorCreateManyInputObjectSchema as ShoppingVendorCreateManyInputObjectSchema } from './objects/ShoppingVendorCreateManyInput.schema';
|
||||
|
||||
export const ShoppingVendorCreateManySchema: z.ZodType<Prisma.ShoppingVendorCreateManyArgs> = z.object({ data: z.union([ ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorCreateManyArgs>;
|
||||
|
||||
export const ShoppingVendorCreateManyZodSchema = z.object({ data: z.union([ ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorSelectObjectSchema as ShoppingVendorSelectObjectSchema } from './objects/ShoppingVendorSelect.schema';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorCreateInputObjectSchema as ShoppingVendorCreateInputObjectSchema } from './objects/ShoppingVendorCreateInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateInputObjectSchema as ShoppingVendorUncheckedCreateInputObjectSchema } from './objects/ShoppingVendorUncheckedCreateInput.schema';
|
||||
|
||||
export const ShoppingVendorCreateOneSchema: z.ZodType<Prisma.ShoppingVendorCreateArgs> = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), data: z.union([ShoppingVendorCreateInputObjectSchema, ShoppingVendorUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorCreateArgs>;
|
||||
|
||||
export const ShoppingVendorCreateOneZodSchema = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), data: z.union([ShoppingVendorCreateInputObjectSchema, ShoppingVendorUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
|
||||
export const ShoppingVendorDeleteManySchema: z.ZodType<Prisma.ShoppingVendorDeleteManyArgs> = z.object({ where: ShoppingVendorWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorDeleteManyArgs>;
|
||||
|
||||
export const ShoppingVendorDeleteManyZodSchema = z.object({ where: ShoppingVendorWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorSelectObjectSchema as ShoppingVendorSelectObjectSchema } from './objects/ShoppingVendorSelect.schema';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
|
||||
export const ShoppingVendorDeleteOneSchema: z.ZodType<Prisma.ShoppingVendorDeleteArgs> = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorDeleteArgs>;
|
||||
|
||||
export const ShoppingVendorDeleteOneZodSchema = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,5 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const ShoppingVendorScalarFieldEnumSchema = z.enum(['id', 'userId', 'vendorName', 'websiteUrl', 'loginUsername', 'loginPassword'])
|
||||
|
||||
export type ShoppingVendorScalarFieldEnum = z.infer<typeof ShoppingVendorScalarFieldEnumSchema>;
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorOrderByWithRelationInputObjectSchema as ShoppingVendorOrderByWithRelationInputObjectSchema } from './objects/ShoppingVendorOrderByWithRelationInput.schema';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorScalarFieldEnumSchema } from './enums/ShoppingVendorScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const ShoppingVendorFindFirstOrThrowSelectSchema: z.ZodType<Prisma.ShoppingVendorSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.ShoppingVendorSelect>;
|
||||
|
||||
export const ShoppingVendorFindFirstOrThrowSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const ShoppingVendorFindFirstOrThrowSchema: z.ZodType<Prisma.ShoppingVendorFindFirstOrThrowArgs> = z.object({ select: ShoppingVendorFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorFindFirstOrThrowArgs>;
|
||||
|
||||
export const ShoppingVendorFindFirstOrThrowZodSchema = z.object({ select: ShoppingVendorFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -21,6 +21,7 @@ export const UserFindFirstOrThrowSelectSchema: z.ZodType<Prisma.UserSelect> = z.
|
||||
npiProviders: z.boolean().optional(),
|
||||
claims: z.boolean().optional(),
|
||||
insuranceCredentials: z.boolean().optional(),
|
||||
shoppingVendors: z.boolean().optional(),
|
||||
updatedPayments: z.boolean().optional(),
|
||||
backups: z.boolean().optional(),
|
||||
backupDestinations: z.boolean().optional(),
|
||||
@@ -50,6 +51,7 @@ export const UserFindFirstOrThrowSelectZodSchema = z.object({
|
||||
npiProviders: z.boolean().optional(),
|
||||
claims: z.boolean().optional(),
|
||||
insuranceCredentials: z.boolean().optional(),
|
||||
shoppingVendors: z.boolean().optional(),
|
||||
updatedPayments: z.boolean().optional(),
|
||||
backups: z.boolean().optional(),
|
||||
backupDestinations: z.boolean().optional(),
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorOrderByWithRelationInputObjectSchema as ShoppingVendorOrderByWithRelationInputObjectSchema } from './objects/ShoppingVendorOrderByWithRelationInput.schema';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorScalarFieldEnumSchema } from './enums/ShoppingVendorScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const ShoppingVendorFindFirstSelectSchema: z.ZodType<Prisma.ShoppingVendorSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.ShoppingVendorSelect>;
|
||||
|
||||
export const ShoppingVendorFindFirstSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const ShoppingVendorFindFirstSchema: z.ZodType<Prisma.ShoppingVendorFindFirstArgs> = z.object({ select: ShoppingVendorFindFirstSelectSchema.optional(), include: z.lazy(() => ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorFindFirstArgs>;
|
||||
|
||||
export const ShoppingVendorFindFirstZodSchema = z.object({ select: ShoppingVendorFindFirstSelectSchema.optional(), include: z.lazy(() => ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -21,6 +21,7 @@ export const UserFindFirstSelectSchema: z.ZodType<Prisma.UserSelect> = z.object(
|
||||
npiProviders: z.boolean().optional(),
|
||||
claims: z.boolean().optional(),
|
||||
insuranceCredentials: z.boolean().optional(),
|
||||
shoppingVendors: z.boolean().optional(),
|
||||
updatedPayments: z.boolean().optional(),
|
||||
backups: z.boolean().optional(),
|
||||
backupDestinations: z.boolean().optional(),
|
||||
@@ -50,6 +51,7 @@ export const UserFindFirstSelectZodSchema = z.object({
|
||||
npiProviders: z.boolean().optional(),
|
||||
claims: z.boolean().optional(),
|
||||
insuranceCredentials: z.boolean().optional(),
|
||||
shoppingVendors: z.boolean().optional(),
|
||||
updatedPayments: z.boolean().optional(),
|
||||
backups: z.boolean().optional(),
|
||||
backupDestinations: z.boolean().optional(),
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorOrderByWithRelationInputObjectSchema as ShoppingVendorOrderByWithRelationInputObjectSchema } from './objects/ShoppingVendorOrderByWithRelationInput.schema';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorScalarFieldEnumSchema } from './enums/ShoppingVendorScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const ShoppingVendorFindManySelectSchema: z.ZodType<Prisma.ShoppingVendorSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.ShoppingVendorSelect>;
|
||||
|
||||
export const ShoppingVendorFindManySelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const ShoppingVendorFindManySchema: z.ZodType<Prisma.ShoppingVendorFindManyArgs> = z.object({ select: ShoppingVendorFindManySelectSchema.optional(), include: z.lazy(() => ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorFindManyArgs>;
|
||||
|
||||
export const ShoppingVendorFindManyZodSchema = z.object({ select: ShoppingVendorFindManySelectSchema.optional(), include: z.lazy(() => ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -21,6 +21,7 @@ export const UserFindManySelectSchema: z.ZodType<Prisma.UserSelect> = z.object({
|
||||
npiProviders: z.boolean().optional(),
|
||||
claims: z.boolean().optional(),
|
||||
insuranceCredentials: z.boolean().optional(),
|
||||
shoppingVendors: z.boolean().optional(),
|
||||
updatedPayments: z.boolean().optional(),
|
||||
backups: z.boolean().optional(),
|
||||
backupDestinations: z.boolean().optional(),
|
||||
@@ -50,6 +51,7 @@ export const UserFindManySelectZodSchema = z.object({
|
||||
npiProviders: z.boolean().optional(),
|
||||
claims: z.boolean().optional(),
|
||||
insuranceCredentials: z.boolean().optional(),
|
||||
shoppingVendors: z.boolean().optional(),
|
||||
updatedPayments: z.boolean().optional(),
|
||||
backups: z.boolean().optional(),
|
||||
backupDestinations: z.boolean().optional(),
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorSelectObjectSchema as ShoppingVendorSelectObjectSchema } from './objects/ShoppingVendorSelect.schema';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
|
||||
export const ShoppingVendorFindUniqueOrThrowSchema: z.ZodType<Prisma.ShoppingVendorFindUniqueOrThrowArgs> = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorFindUniqueOrThrowArgs>;
|
||||
|
||||
export const ShoppingVendorFindUniqueOrThrowZodSchema = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorSelectObjectSchema as ShoppingVendorSelectObjectSchema } from './objects/ShoppingVendorSelect.schema';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './objects/ShoppingVendorInclude.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './objects/ShoppingVendorWhereUniqueInput.schema';
|
||||
|
||||
export const ShoppingVendorFindUniqueSchema: z.ZodType<Prisma.ShoppingVendorFindUniqueArgs> = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorFindUniqueArgs>;
|
||||
|
||||
export const ShoppingVendorFindUniqueZodSchema = z.object({ select: ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,15 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './objects/ShoppingVendorWhereInput.schema';
|
||||
import { ShoppingVendorOrderByWithAggregationInputObjectSchema as ShoppingVendorOrderByWithAggregationInputObjectSchema } from './objects/ShoppingVendorOrderByWithAggregationInput.schema';
|
||||
import { ShoppingVendorScalarWhereWithAggregatesInputObjectSchema as ShoppingVendorScalarWhereWithAggregatesInputObjectSchema } from './objects/ShoppingVendorScalarWhereWithAggregatesInput.schema';
|
||||
import { ShoppingVendorScalarFieldEnumSchema } from './enums/ShoppingVendorScalarFieldEnum.schema';
|
||||
import { ShoppingVendorCountAggregateInputObjectSchema as ShoppingVendorCountAggregateInputObjectSchema } from './objects/ShoppingVendorCountAggregateInput.schema';
|
||||
import { ShoppingVendorMinAggregateInputObjectSchema as ShoppingVendorMinAggregateInputObjectSchema } from './objects/ShoppingVendorMinAggregateInput.schema';
|
||||
import { ShoppingVendorMaxAggregateInputObjectSchema as ShoppingVendorMaxAggregateInputObjectSchema } from './objects/ShoppingVendorMaxAggregateInput.schema';
|
||||
import { ShoppingVendorAvgAggregateInputObjectSchema as ShoppingVendorAvgAggregateInputObjectSchema } from './objects/ShoppingVendorAvgAggregateInput.schema';
|
||||
import { ShoppingVendorSumAggregateInputObjectSchema as ShoppingVendorSumAggregateInputObjectSchema } from './objects/ShoppingVendorSumAggregateInput.schema';
|
||||
|
||||
export const ShoppingVendorGroupBySchema: z.ZodType<Prisma.ShoppingVendorGroupByArgs> = z.object({ where: ShoppingVendorWhereInputObjectSchema.optional(), orderBy: z.union([ShoppingVendorOrderByWithAggregationInputObjectSchema, ShoppingVendorOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ShoppingVendorScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ShoppingVendorScalarFieldEnumSchema), _count: z.union([ z.literal(true), ShoppingVendorCountAggregateInputObjectSchema ]).optional(), _min: ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.ShoppingVendorGroupByArgs>;
|
||||
|
||||
export const ShoppingVendorGroupByZodSchema = z.object({ where: ShoppingVendorWhereInputObjectSchema.optional(), orderBy: z.union([ShoppingVendorOrderByWithAggregationInputObjectSchema, ShoppingVendorOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ShoppingVendorScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ShoppingVendorScalarFieldEnumSchema), _count: z.union([ z.literal(true), ShoppingVendorCountAggregateInputObjectSchema ]).optional(), _min: ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -10,6 +10,7 @@ export * from './enums/ClaimScalarFieldEnum.schema'
|
||||
export * from './enums/ServiceLineScalarFieldEnum.schema'
|
||||
export * from './enums/ClaimFileScalarFieldEnum.schema'
|
||||
export * from './enums/InsuranceCredentialScalarFieldEnum.schema'
|
||||
export * from './enums/ShoppingVendorScalarFieldEnum.schema'
|
||||
export * from './enums/PdfGroupScalarFieldEnum.schema'
|
||||
export * from './enums/PdfFileScalarFieldEnum.schema'
|
||||
export * from './enums/PaymentScalarFieldEnum.schema'
|
||||
@@ -237,6 +238,23 @@ export * from './updateManyAndReturnInsuranceCredential.schema'
|
||||
export * from './upsertOneInsuranceCredential.schema'
|
||||
export * from './aggregateInsuranceCredential.schema'
|
||||
export * from './groupByInsuranceCredential.schema'
|
||||
export * from './findUniqueShoppingVendor.schema'
|
||||
export * from './findUniqueOrThrowShoppingVendor.schema'
|
||||
export * from './findFirstShoppingVendor.schema'
|
||||
export * from './findFirstOrThrowShoppingVendor.schema'
|
||||
export * from './findManyShoppingVendor.schema'
|
||||
export * from './countShoppingVendor.schema'
|
||||
export * from './createOneShoppingVendor.schema'
|
||||
export * from './createManyShoppingVendor.schema'
|
||||
export * from './createManyAndReturnShoppingVendor.schema'
|
||||
export * from './deleteOneShoppingVendor.schema'
|
||||
export * from './deleteManyShoppingVendor.schema'
|
||||
export * from './updateOneShoppingVendor.schema'
|
||||
export * from './updateManyShoppingVendor.schema'
|
||||
export * from './updateManyAndReturnShoppingVendor.schema'
|
||||
export * from './upsertOneShoppingVendor.schema'
|
||||
export * from './aggregateShoppingVendor.schema'
|
||||
export * from './groupByShoppingVendor.schema'
|
||||
export * from './findUniquePdfGroup.schema'
|
||||
export * from './findUniqueOrThrowPdfGroup.schema'
|
||||
export * from './findFirstPdfGroup.schema'
|
||||
@@ -754,6 +772,19 @@ export * from './results/InsuranceCredentialDeleteManyResult.schema'
|
||||
export * from './results/InsuranceCredentialAggregateResult.schema'
|
||||
export * from './results/InsuranceCredentialGroupByResult.schema'
|
||||
export * from './results/InsuranceCredentialCountResult.schema'
|
||||
export * from './results/ShoppingVendorFindUniqueResult.schema'
|
||||
export * from './results/ShoppingVendorFindFirstResult.schema'
|
||||
export * from './results/ShoppingVendorFindManyResult.schema'
|
||||
export * from './results/ShoppingVendorCreateResult.schema'
|
||||
export * from './results/ShoppingVendorCreateManyResult.schema'
|
||||
export * from './results/ShoppingVendorUpdateResult.schema'
|
||||
export * from './results/ShoppingVendorUpdateManyResult.schema'
|
||||
export * from './results/ShoppingVendorUpsertResult.schema'
|
||||
export * from './results/ShoppingVendorDeleteResult.schema'
|
||||
export * from './results/ShoppingVendorDeleteManyResult.schema'
|
||||
export * from './results/ShoppingVendorAggregateResult.schema'
|
||||
export * from './results/ShoppingVendorGroupByResult.schema'
|
||||
export * from './results/ShoppingVendorCountResult.schema'
|
||||
export * from './results/PdfGroupFindUniqueResult.schema'
|
||||
export * from './results/PdfGroupFindFirstResult.schema'
|
||||
export * from './results/PdfGroupFindManyResult.schema'
|
||||
@@ -1053,6 +1084,7 @@ export * from './variants/pure/Claim.pure'
|
||||
export * from './variants/pure/ServiceLine.pure'
|
||||
export * from './variants/pure/ClaimFile.pure'
|
||||
export * from './variants/pure/InsuranceCredential.pure'
|
||||
export * from './variants/pure/ShoppingVendor.pure'
|
||||
export * from './variants/pure/PdfGroup.pure'
|
||||
export * from './variants/pure/PdfFile.pure'
|
||||
export * from './variants/pure/Payment.pure'
|
||||
@@ -1087,6 +1119,7 @@ export * from './variants/input/Claim.input'
|
||||
export * from './variants/input/ServiceLine.input'
|
||||
export * from './variants/input/ClaimFile.input'
|
||||
export * from './variants/input/InsuranceCredential.input'
|
||||
export * from './variants/input/ShoppingVendor.input'
|
||||
export * from './variants/input/PdfGroup.input'
|
||||
export * from './variants/input/PdfFile.input'
|
||||
export * from './variants/input/Payment.input'
|
||||
@@ -1121,6 +1154,7 @@ export * from './variants/result/Claim.result'
|
||||
export * from './variants/result/ServiceLine.result'
|
||||
export * from './variants/result/ClaimFile.result'
|
||||
export * from './variants/result/InsuranceCredential.result'
|
||||
export * from './variants/result/ShoppingVendor.result'
|
||||
export * from './variants/result/PdfGroup.result'
|
||||
export * from './variants/result/PdfFile.result'
|
||||
export * from './variants/result/Payment.result'
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorSelectObjectSchema as ShoppingVendorSelectObjectSchema } from './ShoppingVendorSelect.schema';
|
||||
import { ShoppingVendorIncludeObjectSchema as ShoppingVendorIncludeObjectSchema } from './ShoppingVendorInclude.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
select: z.lazy(() => ShoppingVendorSelectObjectSchema).optional(),
|
||||
include: z.lazy(() => ShoppingVendorIncludeObjectSchema).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorArgsObjectSchema = makeSchema();
|
||||
export const ShoppingVendorArgsObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorAvgAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorAvgAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorAvgAggregateInputType>;
|
||||
export const ShoppingVendorAvgAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorAvgOrderByAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorAvgOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorAvgOrderByAggregateInput>;
|
||||
export const ShoppingVendorAvgOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional(),
|
||||
vendorName: z.literal(true).optional(),
|
||||
websiteUrl: z.literal(true).optional(),
|
||||
loginUsername: z.literal(true).optional(),
|
||||
loginPassword: z.literal(true).optional(),
|
||||
_all: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorCountAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCountAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCountAggregateInputType>;
|
||||
export const ShoppingVendorCountAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
vendorName: SortOrderSchema.optional(),
|
||||
websiteUrl: SortOrderSchema.optional(),
|
||||
loginUsername: SortOrderSchema.optional(),
|
||||
loginPassword: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorCountOrderByAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCountOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCountOrderByAggregateInput>;
|
||||
export const ShoppingVendorCountOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema as UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema } from './UserCreateNestedOneWithoutShoppingVendorsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema)
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateInput>;
|
||||
export const ShoppingVendorCreateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string()
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateManyInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateManyInput>;
|
||||
export const ShoppingVendorCreateManyInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string()
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateManyUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateManyUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateManyUserInput>;
|
||||
export const ShoppingVendorCreateManyUserInputObjectZodSchema = makeSchema();
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorCreateManyUserInputObjectSchema as ShoppingVendorCreateManyUserInputObjectSchema } from './ShoppingVendorCreateManyUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
data: z.union([z.lazy(() => ShoppingVendorCreateManyUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateManyUserInputObjectSchema).array()]),
|
||||
skipDuplicates: z.boolean().optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateManyUserInputEnvelopeObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateManyUserInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateManyUserInputEnvelope>;
|
||||
export const ShoppingVendorCreateManyUserInputEnvelopeObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorCreateWithoutUserInputObjectSchema as ShoppingVendorCreateWithoutUserInputObjectSchema } from './ShoppingVendorCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema as ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema as ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema } from './ShoppingVendorCreateOrConnectWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateManyUserInputEnvelopeObjectSchema as ShoppingVendorCreateManyUserInputEnvelopeObjectSchema } from './ShoppingVendorCreateManyUserInputEnvelope.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateNestedManyWithoutUserInput>;
|
||||
export const ShoppingVendorCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorCreateWithoutUserInputObjectSchema as ShoppingVendorCreateWithoutUserInputObjectSchema } from './ShoppingVendorCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema as ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedCreateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateOrConnectWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateOrConnectWithoutUserInput>;
|
||||
export const ShoppingVendorCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string()
|
||||
}).strict();
|
||||
export const ShoppingVendorCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorCreateWithoutUserInput>;
|
||||
export const ShoppingVendorCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserArgsObjectSchema as UserArgsObjectSchema } from './UserArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorIncludeObjectSchema: z.ZodType<Prisma.ShoppingVendorInclude> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorInclude>;
|
||||
export const ShoppingVendorIncludeObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './ShoppingVendorWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
every: z.lazy(() => ShoppingVendorWhereInputObjectSchema).optional(),
|
||||
some: z.lazy(() => ShoppingVendorWhereInputObjectSchema).optional(),
|
||||
none: z.lazy(() => ShoppingVendorWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorListRelationFilterObjectSchema: z.ZodType<Prisma.ShoppingVendorListRelationFilter> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorListRelationFilter>;
|
||||
export const ShoppingVendorListRelationFilterObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional(),
|
||||
vendorName: z.literal(true).optional(),
|
||||
websiteUrl: z.literal(true).optional(),
|
||||
loginUsername: z.literal(true).optional(),
|
||||
loginPassword: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorMaxAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorMaxAggregateInputType>;
|
||||
export const ShoppingVendorMaxAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
vendorName: SortOrderSchema.optional(),
|
||||
websiteUrl: SortOrderSchema.optional(),
|
||||
loginUsername: SortOrderSchema.optional(),
|
||||
loginPassword: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorMaxOrderByAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorMaxOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorMaxOrderByAggregateInput>;
|
||||
export const ShoppingVendorMaxOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional(),
|
||||
vendorName: z.literal(true).optional(),
|
||||
websiteUrl: z.literal(true).optional(),
|
||||
loginUsername: z.literal(true).optional(),
|
||||
loginPassword: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorMinAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorMinAggregateInputType>;
|
||||
export const ShoppingVendorMinAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
vendorName: SortOrderSchema.optional(),
|
||||
websiteUrl: SortOrderSchema.optional(),
|
||||
loginUsername: SortOrderSchema.optional(),
|
||||
loginPassword: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorMinOrderByAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorMinOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorMinOrderByAggregateInput>;
|
||||
export const ShoppingVendorMinOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
_count: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorOrderByRelationAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorOrderByRelationAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorOrderByRelationAggregateInput>;
|
||||
export const ShoppingVendorOrderByRelationAggregateInputObjectZodSchema = makeSchema();
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { ShoppingVendorCountOrderByAggregateInputObjectSchema as ShoppingVendorCountOrderByAggregateInputObjectSchema } from './ShoppingVendorCountOrderByAggregateInput.schema';
|
||||
import { ShoppingVendorAvgOrderByAggregateInputObjectSchema as ShoppingVendorAvgOrderByAggregateInputObjectSchema } from './ShoppingVendorAvgOrderByAggregateInput.schema';
|
||||
import { ShoppingVendorMaxOrderByAggregateInputObjectSchema as ShoppingVendorMaxOrderByAggregateInputObjectSchema } from './ShoppingVendorMaxOrderByAggregateInput.schema';
|
||||
import { ShoppingVendorMinOrderByAggregateInputObjectSchema as ShoppingVendorMinOrderByAggregateInputObjectSchema } from './ShoppingVendorMinOrderByAggregateInput.schema';
|
||||
import { ShoppingVendorSumOrderByAggregateInputObjectSchema as ShoppingVendorSumOrderByAggregateInputObjectSchema } from './ShoppingVendorSumOrderByAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
vendorName: SortOrderSchema.optional(),
|
||||
websiteUrl: SortOrderSchema.optional(),
|
||||
loginUsername: SortOrderSchema.optional(),
|
||||
loginPassword: SortOrderSchema.optional(),
|
||||
_count: z.lazy(() => ShoppingVendorCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => ShoppingVendorAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => ShoppingVendorMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
_min: z.lazy(() => ShoppingVendorMinOrderByAggregateInputObjectSchema).optional(),
|
||||
_sum: z.lazy(() => ShoppingVendorSumOrderByAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.ShoppingVendorOrderByWithAggregationInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorOrderByWithAggregationInput>;
|
||||
export const ShoppingVendorOrderByWithAggregationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { UserOrderByWithRelationInputObjectSchema as UserOrderByWithRelationInputObjectSchema } from './UserOrderByWithRelationInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
vendorName: SortOrderSchema.optional(),
|
||||
websiteUrl: SortOrderSchema.optional(),
|
||||
loginUsername: SortOrderSchema.optional(),
|
||||
loginPassword: SortOrderSchema.optional(),
|
||||
user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.ShoppingVendorOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorOrderByWithRelationInput>;
|
||||
export const ShoppingVendorOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema'
|
||||
|
||||
const shoppingvendorscalarwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
vendorName: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
websiteUrl: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
loginUsername: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
loginPassword: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorScalarWhereInputObjectSchema: z.ZodType<Prisma.ShoppingVendorScalarWhereInput> = shoppingvendorscalarwhereinputSchema as unknown as z.ZodType<Prisma.ShoppingVendorScalarWhereInput>;
|
||||
export const ShoppingVendorScalarWhereInputObjectZodSchema = shoppingvendorscalarwhereinputSchema;
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
||||
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'
|
||||
|
||||
const shoppingvendorscalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => ShoppingVendorScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => ShoppingVendorScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => ShoppingVendorScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
vendorName: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
websiteUrl: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
loginUsername: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
loginPassword: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.ShoppingVendorScalarWhereWithAggregatesInput> = shoppingvendorscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.ShoppingVendorScalarWhereWithAggregatesInput>;
|
||||
export const ShoppingVendorScalarWhereWithAggregatesInputObjectZodSchema = shoppingvendorscalarwherewithaggregatesinputSchema;
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserArgsObjectSchema as UserArgsObjectSchema } from './UserArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
vendorName: z.boolean().optional(),
|
||||
websiteUrl: z.boolean().optional(),
|
||||
loginUsername: z.boolean().optional(),
|
||||
loginPassword: z.boolean().optional(),
|
||||
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorSelectObjectSchema: z.ZodType<Prisma.ShoppingVendorSelect> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorSelect>;
|
||||
export const ShoppingVendorSelectObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorSumAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorSumAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorSumAggregateInputType>;
|
||||
export const ShoppingVendorSumAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorSumOrderByAggregateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorSumOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorSumOrderByAggregateInput>;
|
||||
export const ShoppingVendorSumOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedCreateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedCreateInput>;
|
||||
export const ShoppingVendorUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorCreateWithoutUserInputObjectSchema as ShoppingVendorCreateWithoutUserInputObjectSchema } from './ShoppingVendorCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema as ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema as ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema } from './ShoppingVendorCreateOrConnectWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateManyUserInputEnvelopeObjectSchema as ShoppingVendorCreateManyUserInputEnvelopeObjectSchema } from './ShoppingVendorCreateManyUserInputEnvelope.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedCreateNestedManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedCreateNestedManyWithoutUserInput>;
|
||||
export const ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema();
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedCreateWithoutUserInput>;
|
||||
export const ShoppingVendorUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedUpdateInput>;
|
||||
export const ShoppingVendorUncheckedUpdateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedUpdateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedUpdateManyInput>;
|
||||
export const ShoppingVendorUncheckedUpdateManyInputObjectZodSchema = makeSchema();
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedUpdateManyWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedUpdateManyWithoutUserInput>;
|
||||
export const ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectZodSchema = makeSchema();
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorCreateWithoutUserInputObjectSchema as ShoppingVendorCreateWithoutUserInputObjectSchema } from './ShoppingVendorCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema as ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema as ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema } from './ShoppingVendorCreateOrConnectWithoutUserInput.schema';
|
||||
import { ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema as ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateManyUserInputEnvelopeObjectSchema as ShoppingVendorCreateManyUserInputEnvelopeObjectSchema } from './ShoppingVendorCreateManyUserInputEnvelope.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema as ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema';
|
||||
import { ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema as ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema } from './ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema';
|
||||
import { ShoppingVendorScalarWhereInputObjectSchema as ShoppingVendorScalarWhereInputObjectSchema } from './ShoppingVendorScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput>;
|
||||
export const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUncheckedUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUncheckedUpdateWithoutUserInput>;
|
||||
export const ShoppingVendorUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema as UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUpdateInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpdateInput>;
|
||||
export const ShoppingVendorUpdateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUpdateManyMutationInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpdateManyMutationInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpdateManyMutationInput>;
|
||||
export const ShoppingVendorUpdateManyMutationInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorScalarWhereInputObjectSchema as ShoppingVendorScalarWhereInputObjectSchema } from './ShoppingVendorScalarWhereInput.schema';
|
||||
import { ShoppingVendorUpdateManyMutationInputObjectSchema as ShoppingVendorUpdateManyMutationInputObjectSchema } from './ShoppingVendorUpdateManyMutationInput.schema';
|
||||
import { ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema as ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema),
|
||||
data: z.union([z.lazy(() => ShoppingVendorUpdateManyMutationInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpdateManyWithWhereWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpdateManyWithWhereWithoutUserInput>;
|
||||
export const ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema();
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorCreateWithoutUserInputObjectSchema as ShoppingVendorCreateWithoutUserInputObjectSchema } from './ShoppingVendorCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema as ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema as ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema } from './ShoppingVendorCreateOrConnectWithoutUserInput.schema';
|
||||
import { ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema as ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema } from './ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateManyUserInputEnvelopeObjectSchema as ShoppingVendorCreateManyUserInputEnvelopeObjectSchema } from './ShoppingVendorCreateManyUserInputEnvelope.schema';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema as ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema } from './ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema';
|
||||
import { ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema as ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema } from './ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema';
|
||||
import { ShoppingVendorScalarWhereInputObjectSchema as ShoppingVendorScalarWhereInputObjectSchema } from './ShoppingVendorScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpdateManyWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpdateManyWithoutUserNestedInput>;
|
||||
export const ShoppingVendorUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorUpdateWithoutUserInputObjectSchema as ShoppingVendorUpdateWithoutUserInputObjectSchema } from './ShoppingVendorUpdateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema as ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedUpdateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema),
|
||||
data: z.union([z.lazy(() => ShoppingVendorUpdateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpdateWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpdateWithWhereUniqueWithoutUserInput>;
|
||||
export const ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpdateWithoutUserInput>;
|
||||
export const ShoppingVendorUpdateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorWhereUniqueInputObjectSchema as ShoppingVendorWhereUniqueInputObjectSchema } from './ShoppingVendorWhereUniqueInput.schema';
|
||||
import { ShoppingVendorUpdateWithoutUserInputObjectSchema as ShoppingVendorUpdateWithoutUserInputObjectSchema } from './ShoppingVendorUpdateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema as ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedUpdateWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateWithoutUserInputObjectSchema as ShoppingVendorCreateWithoutUserInputObjectSchema } from './ShoppingVendorCreateWithoutUserInput.schema';
|
||||
import { ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema as ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema } from './ShoppingVendorUncheckedCreateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => ShoppingVendorWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => ShoppingVendorUpdateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema: z.ZodType<Prisma.ShoppingVendorUpsertWithWhereUniqueWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorUpsertWithWhereUniqueWithoutUserInput>;
|
||||
export const ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,21 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
||||
import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
|
||||
|
||||
const shoppingvendorwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => ShoppingVendorWhereInputObjectSchema), z.lazy(() => ShoppingVendorWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => ShoppingVendorWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => ShoppingVendorWhereInputObjectSchema), z.lazy(() => ShoppingVendorWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
vendorName: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
websiteUrl: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
loginUsername: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
loginPassword: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorWhereInputObjectSchema: z.ZodType<Prisma.ShoppingVendorWhereInput> = shoppingvendorwhereinputSchema as unknown as z.ZodType<Prisma.ShoppingVendorWhereInput>;
|
||||
export const ShoppingVendorWhereInputObjectZodSchema = shoppingvendorwhereinputSchema;
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional()
|
||||
}).strict();
|
||||
export const ShoppingVendorWhereUniqueInputObjectSchema: z.ZodType<Prisma.ShoppingVendorWhereUniqueInput> = makeSchema() as unknown as z.ZodType<Prisma.ShoppingVendorWhereUniqueInput>;
|
||||
export const ShoppingVendorWhereUniqueInputObjectZodSchema = makeSchema();
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ShoppingVendorWhereInputObjectSchema as ShoppingVendorWhereInputObjectSchema } from './ShoppingVendorWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => ShoppingVendorWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCountOutputTypeCountShoppingVendorsArgsObjectSchema = makeSchema();
|
||||
export const UserCountOutputTypeCountShoppingVendorsArgsObjectZodSchema = makeSchema();
|
||||
@@ -6,6 +6,7 @@ import { UserCountOutputTypeCountStaffArgsObjectSchema as UserCountOutputTypeCou
|
||||
import { UserCountOutputTypeCountNpiProvidersArgsObjectSchema as UserCountOutputTypeCountNpiProvidersArgsObjectSchema } from './UserCountOutputTypeCountNpiProvidersArgs.schema';
|
||||
import { UserCountOutputTypeCountClaimsArgsObjectSchema as UserCountOutputTypeCountClaimsArgsObjectSchema } from './UserCountOutputTypeCountClaimsArgs.schema';
|
||||
import { UserCountOutputTypeCountInsuranceCredentialsArgsObjectSchema as UserCountOutputTypeCountInsuranceCredentialsArgsObjectSchema } from './UserCountOutputTypeCountInsuranceCredentialsArgs.schema';
|
||||
import { UserCountOutputTypeCountShoppingVendorsArgsObjectSchema as UserCountOutputTypeCountShoppingVendorsArgsObjectSchema } from './UserCountOutputTypeCountShoppingVendorsArgs.schema';
|
||||
import { UserCountOutputTypeCountUpdatedPaymentsArgsObjectSchema as UserCountOutputTypeCountUpdatedPaymentsArgsObjectSchema } from './UserCountOutputTypeCountUpdatedPaymentsArgs.schema';
|
||||
import { UserCountOutputTypeCountBackupsArgsObjectSchema as UserCountOutputTypeCountBackupsArgsObjectSchema } from './UserCountOutputTypeCountBackupsArgs.schema';
|
||||
import { UserCountOutputTypeCountBackupDestinationsArgsObjectSchema as UserCountOutputTypeCountBackupDestinationsArgsObjectSchema } from './UserCountOutputTypeCountBackupDestinationsArgs.schema';
|
||||
@@ -23,6 +24,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountNpiProvidersArgsObjectSchema)]).optional(),
|
||||
claims: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountClaimsArgsObjectSchema)]).optional(),
|
||||
insuranceCredentials: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountInsuranceCredentialsArgsObjectSchema)]).optional(),
|
||||
shoppingVendors: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountShoppingVendorsArgsObjectSchema)]).optional(),
|
||||
updatedPayments: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountUpdatedPaymentsArgsObjectSchema)]).optional(),
|
||||
backups: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountBackupsArgsObjectSchema)]).optional(),
|
||||
backupDestinations: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountBackupDestinationsArgsObjectSchema)]).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -32,6 +33,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserCreateWithoutShoppingVendorsInputObjectSchema as UserCreateWithoutShoppingVendorsInputObjectSchema } from './UserCreateWithoutShoppingVendorsInput.schema';
|
||||
import { UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema as UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema } from './UserUncheckedCreateWithoutShoppingVendorsInput.schema';
|
||||
import { UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema as UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema } from './UserCreateOrConnectWithoutShoppingVendorsInput.schema';
|
||||
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutShoppingVendorsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutShoppingVendorsInput>;
|
||||
export const UserCreateNestedOneWithoutShoppingVendorsInputObjectZodSchema = makeSchema();
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
|
||||
import { UserCreateWithoutShoppingVendorsInputObjectSchema as UserCreateWithoutShoppingVendorsInputObjectSchema } from './UserCreateWithoutShoppingVendorsInput.schema';
|
||||
import { UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema as UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema } from './UserUncheckedCreateWithoutShoppingVendorsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => UserWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)])
|
||||
}).strict();
|
||||
export const UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema: z.ZodType<Prisma.UserCreateOrConnectWithoutShoppingVendorsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateOrConnectWithoutShoppingVendorsInput>;
|
||||
export const UserCreateOrConnectWithoutShoppingVendorsInputObjectZodSchema = makeSchema();
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -5,6 +5,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -30,6 +31,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { NotificationCreateNestedManyWithoutUserInputObjectSchema as NotificationCreateNestedManyWithoutUserInputObjectSchema } from './NotificationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
import { NotificationCreateNestedManyWithoutUserInputObjectSchema as NotificationCreateNestedManyWithoutUserInputObjectSchema } from './NotificationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -5,6 +5,7 @@ import { AppointmentCreateNestedManyWithoutUserInputObjectSchema as AppointmentC
|
||||
import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedManyWithoutUserInputObjectSchema } from './StaffCreateNestedManyWithoutUserInput.schema';
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -30,6 +31,7 @@ const makeSchema = () => z.object({
|
||||
staff: z.lazy(() => StaffCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
+2
@@ -5,6 +5,7 @@ import { AppointmentCreateNestedManyWithoutUserInputObjectSchema as AppointmentC
|
||||
import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedManyWithoutUserInputObjectSchema } from './StaffCreateNestedManyWithoutUserInput.schema';
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -30,6 +31,7 @@ const makeSchema = () => z.object({
|
||||
staff: z.lazy(() => StaffCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -5,6 +5,7 @@ import { AppointmentCreateNestedManyWithoutUserInputObjectSchema as AppointmentC
|
||||
import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedManyWithoutUserInputObjectSchema } from './StaffCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -30,6 +31,7 @@ const makeSchema = () => z.object({
|
||||
staff: z.lazy(() => StaffCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
+2
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -5,6 +5,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -30,6 +31,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -6,6 +6,7 @@ import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedM
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema as ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema } from './ShoppingVendorCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
@@ -31,6 +32,7 @@ const makeSchema = () => z.object({
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateNestedManyWithoutUserInputObjectSchema as PatientCreateNestedManyWithoutUserInputObjectSchema } from './PatientCreateNestedManyWithoutUserInput.schema';
|
||||
import { AppointmentCreateNestedManyWithoutUserInputObjectSchema as AppointmentCreateNestedManyWithoutUserInputObjectSchema } from './AppointmentCreateNestedManyWithoutUserInput.schema';
|
||||
import { StaffCreateNestedManyWithoutUserInputObjectSchema as StaffCreateNestedManyWithoutUserInputObjectSchema } from './StaffCreateNestedManyWithoutUserInput.schema';
|
||||
import { NpiProviderCreateNestedManyWithoutUserInputObjectSchema as NpiProviderCreateNestedManyWithoutUserInputObjectSchema } from './NpiProviderCreateNestedManyWithoutUserInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutUserInputObjectSchema as ClaimCreateNestedManyWithoutUserInputObjectSchema } from './ClaimCreateNestedManyWithoutUserInput.schema';
|
||||
import { InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema as InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceCredentialCreateNestedManyWithoutUserInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema as PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema } from './PaymentCreateNestedManyWithoutUpdatedByInput.schema';
|
||||
import { DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema as DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema } from './DatabaseBackupCreateNestedManyWithoutUserInput.schema';
|
||||
import { BackupDestinationCreateNestedManyWithoutUserInputObjectSchema as BackupDestinationCreateNestedManyWithoutUserInputObjectSchema } from './BackupDestinationCreateNestedManyWithoutUserInput.schema';
|
||||
import { NotificationCreateNestedManyWithoutUserInputObjectSchema as NotificationCreateNestedManyWithoutUserInputObjectSchema } from './NotificationCreateNestedManyWithoutUserInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutUserInputObjectSchema as CloudFolderCreateNestedManyWithoutUserInputObjectSchema } from './CloudFolderCreateNestedManyWithoutUserInput.schema';
|
||||
import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreateNestedManyWithoutUserInputObjectSchema } from './CloudFileCreateNestedManyWithoutUserInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutUserInputObjectSchema as CommunicationCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsCreateNestedOneWithoutUserInputObjectSchema as AiSettingsCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema';
|
||||
import { ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema as ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema } from './ProcedureTimeslotCreateNestedOneWithoutUserInput.schema';
|
||||
import { InsuranceContactCreateNestedManyWithoutUserInputObjectSchema as InsuranceContactCreateNestedManyWithoutUserInputObjectSchema } from './InsuranceContactCreateNestedManyWithoutUserInput.schema';
|
||||
import { PatientConversationCreateNestedManyWithoutUserInputObjectSchema as PatientConversationCreateNestedManyWithoutUserInputObjectSchema } from './PatientConversationCreateNestedManyWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
password: z.string(),
|
||||
autoBackupEnabled: z.boolean().optional(),
|
||||
usbBackupEnabled: z.boolean().optional(),
|
||||
patients: z.lazy(() => PatientCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
staff: z.lazy(() => StaffCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(),
|
||||
backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutShoppingVendorsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutShoppingVendorsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutShoppingVendorsInput>;
|
||||
export const UserCreateWithoutShoppingVendorsInputObjectZodSchema = makeSchema();
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user