feat: add Office Contact settings page and reorder Advanced sidebar
- Add OfficeContact Prisma model with receptionist name, dentist name, phone, email, fax fields - Create GET/PUT /api/office-contact backend route and storage - Add OfficeContactCard frontend component under Settings > Advanced - Reorder Advanced sidebar: Office Hours → Office Contact → Twilio Settings → Google AI Settings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,7 @@ import jobMonitorRoutes from "./job-monitor";
|
||||
import twilioRoutes from "./twilio";
|
||||
import aiSettingsRoutes from "./ai-settings";
|
||||
import officeHoursRoutes from "./office-hours";
|
||||
import officeContactRoutes from "./office-contact";
|
||||
|
||||
const router = Router();
|
||||
|
||||
@@ -58,5 +59,6 @@ router.use("/job-monitor", jobMonitorRoutes);
|
||||
router.use("/twilio", twilioRoutes);
|
||||
router.use("/ai", aiSettingsRoutes);
|
||||
router.use("/office-hours", officeHoursRoutes);
|
||||
router.use("/office-contact", officeContactRoutes);
|
||||
|
||||
export default router;
|
||||
|
||||
39
apps/Backend/src/routes/office-contact.ts
Normal file
39
apps/Backend/src/routes/office-contact.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import express, { Request, Response } from "express";
|
||||
import { storage } from "../storage";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
// GET /api/office-contact
|
||||
router.get("/", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
|
||||
const record = await storage.getOfficeContact(userId);
|
||||
return res.status(200).json(record ?? null);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to fetch office contact", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
// PUT /api/office-contact
|
||||
router.put("/", async (req: Request, res: Response): Promise<any> => {
|
||||
try {
|
||||
const userId = req.user?.id;
|
||||
if (!userId) return res.status(401).json({ message: "Unauthorized" });
|
||||
|
||||
const { receptionistName, dentistName, phoneNumber, email, fax } = req.body;
|
||||
const record = await storage.upsertOfficeContact(userId, {
|
||||
receptionistName: receptionistName ?? undefined,
|
||||
dentistName: dentistName ?? undefined,
|
||||
phoneNumber: phoneNumber ?? undefined,
|
||||
email: email ?? undefined,
|
||||
fax: fax ?? undefined,
|
||||
});
|
||||
return res.status(200).json(record);
|
||||
} catch (err) {
|
||||
return res.status(500).json({ error: "Failed to save office contact", details: String(err) });
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
@@ -20,6 +20,7 @@ import { cronJobLogStorage } from "./cron-job-log-storage";
|
||||
import { twilioStorage } from "./twilio-storage";
|
||||
import { aiSettingsStorage } from "./ai-settings-storage";
|
||||
import { officeHoursStorage } from "./office-hours-storage";
|
||||
import { officeContactStorage } from "./office-contact-storage";
|
||||
|
||||
|
||||
export const storage = {
|
||||
@@ -43,6 +44,7 @@ export const storage = {
|
||||
...twilioStorage,
|
||||
...aiSettingsStorage,
|
||||
...officeHoursStorage,
|
||||
...officeContactStorage,
|
||||
|
||||
};
|
||||
|
||||
|
||||
21
apps/Backend/src/storage/office-contact-storage.ts
Normal file
21
apps/Backend/src/storage/office-contact-storage.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { prisma as db } from "@repo/db/client";
|
||||
|
||||
export const officeContactStorage = {
|
||||
async getOfficeContact(userId: number) {
|
||||
return db.officeContact.findUnique({ where: { userId } });
|
||||
},
|
||||
|
||||
async upsertOfficeContact(userId: number, data: {
|
||||
receptionistName?: string;
|
||||
dentistName?: string;
|
||||
phoneNumber?: string;
|
||||
email?: string;
|
||||
fax?: string;
|
||||
}) {
|
||||
return db.officeContact.upsert({
|
||||
where: { userId },
|
||||
update: data,
|
||||
create: { userId, ...data },
|
||||
});
|
||||
},
|
||||
};
|
||||
@@ -27,6 +27,7 @@ import {
|
||||
Workflow,
|
||||
Bot,
|
||||
Clock,
|
||||
Building2,
|
||||
} from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { useMemo, useState, useEffect } from "react";
|
||||
@@ -213,6 +214,16 @@ export function Sidebar() {
|
||||
// ── Advanced ─────────────────────────────────────────
|
||||
{
|
||||
groupLabel: "Advanced",
|
||||
name: "Office Hours",
|
||||
path: "/settings/officehours",
|
||||
icon: <Clock className="h-4 w-4 text-gray-400" />,
|
||||
},
|
||||
{
|
||||
name: "Office Contact",
|
||||
path: "/settings/officecontact",
|
||||
icon: <Building2 className="h-4 w-4 text-gray-400" />,
|
||||
},
|
||||
{
|
||||
name: "Twilio Settings",
|
||||
path: "/settings/twilio",
|
||||
icon: <Phone className="h-4 w-4 text-gray-400" />,
|
||||
@@ -222,11 +233,6 @@ export function Sidebar() {
|
||||
path: "/settings/ai",
|
||||
icon: <Bot className="h-4 w-4 text-gray-400" />,
|
||||
},
|
||||
{
|
||||
name: "Office Hours",
|
||||
path: "/settings/officehours",
|
||||
icon: <Clock className="h-4 w-4 text-gray-400" />,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
152
apps/Frontend/src/components/settings/office-contact-card.tsx
Normal file
152
apps/Frontend/src/components/settings/office-contact-card.tsx
Normal file
@@ -0,0 +1,152 @@
|
||||
import { useState, useEffect } from "react";
|
||||
import { useQuery, useMutation } from "@tanstack/react-query";
|
||||
import { Card, CardContent } from "@/components/ui/card";
|
||||
import { useToast } from "@/hooks/use-toast";
|
||||
import { apiRequest, queryClient } from "@/lib/queryClient";
|
||||
|
||||
type OfficeContact = {
|
||||
id?: number;
|
||||
receptionistName?: string | null;
|
||||
dentistName?: string | null;
|
||||
phoneNumber?: string | null;
|
||||
email?: string | null;
|
||||
fax?: string | null;
|
||||
};
|
||||
|
||||
export function OfficeContactCard() {
|
||||
const { toast } = useToast();
|
||||
|
||||
const [receptionistName, setReceptionistName] = useState("");
|
||||
const [dentistName, setDentistName] = useState("");
|
||||
const [phoneNumber, setPhoneNumber] = useState("");
|
||||
const [email, setEmail] = useState("");
|
||||
const [fax, setFax] = useState("");
|
||||
|
||||
const { data: contact, isLoading } = useQuery<OfficeContact | null>({
|
||||
queryKey: ["/api/office-contact"],
|
||||
queryFn: async () => {
|
||||
const res = await apiRequest("GET", "/api/office-contact");
|
||||
if (!res.ok) return null;
|
||||
return res.json();
|
||||
},
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
if (contact) {
|
||||
setReceptionistName(contact.receptionistName ?? "");
|
||||
setDentistName(contact.dentistName ?? "");
|
||||
setPhoneNumber(contact.phoneNumber ?? "");
|
||||
setEmail(contact.email ?? "");
|
||||
setFax(contact.fax ?? "");
|
||||
}
|
||||
}, [contact]);
|
||||
|
||||
const saveMutation = useMutation({
|
||||
mutationFn: async (data: OfficeContact) => {
|
||||
const res = await apiRequest("PUT", "/api/office-contact", data);
|
||||
if (!res.ok) {
|
||||
const err = await res.json().catch(() => null);
|
||||
throw new Error(err?.message || "Failed to save office contact");
|
||||
}
|
||||
return res.json();
|
||||
},
|
||||
onSuccess: () => {
|
||||
queryClient.invalidateQueries({ queryKey: ["/api/office-contact"] });
|
||||
toast({ title: "Office Contact Saved", description: "Office contact information has been saved." });
|
||||
},
|
||||
onError: (err: any) => {
|
||||
toast({ title: "Error", description: err?.message || "Failed to save office contact", variant: "destructive" });
|
||||
},
|
||||
});
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
saveMutation.mutate({ receptionistName, dentistName, phoneNumber, email, fax });
|
||||
};
|
||||
|
||||
return (
|
||||
<Card>
|
||||
<CardContent className="space-y-4 py-6">
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold">Office Contact</h3>
|
||||
<p className="text-sm text-gray-500 mt-1">
|
||||
Contact information for your dental office staff and communications.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{isLoading ? (
|
||||
<p className="text-sm text-gray-400">Loading...</p>
|
||||
) : (
|
||||
<form className="space-y-4" onSubmit={handleSubmit}>
|
||||
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2">
|
||||
<div>
|
||||
<label className="block text-sm font-medium">Receptionist Name</label>
|
||||
<input
|
||||
type="text"
|
||||
value={receptionistName}
|
||||
onChange={(e) => setReceptionistName(e.target.value)}
|
||||
className="mt-1 p-2 border rounded w-full text-sm"
|
||||
placeholder="e.g. Jane Smith"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label className="block text-sm font-medium">Dentist Name</label>
|
||||
<input
|
||||
type="text"
|
||||
value={dentistName}
|
||||
onChange={(e) => setDentistName(e.target.value)}
|
||||
className="mt-1 p-2 border rounded w-full text-sm"
|
||||
placeholder="e.g. Dr. John Doe"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label className="block text-sm font-medium">Office Phone Number</label>
|
||||
<input
|
||||
type="tel"
|
||||
value={phoneNumber}
|
||||
onChange={(e) => setPhoneNumber(e.target.value)}
|
||||
className="mt-1 p-2 border rounded w-full text-sm"
|
||||
placeholder="e.g. (508) 555-0100"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label className="block text-sm font-medium">Office Email Address</label>
|
||||
<input
|
||||
type="email"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
className="mt-1 p-2 border rounded w-full text-sm"
|
||||
placeholder="e.g. office@dentalclinic.com"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label className="block text-sm font-medium">Office Fax</label>
|
||||
<input
|
||||
type="tel"
|
||||
value={fax}
|
||||
onChange={(e) => setFax(e.target.value)}
|
||||
className="mt-1 p-2 border rounded w-full text-sm"
|
||||
placeholder="e.g. (508) 555-0199"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="pt-1">
|
||||
<button
|
||||
type="submit"
|
||||
className="bg-teal-600 text-white px-4 py-2 rounded hover:bg-teal-700 text-sm"
|
||||
disabled={saveMutation.isPending}
|
||||
>
|
||||
{saveMutation.isPending ? "Saving..." : "Save Office Contact"}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
)}
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
@@ -16,6 +16,7 @@ import { ProgramBridgeTable } from "@/components/settings/program-bridge-table";
|
||||
import { TwilioSettingsCard } from "@/components/settings/twilio-settings-card";
|
||||
import { AiSettingsCard } from "@/components/settings/ai-settings-card";
|
||||
import { OfficeHoursCard } from "@/components/settings/office-hours-card";
|
||||
import { OfficeContactCard } from "@/components/settings/office-contact-card";
|
||||
|
||||
type SectionId =
|
||||
| "staff"
|
||||
@@ -26,7 +27,8 @@ type SectionId =
|
||||
| "programs"
|
||||
| "twilio"
|
||||
| "ai"
|
||||
| "officehours";
|
||||
| "officehours"
|
||||
| "officecontact";
|
||||
|
||||
export default function SettingsPage() {
|
||||
const { toast } = useToast();
|
||||
@@ -256,6 +258,9 @@ export default function SettingsPage() {
|
||||
case "officehours":
|
||||
return <OfficeHoursCard />;
|
||||
|
||||
case "officecontact":
|
||||
return <OfficeContactCard />;
|
||||
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -423,6 +423,16 @@ exports.Prisma.OfficeHoursScalarFieldEnum = {
|
||||
data: 'data'
|
||||
};
|
||||
|
||||
exports.Prisma.OfficeContactScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
receptionistName: 'receptionistName',
|
||||
dentistName: 'dentistName',
|
||||
phoneNumber: 'phoneNumber',
|
||||
email: 'email',
|
||||
fax: 'fax'
|
||||
};
|
||||
|
||||
exports.Prisma.SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
@@ -567,7 +577,8 @@ exports.Prisma.ModelName = {
|
||||
PatientDocument: 'PatientDocument',
|
||||
TwilioSettings: 'TwilioSettings',
|
||||
AiSettings: 'AiSettings',
|
||||
OfficeHours: 'OfficeHours'
|
||||
OfficeHours: 'OfficeHours',
|
||||
OfficeContact: 'OfficeContact'
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
1708
packages/db/generated/prisma/index.d.ts
vendored
1708
packages/db/generated/prisma/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "prisma-client-db87bf66545e77505291e1e9a0077b158237c6d88a3205c70a049bfe0bf44c4f",
|
||||
"name": "prisma-client-0bdd2a07b3e749bc95e70fecd3048246327d26e93efa4b1a746b1800ef21ae70",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"browser": "default.js",
|
||||
|
||||
@@ -40,6 +40,7 @@ model User {
|
||||
twilioSettings TwilioSettings?
|
||||
aiSettings AiSettings?
|
||||
officeHours OfficeHours?
|
||||
officeContact OfficeContact?
|
||||
}
|
||||
|
||||
model Patient {
|
||||
@@ -580,3 +581,17 @@ model OfficeHours {
|
||||
|
||||
@@map("office_hours")
|
||||
}
|
||||
|
||||
model OfficeContact {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int @unique
|
||||
receptionistName String?
|
||||
dentistName String?
|
||||
phoneNumber String?
|
||||
email String?
|
||||
fax String?
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@map("office_contact")
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ model User {
|
||||
twilioSettings TwilioSettings?
|
||||
aiSettings AiSettings?
|
||||
officeHours OfficeHours?
|
||||
officeContact OfficeContact?
|
||||
}
|
||||
|
||||
model Patient {
|
||||
@@ -581,3 +582,17 @@ model OfficeHours {
|
||||
|
||||
@@map("office_hours")
|
||||
}
|
||||
|
||||
model OfficeContact {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int @unique
|
||||
receptionistName String?
|
||||
dentistName String?
|
||||
phoneNumber String?
|
||||
email String?
|
||||
fax String?
|
||||
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@map("office_contact")
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"generatorVersion": "1.0.0",
|
||||
"generatedAt": "2026-05-05T02:21:32.341Z",
|
||||
"generatedAt": "2026-05-06T01:11:22.105Z",
|
||||
"outputPath": "/home/ee/Desktop/DentalManagementMH05/packages/db/shared",
|
||||
"files": [
|
||||
"schemas/enums/TransactionIsolationLevel.schema.ts",
|
||||
@@ -32,6 +32,7 @@
|
||||
"schemas/enums/TwilioSettingsScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/AiSettingsScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/OfficeHoursScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/OfficeContactScalarFieldEnum.schema.ts",
|
||||
"schemas/enums/SortOrder.schema.ts",
|
||||
"schemas/enums/NullableJsonNullValueInput.schema.ts",
|
||||
"schemas/enums/JsonNullValueInput.schema.ts",
|
||||
@@ -185,6 +186,11 @@
|
||||
"schemas/objects/OfficeHoursWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/OfficeContactWhereInput.schema.ts",
|
||||
"schemas/objects/OfficeContactOrderByWithRelationInput.schema.ts",
|
||||
"schemas/objects/OfficeContactWhereUniqueInput.schema.ts",
|
||||
"schemas/objects/OfficeContactOrderByWithAggregationInput.schema.ts",
|
||||
"schemas/objects/OfficeContactScalarWhereWithAggregatesInput.schema.ts",
|
||||
"schemas/objects/UserCreateInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/UserUpdateInput.schema.ts",
|
||||
@@ -374,6 +380,13 @@
|
||||
"schemas/objects/OfficeHoursCreateManyInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/OfficeContactCreateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedCreateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUpdateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedUpdateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactCreateManyInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUpdateManyMutationInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedUpdateManyInput.schema.ts",
|
||||
"schemas/objects/IntFilter.schema.ts",
|
||||
"schemas/objects/StringFilter.schema.ts",
|
||||
"schemas/objects/BoolFilter.schema.ts",
|
||||
@@ -393,6 +406,7 @@
|
||||
"schemas/objects/TwilioSettingsNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/AiSettingsNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/OfficeHoursNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/OfficeContactNullableScalarRelationFilter.schema.ts",
|
||||
"schemas/objects/PatientOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/AppointmentOrderByRelationAggregateInput.schema.ts",
|
||||
"schemas/objects/StaffOrderByRelationAggregateInput.schema.ts",
|
||||
@@ -625,6 +639,11 @@
|
||||
"schemas/objects/OfficeHoursMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/JsonWithAggregatesFilter.schema.ts",
|
||||
"schemas/objects/OfficeContactCountOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactAvgOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactMaxOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactMinOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactSumOrderByAggregateInput.schema.ts",
|
||||
"schemas/objects/PatientCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/AppointmentCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/StaffCreateNestedManyWithoutUserInput.schema.ts",
|
||||
@@ -641,6 +660,7 @@
|
||||
"schemas/objects/TwilioSettingsCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/AiSettingsCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
"schemas/objects/StaffUncheckedCreateNestedManyWithoutUserInput.schema.ts",
|
||||
@@ -657,6 +677,7 @@
|
||||
"schemas/objects/TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema.ts",
|
||||
"schemas/objects/StringFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/BoolFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
@@ -675,6 +696,7 @@
|
||||
"schemas/objects/TwilioSettingsUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/AiSettingsUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/IntFieldUpdateOperationsInput.schema.ts",
|
||||
"schemas/objects/PatientUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema.ts",
|
||||
@@ -692,6 +714,7 @@
|
||||
"schemas/objects/TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/AppointmentCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
"schemas/objects/AppointmentProcedureCreateNestedManyWithoutPatientInput.schema.ts",
|
||||
@@ -888,6 +911,8 @@
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutAiSettingsNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutOfficeHoursInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutOfficeHoursNestedInput.schema.ts",
|
||||
"schemas/objects/UserCreateNestedOneWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema.ts",
|
||||
"schemas/objects/NestedIntFilter.schema.ts",
|
||||
"schemas/objects/NestedStringFilter.schema.ts",
|
||||
"schemas/objects/NestedBoolFilter.schema.ts",
|
||||
@@ -999,6 +1024,9 @@
|
||||
"schemas/objects/OfficeHoursCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUncheckedCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursCreateOrConnectWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedCreateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactCreateOrConnectWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUpsertWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateWithWhereUniqueWithoutUserInput.schema.ts",
|
||||
"schemas/objects/PatientUpdateManyWithWhereWithoutUserInput.schema.ts",
|
||||
@@ -1063,6 +1091,10 @@
|
||||
"schemas/objects/OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUpsertWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUpdateToOneWithWhereWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/OfficeContactUncheckedUpdateWithoutUserInput.schema.ts",
|
||||
"schemas/objects/UserCreateWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.ts",
|
||||
"schemas/objects/UserCreateOrConnectWithoutPatientsInput.schema.ts",
|
||||
@@ -1520,6 +1552,13 @@
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutOfficeHoursInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutOfficeHoursInput.schema.ts",
|
||||
"schemas/objects/UserCreateWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedCreateWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserCreateOrConnectWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserUpsertWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserUpdateToOneWithWhereWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserUpdateWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/UserUncheckedUpdateWithoutOfficeContactInput.schema.ts",
|
||||
"schemas/objects/PatientCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/AppointmentCreateManyUserInput.schema.ts",
|
||||
"schemas/objects/StaffCreateManyUserInput.schema.ts",
|
||||
@@ -1799,6 +1838,11 @@
|
||||
"schemas/objects/OfficeHoursSumAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursMinAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeHoursMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactCountAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactAvgAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactSumAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactMinAggregateInput.schema.ts",
|
||||
"schemas/objects/OfficeContactMaxAggregateInput.schema.ts",
|
||||
"schemas/objects/UserCountOutputTypeSelect.schema.ts",
|
||||
"schemas/objects/PatientCountOutputTypeSelect.schema.ts",
|
||||
"schemas/objects/AppointmentCountOutputTypeSelect.schema.ts",
|
||||
@@ -1884,6 +1928,7 @@
|
||||
"schemas/objects/TwilioSettingsSelect.schema.ts",
|
||||
"schemas/objects/AiSettingsSelect.schema.ts",
|
||||
"schemas/objects/OfficeHoursSelect.schema.ts",
|
||||
"schemas/objects/OfficeContactSelect.schema.ts",
|
||||
"schemas/objects/UserArgs.schema.ts",
|
||||
"schemas/objects/PatientArgs.schema.ts",
|
||||
"schemas/objects/AppointmentArgs.schema.ts",
|
||||
@@ -1911,6 +1956,7 @@
|
||||
"schemas/objects/TwilioSettingsArgs.schema.ts",
|
||||
"schemas/objects/AiSettingsArgs.schema.ts",
|
||||
"schemas/objects/OfficeHoursArgs.schema.ts",
|
||||
"schemas/objects/OfficeContactArgs.schema.ts",
|
||||
"schemas/objects/UserInclude.schema.ts",
|
||||
"schemas/objects/PatientInclude.schema.ts",
|
||||
"schemas/objects/AppointmentInclude.schema.ts",
|
||||
@@ -1937,6 +1983,7 @@
|
||||
"schemas/objects/TwilioSettingsInclude.schema.ts",
|
||||
"schemas/objects/AiSettingsInclude.schema.ts",
|
||||
"schemas/objects/OfficeHoursInclude.schema.ts",
|
||||
"schemas/objects/OfficeContactInclude.schema.ts",
|
||||
"schemas/findUniqueUser.schema.ts",
|
||||
"schemas/findUniqueOrThrowUser.schema.ts",
|
||||
"schemas/findFirstUser.schema.ts",
|
||||
@@ -2396,6 +2443,23 @@
|
||||
"schemas/upsertOneOfficeHours.schema.ts",
|
||||
"schemas/aggregateOfficeHours.schema.ts",
|
||||
"schemas/groupByOfficeHours.schema.ts",
|
||||
"schemas/findUniqueOfficeContact.schema.ts",
|
||||
"schemas/findUniqueOrThrowOfficeContact.schema.ts",
|
||||
"schemas/findFirstOfficeContact.schema.ts",
|
||||
"schemas/findFirstOrThrowOfficeContact.schema.ts",
|
||||
"schemas/findManyOfficeContact.schema.ts",
|
||||
"schemas/countOfficeContact.schema.ts",
|
||||
"schemas/createOneOfficeContact.schema.ts",
|
||||
"schemas/createManyOfficeContact.schema.ts",
|
||||
"schemas/createManyAndReturnOfficeContact.schema.ts",
|
||||
"schemas/deleteOneOfficeContact.schema.ts",
|
||||
"schemas/deleteManyOfficeContact.schema.ts",
|
||||
"schemas/updateOneOfficeContact.schema.ts",
|
||||
"schemas/updateManyOfficeContact.schema.ts",
|
||||
"schemas/updateManyAndReturnOfficeContact.schema.ts",
|
||||
"schemas/upsertOneOfficeContact.schema.ts",
|
||||
"schemas/aggregateOfficeContact.schema.ts",
|
||||
"schemas/groupByOfficeContact.schema.ts",
|
||||
"schemas/results/UserFindUniqueResult.schema.ts",
|
||||
"schemas/results/UserFindFirstResult.schema.ts",
|
||||
"schemas/results/UserFindManyResult.schema.ts",
|
||||
@@ -2747,6 +2811,19 @@
|
||||
"schemas/results/OfficeHoursAggregateResult.schema.ts",
|
||||
"schemas/results/OfficeHoursGroupByResult.schema.ts",
|
||||
"schemas/results/OfficeHoursCountResult.schema.ts",
|
||||
"schemas/results/OfficeContactFindUniqueResult.schema.ts",
|
||||
"schemas/results/OfficeContactFindFirstResult.schema.ts",
|
||||
"schemas/results/OfficeContactFindManyResult.schema.ts",
|
||||
"schemas/results/OfficeContactCreateResult.schema.ts",
|
||||
"schemas/results/OfficeContactCreateManyResult.schema.ts",
|
||||
"schemas/results/OfficeContactUpdateResult.schema.ts",
|
||||
"schemas/results/OfficeContactUpdateManyResult.schema.ts",
|
||||
"schemas/results/OfficeContactUpsertResult.schema.ts",
|
||||
"schemas/results/OfficeContactDeleteResult.schema.ts",
|
||||
"schemas/results/OfficeContactDeleteManyResult.schema.ts",
|
||||
"schemas/results/OfficeContactAggregateResult.schema.ts",
|
||||
"schemas/results/OfficeContactGroupByResult.schema.ts",
|
||||
"schemas/results/OfficeContactCountResult.schema.ts",
|
||||
"schemas/results/index.ts",
|
||||
"schemas/index.ts",
|
||||
"schemas/variants/pure/User.pure.ts",
|
||||
@@ -2776,6 +2853,7 @@
|
||||
"schemas/variants/pure/TwilioSettings.pure.ts",
|
||||
"schemas/variants/pure/AiSettings.pure.ts",
|
||||
"schemas/variants/pure/OfficeHours.pure.ts",
|
||||
"schemas/variants/pure/OfficeContact.pure.ts",
|
||||
"schemas/variants/pure/index.ts",
|
||||
"schemas/variants/input/User.input.ts",
|
||||
"schemas/variants/input/Patient.input.ts",
|
||||
@@ -2804,6 +2882,7 @@
|
||||
"schemas/variants/input/TwilioSettings.input.ts",
|
||||
"schemas/variants/input/AiSettings.input.ts",
|
||||
"schemas/variants/input/OfficeHours.input.ts",
|
||||
"schemas/variants/input/OfficeContact.input.ts",
|
||||
"schemas/variants/input/index.ts",
|
||||
"schemas/variants/result/User.result.ts",
|
||||
"schemas/variants/result/Patient.result.ts",
|
||||
@@ -2832,6 +2911,7 @@
|
||||
"schemas/variants/result/TwilioSettings.result.ts",
|
||||
"schemas/variants/result/AiSettings.result.ts",
|
||||
"schemas/variants/result/OfficeHours.result.ts",
|
||||
"schemas/variants/result/OfficeContact.result.ts",
|
||||
"schemas/variants/result/index.ts",
|
||||
"schemas/variants/index.ts"
|
||||
],
|
||||
|
||||
14
packages/db/shared/schemas/aggregateOfficeContact.schema.ts
Normal file
14
packages/db/shared/schemas/aggregateOfficeContact.schema.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactCountAggregateInputObjectSchema as OfficeContactCountAggregateInputObjectSchema } from './objects/OfficeContactCountAggregateInput.schema';
|
||||
import { OfficeContactMinAggregateInputObjectSchema as OfficeContactMinAggregateInputObjectSchema } from './objects/OfficeContactMinAggregateInput.schema';
|
||||
import { OfficeContactMaxAggregateInputObjectSchema as OfficeContactMaxAggregateInputObjectSchema } from './objects/OfficeContactMaxAggregateInput.schema';
|
||||
import { OfficeContactAvgAggregateInputObjectSchema as OfficeContactAvgAggregateInputObjectSchema } from './objects/OfficeContactAvgAggregateInput.schema';
|
||||
import { OfficeContactSumAggregateInputObjectSchema as OfficeContactSumAggregateInputObjectSchema } from './objects/OfficeContactSumAggregateInput.schema';
|
||||
|
||||
export const OfficeContactAggregateSchema: z.ZodType<Prisma.OfficeContactAggregateArgs> = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional(), _min: OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactAggregateArgs>;
|
||||
|
||||
export const OfficeContactAggregateZodSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional(), _min: OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInputObjectSchema.optional() }).strict();
|
||||
10
packages/db/shared/schemas/countOfficeContact.schema.ts
Normal file
10
packages/db/shared/schemas/countOfficeContact.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactCountAggregateInputObjectSchema as OfficeContactCountAggregateInputObjectSchema } from './objects/OfficeContactCountAggregateInput.schema';
|
||||
|
||||
export const OfficeContactCountSchema: z.ZodType<Prisma.OfficeContactCountArgs> = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCountArgs>;
|
||||
|
||||
export const OfficeContactCountZodSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional() }).strict();
|
||||
@@ -0,0 +1,8 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactCreateManyInputObjectSchema as OfficeContactCreateManyInputObjectSchema } from './objects/OfficeContactCreateManyInput.schema';
|
||||
|
||||
export const OfficeContactCreateManyAndReturnSchema: z.ZodType<Prisma.OfficeContactCreateManyAndReturnArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateManyAndReturnArgs>;
|
||||
|
||||
export const OfficeContactCreateManyAndReturnZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactCreateManyInputObjectSchema as OfficeContactCreateManyInputObjectSchema } from './objects/OfficeContactCreateManyInput.schema';
|
||||
|
||||
export const OfficeContactCreateManySchema: z.ZodType<Prisma.OfficeContactCreateManyArgs> = z.object({ data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateManyArgs>;
|
||||
|
||||
export const OfficeContactCreateManyZodSchema = z.object({ data: z.union([ OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInputObjectSchema) ]), skipDuplicates: z.boolean().optional() }).strict();
|
||||
10
packages/db/shared/schemas/createOneOfficeContact.schema.ts
Normal file
10
packages/db/shared/schemas/createOneOfficeContact.schema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactCreateInputObjectSchema as OfficeContactCreateInputObjectSchema } from './objects/OfficeContactCreateInput.schema';
|
||||
import { OfficeContactUncheckedCreateInputObjectSchema as OfficeContactUncheckedCreateInputObjectSchema } from './objects/OfficeContactUncheckedCreateInput.schema';
|
||||
|
||||
export const OfficeContactCreateOneSchema: z.ZodType<Prisma.OfficeContactCreateArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInputObjectSchema]) }).strict() as unknown as z.ZodType<Prisma.OfficeContactCreateArgs>;
|
||||
|
||||
export const OfficeContactCreateOneZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInputObjectSchema]) }).strict();
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
|
||||
export const OfficeContactDeleteManySchema: z.ZodType<Prisma.OfficeContactDeleteManyArgs> = z.object({ where: OfficeContactWhereInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactDeleteManyArgs>;
|
||||
|
||||
export const OfficeContactDeleteManyZodSchema = z.object({ where: OfficeContactWhereInputObjectSchema.optional() }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
|
||||
export const OfficeContactDeleteOneSchema: z.ZodType<Prisma.OfficeContactDeleteArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeContactDeleteArgs>;
|
||||
|
||||
export const OfficeContactDeleteOneZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,5 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const OfficeContactScalarFieldEnumSchema = z.enum(['id', 'userId', 'receptionistName', 'dentistName', 'phoneNumber', 'email', 'fax'])
|
||||
|
||||
export type OfficeContactScalarFieldEnum = z.infer<typeof OfficeContactScalarFieldEnumSchema>;
|
||||
36
packages/db/shared/schemas/findFirstOfficeContact.schema.ts
Normal file
36
packages/db/shared/schemas/findFirstOfficeContact.schema.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactScalarFieldEnumSchema } from './enums/OfficeContactScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const OfficeContactFindFirstSelectSchema: z.ZodType<Prisma.OfficeContactSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
|
||||
|
||||
export const OfficeContactFindFirstSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const OfficeContactFindFirstSchema: z.ZodType<Prisma.OfficeContactFindFirstArgs> = z.object({ select: OfficeContactFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactFindFirstArgs>;
|
||||
|
||||
export const OfficeContactFindFirstZodSchema = z.object({ select: OfficeContactFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactScalarFieldEnumSchema } from './enums/OfficeContactScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const OfficeContactFindFirstOrThrowSelectSchema: z.ZodType<Prisma.OfficeContactSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
|
||||
|
||||
export const OfficeContactFindFirstOrThrowSelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const OfficeContactFindFirstOrThrowSchema: z.ZodType<Prisma.OfficeContactFindFirstOrThrowArgs> = z.object({ select: OfficeContactFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactFindFirstOrThrowArgs>;
|
||||
|
||||
export const OfficeContactFindFirstOrThrowZodSchema = z.object({ select: OfficeContactFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -31,6 +31,7 @@ export const UserFindFirstOrThrowSelectSchema: z.ZodType<Prisma.UserSelect> = z.
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.UserSelect>;
|
||||
|
||||
@@ -56,6 +57,7 @@ export const UserFindFirstOrThrowSelectZodSchema = z.object({
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ export const UserFindFirstSelectSchema: z.ZodType<Prisma.UserSelect> = z.object(
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.UserSelect>;
|
||||
|
||||
@@ -56,6 +57,7 @@ export const UserFindFirstSelectZodSchema = z.object({
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
36
packages/db/shared/schemas/findManyOfficeContact.schema.ts
Normal file
36
packages/db/shared/schemas/findManyOfficeContact.schema.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './objects/OfficeContactOrderByWithRelationInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactScalarFieldEnumSchema } from './enums/OfficeContactScalarFieldEnum.schema';
|
||||
|
||||
// Select schema needs to be in file to prevent circular imports
|
||||
//------------------------------------------------------
|
||||
|
||||
export const OfficeContactFindManySelectSchema: z.ZodType<Prisma.OfficeContactSelect> = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
|
||||
|
||||
export const OfficeContactFindManySelectZodSchema = z.object({
|
||||
id: z.boolean().optional(),
|
||||
userId: z.boolean().optional(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
export const OfficeContactFindManySchema: z.ZodType<Prisma.OfficeContactFindManyArgs> = z.object({ select: OfficeContactFindManySelectSchema.optional(), include: z.lazy(() => OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactFindManyArgs>;
|
||||
|
||||
export const OfficeContactFindManyZodSchema = z.object({ select: OfficeContactFindManySelectSchema.optional(), include: z.lazy(() => OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict();
|
||||
@@ -31,6 +31,7 @@ export const UserFindManySelectSchema: z.ZodType<Prisma.UserSelect> = z.object({
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict() as unknown as z.ZodType<Prisma.UserSelect>;
|
||||
|
||||
@@ -56,6 +57,7 @@ export const UserFindManySelectZodSchema = z.object({
|
||||
twilioSettings: z.boolean().optional(),
|
||||
aiSettings: z.boolean().optional(),
|
||||
officeHours: z.boolean().optional(),
|
||||
officeContact: z.boolean().optional(),
|
||||
_count: z.boolean().optional()
|
||||
}).strict();
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
|
||||
export const OfficeContactFindUniqueSchema: z.ZodType<Prisma.OfficeContactFindUniqueArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeContactFindUniqueArgs>;
|
||||
|
||||
export const OfficeContactFindUniqueZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict();
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './objects/OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './objects/OfficeContactInclude.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './objects/OfficeContactWhereUniqueInput.schema';
|
||||
|
||||
export const OfficeContactFindUniqueOrThrowSchema: z.ZodType<Prisma.OfficeContactFindUniqueOrThrowArgs> = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.OfficeContactFindUniqueOrThrowArgs>;
|
||||
|
||||
export const OfficeContactFindUniqueOrThrowZodSchema = z.object({ select: OfficeContactSelectObjectSchema.optional(), include: OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInputObjectSchema }).strict();
|
||||
15
packages/db/shared/schemas/groupByOfficeContact.schema.ts
Normal file
15
packages/db/shared/schemas/groupByOfficeContact.schema.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './objects/OfficeContactWhereInput.schema';
|
||||
import { OfficeContactOrderByWithAggregationInputObjectSchema as OfficeContactOrderByWithAggregationInputObjectSchema } from './objects/OfficeContactOrderByWithAggregationInput.schema';
|
||||
import { OfficeContactScalarWhereWithAggregatesInputObjectSchema as OfficeContactScalarWhereWithAggregatesInputObjectSchema } from './objects/OfficeContactScalarWhereWithAggregatesInput.schema';
|
||||
import { OfficeContactScalarFieldEnumSchema } from './enums/OfficeContactScalarFieldEnum.schema';
|
||||
import { OfficeContactCountAggregateInputObjectSchema as OfficeContactCountAggregateInputObjectSchema } from './objects/OfficeContactCountAggregateInput.schema';
|
||||
import { OfficeContactMinAggregateInputObjectSchema as OfficeContactMinAggregateInputObjectSchema } from './objects/OfficeContactMinAggregateInput.schema';
|
||||
import { OfficeContactMaxAggregateInputObjectSchema as OfficeContactMaxAggregateInputObjectSchema } from './objects/OfficeContactMaxAggregateInput.schema';
|
||||
import { OfficeContactAvgAggregateInputObjectSchema as OfficeContactAvgAggregateInputObjectSchema } from './objects/OfficeContactAvgAggregateInput.schema';
|
||||
import { OfficeContactSumAggregateInputObjectSchema as OfficeContactSumAggregateInputObjectSchema } from './objects/OfficeContactSumAggregateInput.schema';
|
||||
|
||||
export const OfficeContactGroupBySchema: z.ZodType<Prisma.OfficeContactGroupByArgs> = z.object({ where: OfficeContactWhereInputObjectSchema.optional(), orderBy: z.union([OfficeContactOrderByWithAggregationInputObjectSchema, OfficeContactOrderByWithAggregationInputObjectSchema.array()]).optional(), having: OfficeContactScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(OfficeContactScalarFieldEnumSchema), _count: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional(), _min: OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.OfficeContactGroupByArgs>;
|
||||
|
||||
export const OfficeContactGroupByZodSchema = z.object({ where: OfficeContactWhereInputObjectSchema.optional(), orderBy: z.union([OfficeContactOrderByWithAggregationInputObjectSchema, OfficeContactOrderByWithAggregationInputObjectSchema.array()]).optional(), having: OfficeContactScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(OfficeContactScalarFieldEnumSchema), _count: z.union([ z.literal(true), OfficeContactCountAggregateInputObjectSchema ]).optional(), _min: OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInputObjectSchema.optional() }).strict();
|
||||
@@ -26,6 +26,7 @@ export * from './enums/PatientDocumentScalarFieldEnum.schema'
|
||||
export * from './enums/TwilioSettingsScalarFieldEnum.schema'
|
||||
export * from './enums/AiSettingsScalarFieldEnum.schema'
|
||||
export * from './enums/OfficeHoursScalarFieldEnum.schema'
|
||||
export * from './enums/OfficeContactScalarFieldEnum.schema'
|
||||
export * from './enums/SortOrder.schema'
|
||||
export * from './enums/NullableJsonNullValueInput.schema'
|
||||
export * from './enums/JsonNullValueInput.schema'
|
||||
@@ -503,6 +504,23 @@ export * from './updateManyAndReturnOfficeHours.schema'
|
||||
export * from './upsertOneOfficeHours.schema'
|
||||
export * from './aggregateOfficeHours.schema'
|
||||
export * from './groupByOfficeHours.schema'
|
||||
export * from './findUniqueOfficeContact.schema'
|
||||
export * from './findUniqueOrThrowOfficeContact.schema'
|
||||
export * from './findFirstOfficeContact.schema'
|
||||
export * from './findFirstOrThrowOfficeContact.schema'
|
||||
export * from './findManyOfficeContact.schema'
|
||||
export * from './countOfficeContact.schema'
|
||||
export * from './createOneOfficeContact.schema'
|
||||
export * from './createManyOfficeContact.schema'
|
||||
export * from './createManyAndReturnOfficeContact.schema'
|
||||
export * from './deleteOneOfficeContact.schema'
|
||||
export * from './deleteManyOfficeContact.schema'
|
||||
export * from './updateOneOfficeContact.schema'
|
||||
export * from './updateManyOfficeContact.schema'
|
||||
export * from './updateManyAndReturnOfficeContact.schema'
|
||||
export * from './upsertOneOfficeContact.schema'
|
||||
export * from './aggregateOfficeContact.schema'
|
||||
export * from './groupByOfficeContact.schema'
|
||||
export * from './results/UserFindUniqueResult.schema'
|
||||
export * from './results/UserFindFirstResult.schema'
|
||||
export * from './results/UserFindManyResult.schema'
|
||||
@@ -854,6 +872,19 @@ export * from './results/OfficeHoursDeleteManyResult.schema'
|
||||
export * from './results/OfficeHoursAggregateResult.schema'
|
||||
export * from './results/OfficeHoursGroupByResult.schema'
|
||||
export * from './results/OfficeHoursCountResult.schema'
|
||||
export * from './results/OfficeContactFindUniqueResult.schema'
|
||||
export * from './results/OfficeContactFindFirstResult.schema'
|
||||
export * from './results/OfficeContactFindManyResult.schema'
|
||||
export * from './results/OfficeContactCreateResult.schema'
|
||||
export * from './results/OfficeContactCreateManyResult.schema'
|
||||
export * from './results/OfficeContactUpdateResult.schema'
|
||||
export * from './results/OfficeContactUpdateManyResult.schema'
|
||||
export * from './results/OfficeContactUpsertResult.schema'
|
||||
export * from './results/OfficeContactDeleteResult.schema'
|
||||
export * from './results/OfficeContactDeleteManyResult.schema'
|
||||
export * from './results/OfficeContactAggregateResult.schema'
|
||||
export * from './results/OfficeContactGroupByResult.schema'
|
||||
export * from './results/OfficeContactCountResult.schema'
|
||||
export * from './results/index'
|
||||
export * from './objects/index'
|
||||
export * from './variants/pure/User.pure'
|
||||
@@ -883,6 +914,7 @@ export * from './variants/pure/PatientDocument.pure'
|
||||
export * from './variants/pure/TwilioSettings.pure'
|
||||
export * from './variants/pure/AiSettings.pure'
|
||||
export * from './variants/pure/OfficeHours.pure'
|
||||
export * from './variants/pure/OfficeContact.pure'
|
||||
export * from './variants/pure/index'
|
||||
export * from './variants/input/User.input'
|
||||
export * from './variants/input/Patient.input'
|
||||
@@ -911,6 +943,7 @@ export * from './variants/input/PatientDocument.input'
|
||||
export * from './variants/input/TwilioSettings.input'
|
||||
export * from './variants/input/AiSettings.input'
|
||||
export * from './variants/input/OfficeHours.input'
|
||||
export * from './variants/input/OfficeContact.input'
|
||||
export * from './variants/input/index'
|
||||
export * from './variants/result/User.result'
|
||||
export * from './variants/result/Patient.result'
|
||||
@@ -939,5 +972,6 @@ export * from './variants/result/PatientDocument.result'
|
||||
export * from './variants/result/TwilioSettings.result'
|
||||
export * from './variants/result/AiSettings.result'
|
||||
export * from './variants/result/OfficeHours.result'
|
||||
export * from './variants/result/OfficeContact.result'
|
||||
export * from './variants/result/index'
|
||||
export * from './variants/index'
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactSelectObjectSchema as OfficeContactSelectObjectSchema } from './OfficeContactSelect.schema';
|
||||
import { OfficeContactIncludeObjectSchema as OfficeContactIncludeObjectSchema } from './OfficeContactInclude.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
select: z.lazy(() => OfficeContactSelectObjectSchema).optional(),
|
||||
include: z.lazy(() => OfficeContactIncludeObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactArgsObjectSchema = makeSchema();
|
||||
export const OfficeContactArgsObjectZodSchema = 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 OfficeContactAvgAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactAvgAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactAvgAggregateInputType>;
|
||||
export const OfficeContactAvgAggregateInputObjectZodSchema = 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 OfficeContactAvgOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactAvgOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactAvgOrderByAggregateInput>;
|
||||
export const OfficeContactAvgOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional(),
|
||||
receptionistName: z.literal(true).optional(),
|
||||
dentistName: z.literal(true).optional(),
|
||||
phoneNumber: z.literal(true).optional(),
|
||||
email: z.literal(true).optional(),
|
||||
fax: z.literal(true).optional(),
|
||||
_all: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const OfficeContactCountAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactCountAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCountAggregateInputType>;
|
||||
export const OfficeContactCountAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
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(),
|
||||
receptionistName: SortOrderSchema.optional(),
|
||||
dentistName: SortOrderSchema.optional(),
|
||||
phoneNumber: SortOrderSchema.optional(),
|
||||
email: SortOrderSchema.optional(),
|
||||
fax: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const OfficeContactCountOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactCountOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCountOrderByAggregateInput>;
|
||||
export const OfficeContactCountOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserCreateNestedOneWithoutOfficeContactInputObjectSchema as UserCreateNestedOneWithoutOfficeContactInputObjectSchema } from './UserCreateNestedOneWithoutOfficeContactInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
receptionistName: z.string().optional().nullable(),
|
||||
dentistName: z.string().optional().nullable(),
|
||||
phoneNumber: z.string().optional().nullable(),
|
||||
email: z.string().optional().nullable(),
|
||||
fax: z.string().optional().nullable(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutOfficeContactInputObjectSchema)
|
||||
}).strict();
|
||||
export const OfficeContactCreateInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateInput>;
|
||||
export const OfficeContactCreateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
receptionistName: z.string().optional().nullable(),
|
||||
dentistName: z.string().optional().nullable(),
|
||||
phoneNumber: z.string().optional().nullable(),
|
||||
email: z.string().optional().nullable(),
|
||||
fax: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactCreateManyInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateManyInput>;
|
||||
export const OfficeContactCreateManyInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema';
|
||||
import { OfficeContactCreateOrConnectWithoutUserInputObjectSchema as OfficeContactCreateOrConnectWithoutUserInputObjectSchema } from './OfficeContactCreateOrConnectWithoutUserInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './OfficeContactWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => OfficeContactWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactCreateNestedOneWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateNestedOneWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateNestedOneWithoutUserInput>;
|
||||
export const OfficeContactCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => OfficeContactWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const OfficeContactCreateOrConnectWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateOrConnectWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateOrConnectWithoutUserInput>;
|
||||
export const OfficeContactCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
receptionistName: z.string().optional().nullable(),
|
||||
dentistName: z.string().optional().nullable(),
|
||||
phoneNumber: z.string().optional().nullable(),
|
||||
email: z.string().optional().nullable(),
|
||||
fax: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactCreateWithoutUserInput>;
|
||||
export const OfficeContactCreateWithoutUserInputObjectZodSchema = 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 OfficeContactIncludeObjectSchema: z.ZodType<Prisma.OfficeContactInclude> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactInclude>;
|
||||
export const OfficeContactIncludeObjectZodSchema = 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(),
|
||||
receptionistName: z.literal(true).optional(),
|
||||
dentistName: z.literal(true).optional(),
|
||||
phoneNumber: z.literal(true).optional(),
|
||||
email: z.literal(true).optional(),
|
||||
fax: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const OfficeContactMaxAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMaxAggregateInputType>;
|
||||
export const OfficeContactMaxAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
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(),
|
||||
receptionistName: SortOrderSchema.optional(),
|
||||
dentistName: SortOrderSchema.optional(),
|
||||
phoneNumber: SortOrderSchema.optional(),
|
||||
email: SortOrderSchema.optional(),
|
||||
fax: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const OfficeContactMaxOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMaxOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMaxOrderByAggregateInput>;
|
||||
export const OfficeContactMaxOrderByAggregateInputObjectZodSchema = 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(),
|
||||
receptionistName: z.literal(true).optional(),
|
||||
dentistName: z.literal(true).optional(),
|
||||
phoneNumber: z.literal(true).optional(),
|
||||
email: z.literal(true).optional(),
|
||||
fax: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const OfficeContactMinAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMinAggregateInputType>;
|
||||
export const OfficeContactMinAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
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(),
|
||||
receptionistName: SortOrderSchema.optional(),
|
||||
dentistName: SortOrderSchema.optional(),
|
||||
phoneNumber: SortOrderSchema.optional(),
|
||||
email: SortOrderSchema.optional(),
|
||||
fax: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const OfficeContactMinOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactMinOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactMinOrderByAggregateInput>;
|
||||
export const OfficeContactMinOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './OfficeContactWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
is: z.lazy(() => OfficeContactWhereInputObjectSchema).optional().nullable(),
|
||||
isNot: z.lazy(() => OfficeContactWhereInputObjectSchema).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactNullableScalarRelationFilterObjectSchema: z.ZodType<Prisma.OfficeContactNullableScalarRelationFilter> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactNullableScalarRelationFilter>;
|
||||
export const OfficeContactNullableScalarRelationFilterObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,26 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { OfficeContactCountOrderByAggregateInputObjectSchema as OfficeContactCountOrderByAggregateInputObjectSchema } from './OfficeContactCountOrderByAggregateInput.schema';
|
||||
import { OfficeContactAvgOrderByAggregateInputObjectSchema as OfficeContactAvgOrderByAggregateInputObjectSchema } from './OfficeContactAvgOrderByAggregateInput.schema';
|
||||
import { OfficeContactMaxOrderByAggregateInputObjectSchema as OfficeContactMaxOrderByAggregateInputObjectSchema } from './OfficeContactMaxOrderByAggregateInput.schema';
|
||||
import { OfficeContactMinOrderByAggregateInputObjectSchema as OfficeContactMinOrderByAggregateInputObjectSchema } from './OfficeContactMinOrderByAggregateInput.schema';
|
||||
import { OfficeContactSumOrderByAggregateInputObjectSchema as OfficeContactSumOrderByAggregateInputObjectSchema } from './OfficeContactSumOrderByAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
receptionistName: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
dentistName: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
phoneNumber: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
email: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
fax: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
_count: z.lazy(() => OfficeContactCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => OfficeContactAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => OfficeContactMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
_min: z.lazy(() => OfficeContactMinOrderByAggregateInputObjectSchema).optional(),
|
||||
_sum: z.lazy(() => OfficeContactSumOrderByAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.OfficeContactOrderByWithAggregationInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactOrderByWithAggregationInput>;
|
||||
export const OfficeContactOrderByWithAggregationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { UserOrderByWithRelationInputObjectSchema as UserOrderByWithRelationInputObjectSchema } from './UserOrderByWithRelationInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
receptionistName: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
dentistName: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
phoneNumber: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
email: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
fax: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.OfficeContactOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactOrderByWithRelationInput>;
|
||||
export const OfficeContactOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,19 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
||||
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'
|
||||
|
||||
const officecontactscalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => OfficeContactScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => OfficeContactScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => OfficeContactScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => OfficeContactScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => OfficeContactScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
receptionistName: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
dentistName: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
phoneNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
email: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
fax: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.OfficeContactScalarWhereWithAggregatesInput> = officecontactscalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.OfficeContactScalarWhereWithAggregatesInput>;
|
||||
export const OfficeContactScalarWhereWithAggregatesInputObjectZodSchema = officecontactscalarwherewithaggregatesinputSchema;
|
||||
@@ -0,0 +1,16 @@
|
||||
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(),
|
||||
receptionistName: z.boolean().optional(),
|
||||
dentistName: z.boolean().optional(),
|
||||
phoneNumber: z.boolean().optional(),
|
||||
email: z.boolean().optional(),
|
||||
fax: z.boolean().optional(),
|
||||
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const OfficeContactSelectObjectSchema: z.ZodType<Prisma.OfficeContactSelect> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactSelect>;
|
||||
export const OfficeContactSelectObjectZodSchema = 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 OfficeContactSumAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactSumAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactSumAggregateInputType>;
|
||||
export const OfficeContactSumAggregateInputObjectZodSchema = 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 OfficeContactSumOrderByAggregateInputObjectSchema: z.ZodType<Prisma.OfficeContactSumOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactSumOrderByAggregateInput>;
|
||||
export const OfficeContactSumOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
receptionistName: z.string().optional().nullable(),
|
||||
dentistName: z.string().optional().nullable(),
|
||||
phoneNumber: z.string().optional().nullable(),
|
||||
email: z.string().optional().nullable(),
|
||||
fax: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedCreateInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedCreateInput>;
|
||||
export const OfficeContactUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema';
|
||||
import { OfficeContactCreateOrConnectWithoutUserInputObjectSchema as OfficeContactCreateOrConnectWithoutUserInputObjectSchema } from './OfficeContactCreateOrConnectWithoutUserInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './OfficeContactWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => OfficeContactWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedCreateNestedOneWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedCreateNestedOneWithoutUserInput>;
|
||||
export const OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = 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(),
|
||||
receptionistName: z.string().optional().nullable(),
|
||||
dentistName: z.string().optional().nullable(),
|
||||
phoneNumber: z.string().optional().nullable(),
|
||||
email: z.string().optional().nullable(),
|
||||
fax: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedCreateWithoutUserInput>;
|
||||
export const OfficeContactUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.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(),
|
||||
receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateInput>;
|
||||
export const OfficeContactUncheckedUpdateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.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(),
|
||||
receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateManyInput>;
|
||||
export const OfficeContactUncheckedUpdateManyInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,23 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema';
|
||||
import { OfficeContactCreateOrConnectWithoutUserInputObjectSchema as OfficeContactCreateOrConnectWithoutUserInputObjectSchema } from './OfficeContactCreateOrConnectWithoutUserInput.schema';
|
||||
import { OfficeContactUpsertWithoutUserInputObjectSchema as OfficeContactUpsertWithoutUserInputObjectSchema } from './OfficeContactUpsertWithoutUserInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema as OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema } from './OfficeContactUpdateToOneWithWhereWithoutUserInput.schema';
|
||||
import { OfficeContactUpdateWithoutUserInputObjectSchema as OfficeContactUpdateWithoutUserInputObjectSchema } from './OfficeContactUpdateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedUpdateWithoutUserInputObjectSchema as OfficeContactUncheckedUpdateWithoutUserInputObjectSchema } from './OfficeContactUncheckedUpdateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(),
|
||||
upsert: z.lazy(() => OfficeContactUpsertWithoutUserInputObjectSchema).optional(),
|
||||
disconnect: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInputObjectSchema)]).optional(),
|
||||
delete: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInputObjectSchema)]).optional(),
|
||||
connect: z.lazy(() => OfficeContactWhereUniqueInputObjectSchema).optional(),
|
||||
update: z.union([z.lazy(() => OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateOneWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateOneWithoutUserNestedInput>;
|
||||
export const OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUncheckedUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUncheckedUpdateWithoutUserInput>;
|
||||
export const OfficeContactUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema as UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactUpdateInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateInput>;
|
||||
export const OfficeContactUpdateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUpdateManyMutationInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateManyMutationInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateManyMutationInput>;
|
||||
export const OfficeContactUpdateManyMutationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,23 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema';
|
||||
import { OfficeContactCreateOrConnectWithoutUserInputObjectSchema as OfficeContactCreateOrConnectWithoutUserInputObjectSchema } from './OfficeContactCreateOrConnectWithoutUserInput.schema';
|
||||
import { OfficeContactUpsertWithoutUserInputObjectSchema as OfficeContactUpsertWithoutUserInputObjectSchema } from './OfficeContactUpsertWithoutUserInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './OfficeContactWhereInput.schema';
|
||||
import { OfficeContactWhereUniqueInputObjectSchema as OfficeContactWhereUniqueInputObjectSchema } from './OfficeContactWhereUniqueInput.schema';
|
||||
import { OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema as OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema } from './OfficeContactUpdateToOneWithWhereWithoutUserInput.schema';
|
||||
import { OfficeContactUpdateWithoutUserInputObjectSchema as OfficeContactUpdateWithoutUserInputObjectSchema } from './OfficeContactUpdateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedUpdateWithoutUserInputObjectSchema as OfficeContactUncheckedUpdateWithoutUserInputObjectSchema } from './OfficeContactUncheckedUpdateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(),
|
||||
upsert: z.lazy(() => OfficeContactUpsertWithoutUserInputObjectSchema).optional(),
|
||||
disconnect: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInputObjectSchema)]).optional(),
|
||||
delete: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInputObjectSchema)]).optional(),
|
||||
connect: z.lazy(() => OfficeContactWhereUniqueInputObjectSchema).optional(),
|
||||
update: z.union([z.lazy(() => OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const OfficeContactUpdateOneWithoutUserNestedInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateOneWithoutUserNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateOneWithoutUserNestedInput>;
|
||||
export const OfficeContactUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './OfficeContactWhereInput.schema';
|
||||
import { OfficeContactUpdateWithoutUserInputObjectSchema as OfficeContactUpdateWithoutUserInputObjectSchema } from './OfficeContactUpdateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedUpdateWithoutUserInputObjectSchema as OfficeContactUncheckedUpdateWithoutUserInputObjectSchema } from './OfficeContactUncheckedUpdateWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => OfficeContactWhereInputObjectSchema).optional(),
|
||||
data: z.union([z.lazy(() => OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)])
|
||||
}).strict();
|
||||
export const OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateToOneWithWhereWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateToOneWithWhereWithoutUserInput>;
|
||||
export const OfficeContactUpdateToOneWithWhereWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const OfficeContactUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpdateWithoutUserInput>;
|
||||
export const OfficeContactUpdateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { OfficeContactUpdateWithoutUserInputObjectSchema as OfficeContactUpdateWithoutUserInputObjectSchema } from './OfficeContactUpdateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedUpdateWithoutUserInputObjectSchema as OfficeContactUncheckedUpdateWithoutUserInputObjectSchema } from './OfficeContactUncheckedUpdateWithoutUserInput.schema';
|
||||
import { OfficeContactCreateWithoutUserInputObjectSchema as OfficeContactCreateWithoutUserInputObjectSchema } from './OfficeContactCreateWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateWithoutUserInputObjectSchema as OfficeContactUncheckedCreateWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateWithoutUserInput.schema';
|
||||
import { OfficeContactWhereInputObjectSchema as OfficeContactWhereInputObjectSchema } from './OfficeContactWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]),
|
||||
where: z.lazy(() => OfficeContactWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const OfficeContactUpsertWithoutUserInputObjectSchema: z.ZodType<Prisma.OfficeContactUpsertWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactUpsertWithoutUserInput>;
|
||||
export const OfficeContactUpsertWithoutUserInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema';
|
||||
import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema'
|
||||
|
||||
const officecontactwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => OfficeContactWhereInputObjectSchema), z.lazy(() => OfficeContactWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => OfficeContactWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => OfficeContactWhereInputObjectSchema), z.lazy(() => OfficeContactWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
receptionistName: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
dentistName: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
phoneNumber: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
email: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
fax: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const OfficeContactWhereInputObjectSchema: z.ZodType<Prisma.OfficeContactWhereInput> = officecontactwhereinputSchema as unknown as z.ZodType<Prisma.OfficeContactWhereInput>;
|
||||
export const OfficeContactWhereInputObjectZodSchema = officecontactwhereinputSchema;
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int().optional()
|
||||
}).strict();
|
||||
export const OfficeContactWhereUniqueInputObjectSchema: z.ZodType<Prisma.OfficeContactWhereUniqueInput> = makeSchema() as unknown as z.ZodType<Prisma.OfficeContactWhereUniqueInput>;
|
||||
export const OfficeContactWhereUniqueInputObjectZodSchema = makeSchema();
|
||||
@@ -15,7 +15,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateInputObjectSchema: z.ZodType<Prisma.UserCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateInput>;
|
||||
export const UserCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserCreateWithoutOfficeContactInputObjectSchema as UserCreateWithoutOfficeContactInputObjectSchema } from './UserCreateWithoutOfficeContactInput.schema';
|
||||
import { UserUncheckedCreateWithoutOfficeContactInputObjectSchema as UserUncheckedCreateWithoutOfficeContactInputObjectSchema } from './UserUncheckedCreateWithoutOfficeContactInput.schema';
|
||||
import { UserCreateOrConnectWithoutOfficeContactInputObjectSchema as UserCreateOrConnectWithoutOfficeContactInputObjectSchema } from './UserCreateOrConnectWithoutOfficeContactInput.schema';
|
||||
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutOfficeContactInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => UserWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateNestedOneWithoutOfficeContactInputObjectSchema: z.ZodType<Prisma.UserCreateNestedOneWithoutOfficeContactInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateNestedOneWithoutOfficeContactInput>;
|
||||
export const UserCreateNestedOneWithoutOfficeContactInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { UserWhereUniqueInputObjectSchema as UserWhereUniqueInputObjectSchema } from './UserWhereUniqueInput.schema';
|
||||
import { UserCreateWithoutOfficeContactInputObjectSchema as UserCreateWithoutOfficeContactInputObjectSchema } from './UserCreateWithoutOfficeContactInput.schema';
|
||||
import { UserUncheckedCreateWithoutOfficeContactInputObjectSchema as UserUncheckedCreateWithoutOfficeContactInputObjectSchema } from './UserUncheckedCreateWithoutOfficeContactInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => UserWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInputObjectSchema)])
|
||||
}).strict();
|
||||
export const UserCreateOrConnectWithoutOfficeContactInputObjectSchema: z.ZodType<Prisma.UserCreateOrConnectWithoutOfficeContactInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateOrConnectWithoutOfficeContactInput>;
|
||||
export const UserCreateOrConnectWithoutOfficeContactInputObjectZodSchema = makeSchema();
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderCreateNestedManyWithoutUserInputObjectSchema as CloudFolderC
|
||||
import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreateNestedManyWithoutUserInputObjectSchema } from './CloudFileCreateNestedManyWithoutUserInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutUserInputObjectSchema as CommunicationCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutAiSettingsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutAiSettingsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutAiSettingsInput>;
|
||||
export const UserCreateWithoutAiSettingsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutAppointmentsInput>;
|
||||
export const UserCreateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutBackupDestinationsInput>;
|
||||
export const UserCreateWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutBackupsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutBackupsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutBackupsInput>;
|
||||
export const UserCreateWithoutBackupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutClaimsInput>;
|
||||
export const UserCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderCreateNestedManyWithoutUserInputObjectSchema as CloudFolderC
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutCloudFilesInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutCloudFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutCloudFilesInput>;
|
||||
export const UserCreateWithoutCloudFilesInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutCloudFoldersInput>;
|
||||
export const UserCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderCreateNestedManyWithoutUserInputObjectSchema as CloudFolderC
|
||||
import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreateNestedManyWithoutUserInputObjectSchema } from './CloudFileCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsCreateNestedOneWithoutUserInputObjectSchema as AiSettingsCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutCommunicationsInput>;
|
||||
export const UserCreateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutInsuranceCredentialsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutInsuranceCredentialsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutInsuranceCredentialsInput>;
|
||||
export const UserCreateWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutNotificationsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutNotificationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutNotificationsInput>;
|
||||
export const UserCreateWithoutNotificationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutNpiProvidersInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutNpiProvidersInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutNpiProvidersInput>;
|
||||
export const UserCreateWithoutNpiProvidersInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
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'
|
||||
|
||||
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()
|
||||
}).strict();
|
||||
export const UserCreateWithoutOfficeContactInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutOfficeContactInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutOfficeContactInput>;
|
||||
export const UserCreateWithoutOfficeContactInputObjectZodSchema = makeSchema();
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderCreateNestedManyWithoutUserInputObjectSchema as CloudFolderC
|
||||
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 { AiSettingsCreateNestedOneWithoutUserInputObjectSchema as AiSettingsCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutOfficeHoursInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutOfficeHoursInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutOfficeHoursInput>;
|
||||
export const UserCreateWithoutOfficeHoursInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutPatientsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutPatientsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutPatientsInput>;
|
||||
export const UserCreateWithoutPatientsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutStaffInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutStaffInput>;
|
||||
export const UserCreateWithoutStaffInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderCreateNestedManyWithoutUserInputObjectSchema as CloudFolderC
|
||||
import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreateNestedManyWithoutUserInputObjectSchema } from './CloudFileCreateNestedManyWithoutUserInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutUserInputObjectSchema as CommunicationCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationCreateNestedManyWithoutUserInput.schema';
|
||||
import { AiSettingsCreateNestedOneWithoutUserInputObjectSchema as AiSettingsCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutTwilioSettingsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutTwilioSettingsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutTwilioSettingsInput>;
|
||||
export const UserCreateWithoutTwilioSettingsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileCreateNestedManyWithoutUserInputObjectSchema as CloudFileCreat
|
||||
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 { OfficeHoursCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactCreateNestedOneWithoutUserInputObjectSchema as OfficeContactCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
username: z.string(),
|
||||
@@ -35,7 +36,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserCreateWithoutUpdatedPaymentsInputObjectSchema: z.ZodType<Prisma.UserCreateWithoutUpdatedPaymentsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserCreateWithoutUpdatedPaymentsInput>;
|
||||
export const UserCreateWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -16,6 +16,7 @@ import { CommunicationFindManySchema as CommunicationFindManySchema } from '../f
|
||||
import { TwilioSettingsArgsObjectSchema as TwilioSettingsArgsObjectSchema } from './TwilioSettingsArgs.schema';
|
||||
import { AiSettingsArgsObjectSchema as AiSettingsArgsObjectSchema } from './AiSettingsArgs.schema';
|
||||
import { OfficeHoursArgsObjectSchema as OfficeHoursArgsObjectSchema } from './OfficeHoursArgs.schema';
|
||||
import { OfficeContactArgsObjectSchema as OfficeContactArgsObjectSchema } from './OfficeContactArgs.schema';
|
||||
import { UserCountOutputTypeArgsObjectSchema as UserCountOutputTypeArgsObjectSchema } from './UserCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -35,6 +36,7 @@ const makeSchema = () => z.object({
|
||||
twilioSettings: z.union([z.boolean(), z.lazy(() => TwilioSettingsArgsObjectSchema)]).optional(),
|
||||
aiSettings: z.union([z.boolean(), z.lazy(() => AiSettingsArgsObjectSchema)]).optional(),
|
||||
officeHours: z.union([z.boolean(), z.lazy(() => OfficeHoursArgsObjectSchema)]).optional(),
|
||||
officeContact: z.union([z.boolean(), z.lazy(() => OfficeContactArgsObjectSchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const UserIncludeObjectSchema: z.ZodType<Prisma.UserInclude> = makeSchema() as unknown as z.ZodType<Prisma.UserInclude>;
|
||||
|
||||
@@ -16,7 +16,8 @@ import { CloudFileOrderByRelationAggregateInputObjectSchema as CloudFileOrderByR
|
||||
import { CommunicationOrderByRelationAggregateInputObjectSchema as CommunicationOrderByRelationAggregateInputObjectSchema } from './CommunicationOrderByRelationAggregateInput.schema';
|
||||
import { TwilioSettingsOrderByWithRelationInputObjectSchema as TwilioSettingsOrderByWithRelationInputObjectSchema } from './TwilioSettingsOrderByWithRelationInput.schema';
|
||||
import { AiSettingsOrderByWithRelationInputObjectSchema as AiSettingsOrderByWithRelationInputObjectSchema } from './AiSettingsOrderByWithRelationInput.schema';
|
||||
import { OfficeHoursOrderByWithRelationInputObjectSchema as OfficeHoursOrderByWithRelationInputObjectSchema } from './OfficeHoursOrderByWithRelationInput.schema'
|
||||
import { OfficeHoursOrderByWithRelationInputObjectSchema as OfficeHoursOrderByWithRelationInputObjectSchema } from './OfficeHoursOrderByWithRelationInput.schema';
|
||||
import { OfficeContactOrderByWithRelationInputObjectSchema as OfficeContactOrderByWithRelationInputObjectSchema } from './OfficeContactOrderByWithRelationInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
@@ -39,7 +40,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsOrderByWithRelationInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsOrderByWithRelationInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursOrderByWithRelationInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursOrderByWithRelationInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactOrderByWithRelationInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.UserOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.UserOrderByWithRelationInput>;
|
||||
export const UserOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -16,6 +16,7 @@ import { CommunicationFindManySchema as CommunicationFindManySchema } from '../f
|
||||
import { TwilioSettingsArgsObjectSchema as TwilioSettingsArgsObjectSchema } from './TwilioSettingsArgs.schema';
|
||||
import { AiSettingsArgsObjectSchema as AiSettingsArgsObjectSchema } from './AiSettingsArgs.schema';
|
||||
import { OfficeHoursArgsObjectSchema as OfficeHoursArgsObjectSchema } from './OfficeHoursArgs.schema';
|
||||
import { OfficeContactArgsObjectSchema as OfficeContactArgsObjectSchema } from './OfficeContactArgs.schema';
|
||||
import { UserCountOutputTypeArgsObjectSchema as UserCountOutputTypeArgsObjectSchema } from './UserCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -40,6 +41,7 @@ const makeSchema = () => z.object({
|
||||
twilioSettings: z.union([z.boolean(), z.lazy(() => TwilioSettingsArgsObjectSchema)]).optional(),
|
||||
aiSettings: z.union([z.boolean(), z.lazy(() => AiSettingsArgsObjectSchema)]).optional(),
|
||||
officeHours: z.union([z.boolean(), z.lazy(() => OfficeHoursArgsObjectSchema)]).optional(),
|
||||
officeContact: z.union([z.boolean(), z.lazy(() => OfficeContactArgsObjectSchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const UserSelectObjectSchema: z.ZodType<Prisma.UserSelect> = makeSchema() as unknown as z.ZodType<Prisma.UserSelect>;
|
||||
|
||||
@@ -15,7 +15,8 @@ import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as Cloud
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -38,7 +39,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateInput>;
|
||||
export const UserUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema as Clo
|
||||
import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CloudFileUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -36,7 +37,8 @@ const makeSchema = () => z.object({
|
||||
cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutAiSettingsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutAiSettingsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutAiSettingsInput>;
|
||||
export const UserUncheckedCreateWithoutAiSettingsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as Cloud
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -36,7 +37,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutAppointmentsInput>;
|
||||
export const UserUncheckedCreateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as Cloud
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -36,7 +37,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutBackupDestinationsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutBackupDestinationsInput>;
|
||||
export const UserUncheckedCreateWithoutBackupDestinationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as Cloud
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -36,7 +37,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutBackupsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutBackupsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutBackupsInput>;
|
||||
export const UserUncheckedCreateWithoutBackupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema as Cloud
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -36,7 +37,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutClaimsInput>;
|
||||
export const UserUncheckedCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema as Clo
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutUserInput.schema';
|
||||
import { TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema as AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
import { OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema';
|
||||
import { OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema as OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema } from './OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -36,7 +37,8 @@ const makeSchema = () => z.object({
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(),
|
||||
twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(),
|
||||
officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserUncheckedCreateWithoutCloudFilesInputObjectSchema: z.ZodType<Prisma.UserUncheckedCreateWithoutCloudFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.UserUncheckedCreateWithoutCloudFilesInput>;
|
||||
export const UserUncheckedCreateWithoutCloudFilesInputObjectZodSchema = makeSchema();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user