diff --git a/apps/Backend/src/ai/cdt-lookup.ts b/apps/Backend/src/ai/cdt-lookup.ts index b4998c48..e86e01d5 100644 --- a/apps/Backend/src/ai/cdt-lookup.ts +++ b/apps/Backend/src/ai/cdt-lookup.ts @@ -105,6 +105,7 @@ const ALIAS_MAP: Record = { "recement": "re-cement", "post core": "post and core", "post and core": "post and core", + "post/core": "post and core", // Root canal (endodontic) "root canal": "endodontic therapy", "rct": "endodontic therapy", @@ -178,6 +179,7 @@ const DIRECT_CODE_MAP: Record = { "post": "D2954", "pos": "D2954", "post core": "D2954", + "post/core": "D2954", // Crowns "recement": "D2920", "re cement": "D2920", diff --git a/apps/Backend/src/ai/internal-chat-graph.ts b/apps/Backend/src/ai/internal-chat-graph.ts index 1f797a54..a88d4a6c 100644 --- a/apps/Backend/src/ai/internal-chat-graph.ts +++ b/apps/Backend/src/ai/internal-chat-graph.ts @@ -152,6 +152,12 @@ Rules: e.g. "#20 rct, post, crown" → ["#20 rct", "#20 post", "#20 crown"] e.g. "preauth #20 rct, pos, crown" → ["#20 rct", "#20 pos", "#20 crown"] e.g. "#14 rct, buildup, crown" → ["#14 rct", "#14 buildup", "#14 crown"] +- When a procedure is followed by MULTIPLE tooth numbers (comma-separated, with or without # on each), apply the procedure to EVERY tooth number as separate entries. + e.g. "post/core on #23, 24, 25, 26" → ["post/core #23", "post/core #24", "post/core #25", "post/core #26"] + e.g. "crown #3, #5, #12" → ["crown #3", "crown #5", "crown #12"] + e.g. "extraction #1, 16, 17, 32" → ["extraction #1", "extraction #16", "extraction #17", "extraction #32"] + e.g. "rct #23, 24, 25" → ["rct #23", "rct #24", "rct #25"] + "post/core" is the same as "post core" — a combined post and core procedure - For RCT/root canal with a tooth number, preserve the tooth# in the entry: e.g. "rct #29", "#14 root canal", "rct #6", "#20 rct" — keep the #number with the procedure so the correct code can be selected - For a CDT code (D####) followed by a tooth number (# NN or #NN), keep them together as ONE entry and do NOT spread the tooth# to other procedures: diff --git a/apps/Backend/src/routes/claims.ts b/apps/Backend/src/routes/claims.ts index 9fc90a8d..4c56d55f 100755 --- a/apps/Backend/src/routes/claims.ts +++ b/apps/Backend/src/routes/claims.ts @@ -1152,7 +1152,7 @@ router.post("/", async (req: Request, res: Response): Promise => { // Strip unknown keys so strict() doesn't reject any extra properties the frontend may send const parsedClaim = (ExtendedClaimSchema as unknown as z.ZodObject).strip().parse({ patientId: req.body.patientId, - appointmentId: req.body.appointmentId, + appointmentId: req.body.appointmentId ?? null, staffId: req.body.staffId, patientName: req.body.patientName, memberId: req.body.memberId, diff --git a/apps/Frontend/src/components/claims/claim-form.tsx b/apps/Frontend/src/components/claims/claim-form.tsx index 6550bce6..3b1c1e56 100755 --- a/apps/Frontend/src/components/claims/claim-form.tsx +++ b/apps/Frontend/src/components/claims/claim-form.tsx @@ -953,7 +953,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; // 3. Create Claim(if not) // Filter out empty service lines (empty procedureCode) @@ -1092,7 +1092,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; const { uploadedFiles, insuranceSiteKey, npiProvider, ...formToCreateClaim } = f; const claimFilesMeta: ClaimFileMeta[] = (uploadedFiles || []).map((file) => ({ @@ -1159,7 +1159,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; const { uploadedFiles, insuranceSiteKey, npiProvider, ...formToCreateClaim } = f; @@ -1226,7 +1226,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; const { uploadedFiles, insuranceSiteKey, npiProvider, ...formToCreateClaim } = f; @@ -1292,7 +1292,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; const { uploadedFiles, insuranceSiteKey, npiProvider, ...formToCreateClaim } = f; @@ -1561,7 +1561,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; const { uploadedFiles, insuranceSiteKey, npiProvider, ...formToSave } = form; @@ -1698,7 +1698,7 @@ export function ClaimForm({ return; } - const appointmentIdToUse = appointmentId; + const appointmentIdToUse = appointmentId ?? null; const { uploadedFiles, insuranceSiteKey, npiProvider, ...formToCreateClaim } = form; diff --git a/packages/db/generated/prisma/edge.js b/packages/db/generated/prisma/edge.js index 2000cd30..fbab2229 100644 --- a/packages/db/generated/prisma/edge.js +++ b/packages/db/generated/prisma/edge.js @@ -650,7 +650,7 @@ const config = { "clientVersion": "7.4.1", "engineVersion": "55ae170b1ced7fc6ed07a15f110549408c501bb3", "activeProvider": "postgresql", - "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ngenerator zod {\n provider = \"prisma-zod-generator\"\n output = \"../shared/\" // Zod schemas will be generated here inside `db/shared`\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n id Int @id @default(autoincrement())\n username String @unique\n password String\n autoBackupEnabled Boolean @default(true)\n autoBackupHour Int @default(20)\n usbBackupEnabled Boolean @default(false)\n usbBackupHour Int @default(21)\n autoMhCheckEnabled Boolean @default(false)\n autoMhCheckDayOfWeek Int @default(1)\n autoMhCheckHour Int @default(13)\n patients Patient[]\n appointments Appointment[]\n staff Staff[]\n npiProviders NpiProvider[]\n claims Claim[]\n insuranceCredentials InsuranceCredential[]\n shoppingVendors ShoppingVendor[]\n updatedPayments Payment[] @relation(\"PaymentUpdatedBy\")\n backups DatabaseBackup[]\n backupDestinations BackupDestination[]\n notifications Notification[]\n cloudFolders CloudFolder[]\n cloudFiles CloudFile[]\n communications Communication[]\n twilioSettings TwilioSettings?\n aiSettings AiSettings?\n officeHours OfficeHours?\n officeContact OfficeContact?\n procedureTimeslot ProcedureTimeslot?\n insuranceContacts InsuranceContact[]\n patientConversations PatientConversation[]\n}\n\nmodel Patient {\n id Int @id @default(autoincrement())\n firstName String\n lastName String\n dateOfBirth DateTime? @db.Date\n gender String\n phone String\n email String?\n address String?\n city String?\n zipCode String?\n insuranceProvider String?\n insuranceId String?\n groupNumber String?\n policyHolder String?\n allergies String?\n medicalConditions String?\n preferredLanguage String? @default(\"English\")\n status PatientStatus @default(UNKNOWN)\n userId Int\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n appointments Appointment[]\n procedures AppointmentProcedure[]\n claims Claim[]\n groups PdfGroup[]\n payment Payment[]\n communications Communication[]\n documents PatientDocument[]\n conversation PatientConversation?\n cloudFolders CloudFolder[] @relation(\"PatientCloudFolder\")\n\n @@index([insuranceId])\n @@index([createdAt])\n}\n\nenum PatientStatus {\n ACTIVE\n INACTIVE\n UNKNOWN\n PLAN_NOT_ACCEPTED\n}\n\nmodel Appointment {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int\n staffId Int\n title String\n date DateTime @db.Date\n startTime String // Store time as \"hh:mm\"\n endTime String // Store time as \"hh:mm\"\n type String // e.g., \"checkup\", \"cleaning\", \"filling\", etc.\n typeLocked Boolean @default(false) // true = user manually set; auto-sync will not overwrite\n notes String?\n procedureCodeNotes String?\n status String @default(\"scheduled\") // \"scheduled\", \"completed\", \"cancelled\", \"no-show\"\n movedByAi Boolean @default(false)\n createdAt DateTime @default(now())\n\n eligibilityStatus PatientStatus @default(UNKNOWN)\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id])\n staff Staff? @relation(fields: [staffId], references: [id])\n procedures AppointmentProcedure[]\n claims Claim[]\n files AppointmentFile[]\n\n @@index([patientId])\n @@index([date])\n}\n\nmodel AppointmentFile {\n id Int @id @default(autoincrement())\n appointmentId Int\n filename String\n mimeType String?\n filePath String?\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n\n @@index([appointmentId])\n}\n\nmodel Staff {\n id Int @id @default(autoincrement())\n userId Int\n name String\n email String?\n role String // e.g., \"Dentist\", \"Hygienist\", \"Assistant\"\n phone String?\n createdAt DateTime @default(now())\n user User? @relation(fields: [userId], references: [id], onDelete: Cascade)\n appointments Appointment[]\n claims Claim[] @relation(\"ClaimStaff\")\n}\n\nmodel NpiProvider {\n id Int @id @default(autoincrement())\n userId Int\n npiNumber String\n providerName String\n sortOrder Int @default(0)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n claims Claim[]\n payments Payment[]\n commissionBatches CommissionBatch[]\n appointmentProcedures AppointmentProcedure[]\n\n @@unique([userId, npiNumber])\n @@index([userId])\n}\n\nenum ProcedureSource {\n COMBO\n MANUAL\n}\n\nmodel AppointmentProcedure {\n id Int @id @default(autoincrement())\n appointmentId Int\n patientId Int\n npiProviderId Int?\n\n procedureCode String\n procedureLabel String?\n fee Decimal? @db.Decimal(10, 2)\n\n category String?\n\n toothNumber String?\n toothSurface String?\n oralCavityArea String?\n\n source ProcedureSource @default(MANUAL)\n comboKey String?\n\n createdAt DateTime @default(now())\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n @@index([appointmentId])\n @@index([patientId])\n}\n\nmodel Claim {\n id Int @id @default(autoincrement())\n patientId Int\n appointmentId Int?\n userId Int\n staffId Int\n patientName String\n memberId String\n dateOfBirth DateTime @db.Date\n remarks String\n missingTeethStatus MissingTeethStatus @default(No_missing)\n missingTeeth Json? // { \"T_14\": \"X\", \"T_G\": \"O\", ... }\n serviceDate DateTime\n insuranceProvider String // e.g., \"Delta MA\"\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n status ClaimStatus @default(PENDING)\n claimNumber String?\n preAuthNumber String?\n npiProviderId Int?\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n appointment Appointment? @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n user User? @relation(fields: [userId], references: [id])\n staff Staff? @relation(\"ClaimStaff\", fields: [staffId], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n serviceLines ServiceLine[]\n claimFiles ClaimFile[]\n payment Payment?\n}\n\nenum ClaimStatus {\n PENDING\n APPROVED\n CANCELLED\n REVIEW\n VOID\n PREAUTH\n}\n\nenum MissingTeethStatus {\n No_missing\n endentulous\n Yes_missing\n}\n\nmodel ServiceLine {\n id Int @id @default(autoincrement())\n claimId Int?\n paymentId Int?\n procedureCode String\n procedureDate DateTime @db.Date\n quad String?\n arch String?\n toothNumber String?\n toothSurface String?\n icn String?\n paidCode String?\n allowedAmount Decimal? @db.Decimal(10, 2)\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @default(0.00) @db.Decimal(10, 2)\n status ServiceLineStatus @default(UNPAID)\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n payment Payment? @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n\n serviceLineTransactions ServiceLineTransaction[]\n}\n\nenum ServiceLineStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n UNPAID\n ADJUSTED\n OVERPAID\n DENIED\n}\n\nmodel ClaimFile {\n id Int @id @default(autoincrement())\n claimId Int\n filename String\n mimeType String\n filePath String?\n\n claim Claim @relation(fields: [claimId], references: [id], onDelete: Cascade)\n}\n\nmodel InsuranceCredential {\n id Int @id @default(autoincrement())\n userId Int\n siteKey String\n username String\n password String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([userId, siteKey])\n @@index([userId])\n}\n\nmodel ShoppingVendor {\n id Int @id @default(autoincrement())\n userId Int\n vendorName String\n websiteUrl String\n loginUsername String\n loginPassword String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n}\n\nmodel PdfGroup {\n id Int @id @default(autoincrement())\n title String\n titleKey PdfTitleKey @default(OTHER)\n createdAt DateTime @default(now())\n patientId Int\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n pdfs PdfFile[]\n\n @@index([patientId])\n @@index([titleKey])\n}\n\nmodel PdfFile {\n id Int @id @default(autoincrement())\n filename String\n pdfData Bytes\n uploadedAt DateTime @default(now())\n groupId Int\n group PdfGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n @@index([groupId])\n}\n\nenum PdfTitleKey {\n INSURANCE_CLAIM\n INSURANCE_CLAIM_PREAUTH\n ELIGIBILITY_STATUS\n CLAIM_STATUS\n OTHER\n}\n\nmodel Payment {\n id Int @id @default(autoincrement())\n claimId Int? @unique\n patientId Int\n userId Int\n updatedById Int?\n npiProviderId Int?\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @db.Decimal(10, 2)\n mhPaidAmount Decimal? @db.Decimal(10, 2)\n copayment Decimal @default(0.00) @db.Decimal(10, 2)\n adjustment Decimal @default(0.00) @db.Decimal(10, 2)\n status PaymentStatus @default(PENDING)\n notes String?\n icn String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n updatedBy User? @relation(\"PaymentUpdatedBy\", fields: [updatedById], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n serviceLineTransactions ServiceLineTransaction[]\n serviceLines ServiceLine[]\n commissionBatchItems CommissionBatchItem[]\n\n @@index([claimId])\n @@index([patientId])\n @@index([createdAt])\n}\n\nmodel ServiceLineTransaction {\n id Int @id @default(autoincrement())\n paymentId Int\n serviceLineId Int\n transactionId String?\n paidAmount Decimal @db.Decimal(10, 2)\n adjustedAmount Decimal @default(0.00) @db.Decimal(10, 2)\n method PaymentMethod\n receivedDate DateTime\n payerName String?\n notes String?\n createdAt DateTime @default(now())\n\n payment Payment @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n serviceLine ServiceLine @relation(fields: [serviceLineId], references: [id], onDelete: Cascade)\n\n @@index([paymentId])\n @@index([serviceLineId])\n}\n\nenum PaymentStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n OVERPAID\n DENIED\n VOID\n}\n\nenum PaymentMethod {\n EFT\n CHECK\n CASH\n CARD\n OTHER\n}\n\n// Database management page\nmodel DatabaseBackup {\n id Int @id @default(autoincrement())\n userId Int\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nmodel BackupDestination {\n id Int @id @default(autoincrement())\n userId Int\n path String\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id])\n}\n\nmodel Notification {\n id Int @id @default(autoincrement())\n userId Int\n type NotificationTypes\n message String\n createdAt DateTime @default(now())\n read Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nenum NotificationTypes {\n BACKUP\n CLAIM\n PAYMENT\n ETC\n}\n\n// Cron job execution log\nmodel CronJobLog {\n id Int @id @default(autoincrement())\n jobName String // e.g. \"local-backup\", \"usb-backup\"\n status String // \"success\" | \"failed\" | \"skipped\"\n startedAt DateTime\n completedAt DateTime?\n durationMs Int?\n errorMessage String?\n\n @@index([jobName])\n @@index([startedAt])\n @@index([status])\n}\n\nmodel CloudFolder {\n id Int @id @default(autoincrement())\n userId Int\n name String\n parentId Int?\n patientId Int?\n parent CloudFolder? @relation(\"FolderChildren\", fields: [parentId], references: [id], onDelete: Cascade)\n children CloudFolder[] @relation(\"FolderChildren\")\n user User @relation(fields: [userId], references: [id])\n patient Patient? @relation(\"PatientCloudFolder\", fields: [patientId], references: [id], onDelete: SetNull)\n files CloudFile[]\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@unique([userId, parentId, name]) // prevents sibling folder name duplicates\n @@index([parentId])\n @@index([patientId])\n}\n\nmodel CloudFile {\n id Int @id @default(autoincrement())\n userId Int\n name String\n mimeType String?\n fileSize BigInt @db.BigInt\n folderId Int? // optional: null => root\n isComplete Boolean @default(false) // upload completed?\n totalChunks Int? // optional: expected number of chunks\n diskPath String? // relative path on disk under uploads/\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n folder CloudFolder? @relation(fields: [folderId], references: [id], onDelete: SetNull)\n\n chunks CloudFileChunk[]\n\n @@index([folderId])\n}\n\nmodel CloudFileChunk {\n id Int @id @default(autoincrement())\n fileId Int\n seq Int\n data Bytes\n createdAt DateTime @default(now())\n\n file CloudFile @relation(fields: [fileId], references: [id], onDelete: Cascade)\n\n @@unique([fileId, seq])\n @@index([fileId, seq])\n}\n\n// patient-connection-\nenum CommunicationChannel {\n sms\n voice\n}\n\nenum CommunicationDirection {\n outbound\n inbound\n}\n\nenum CommunicationStatus {\n queued\n sent\n delivered\n failed\n completed\n busy\n no_answer\n}\n\nmodel Communication {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int?\n\n channel CommunicationChannel\n direction CommunicationDirection\n status CommunicationStatus\n\n body String?\n callDuration Int?\n twilioSid String?\n\n createdAt DateTime @default(now())\n\n // Relations\n patient Patient @relation(fields: [patientId], references: [id])\n user User? @relation(fields: [userId], references: [id])\n\n @@map(\"communications\")\n}\n\nmodel PatientDocument {\n id Int @id @default(autoincrement())\n patientId Int\n filename String\n originalName String\n mimeType String\n fileSize BigInt\n filePath String\n uploadedAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n\n @@index([patientId])\n @@index([uploadedAt])\n}\n\nmodel TwilioSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n accountSid String\n authToken String\n phoneNumber String\n greetingMessage String?\n templates Json?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"twilio_settings\")\n}\n\nmodel AiSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n apiKey String\n aiEnabled Boolean @default(true)\n openAiKey String @default(\"\")\n openAiEnabled Boolean @default(false)\n claudeAiKey String @default(\"\")\n claudeAiEnabled Boolean @default(false)\n claudeAiModel String @default(\"claude-haiku-4-5-20251001\")\n openAiModel String @default(\"gpt-5.2\")\n googleAiModel String @default(\"gemini-2.5-flash\")\n dentalMgmtKey String @default(\"\")\n dentalMgmtEnabled Boolean @default(false)\n afterHoursEnabled Boolean @default(true)\n openPhoneReply Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"ai_settings\")\n}\n\nmodel OfficeHours {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_hours\")\n}\n\nmodel OfficeContact {\n id Int @id @default(autoincrement())\n userId Int @unique\n officeName String?\n receptionistName String?\n dentistName String?\n phoneNumber String?\n email String?\n fax String?\n streetAddress String?\n city String?\n state String?\n zipCode String?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_contact\")\n}\n\nmodel InsuranceContact {\n id Int @id @default(autoincrement())\n userId Int\n name String\n phoneNumber String?\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"insurance_contact\")\n}\n\nmodel ProcedureTimeslot {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"procedure_timeslot\")\n}\n\nmodel PatientConversation {\n id Int @id @default(autoincrement())\n patientId Int @unique\n userId Int\n stage String @default(\"initial\")\n aiHandoff Boolean @default(true)\n updatedAt DateTime @updatedAt\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"patient_conversation\")\n}\n\n// Commission tracking\nmodel CommissionBatch {\n id Int @id @default(autoincrement())\n npiProviderId Int\n totalCollection Decimal @db.Decimal(14, 2)\n commissionAmount Decimal @db.Decimal(14, 2)\n notes String?\n createdAt DateTime @default(now())\n\n npiProvider NpiProvider @relation(fields: [npiProviderId], references: [id])\n items CommissionBatchItem[]\n\n @@index([npiProviderId])\n}\n\nmodel CommissionBatchItem {\n id Int @id @default(autoincrement())\n commissionBatchId Int\n paymentId Int\n collectionAmount Decimal @db.Decimal(14, 2)\n\n commissionBatch CommissionBatch @relation(fields: [commissionBatchId], references: [id], onDelete: Cascade)\n payment Payment @relation(fields: [paymentId], references: [id])\n\n @@unique([commissionBatchId, paymentId])\n @@index([paymentId])\n}\n" + "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ngenerator zod {\n provider = \"prisma-zod-generator\"\n output = \"../shared/\" // Zod schemas will be generated here inside `db/shared`\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n id Int @id @default(autoincrement())\n username String @unique\n password String\n autoBackupEnabled Boolean @default(true)\n autoBackupHour Int @default(20)\n usbBackupEnabled Boolean @default(false)\n usbBackupHour Int @default(21)\n autoMhCheckEnabled Boolean @default(false)\n autoMhCheckDayOfWeek Int @default(1)\n autoMhCheckHour Int @default(13)\n patients Patient[]\n appointments Appointment[]\n staff Staff[]\n npiProviders NpiProvider[]\n claims Claim[]\n insuranceCredentials InsuranceCredential[]\n shoppingVendors ShoppingVendor[]\n updatedPayments Payment[] @relation(\"PaymentUpdatedBy\")\n backups DatabaseBackup[]\n backupDestinations BackupDestination[]\n notifications Notification[]\n cloudFolders CloudFolder[]\n cloudFiles CloudFile[]\n communications Communication[]\n twilioSettings TwilioSettings?\n aiSettings AiSettings?\n officeHours OfficeHours?\n officeContact OfficeContact?\n procedureTimeslot ProcedureTimeslot?\n insuranceContacts InsuranceContact[]\n patientConversations PatientConversation[]\n}\n\nmodel Patient {\n id Int @id @default(autoincrement())\n firstName String\n lastName String\n dateOfBirth DateTime? @db.Date\n gender String\n phone String\n email String?\n address String?\n city String?\n zipCode String?\n insuranceProvider String?\n insuranceId String?\n groupNumber String?\n policyHolder String?\n allergies String?\n medicalConditions String?\n preferredLanguage String? @default(\"English\")\n status PatientStatus @default(UNKNOWN)\n userId Int\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n appointments Appointment[]\n procedures AppointmentProcedure[]\n claims Claim[]\n groups PdfGroup[]\n payment Payment[]\n communications Communication[]\n documents PatientDocument[]\n conversation PatientConversation?\n cloudFolders CloudFolder[] @relation(\"PatientCloudFolder\")\n\n @@index([insuranceId])\n @@index([createdAt])\n}\n\nenum PatientStatus {\n ACTIVE\n INACTIVE\n UNKNOWN\n PLAN_NOT_ACCEPTED\n}\n\nmodel Appointment {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int\n staffId Int\n title String\n date DateTime @db.Date\n startTime String // Store time as \"hh:mm\"\n endTime String // Store time as \"hh:mm\"\n type String // e.g., \"checkup\", \"cleaning\", \"filling\", etc.\n typeLocked Boolean @default(false) // true = user manually set; auto-sync will not overwrite\n notes String?\n procedureCodeNotes String?\n status String @default(\"scheduled\") // \"scheduled\", \"completed\", \"cancelled\", \"no-show\"\n movedByAi Boolean @default(false)\n createdAt DateTime @default(now())\n\n eligibilityStatus PatientStatus @default(UNKNOWN)\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id])\n staff Staff? @relation(fields: [staffId], references: [id])\n procedures AppointmentProcedure[]\n claims Claim[]\n files AppointmentFile[]\n\n @@index([patientId])\n @@index([date])\n}\n\nmodel AppointmentFile {\n id Int @id @default(autoincrement())\n appointmentId Int\n filename String\n mimeType String?\n filePath String?\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n\n @@index([appointmentId])\n}\n\nmodel Staff {\n id Int @id @default(autoincrement())\n userId Int\n name String\n email String?\n role String // e.g., \"Dentist\", \"Hygienist\", \"Assistant\"\n phone String?\n createdAt DateTime @default(now())\n user User? @relation(fields: [userId], references: [id], onDelete: Cascade)\n appointments Appointment[]\n claims Claim[] @relation(\"ClaimStaff\")\n}\n\nmodel NpiProvider {\n id Int @id @default(autoincrement())\n userId Int\n npiNumber String\n providerName String\n sortOrder Int @default(0)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n claims Claim[]\n payments Payment[]\n commissionBatches CommissionBatch[]\n appointmentProcedures AppointmentProcedure[]\n\n @@unique([userId, npiNumber])\n @@index([userId])\n}\n\nenum ProcedureSource {\n COMBO\n MANUAL\n}\n\nmodel AppointmentProcedure {\n id Int @id @default(autoincrement())\n appointmentId Int\n patientId Int\n npiProviderId Int?\n\n procedureCode String\n procedureLabel String?\n fee Decimal? @db.Decimal(10, 2)\n\n category String?\n\n toothNumber String?\n toothSurface String?\n oralCavityArea String?\n\n source ProcedureSource @default(MANUAL)\n comboKey String?\n\n createdAt DateTime @default(now())\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n @@index([appointmentId])\n @@index([patientId])\n}\n\nmodel Claim {\n id Int @id @default(autoincrement())\n patientId Int\n /// @zod.number.int().nullable().optional()\n appointmentId Int?\n userId Int\n staffId Int\n patientName String\n memberId String\n dateOfBirth DateTime @db.Date\n remarks String\n missingTeethStatus MissingTeethStatus @default(No_missing)\n missingTeeth Json? // { \"T_14\": \"X\", \"T_G\": \"O\", ... }\n serviceDate DateTime\n insuranceProvider String // e.g., \"Delta MA\"\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n status ClaimStatus @default(PENDING)\n claimNumber String?\n preAuthNumber String?\n npiProviderId Int?\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n appointment Appointment? @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n user User? @relation(fields: [userId], references: [id])\n staff Staff? @relation(\"ClaimStaff\", fields: [staffId], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n serviceLines ServiceLine[]\n claimFiles ClaimFile[]\n payment Payment?\n}\n\nenum ClaimStatus {\n PENDING\n APPROVED\n CANCELLED\n REVIEW\n VOID\n PREAUTH\n}\n\nenum MissingTeethStatus {\n No_missing\n endentulous\n Yes_missing\n}\n\nmodel ServiceLine {\n id Int @id @default(autoincrement())\n claimId Int?\n paymentId Int?\n procedureCode String\n procedureDate DateTime @db.Date\n quad String?\n arch String?\n toothNumber String?\n toothSurface String?\n icn String?\n paidCode String?\n allowedAmount Decimal? @db.Decimal(10, 2)\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @default(0.00) @db.Decimal(10, 2)\n status ServiceLineStatus @default(UNPAID)\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n payment Payment? @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n\n serviceLineTransactions ServiceLineTransaction[]\n}\n\nenum ServiceLineStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n UNPAID\n ADJUSTED\n OVERPAID\n DENIED\n}\n\nmodel ClaimFile {\n id Int @id @default(autoincrement())\n claimId Int\n filename String\n mimeType String\n filePath String?\n\n claim Claim @relation(fields: [claimId], references: [id], onDelete: Cascade)\n}\n\nmodel InsuranceCredential {\n id Int @id @default(autoincrement())\n userId Int\n siteKey String\n username String\n password String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([userId, siteKey])\n @@index([userId])\n}\n\nmodel ShoppingVendor {\n id Int @id @default(autoincrement())\n userId Int\n vendorName String\n websiteUrl String\n loginUsername String\n loginPassword String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n}\n\nmodel PdfGroup {\n id Int @id @default(autoincrement())\n title String\n titleKey PdfTitleKey @default(OTHER)\n createdAt DateTime @default(now())\n patientId Int\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n pdfs PdfFile[]\n\n @@index([patientId])\n @@index([titleKey])\n}\n\nmodel PdfFile {\n id Int @id @default(autoincrement())\n filename String\n pdfData Bytes\n uploadedAt DateTime @default(now())\n groupId Int\n group PdfGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n @@index([groupId])\n}\n\nenum PdfTitleKey {\n INSURANCE_CLAIM\n INSURANCE_CLAIM_PREAUTH\n ELIGIBILITY_STATUS\n CLAIM_STATUS\n OTHER\n}\n\nmodel Payment {\n id Int @id @default(autoincrement())\n claimId Int? @unique\n patientId Int\n userId Int\n updatedById Int?\n npiProviderId Int?\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @db.Decimal(10, 2)\n mhPaidAmount Decimal? @db.Decimal(10, 2)\n copayment Decimal @default(0.00) @db.Decimal(10, 2)\n adjustment Decimal @default(0.00) @db.Decimal(10, 2)\n status PaymentStatus @default(PENDING)\n notes String?\n icn String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n updatedBy User? @relation(\"PaymentUpdatedBy\", fields: [updatedById], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n serviceLineTransactions ServiceLineTransaction[]\n serviceLines ServiceLine[]\n commissionBatchItems CommissionBatchItem[]\n\n @@index([claimId])\n @@index([patientId])\n @@index([createdAt])\n}\n\nmodel ServiceLineTransaction {\n id Int @id @default(autoincrement())\n paymentId Int\n serviceLineId Int\n transactionId String?\n paidAmount Decimal @db.Decimal(10, 2)\n adjustedAmount Decimal @default(0.00) @db.Decimal(10, 2)\n method PaymentMethod\n receivedDate DateTime\n payerName String?\n notes String?\n createdAt DateTime @default(now())\n\n payment Payment @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n serviceLine ServiceLine @relation(fields: [serviceLineId], references: [id], onDelete: Cascade)\n\n @@index([paymentId])\n @@index([serviceLineId])\n}\n\nenum PaymentStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n OVERPAID\n DENIED\n VOID\n}\n\nenum PaymentMethod {\n EFT\n CHECK\n CASH\n CARD\n OTHER\n}\n\n// Database management page\nmodel DatabaseBackup {\n id Int @id @default(autoincrement())\n userId Int\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nmodel BackupDestination {\n id Int @id @default(autoincrement())\n userId Int\n path String\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id])\n}\n\nmodel Notification {\n id Int @id @default(autoincrement())\n userId Int\n type NotificationTypes\n message String\n createdAt DateTime @default(now())\n read Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nenum NotificationTypes {\n BACKUP\n CLAIM\n PAYMENT\n ETC\n}\n\n// Cron job execution log\nmodel CronJobLog {\n id Int @id @default(autoincrement())\n jobName String // e.g. \"local-backup\", \"usb-backup\"\n status String // \"success\" | \"failed\" | \"skipped\"\n startedAt DateTime\n completedAt DateTime?\n durationMs Int?\n errorMessage String?\n\n @@index([jobName])\n @@index([startedAt])\n @@index([status])\n}\n\nmodel CloudFolder {\n id Int @id @default(autoincrement())\n userId Int\n name String\n parentId Int?\n patientId Int?\n parent CloudFolder? @relation(\"FolderChildren\", fields: [parentId], references: [id], onDelete: Cascade)\n children CloudFolder[] @relation(\"FolderChildren\")\n user User @relation(fields: [userId], references: [id])\n patient Patient? @relation(\"PatientCloudFolder\", fields: [patientId], references: [id], onDelete: SetNull)\n files CloudFile[]\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@unique([userId, parentId, name]) // prevents sibling folder name duplicates\n @@index([parentId])\n @@index([patientId])\n}\n\nmodel CloudFile {\n id Int @id @default(autoincrement())\n userId Int\n name String\n mimeType String?\n fileSize BigInt @db.BigInt\n folderId Int? // optional: null => root\n isComplete Boolean @default(false) // upload completed?\n totalChunks Int? // optional: expected number of chunks\n diskPath String? // relative path on disk under uploads/\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n folder CloudFolder? @relation(fields: [folderId], references: [id], onDelete: SetNull)\n\n chunks CloudFileChunk[]\n\n @@index([folderId])\n}\n\nmodel CloudFileChunk {\n id Int @id @default(autoincrement())\n fileId Int\n seq Int\n data Bytes\n createdAt DateTime @default(now())\n\n file CloudFile @relation(fields: [fileId], references: [id], onDelete: Cascade)\n\n @@unique([fileId, seq])\n @@index([fileId, seq])\n}\n\n// patient-connection-\nenum CommunicationChannel {\n sms\n voice\n}\n\nenum CommunicationDirection {\n outbound\n inbound\n}\n\nenum CommunicationStatus {\n queued\n sent\n delivered\n failed\n completed\n busy\n no_answer\n}\n\nmodel Communication {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int?\n\n channel CommunicationChannel\n direction CommunicationDirection\n status CommunicationStatus\n\n body String?\n callDuration Int?\n twilioSid String?\n\n createdAt DateTime @default(now())\n\n // Relations\n patient Patient @relation(fields: [patientId], references: [id])\n user User? @relation(fields: [userId], references: [id])\n\n @@map(\"communications\")\n}\n\nmodel PatientDocument {\n id Int @id @default(autoincrement())\n patientId Int\n filename String\n originalName String\n mimeType String\n fileSize BigInt\n filePath String\n uploadedAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n\n @@index([patientId])\n @@index([uploadedAt])\n}\n\nmodel TwilioSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n accountSid String\n authToken String\n phoneNumber String\n greetingMessage String?\n templates Json?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"twilio_settings\")\n}\n\nmodel AiSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n apiKey String\n aiEnabled Boolean @default(true)\n openAiKey String @default(\"\")\n openAiEnabled Boolean @default(false)\n claudeAiKey String @default(\"\")\n claudeAiEnabled Boolean @default(false)\n claudeAiModel String @default(\"claude-haiku-4-5-20251001\")\n openAiModel String @default(\"gpt-5.2\")\n googleAiModel String @default(\"gemini-2.5-flash\")\n dentalMgmtKey String @default(\"\")\n dentalMgmtEnabled Boolean @default(false)\n afterHoursEnabled Boolean @default(true)\n openPhoneReply Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"ai_settings\")\n}\n\nmodel OfficeHours {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_hours\")\n}\n\nmodel OfficeContact {\n id Int @id @default(autoincrement())\n userId Int @unique\n officeName String?\n receptionistName String?\n dentistName String?\n phoneNumber String?\n email String?\n fax String?\n streetAddress String?\n city String?\n state String?\n zipCode String?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_contact\")\n}\n\nmodel InsuranceContact {\n id Int @id @default(autoincrement())\n userId Int\n name String\n phoneNumber String?\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"insurance_contact\")\n}\n\nmodel ProcedureTimeslot {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"procedure_timeslot\")\n}\n\nmodel PatientConversation {\n id Int @id @default(autoincrement())\n patientId Int @unique\n userId Int\n stage String @default(\"initial\")\n aiHandoff Boolean @default(true)\n updatedAt DateTime @updatedAt\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"patient_conversation\")\n}\n\n// Commission tracking\nmodel CommissionBatch {\n id Int @id @default(autoincrement())\n npiProviderId Int\n totalCollection Decimal @db.Decimal(14, 2)\n commissionAmount Decimal @db.Decimal(14, 2)\n notes String?\n createdAt DateTime @default(now())\n\n npiProvider NpiProvider @relation(fields: [npiProviderId], references: [id])\n items CommissionBatchItem[]\n\n @@index([npiProviderId])\n}\n\nmodel CommissionBatchItem {\n id Int @id @default(autoincrement())\n commissionBatchId Int\n paymentId Int\n collectionAmount Decimal @db.Decimal(14, 2)\n\n commissionBatch CommissionBatch @relation(fields: [commissionBatchId], references: [id], onDelete: Cascade)\n payment Payment @relation(fields: [paymentId], references: [id])\n\n @@unique([commissionBatchId, paymentId])\n @@index([paymentId])\n}\n" } config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"username\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"autoBackupEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"autoBackupHour\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"usbBackupEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"usbBackupHour\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"autoMhCheckEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"autoMhCheckDayOfWeek\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"autoMhCheckHour\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patients\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToUser\"},{\"name\":\"appointments\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToUser\"},{\"name\":\"staff\",\"kind\":\"object\",\"type\":\"Staff\",\"relationName\":\"StaffToUser\"},{\"name\":\"npiProviders\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"NpiProviderToUser\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToUser\"},{\"name\":\"insuranceCredentials\",\"kind\":\"object\",\"type\":\"InsuranceCredential\",\"relationName\":\"InsuranceCredentialToUser\"},{\"name\":\"shoppingVendors\",\"kind\":\"object\",\"type\":\"ShoppingVendor\",\"relationName\":\"ShoppingVendorToUser\"},{\"name\":\"updatedPayments\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentUpdatedBy\"},{\"name\":\"backups\",\"kind\":\"object\",\"type\":\"DatabaseBackup\",\"relationName\":\"DatabaseBackupToUser\"},{\"name\":\"backupDestinations\",\"kind\":\"object\",\"type\":\"BackupDestination\",\"relationName\":\"BackupDestinationToUser\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"NotificationToUser\"},{\"name\":\"cloudFolders\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"CloudFolderToUser\"},{\"name\":\"cloudFiles\",\"kind\":\"object\",\"type\":\"CloudFile\",\"relationName\":\"CloudFileToUser\"},{\"name\":\"communications\",\"kind\":\"object\",\"type\":\"Communication\",\"relationName\":\"CommunicationToUser\"},{\"name\":\"twilioSettings\",\"kind\":\"object\",\"type\":\"TwilioSettings\",\"relationName\":\"TwilioSettingsToUser\"},{\"name\":\"aiSettings\",\"kind\":\"object\",\"type\":\"AiSettings\",\"relationName\":\"AiSettingsToUser\"},{\"name\":\"officeHours\",\"kind\":\"object\",\"type\":\"OfficeHours\",\"relationName\":\"OfficeHoursToUser\"},{\"name\":\"officeContact\",\"kind\":\"object\",\"type\":\"OfficeContact\",\"relationName\":\"OfficeContactToUser\"},{\"name\":\"procedureTimeslot\",\"kind\":\"object\",\"type\":\"ProcedureTimeslot\",\"relationName\":\"ProcedureTimeslotToUser\"},{\"name\":\"insuranceContacts\",\"kind\":\"object\",\"type\":\"InsuranceContact\",\"relationName\":\"InsuranceContactToUser\"},{\"name\":\"patientConversations\",\"kind\":\"object\",\"type\":\"PatientConversation\",\"relationName\":\"PatientConversationToUser\"}],\"dbName\":null},\"Patient\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"firstName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lastName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dateOfBirth\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"gender\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phone\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"address\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"city\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"zipCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"insuranceProvider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"insuranceId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"groupNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"policyHolder\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"allergies\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"medicalConditions\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"preferredLanguage\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"PatientStatus\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"PatientToUser\"},{\"name\":\"appointments\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToPatient\"},{\"name\":\"procedures\",\"kind\":\"object\",\"type\":\"AppointmentProcedure\",\"relationName\":\"AppointmentProcedureToPatient\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToPatient\"},{\"name\":\"groups\",\"kind\":\"object\",\"type\":\"PdfGroup\",\"relationName\":\"PatientToPdfGroup\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PatientToPayment\"},{\"name\":\"communications\",\"kind\":\"object\",\"type\":\"Communication\",\"relationName\":\"CommunicationToPatient\"},{\"name\":\"documents\",\"kind\":\"object\",\"type\":\"PatientDocument\",\"relationName\":\"PatientToPatientDocument\"},{\"name\":\"conversation\",\"kind\":\"object\",\"type\":\"PatientConversation\",\"relationName\":\"PatientToPatientConversation\"},{\"name\":\"cloudFolders\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"PatientCloudFolder\"}],\"dbName\":null},\"Appointment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"staffId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"date\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"startTime\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"endTime\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"typeLocked\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"procedureCodeNotes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"movedByAi\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"eligibilityStatus\",\"kind\":\"enum\",\"type\":\"PatientStatus\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"AppointmentToPatient\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AppointmentToUser\"},{\"name\":\"staff\",\"kind\":\"object\",\"type\":\"Staff\",\"relationName\":\"AppointmentToStaff\"},{\"name\":\"procedures\",\"kind\":\"object\",\"type\":\"AppointmentProcedure\",\"relationName\":\"AppointmentToAppointmentProcedure\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"AppointmentToClaim\"},{\"name\":\"files\",\"kind\":\"object\",\"type\":\"AppointmentFile\",\"relationName\":\"AppointmentToAppointmentFile\"}],\"dbName\":null},\"AppointmentFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"appointmentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filePath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"appointment\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToAppointmentFile\"}],\"dbName\":null},\"Staff\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"role\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phone\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"StaffToUser\"},{\"name\":\"appointments\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToStaff\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimStaff\"}],\"dbName\":null},\"NpiProvider\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"providerName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sortOrder\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"NpiProviderToUser\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToNpiProvider\"},{\"name\":\"payments\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"NpiProviderToPayment\"},{\"name\":\"commissionBatches\",\"kind\":\"object\",\"type\":\"CommissionBatch\",\"relationName\":\"CommissionBatchToNpiProvider\"},{\"name\":\"appointmentProcedures\",\"kind\":\"object\",\"type\":\"AppointmentProcedure\",\"relationName\":\"AppointmentProcedureToNpiProvider\"}],\"dbName\":null},\"AppointmentProcedure\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"appointmentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"procedureCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"procedureLabel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fee\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothSurface\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"oralCavityArea\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"source\",\"kind\":\"enum\",\"type\":\"ProcedureSource\"},{\"name\":\"comboKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"appointment\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToAppointmentProcedure\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"AppointmentProcedureToPatient\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"AppointmentProcedureToNpiProvider\"}],\"dbName\":null},\"Claim\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"appointmentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"staffId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"memberId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dateOfBirth\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"remarks\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"missingTeethStatus\",\"kind\":\"enum\",\"type\":\"MissingTeethStatus\"},{\"name\":\"missingTeeth\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"serviceDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"insuranceProvider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"ClaimStatus\"},{\"name\":\"claimNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"preAuthNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"ClaimToPatient\"},{\"name\":\"appointment\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToClaim\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ClaimToUser\"},{\"name\":\"staff\",\"kind\":\"object\",\"type\":\"Staff\",\"relationName\":\"ClaimStaff\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"ClaimToNpiProvider\"},{\"name\":\"serviceLines\",\"kind\":\"object\",\"type\":\"ServiceLine\",\"relationName\":\"ClaimToServiceLine\"},{\"name\":\"claimFiles\",\"kind\":\"object\",\"type\":\"ClaimFile\",\"relationName\":\"ClaimToClaimFile\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"ClaimToPayment\"}],\"dbName\":null},\"ServiceLine\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"claimId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"procedureCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"procedureDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"quad\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"arch\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothSurface\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icn\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"paidCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"allowedAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalBilled\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalPaid\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalAdjusted\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalDue\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"ServiceLineStatus\"},{\"name\":\"claim\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToServiceLine\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentToServiceLine\"},{\"name\":\"serviceLineTransactions\",\"kind\":\"object\",\"type\":\"ServiceLineTransaction\",\"relationName\":\"ServiceLineToServiceLineTransaction\"}],\"dbName\":null},\"ClaimFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"claimId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filePath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"claim\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToClaimFile\"}],\"dbName\":null},\"InsuranceCredential\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"siteKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"username\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"InsuranceCredentialToUser\"}],\"dbName\":null},\"ShoppingVendor\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vendorName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"websiteUrl\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"loginUsername\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"loginPassword\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ShoppingVendorToUser\"}],\"dbName\":null},\"PdfGroup\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"titleKey\",\"kind\":\"enum\",\"type\":\"PdfTitleKey\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPdfGroup\"},{\"name\":\"pdfs\",\"kind\":\"object\",\"type\":\"PdfFile\",\"relationName\":\"PdfFileToPdfGroup\"}],\"dbName\":null},\"PdfFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"pdfData\",\"kind\":\"scalar\",\"type\":\"Bytes\"},{\"name\":\"uploadedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"groupId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"group\",\"kind\":\"object\",\"type\":\"PdfGroup\",\"relationName\":\"PdfFileToPdfGroup\"}],\"dbName\":null},\"Payment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"claimId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"updatedById\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"totalBilled\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalPaid\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalAdjusted\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalDue\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"mhPaidAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"copayment\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"adjustment\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"PaymentStatus\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icn\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"claim\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToPayment\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPayment\"},{\"name\":\"updatedBy\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"PaymentUpdatedBy\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"NpiProviderToPayment\"},{\"name\":\"serviceLineTransactions\",\"kind\":\"object\",\"type\":\"ServiceLineTransaction\",\"relationName\":\"PaymentToServiceLineTransaction\"},{\"name\":\"serviceLines\",\"kind\":\"object\",\"type\":\"ServiceLine\",\"relationName\":\"PaymentToServiceLine\"},{\"name\":\"commissionBatchItems\",\"kind\":\"object\",\"type\":\"CommissionBatchItem\",\"relationName\":\"CommissionBatchItemToPayment\"}],\"dbName\":null},\"ServiceLineTransaction\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"serviceLineId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"transactionId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"paidAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"adjustedAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"method\",\"kind\":\"enum\",\"type\":\"PaymentMethod\"},{\"name\":\"receivedDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"payerName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentToServiceLineTransaction\"},{\"name\":\"serviceLine\",\"kind\":\"object\",\"type\":\"ServiceLine\",\"relationName\":\"ServiceLineToServiceLineTransaction\"}],\"dbName\":null},\"DatabaseBackup\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"DatabaseBackupToUser\"}],\"dbName\":null},\"BackupDestination\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"path\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"isActive\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"BackupDestinationToUser\"}],\"dbName\":null},\"Notification\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"NotificationTypes\"},{\"name\":\"message\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"read\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"NotificationToUser\"}],\"dbName\":null},\"CronJobLog\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"jobName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"startedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"completedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"durationMs\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"errorMessage\",\"kind\":\"scalar\",\"type\":\"String\"}],\"dbName\":null},\"CloudFolder\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"parentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"parent\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"FolderChildren\"},{\"name\":\"children\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"FolderChildren\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"CloudFolderToUser\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientCloudFolder\"},{\"name\":\"files\",\"kind\":\"object\",\"type\":\"CloudFile\",\"relationName\":\"CloudFileToCloudFolder\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"CloudFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"folderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"isComplete\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"totalChunks\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"diskPath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"CloudFileToUser\"},{\"name\":\"folder\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"CloudFileToCloudFolder\"},{\"name\":\"chunks\",\"kind\":\"object\",\"type\":\"CloudFileChunk\",\"relationName\":\"CloudFileToCloudFileChunk\"}],\"dbName\":null},\"CloudFileChunk\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"fileId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"seq\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"data\",\"kind\":\"scalar\",\"type\":\"Bytes\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"file\",\"kind\":\"object\",\"type\":\"CloudFile\",\"relationName\":\"CloudFileToCloudFileChunk\"}],\"dbName\":null},\"Communication\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"channel\",\"kind\":\"enum\",\"type\":\"CommunicationChannel\"},{\"name\":\"direction\",\"kind\":\"enum\",\"type\":\"CommunicationDirection\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"CommunicationStatus\"},{\"name\":\"body\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"callDuration\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"twilioSid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"CommunicationToPatient\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"CommunicationToUser\"}],\"dbName\":\"communications\"},\"PatientDocument\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"originalName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"filePath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"uploadedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPatientDocument\"}],\"dbName\":null},\"TwilioSettings\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"accountSid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"authToken\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"greetingMessage\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"templates\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"TwilioSettingsToUser\"}],\"dbName\":\"twilio_settings\"},\"AiSettings\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"apiKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"aiEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"openAiKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"openAiEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"claudeAiKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"claudeAiEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"claudeAiModel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"openAiModel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"googleAiModel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dentalMgmtKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dentalMgmtEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"afterHoursEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"openPhoneReply\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AiSettingsToUser\"}],\"dbName\":\"ai_settings\"},\"OfficeHours\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"data\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"OfficeHoursToUser\"}],\"dbName\":\"office_hours\"},\"OfficeContact\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"officeName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"receptionistName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dentistName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fax\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"streetAddress\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"city\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"zipCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"OfficeContactToUser\"}],\"dbName\":\"office_contact\"},\"InsuranceContact\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"InsuranceContactToUser\"}],\"dbName\":\"insurance_contact\"},\"ProcedureTimeslot\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"data\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ProcedureTimeslotToUser\"}],\"dbName\":\"procedure_timeslot\"},\"PatientConversation\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"stage\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"aiHandoff\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPatientConversation\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"PatientConversationToUser\"}],\"dbName\":\"patient_conversation\"},\"CommissionBatch\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"totalCollection\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"commissionAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"CommissionBatchToNpiProvider\"},{\"name\":\"items\",\"kind\":\"object\",\"type\":\"CommissionBatchItem\",\"relationName\":\"CommissionBatchToCommissionBatchItem\"}],\"dbName\":null},\"CommissionBatchItem\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"commissionBatchId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"collectionAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"commissionBatch\",\"kind\":\"object\",\"type\":\"CommissionBatch\",\"relationName\":\"CommissionBatchToCommissionBatchItem\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"CommissionBatchItemToPayment\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}") diff --git a/packages/db/generated/prisma/index.d.ts b/packages/db/generated/prisma/index.d.ts index f6d0c74e..21ccabad 100644 --- a/packages/db/generated/prisma/index.d.ts +++ b/packages/db/generated/prisma/index.d.ts @@ -14580,6 +14580,9 @@ export namespace Prisma { scalars: $Extensions.GetPayloadResult<{ id: number patientId: number + /** + * @zod.number.int().nullable().optional() + */ appointmentId: number | null userId: number staffId: number diff --git a/packages/db/generated/prisma/index.js b/packages/db/generated/prisma/index.js index 1b8b4750..622dd2fc 100644 --- a/packages/db/generated/prisma/index.js +++ b/packages/db/generated/prisma/index.js @@ -651,7 +651,7 @@ const config = { "clientVersion": "7.4.1", "engineVersion": "55ae170b1ced7fc6ed07a15f110549408c501bb3", "activeProvider": "postgresql", - "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ngenerator zod {\n provider = \"prisma-zod-generator\"\n output = \"../shared/\" // Zod schemas will be generated here inside `db/shared`\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n id Int @id @default(autoincrement())\n username String @unique\n password String\n autoBackupEnabled Boolean @default(true)\n autoBackupHour Int @default(20)\n usbBackupEnabled Boolean @default(false)\n usbBackupHour Int @default(21)\n autoMhCheckEnabled Boolean @default(false)\n autoMhCheckDayOfWeek Int @default(1)\n autoMhCheckHour Int @default(13)\n patients Patient[]\n appointments Appointment[]\n staff Staff[]\n npiProviders NpiProvider[]\n claims Claim[]\n insuranceCredentials InsuranceCredential[]\n shoppingVendors ShoppingVendor[]\n updatedPayments Payment[] @relation(\"PaymentUpdatedBy\")\n backups DatabaseBackup[]\n backupDestinations BackupDestination[]\n notifications Notification[]\n cloudFolders CloudFolder[]\n cloudFiles CloudFile[]\n communications Communication[]\n twilioSettings TwilioSettings?\n aiSettings AiSettings?\n officeHours OfficeHours?\n officeContact OfficeContact?\n procedureTimeslot ProcedureTimeslot?\n insuranceContacts InsuranceContact[]\n patientConversations PatientConversation[]\n}\n\nmodel Patient {\n id Int @id @default(autoincrement())\n firstName String\n lastName String\n dateOfBirth DateTime? @db.Date\n gender String\n phone String\n email String?\n address String?\n city String?\n zipCode String?\n insuranceProvider String?\n insuranceId String?\n groupNumber String?\n policyHolder String?\n allergies String?\n medicalConditions String?\n preferredLanguage String? @default(\"English\")\n status PatientStatus @default(UNKNOWN)\n userId Int\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n appointments Appointment[]\n procedures AppointmentProcedure[]\n claims Claim[]\n groups PdfGroup[]\n payment Payment[]\n communications Communication[]\n documents PatientDocument[]\n conversation PatientConversation?\n cloudFolders CloudFolder[] @relation(\"PatientCloudFolder\")\n\n @@index([insuranceId])\n @@index([createdAt])\n}\n\nenum PatientStatus {\n ACTIVE\n INACTIVE\n UNKNOWN\n PLAN_NOT_ACCEPTED\n}\n\nmodel Appointment {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int\n staffId Int\n title String\n date DateTime @db.Date\n startTime String // Store time as \"hh:mm\"\n endTime String // Store time as \"hh:mm\"\n type String // e.g., \"checkup\", \"cleaning\", \"filling\", etc.\n typeLocked Boolean @default(false) // true = user manually set; auto-sync will not overwrite\n notes String?\n procedureCodeNotes String?\n status String @default(\"scheduled\") // \"scheduled\", \"completed\", \"cancelled\", \"no-show\"\n movedByAi Boolean @default(false)\n createdAt DateTime @default(now())\n\n eligibilityStatus PatientStatus @default(UNKNOWN)\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id])\n staff Staff? @relation(fields: [staffId], references: [id])\n procedures AppointmentProcedure[]\n claims Claim[]\n files AppointmentFile[]\n\n @@index([patientId])\n @@index([date])\n}\n\nmodel AppointmentFile {\n id Int @id @default(autoincrement())\n appointmentId Int\n filename String\n mimeType String?\n filePath String?\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n\n @@index([appointmentId])\n}\n\nmodel Staff {\n id Int @id @default(autoincrement())\n userId Int\n name String\n email String?\n role String // e.g., \"Dentist\", \"Hygienist\", \"Assistant\"\n phone String?\n createdAt DateTime @default(now())\n user User? @relation(fields: [userId], references: [id], onDelete: Cascade)\n appointments Appointment[]\n claims Claim[] @relation(\"ClaimStaff\")\n}\n\nmodel NpiProvider {\n id Int @id @default(autoincrement())\n userId Int\n npiNumber String\n providerName String\n sortOrder Int @default(0)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n claims Claim[]\n payments Payment[]\n commissionBatches CommissionBatch[]\n appointmentProcedures AppointmentProcedure[]\n\n @@unique([userId, npiNumber])\n @@index([userId])\n}\n\nenum ProcedureSource {\n COMBO\n MANUAL\n}\n\nmodel AppointmentProcedure {\n id Int @id @default(autoincrement())\n appointmentId Int\n patientId Int\n npiProviderId Int?\n\n procedureCode String\n procedureLabel String?\n fee Decimal? @db.Decimal(10, 2)\n\n category String?\n\n toothNumber String?\n toothSurface String?\n oralCavityArea String?\n\n source ProcedureSource @default(MANUAL)\n comboKey String?\n\n createdAt DateTime @default(now())\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n @@index([appointmentId])\n @@index([patientId])\n}\n\nmodel Claim {\n id Int @id @default(autoincrement())\n patientId Int\n appointmentId Int?\n userId Int\n staffId Int\n patientName String\n memberId String\n dateOfBirth DateTime @db.Date\n remarks String\n missingTeethStatus MissingTeethStatus @default(No_missing)\n missingTeeth Json? // { \"T_14\": \"X\", \"T_G\": \"O\", ... }\n serviceDate DateTime\n insuranceProvider String // e.g., \"Delta MA\"\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n status ClaimStatus @default(PENDING)\n claimNumber String?\n preAuthNumber String?\n npiProviderId Int?\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n appointment Appointment? @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n user User? @relation(fields: [userId], references: [id])\n staff Staff? @relation(\"ClaimStaff\", fields: [staffId], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n serviceLines ServiceLine[]\n claimFiles ClaimFile[]\n payment Payment?\n}\n\nenum ClaimStatus {\n PENDING\n APPROVED\n CANCELLED\n REVIEW\n VOID\n PREAUTH\n}\n\nenum MissingTeethStatus {\n No_missing\n endentulous\n Yes_missing\n}\n\nmodel ServiceLine {\n id Int @id @default(autoincrement())\n claimId Int?\n paymentId Int?\n procedureCode String\n procedureDate DateTime @db.Date\n quad String?\n arch String?\n toothNumber String?\n toothSurface String?\n icn String?\n paidCode String?\n allowedAmount Decimal? @db.Decimal(10, 2)\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @default(0.00) @db.Decimal(10, 2)\n status ServiceLineStatus @default(UNPAID)\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n payment Payment? @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n\n serviceLineTransactions ServiceLineTransaction[]\n}\n\nenum ServiceLineStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n UNPAID\n ADJUSTED\n OVERPAID\n DENIED\n}\n\nmodel ClaimFile {\n id Int @id @default(autoincrement())\n claimId Int\n filename String\n mimeType String\n filePath String?\n\n claim Claim @relation(fields: [claimId], references: [id], onDelete: Cascade)\n}\n\nmodel InsuranceCredential {\n id Int @id @default(autoincrement())\n userId Int\n siteKey String\n username String\n password String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([userId, siteKey])\n @@index([userId])\n}\n\nmodel ShoppingVendor {\n id Int @id @default(autoincrement())\n userId Int\n vendorName String\n websiteUrl String\n loginUsername String\n loginPassword String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n}\n\nmodel PdfGroup {\n id Int @id @default(autoincrement())\n title String\n titleKey PdfTitleKey @default(OTHER)\n createdAt DateTime @default(now())\n patientId Int\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n pdfs PdfFile[]\n\n @@index([patientId])\n @@index([titleKey])\n}\n\nmodel PdfFile {\n id Int @id @default(autoincrement())\n filename String\n pdfData Bytes\n uploadedAt DateTime @default(now())\n groupId Int\n group PdfGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n @@index([groupId])\n}\n\nenum PdfTitleKey {\n INSURANCE_CLAIM\n INSURANCE_CLAIM_PREAUTH\n ELIGIBILITY_STATUS\n CLAIM_STATUS\n OTHER\n}\n\nmodel Payment {\n id Int @id @default(autoincrement())\n claimId Int? @unique\n patientId Int\n userId Int\n updatedById Int?\n npiProviderId Int?\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @db.Decimal(10, 2)\n mhPaidAmount Decimal? @db.Decimal(10, 2)\n copayment Decimal @default(0.00) @db.Decimal(10, 2)\n adjustment Decimal @default(0.00) @db.Decimal(10, 2)\n status PaymentStatus @default(PENDING)\n notes String?\n icn String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n updatedBy User? @relation(\"PaymentUpdatedBy\", fields: [updatedById], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n serviceLineTransactions ServiceLineTransaction[]\n serviceLines ServiceLine[]\n commissionBatchItems CommissionBatchItem[]\n\n @@index([claimId])\n @@index([patientId])\n @@index([createdAt])\n}\n\nmodel ServiceLineTransaction {\n id Int @id @default(autoincrement())\n paymentId Int\n serviceLineId Int\n transactionId String?\n paidAmount Decimal @db.Decimal(10, 2)\n adjustedAmount Decimal @default(0.00) @db.Decimal(10, 2)\n method PaymentMethod\n receivedDate DateTime\n payerName String?\n notes String?\n createdAt DateTime @default(now())\n\n payment Payment @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n serviceLine ServiceLine @relation(fields: [serviceLineId], references: [id], onDelete: Cascade)\n\n @@index([paymentId])\n @@index([serviceLineId])\n}\n\nenum PaymentStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n OVERPAID\n DENIED\n VOID\n}\n\nenum PaymentMethod {\n EFT\n CHECK\n CASH\n CARD\n OTHER\n}\n\n// Database management page\nmodel DatabaseBackup {\n id Int @id @default(autoincrement())\n userId Int\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nmodel BackupDestination {\n id Int @id @default(autoincrement())\n userId Int\n path String\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id])\n}\n\nmodel Notification {\n id Int @id @default(autoincrement())\n userId Int\n type NotificationTypes\n message String\n createdAt DateTime @default(now())\n read Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nenum NotificationTypes {\n BACKUP\n CLAIM\n PAYMENT\n ETC\n}\n\n// Cron job execution log\nmodel CronJobLog {\n id Int @id @default(autoincrement())\n jobName String // e.g. \"local-backup\", \"usb-backup\"\n status String // \"success\" | \"failed\" | \"skipped\"\n startedAt DateTime\n completedAt DateTime?\n durationMs Int?\n errorMessage String?\n\n @@index([jobName])\n @@index([startedAt])\n @@index([status])\n}\n\nmodel CloudFolder {\n id Int @id @default(autoincrement())\n userId Int\n name String\n parentId Int?\n patientId Int?\n parent CloudFolder? @relation(\"FolderChildren\", fields: [parentId], references: [id], onDelete: Cascade)\n children CloudFolder[] @relation(\"FolderChildren\")\n user User @relation(fields: [userId], references: [id])\n patient Patient? @relation(\"PatientCloudFolder\", fields: [patientId], references: [id], onDelete: SetNull)\n files CloudFile[]\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@unique([userId, parentId, name]) // prevents sibling folder name duplicates\n @@index([parentId])\n @@index([patientId])\n}\n\nmodel CloudFile {\n id Int @id @default(autoincrement())\n userId Int\n name String\n mimeType String?\n fileSize BigInt @db.BigInt\n folderId Int? // optional: null => root\n isComplete Boolean @default(false) // upload completed?\n totalChunks Int? // optional: expected number of chunks\n diskPath String? // relative path on disk under uploads/\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n folder CloudFolder? @relation(fields: [folderId], references: [id], onDelete: SetNull)\n\n chunks CloudFileChunk[]\n\n @@index([folderId])\n}\n\nmodel CloudFileChunk {\n id Int @id @default(autoincrement())\n fileId Int\n seq Int\n data Bytes\n createdAt DateTime @default(now())\n\n file CloudFile @relation(fields: [fileId], references: [id], onDelete: Cascade)\n\n @@unique([fileId, seq])\n @@index([fileId, seq])\n}\n\n// patient-connection-\nenum CommunicationChannel {\n sms\n voice\n}\n\nenum CommunicationDirection {\n outbound\n inbound\n}\n\nenum CommunicationStatus {\n queued\n sent\n delivered\n failed\n completed\n busy\n no_answer\n}\n\nmodel Communication {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int?\n\n channel CommunicationChannel\n direction CommunicationDirection\n status CommunicationStatus\n\n body String?\n callDuration Int?\n twilioSid String?\n\n createdAt DateTime @default(now())\n\n // Relations\n patient Patient @relation(fields: [patientId], references: [id])\n user User? @relation(fields: [userId], references: [id])\n\n @@map(\"communications\")\n}\n\nmodel PatientDocument {\n id Int @id @default(autoincrement())\n patientId Int\n filename String\n originalName String\n mimeType String\n fileSize BigInt\n filePath String\n uploadedAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n\n @@index([patientId])\n @@index([uploadedAt])\n}\n\nmodel TwilioSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n accountSid String\n authToken String\n phoneNumber String\n greetingMessage String?\n templates Json?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"twilio_settings\")\n}\n\nmodel AiSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n apiKey String\n aiEnabled Boolean @default(true)\n openAiKey String @default(\"\")\n openAiEnabled Boolean @default(false)\n claudeAiKey String @default(\"\")\n claudeAiEnabled Boolean @default(false)\n claudeAiModel String @default(\"claude-haiku-4-5-20251001\")\n openAiModel String @default(\"gpt-5.2\")\n googleAiModel String @default(\"gemini-2.5-flash\")\n dentalMgmtKey String @default(\"\")\n dentalMgmtEnabled Boolean @default(false)\n afterHoursEnabled Boolean @default(true)\n openPhoneReply Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"ai_settings\")\n}\n\nmodel OfficeHours {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_hours\")\n}\n\nmodel OfficeContact {\n id Int @id @default(autoincrement())\n userId Int @unique\n officeName String?\n receptionistName String?\n dentistName String?\n phoneNumber String?\n email String?\n fax String?\n streetAddress String?\n city String?\n state String?\n zipCode String?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_contact\")\n}\n\nmodel InsuranceContact {\n id Int @id @default(autoincrement())\n userId Int\n name String\n phoneNumber String?\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"insurance_contact\")\n}\n\nmodel ProcedureTimeslot {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"procedure_timeslot\")\n}\n\nmodel PatientConversation {\n id Int @id @default(autoincrement())\n patientId Int @unique\n userId Int\n stage String @default(\"initial\")\n aiHandoff Boolean @default(true)\n updatedAt DateTime @updatedAt\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"patient_conversation\")\n}\n\n// Commission tracking\nmodel CommissionBatch {\n id Int @id @default(autoincrement())\n npiProviderId Int\n totalCollection Decimal @db.Decimal(14, 2)\n commissionAmount Decimal @db.Decimal(14, 2)\n notes String?\n createdAt DateTime @default(now())\n\n npiProvider NpiProvider @relation(fields: [npiProviderId], references: [id])\n items CommissionBatchItem[]\n\n @@index([npiProviderId])\n}\n\nmodel CommissionBatchItem {\n id Int @id @default(autoincrement())\n commissionBatchId Int\n paymentId Int\n collectionAmount Decimal @db.Decimal(14, 2)\n\n commissionBatch CommissionBatch @relation(fields: [commissionBatchId], references: [id], onDelete: Cascade)\n payment Payment @relation(fields: [paymentId], references: [id])\n\n @@unique([commissionBatchId, paymentId])\n @@index([paymentId])\n}\n" + "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\n// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?\n// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init\n\ngenerator client {\n provider = \"prisma-client-js\"\n output = \"../generated/prisma\"\n}\n\ngenerator zod {\n provider = \"prisma-zod-generator\"\n output = \"../shared/\" // Zod schemas will be generated here inside `db/shared`\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n id Int @id @default(autoincrement())\n username String @unique\n password String\n autoBackupEnabled Boolean @default(true)\n autoBackupHour Int @default(20)\n usbBackupEnabled Boolean @default(false)\n usbBackupHour Int @default(21)\n autoMhCheckEnabled Boolean @default(false)\n autoMhCheckDayOfWeek Int @default(1)\n autoMhCheckHour Int @default(13)\n patients Patient[]\n appointments Appointment[]\n staff Staff[]\n npiProviders NpiProvider[]\n claims Claim[]\n insuranceCredentials InsuranceCredential[]\n shoppingVendors ShoppingVendor[]\n updatedPayments Payment[] @relation(\"PaymentUpdatedBy\")\n backups DatabaseBackup[]\n backupDestinations BackupDestination[]\n notifications Notification[]\n cloudFolders CloudFolder[]\n cloudFiles CloudFile[]\n communications Communication[]\n twilioSettings TwilioSettings?\n aiSettings AiSettings?\n officeHours OfficeHours?\n officeContact OfficeContact?\n procedureTimeslot ProcedureTimeslot?\n insuranceContacts InsuranceContact[]\n patientConversations PatientConversation[]\n}\n\nmodel Patient {\n id Int @id @default(autoincrement())\n firstName String\n lastName String\n dateOfBirth DateTime? @db.Date\n gender String\n phone String\n email String?\n address String?\n city String?\n zipCode String?\n insuranceProvider String?\n insuranceId String?\n groupNumber String?\n policyHolder String?\n allergies String?\n medicalConditions String?\n preferredLanguage String? @default(\"English\")\n status PatientStatus @default(UNKNOWN)\n userId Int\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n appointments Appointment[]\n procedures AppointmentProcedure[]\n claims Claim[]\n groups PdfGroup[]\n payment Payment[]\n communications Communication[]\n documents PatientDocument[]\n conversation PatientConversation?\n cloudFolders CloudFolder[] @relation(\"PatientCloudFolder\")\n\n @@index([insuranceId])\n @@index([createdAt])\n}\n\nenum PatientStatus {\n ACTIVE\n INACTIVE\n UNKNOWN\n PLAN_NOT_ACCEPTED\n}\n\nmodel Appointment {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int\n staffId Int\n title String\n date DateTime @db.Date\n startTime String // Store time as \"hh:mm\"\n endTime String // Store time as \"hh:mm\"\n type String // e.g., \"checkup\", \"cleaning\", \"filling\", etc.\n typeLocked Boolean @default(false) // true = user manually set; auto-sync will not overwrite\n notes String?\n procedureCodeNotes String?\n status String @default(\"scheduled\") // \"scheduled\", \"completed\", \"cancelled\", \"no-show\"\n movedByAi Boolean @default(false)\n createdAt DateTime @default(now())\n\n eligibilityStatus PatientStatus @default(UNKNOWN)\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id])\n staff Staff? @relation(fields: [staffId], references: [id])\n procedures AppointmentProcedure[]\n claims Claim[]\n files AppointmentFile[]\n\n @@index([patientId])\n @@index([date])\n}\n\nmodel AppointmentFile {\n id Int @id @default(autoincrement())\n appointmentId Int\n filename String\n mimeType String?\n filePath String?\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n\n @@index([appointmentId])\n}\n\nmodel Staff {\n id Int @id @default(autoincrement())\n userId Int\n name String\n email String?\n role String // e.g., \"Dentist\", \"Hygienist\", \"Assistant\"\n phone String?\n createdAt DateTime @default(now())\n user User? @relation(fields: [userId], references: [id], onDelete: Cascade)\n appointments Appointment[]\n claims Claim[] @relation(\"ClaimStaff\")\n}\n\nmodel NpiProvider {\n id Int @id @default(autoincrement())\n userId Int\n npiNumber String\n providerName String\n sortOrder Int @default(0)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n claims Claim[]\n payments Payment[]\n commissionBatches CommissionBatch[]\n appointmentProcedures AppointmentProcedure[]\n\n @@unique([userId, npiNumber])\n @@index([userId])\n}\n\nenum ProcedureSource {\n COMBO\n MANUAL\n}\n\nmodel AppointmentProcedure {\n id Int @id @default(autoincrement())\n appointmentId Int\n patientId Int\n npiProviderId Int?\n\n procedureCode String\n procedureLabel String?\n fee Decimal? @db.Decimal(10, 2)\n\n category String?\n\n toothNumber String?\n toothSurface String?\n oralCavityArea String?\n\n source ProcedureSource @default(MANUAL)\n comboKey String?\n\n createdAt DateTime @default(now())\n\n appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n @@index([appointmentId])\n @@index([patientId])\n}\n\nmodel Claim {\n id Int @id @default(autoincrement())\n patientId Int\n /// @zod.number.int().nullable().optional()\n appointmentId Int?\n userId Int\n staffId Int\n patientName String\n memberId String\n dateOfBirth DateTime @db.Date\n remarks String\n missingTeethStatus MissingTeethStatus @default(No_missing)\n missingTeeth Json? // { \"T_14\": \"X\", \"T_G\": \"O\", ... }\n serviceDate DateTime\n insuranceProvider String // e.g., \"Delta MA\"\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n status ClaimStatus @default(PENDING)\n claimNumber String?\n preAuthNumber String?\n npiProviderId Int?\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n appointment Appointment? @relation(fields: [appointmentId], references: [id], onDelete: Cascade)\n user User? @relation(fields: [userId], references: [id])\n staff Staff? @relation(\"ClaimStaff\", fields: [staffId], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n\n serviceLines ServiceLine[]\n claimFiles ClaimFile[]\n payment Payment?\n}\n\nenum ClaimStatus {\n PENDING\n APPROVED\n CANCELLED\n REVIEW\n VOID\n PREAUTH\n}\n\nenum MissingTeethStatus {\n No_missing\n endentulous\n Yes_missing\n}\n\nmodel ServiceLine {\n id Int @id @default(autoincrement())\n claimId Int?\n paymentId Int?\n procedureCode String\n procedureDate DateTime @db.Date\n quad String?\n arch String?\n toothNumber String?\n toothSurface String?\n icn String?\n paidCode String?\n allowedAmount Decimal? @db.Decimal(10, 2)\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @default(0.00) @db.Decimal(10, 2)\n status ServiceLineStatus @default(UNPAID)\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n payment Payment? @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n\n serviceLineTransactions ServiceLineTransaction[]\n}\n\nenum ServiceLineStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n UNPAID\n ADJUSTED\n OVERPAID\n DENIED\n}\n\nmodel ClaimFile {\n id Int @id @default(autoincrement())\n claimId Int\n filename String\n mimeType String\n filePath String?\n\n claim Claim @relation(fields: [claimId], references: [id], onDelete: Cascade)\n}\n\nmodel InsuranceCredential {\n id Int @id @default(autoincrement())\n userId Int\n siteKey String\n username String\n password String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@unique([userId, siteKey])\n @@index([userId])\n}\n\nmodel ShoppingVendor {\n id Int @id @default(autoincrement())\n userId Int\n vendorName String\n websiteUrl String\n loginUsername String\n loginPassword String\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n}\n\nmodel PdfGroup {\n id Int @id @default(autoincrement())\n title String\n titleKey PdfTitleKey @default(OTHER)\n createdAt DateTime @default(now())\n patientId Int\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n pdfs PdfFile[]\n\n @@index([patientId])\n @@index([titleKey])\n}\n\nmodel PdfFile {\n id Int @id @default(autoincrement())\n filename String\n pdfData Bytes\n uploadedAt DateTime @default(now())\n groupId Int\n group PdfGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)\n\n @@index([groupId])\n}\n\nenum PdfTitleKey {\n INSURANCE_CLAIM\n INSURANCE_CLAIM_PREAUTH\n ELIGIBILITY_STATUS\n CLAIM_STATUS\n OTHER\n}\n\nmodel Payment {\n id Int @id @default(autoincrement())\n claimId Int? @unique\n patientId Int\n userId Int\n updatedById Int?\n npiProviderId Int?\n totalBilled Decimal @db.Decimal(10, 2)\n totalPaid Decimal @default(0.00) @db.Decimal(10, 2)\n totalAdjusted Decimal @default(0.00) @db.Decimal(10, 2)\n totalDue Decimal @db.Decimal(10, 2)\n mhPaidAmount Decimal? @db.Decimal(10, 2)\n copayment Decimal @default(0.00) @db.Decimal(10, 2)\n adjustment Decimal @default(0.00) @db.Decimal(10, 2)\n status PaymentStatus @default(PENDING)\n notes String?\n icn String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n claim Claim? @relation(fields: [claimId], references: [id], onDelete: Cascade)\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n updatedBy User? @relation(\"PaymentUpdatedBy\", fields: [updatedById], references: [id])\n npiProvider NpiProvider? @relation(fields: [npiProviderId], references: [id])\n serviceLineTransactions ServiceLineTransaction[]\n serviceLines ServiceLine[]\n commissionBatchItems CommissionBatchItem[]\n\n @@index([claimId])\n @@index([patientId])\n @@index([createdAt])\n}\n\nmodel ServiceLineTransaction {\n id Int @id @default(autoincrement())\n paymentId Int\n serviceLineId Int\n transactionId String?\n paidAmount Decimal @db.Decimal(10, 2)\n adjustedAmount Decimal @default(0.00) @db.Decimal(10, 2)\n method PaymentMethod\n receivedDate DateTime\n payerName String?\n notes String?\n createdAt DateTime @default(now())\n\n payment Payment @relation(fields: [paymentId], references: [id], onDelete: Cascade)\n serviceLine ServiceLine @relation(fields: [serviceLineId], references: [id], onDelete: Cascade)\n\n @@index([paymentId])\n @@index([serviceLineId])\n}\n\nenum PaymentStatus {\n PENDING\n PARTIALLY_PAID\n PAID\n OVERPAID\n DENIED\n VOID\n}\n\nenum PaymentMethod {\n EFT\n CHECK\n CASH\n CARD\n OTHER\n}\n\n// Database management page\nmodel DatabaseBackup {\n id Int @id @default(autoincrement())\n userId Int\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nmodel BackupDestination {\n id Int @id @default(autoincrement())\n userId Int\n path String\n isActive Boolean @default(true)\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id])\n}\n\nmodel Notification {\n id Int @id @default(autoincrement())\n userId Int\n type NotificationTypes\n message String\n createdAt DateTime @default(now())\n read Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@index([userId])\n @@index([createdAt])\n}\n\nenum NotificationTypes {\n BACKUP\n CLAIM\n PAYMENT\n ETC\n}\n\n// Cron job execution log\nmodel CronJobLog {\n id Int @id @default(autoincrement())\n jobName String // e.g. \"local-backup\", \"usb-backup\"\n status String // \"success\" | \"failed\" | \"skipped\"\n startedAt DateTime\n completedAt DateTime?\n durationMs Int?\n errorMessage String?\n\n @@index([jobName])\n @@index([startedAt])\n @@index([status])\n}\n\nmodel CloudFolder {\n id Int @id @default(autoincrement())\n userId Int\n name String\n parentId Int?\n patientId Int?\n parent CloudFolder? @relation(\"FolderChildren\", fields: [parentId], references: [id], onDelete: Cascade)\n children CloudFolder[] @relation(\"FolderChildren\")\n user User @relation(fields: [userId], references: [id])\n patient Patient? @relation(\"PatientCloudFolder\", fields: [patientId], references: [id], onDelete: SetNull)\n files CloudFile[]\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@unique([userId, parentId, name]) // prevents sibling folder name duplicates\n @@index([parentId])\n @@index([patientId])\n}\n\nmodel CloudFile {\n id Int @id @default(autoincrement())\n userId Int\n name String\n mimeType String?\n fileSize BigInt @db.BigInt\n folderId Int? // optional: null => root\n isComplete Boolean @default(false) // upload completed?\n totalChunks Int? // optional: expected number of chunks\n diskPath String? // relative path on disk under uploads/\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n user User @relation(fields: [userId], references: [id])\n folder CloudFolder? @relation(fields: [folderId], references: [id], onDelete: SetNull)\n\n chunks CloudFileChunk[]\n\n @@index([folderId])\n}\n\nmodel CloudFileChunk {\n id Int @id @default(autoincrement())\n fileId Int\n seq Int\n data Bytes\n createdAt DateTime @default(now())\n\n file CloudFile @relation(fields: [fileId], references: [id], onDelete: Cascade)\n\n @@unique([fileId, seq])\n @@index([fileId, seq])\n}\n\n// patient-connection-\nenum CommunicationChannel {\n sms\n voice\n}\n\nenum CommunicationDirection {\n outbound\n inbound\n}\n\nenum CommunicationStatus {\n queued\n sent\n delivered\n failed\n completed\n busy\n no_answer\n}\n\nmodel Communication {\n id Int @id @default(autoincrement())\n patientId Int\n userId Int?\n\n channel CommunicationChannel\n direction CommunicationDirection\n status CommunicationStatus\n\n body String?\n callDuration Int?\n twilioSid String?\n\n createdAt DateTime @default(now())\n\n // Relations\n patient Patient @relation(fields: [patientId], references: [id])\n user User? @relation(fields: [userId], references: [id])\n\n @@map(\"communications\")\n}\n\nmodel PatientDocument {\n id Int @id @default(autoincrement())\n patientId Int\n filename String\n originalName String\n mimeType String\n fileSize BigInt\n filePath String\n uploadedAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n\n @@index([patientId])\n @@index([uploadedAt])\n}\n\nmodel TwilioSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n accountSid String\n authToken String\n phoneNumber String\n greetingMessage String?\n templates Json?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"twilio_settings\")\n}\n\nmodel AiSettings {\n id Int @id @default(autoincrement())\n userId Int @unique\n apiKey String\n aiEnabled Boolean @default(true)\n openAiKey String @default(\"\")\n openAiEnabled Boolean @default(false)\n claudeAiKey String @default(\"\")\n claudeAiEnabled Boolean @default(false)\n claudeAiModel String @default(\"claude-haiku-4-5-20251001\")\n openAiModel String @default(\"gpt-5.2\")\n googleAiModel String @default(\"gemini-2.5-flash\")\n dentalMgmtKey String @default(\"\")\n dentalMgmtEnabled Boolean @default(false)\n afterHoursEnabled Boolean @default(true)\n openPhoneReply Boolean @default(false)\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"ai_settings\")\n}\n\nmodel OfficeHours {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_hours\")\n}\n\nmodel OfficeContact {\n id Int @id @default(autoincrement())\n userId Int @unique\n officeName String?\n receptionistName String?\n dentistName String?\n phoneNumber String?\n email String?\n fax String?\n streetAddress String?\n city String?\n state String?\n zipCode String?\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"office_contact\")\n}\n\nmodel InsuranceContact {\n id Int @id @default(autoincrement())\n userId Int\n name String\n phoneNumber String?\n createdAt DateTime @default(now())\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"insurance_contact\")\n}\n\nmodel ProcedureTimeslot {\n id Int @id @default(autoincrement())\n userId Int @unique\n data Json\n\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"procedure_timeslot\")\n}\n\nmodel PatientConversation {\n id Int @id @default(autoincrement())\n patientId Int @unique\n userId Int\n stage String @default(\"initial\")\n aiHandoff Boolean @default(true)\n updatedAt DateTime @updatedAt\n\n patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"patient_conversation\")\n}\n\n// Commission tracking\nmodel CommissionBatch {\n id Int @id @default(autoincrement())\n npiProviderId Int\n totalCollection Decimal @db.Decimal(14, 2)\n commissionAmount Decimal @db.Decimal(14, 2)\n notes String?\n createdAt DateTime @default(now())\n\n npiProvider NpiProvider @relation(fields: [npiProviderId], references: [id])\n items CommissionBatchItem[]\n\n @@index([npiProviderId])\n}\n\nmodel CommissionBatchItem {\n id Int @id @default(autoincrement())\n commissionBatchId Int\n paymentId Int\n collectionAmount Decimal @db.Decimal(14, 2)\n\n commissionBatch CommissionBatch @relation(fields: [commissionBatchId], references: [id], onDelete: Cascade)\n payment Payment @relation(fields: [paymentId], references: [id])\n\n @@unique([commissionBatchId, paymentId])\n @@index([paymentId])\n}\n" } config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"username\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"autoBackupEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"autoBackupHour\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"usbBackupEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"usbBackupHour\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"autoMhCheckEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"autoMhCheckDayOfWeek\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"autoMhCheckHour\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patients\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToUser\"},{\"name\":\"appointments\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToUser\"},{\"name\":\"staff\",\"kind\":\"object\",\"type\":\"Staff\",\"relationName\":\"StaffToUser\"},{\"name\":\"npiProviders\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"NpiProviderToUser\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToUser\"},{\"name\":\"insuranceCredentials\",\"kind\":\"object\",\"type\":\"InsuranceCredential\",\"relationName\":\"InsuranceCredentialToUser\"},{\"name\":\"shoppingVendors\",\"kind\":\"object\",\"type\":\"ShoppingVendor\",\"relationName\":\"ShoppingVendorToUser\"},{\"name\":\"updatedPayments\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentUpdatedBy\"},{\"name\":\"backups\",\"kind\":\"object\",\"type\":\"DatabaseBackup\",\"relationName\":\"DatabaseBackupToUser\"},{\"name\":\"backupDestinations\",\"kind\":\"object\",\"type\":\"BackupDestination\",\"relationName\":\"BackupDestinationToUser\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"NotificationToUser\"},{\"name\":\"cloudFolders\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"CloudFolderToUser\"},{\"name\":\"cloudFiles\",\"kind\":\"object\",\"type\":\"CloudFile\",\"relationName\":\"CloudFileToUser\"},{\"name\":\"communications\",\"kind\":\"object\",\"type\":\"Communication\",\"relationName\":\"CommunicationToUser\"},{\"name\":\"twilioSettings\",\"kind\":\"object\",\"type\":\"TwilioSettings\",\"relationName\":\"TwilioSettingsToUser\"},{\"name\":\"aiSettings\",\"kind\":\"object\",\"type\":\"AiSettings\",\"relationName\":\"AiSettingsToUser\"},{\"name\":\"officeHours\",\"kind\":\"object\",\"type\":\"OfficeHours\",\"relationName\":\"OfficeHoursToUser\"},{\"name\":\"officeContact\",\"kind\":\"object\",\"type\":\"OfficeContact\",\"relationName\":\"OfficeContactToUser\"},{\"name\":\"procedureTimeslot\",\"kind\":\"object\",\"type\":\"ProcedureTimeslot\",\"relationName\":\"ProcedureTimeslotToUser\"},{\"name\":\"insuranceContacts\",\"kind\":\"object\",\"type\":\"InsuranceContact\",\"relationName\":\"InsuranceContactToUser\"},{\"name\":\"patientConversations\",\"kind\":\"object\",\"type\":\"PatientConversation\",\"relationName\":\"PatientConversationToUser\"}],\"dbName\":null},\"Patient\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"firstName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lastName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dateOfBirth\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"gender\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phone\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"address\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"city\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"zipCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"insuranceProvider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"insuranceId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"groupNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"policyHolder\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"allergies\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"medicalConditions\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"preferredLanguage\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"PatientStatus\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"PatientToUser\"},{\"name\":\"appointments\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToPatient\"},{\"name\":\"procedures\",\"kind\":\"object\",\"type\":\"AppointmentProcedure\",\"relationName\":\"AppointmentProcedureToPatient\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToPatient\"},{\"name\":\"groups\",\"kind\":\"object\",\"type\":\"PdfGroup\",\"relationName\":\"PatientToPdfGroup\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PatientToPayment\"},{\"name\":\"communications\",\"kind\":\"object\",\"type\":\"Communication\",\"relationName\":\"CommunicationToPatient\"},{\"name\":\"documents\",\"kind\":\"object\",\"type\":\"PatientDocument\",\"relationName\":\"PatientToPatientDocument\"},{\"name\":\"conversation\",\"kind\":\"object\",\"type\":\"PatientConversation\",\"relationName\":\"PatientToPatientConversation\"},{\"name\":\"cloudFolders\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"PatientCloudFolder\"}],\"dbName\":null},\"Appointment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"staffId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"date\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"startTime\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"endTime\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"typeLocked\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"procedureCodeNotes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"movedByAi\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"eligibilityStatus\",\"kind\":\"enum\",\"type\":\"PatientStatus\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"AppointmentToPatient\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AppointmentToUser\"},{\"name\":\"staff\",\"kind\":\"object\",\"type\":\"Staff\",\"relationName\":\"AppointmentToStaff\"},{\"name\":\"procedures\",\"kind\":\"object\",\"type\":\"AppointmentProcedure\",\"relationName\":\"AppointmentToAppointmentProcedure\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"AppointmentToClaim\"},{\"name\":\"files\",\"kind\":\"object\",\"type\":\"AppointmentFile\",\"relationName\":\"AppointmentToAppointmentFile\"}],\"dbName\":null},\"AppointmentFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"appointmentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filePath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"appointment\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToAppointmentFile\"}],\"dbName\":null},\"Staff\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"role\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phone\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"StaffToUser\"},{\"name\":\"appointments\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToStaff\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimStaff\"}],\"dbName\":null},\"NpiProvider\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"providerName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sortOrder\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"NpiProviderToUser\"},{\"name\":\"claims\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToNpiProvider\"},{\"name\":\"payments\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"NpiProviderToPayment\"},{\"name\":\"commissionBatches\",\"kind\":\"object\",\"type\":\"CommissionBatch\",\"relationName\":\"CommissionBatchToNpiProvider\"},{\"name\":\"appointmentProcedures\",\"kind\":\"object\",\"type\":\"AppointmentProcedure\",\"relationName\":\"AppointmentProcedureToNpiProvider\"}],\"dbName\":null},\"AppointmentProcedure\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"appointmentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"procedureCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"procedureLabel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fee\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothSurface\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"oralCavityArea\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"source\",\"kind\":\"enum\",\"type\":\"ProcedureSource\"},{\"name\":\"comboKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"appointment\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToAppointmentProcedure\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"AppointmentProcedureToPatient\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"AppointmentProcedureToNpiProvider\"}],\"dbName\":null},\"Claim\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"appointmentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"staffId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"memberId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dateOfBirth\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"remarks\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"missingTeethStatus\",\"kind\":\"enum\",\"type\":\"MissingTeethStatus\"},{\"name\":\"missingTeeth\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"serviceDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"insuranceProvider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"ClaimStatus\"},{\"name\":\"claimNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"preAuthNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"ClaimToPatient\"},{\"name\":\"appointment\",\"kind\":\"object\",\"type\":\"Appointment\",\"relationName\":\"AppointmentToClaim\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ClaimToUser\"},{\"name\":\"staff\",\"kind\":\"object\",\"type\":\"Staff\",\"relationName\":\"ClaimStaff\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"ClaimToNpiProvider\"},{\"name\":\"serviceLines\",\"kind\":\"object\",\"type\":\"ServiceLine\",\"relationName\":\"ClaimToServiceLine\"},{\"name\":\"claimFiles\",\"kind\":\"object\",\"type\":\"ClaimFile\",\"relationName\":\"ClaimToClaimFile\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"ClaimToPayment\"}],\"dbName\":null},\"ServiceLine\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"claimId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"procedureCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"procedureDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"quad\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"arch\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"toothSurface\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icn\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"paidCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"allowedAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalBilled\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalPaid\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalAdjusted\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalDue\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"ServiceLineStatus\"},{\"name\":\"claim\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToServiceLine\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentToServiceLine\"},{\"name\":\"serviceLineTransactions\",\"kind\":\"object\",\"type\":\"ServiceLineTransaction\",\"relationName\":\"ServiceLineToServiceLineTransaction\"}],\"dbName\":null},\"ClaimFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"claimId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filePath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"claim\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToClaimFile\"}],\"dbName\":null},\"InsuranceCredential\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"siteKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"username\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"InsuranceCredentialToUser\"}],\"dbName\":null},\"ShoppingVendor\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vendorName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"websiteUrl\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"loginUsername\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"loginPassword\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ShoppingVendorToUser\"}],\"dbName\":null},\"PdfGroup\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"titleKey\",\"kind\":\"enum\",\"type\":\"PdfTitleKey\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPdfGroup\"},{\"name\":\"pdfs\",\"kind\":\"object\",\"type\":\"PdfFile\",\"relationName\":\"PdfFileToPdfGroup\"}],\"dbName\":null},\"PdfFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"pdfData\",\"kind\":\"scalar\",\"type\":\"Bytes\"},{\"name\":\"uploadedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"groupId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"group\",\"kind\":\"object\",\"type\":\"PdfGroup\",\"relationName\":\"PdfFileToPdfGroup\"}],\"dbName\":null},\"Payment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"claimId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"updatedById\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"totalBilled\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalPaid\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalAdjusted\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"totalDue\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"mhPaidAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"copayment\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"adjustment\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"PaymentStatus\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icn\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"claim\",\"kind\":\"object\",\"type\":\"Claim\",\"relationName\":\"ClaimToPayment\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPayment\"},{\"name\":\"updatedBy\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"PaymentUpdatedBy\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"NpiProviderToPayment\"},{\"name\":\"serviceLineTransactions\",\"kind\":\"object\",\"type\":\"ServiceLineTransaction\",\"relationName\":\"PaymentToServiceLineTransaction\"},{\"name\":\"serviceLines\",\"kind\":\"object\",\"type\":\"ServiceLine\",\"relationName\":\"PaymentToServiceLine\"},{\"name\":\"commissionBatchItems\",\"kind\":\"object\",\"type\":\"CommissionBatchItem\",\"relationName\":\"CommissionBatchItemToPayment\"}],\"dbName\":null},\"ServiceLineTransaction\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"serviceLineId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"transactionId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"paidAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"adjustedAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"method\",\"kind\":\"enum\",\"type\":\"PaymentMethod\"},{\"name\":\"receivedDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"payerName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"PaymentToServiceLineTransaction\"},{\"name\":\"serviceLine\",\"kind\":\"object\",\"type\":\"ServiceLine\",\"relationName\":\"ServiceLineToServiceLineTransaction\"}],\"dbName\":null},\"DatabaseBackup\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"DatabaseBackupToUser\"}],\"dbName\":null},\"BackupDestination\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"path\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"isActive\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"BackupDestinationToUser\"}],\"dbName\":null},\"Notification\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"NotificationTypes\"},{\"name\":\"message\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"read\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"NotificationToUser\"}],\"dbName\":null},\"CronJobLog\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"jobName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"startedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"completedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"durationMs\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"errorMessage\",\"kind\":\"scalar\",\"type\":\"String\"}],\"dbName\":null},\"CloudFolder\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"parentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"parent\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"FolderChildren\"},{\"name\":\"children\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"FolderChildren\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"CloudFolderToUser\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientCloudFolder\"},{\"name\":\"files\",\"kind\":\"object\",\"type\":\"CloudFile\",\"relationName\":\"CloudFileToCloudFolder\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"CloudFile\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"folderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"isComplete\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"totalChunks\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"diskPath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"CloudFileToUser\"},{\"name\":\"folder\",\"kind\":\"object\",\"type\":\"CloudFolder\",\"relationName\":\"CloudFileToCloudFolder\"},{\"name\":\"chunks\",\"kind\":\"object\",\"type\":\"CloudFileChunk\",\"relationName\":\"CloudFileToCloudFileChunk\"}],\"dbName\":null},\"CloudFileChunk\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"fileId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"seq\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"data\",\"kind\":\"scalar\",\"type\":\"Bytes\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"file\",\"kind\":\"object\",\"type\":\"CloudFile\",\"relationName\":\"CloudFileToCloudFileChunk\"}],\"dbName\":null},\"Communication\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"channel\",\"kind\":\"enum\",\"type\":\"CommunicationChannel\"},{\"name\":\"direction\",\"kind\":\"enum\",\"type\":\"CommunicationDirection\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"CommunicationStatus\"},{\"name\":\"body\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"callDuration\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"twilioSid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"CommunicationToPatient\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"CommunicationToUser\"}],\"dbName\":\"communications\"},\"PatientDocument\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"originalName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mimeType\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"filePath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"uploadedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPatientDocument\"}],\"dbName\":null},\"TwilioSettings\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"accountSid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"authToken\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"greetingMessage\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"templates\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"TwilioSettingsToUser\"}],\"dbName\":\"twilio_settings\"},\"AiSettings\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"apiKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"aiEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"openAiKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"openAiEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"claudeAiKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"claudeAiEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"claudeAiModel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"openAiModel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"googleAiModel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dentalMgmtKey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dentalMgmtEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"afterHoursEnabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"openPhoneReply\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AiSettingsToUser\"}],\"dbName\":\"ai_settings\"},\"OfficeHours\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"data\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"OfficeHoursToUser\"}],\"dbName\":\"office_hours\"},\"OfficeContact\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"officeName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"receptionistName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dentistName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fax\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"streetAddress\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"city\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"zipCode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"OfficeContactToUser\"}],\"dbName\":\"office_contact\"},\"InsuranceContact\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phoneNumber\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"InsuranceContactToUser\"}],\"dbName\":\"insurance_contact\"},\"ProcedureTimeslot\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"data\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"ProcedureTimeslotToUser\"}],\"dbName\":\"procedure_timeslot\"},\"PatientConversation\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"patientId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"stage\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"aiHandoff\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"patient\",\"kind\":\"object\",\"type\":\"Patient\",\"relationName\":\"PatientToPatientConversation\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"PatientConversationToUser\"}],\"dbName\":\"patient_conversation\"},\"CommissionBatch\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"npiProviderId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"totalCollection\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"commissionAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"npiProvider\",\"kind\":\"object\",\"type\":\"NpiProvider\",\"relationName\":\"CommissionBatchToNpiProvider\"},{\"name\":\"items\",\"kind\":\"object\",\"type\":\"CommissionBatchItem\",\"relationName\":\"CommissionBatchToCommissionBatchItem\"}],\"dbName\":null},\"CommissionBatchItem\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"commissionBatchId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paymentId\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"collectionAmount\",\"kind\":\"scalar\",\"type\":\"Decimal\"},{\"name\":\"commissionBatch\",\"kind\":\"object\",\"type\":\"CommissionBatch\",\"relationName\":\"CommissionBatchToCommissionBatchItem\"},{\"name\":\"payment\",\"kind\":\"object\",\"type\":\"Payment\",\"relationName\":\"CommissionBatchItemToPayment\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}") diff --git a/packages/db/generated/prisma/package.json b/packages/db/generated/prisma/package.json index c33fe61a..55412acb 100644 --- a/packages/db/generated/prisma/package.json +++ b/packages/db/generated/prisma/package.json @@ -1,5 +1,5 @@ { - "name": "prisma-client-210cfd1f3d7388620d3c172d9abdf5f3d200db6f7d9237d98c6c0804e5262885", + "name": "prisma-client-d351a8e2afa5a626b25c24fc325b9f8c2c9b0ee5bb0f800b83ea538e43d12368", "main": "index.js", "types": "index.d.ts", "browser": "default.js", diff --git a/packages/db/generated/prisma/schema.prisma b/packages/db/generated/prisma/schema.prisma index 0526116b..12a58df4 100755 --- a/packages/db/generated/prisma/schema.prisma +++ b/packages/db/generated/prisma/schema.prisma @@ -206,6 +206,7 @@ model AppointmentProcedure { model Claim { id Int @id @default(autoincrement()) patientId Int + /// @zod.number.int().nullable().optional() appointmentId Int? userId Int staffId Int diff --git a/packages/db/prisma/schema.prisma b/packages/db/prisma/schema.prisma index 22f7bc1e..8f2b0c69 100755 --- a/packages/db/prisma/schema.prisma +++ b/packages/db/prisma/schema.prisma @@ -207,6 +207,7 @@ model AppointmentProcedure { model Claim { id Int @id @default(autoincrement()) patientId Int + /// @zod.number.int().nullable().optional() appointmentId Int? userId Int staffId Int diff --git a/packages/db/shared/.prisma-zod-generator-manifest.json b/packages/db/shared/.prisma-zod-generator-manifest.json index 076f6e43..5f9418e8 100755 --- a/packages/db/shared/.prisma-zod-generator-manifest.json +++ b/packages/db/shared/.prisma-zod-generator-manifest.json @@ -1,7 +1,7 @@ { "version": "1.0", "generatorVersion": "1.0.0", - "generatedAt": "2026-06-27T03:13:10.416Z", + "generatedAt": "2026-06-29T02:05:45.074Z", "outputPath": "/home/gg/Desktop/DentalManagementMH06/packages/db/shared", "files": [ "schemas/enums/TransactionIsolationLevel.schema.ts", diff --git a/packages/db/shared/schemas/aggregateAiSettings.schema.js b/packages/db/shared/schemas/aggregateAiSettings.schema.js new file mode 100644 index 00000000..78735a21 --- /dev/null +++ b/packages/db/shared/schemas/aggregateAiSettings.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsAggregateZodSchema = exports.AiSettingsAggregateSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsOrderByWithRelationInput_schema_1 = require("./objects/AiSettingsOrderByWithRelationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +const AiSettingsCountAggregateInput_schema_1 = require("./objects/AiSettingsCountAggregateInput.schema"); +const AiSettingsMinAggregateInput_schema_1 = require("./objects/AiSettingsMinAggregateInput.schema"); +const AiSettingsMaxAggregateInput_schema_1 = require("./objects/AiSettingsMaxAggregateInput.schema"); +const AiSettingsAvgAggregateInput_schema_1 = require("./objects/AiSettingsAvgAggregateInput.schema"); +const AiSettingsSumAggregateInput_schema_1 = require("./objects/AiSettingsSumAggregateInput.schema"); +exports.AiSettingsAggregateSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), AiSettingsCountAggregateInput_schema_1.AiSettingsCountAggregateInputObjectSchema]).optional(), _min: AiSettingsMinAggregateInput_schema_1.AiSettingsMinAggregateInputObjectSchema.optional(), _max: AiSettingsMaxAggregateInput_schema_1.AiSettingsMaxAggregateInputObjectSchema.optional(), _avg: AiSettingsAvgAggregateInput_schema_1.AiSettingsAvgAggregateInputObjectSchema.optional(), _sum: AiSettingsSumAggregateInput_schema_1.AiSettingsSumAggregateInputObjectSchema.optional() }).strict(); +exports.AiSettingsAggregateZodSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), AiSettingsCountAggregateInput_schema_1.AiSettingsCountAggregateInputObjectSchema]).optional(), _min: AiSettingsMinAggregateInput_schema_1.AiSettingsMinAggregateInputObjectSchema.optional(), _max: AiSettingsMaxAggregateInput_schema_1.AiSettingsMaxAggregateInputObjectSchema.optional(), _avg: AiSettingsAvgAggregateInput_schema_1.AiSettingsAvgAggregateInputObjectSchema.optional(), _sum: AiSettingsSumAggregateInput_schema_1.AiSettingsSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateAppointmentFile.schema.js b/packages/db/shared/schemas/aggregateAppointmentFile.schema.js new file mode 100644 index 00000000..543b051a --- /dev/null +++ b/packages/db/shared/schemas/aggregateAppointmentFile.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileAggregateZodSchema = exports.AppointmentFileAggregateSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileOrderByWithRelationInput_schema_1 = require("./objects/AppointmentFileOrderByWithRelationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileCountAggregateInput_schema_1 = require("./objects/AppointmentFileCountAggregateInput.schema"); +const AppointmentFileMinAggregateInput_schema_1 = require("./objects/AppointmentFileMinAggregateInput.schema"); +const AppointmentFileMaxAggregateInput_schema_1 = require("./objects/AppointmentFileMaxAggregateInput.schema"); +const AppointmentFileAvgAggregateInput_schema_1 = require("./objects/AppointmentFileAvgAggregateInput.schema"); +const AppointmentFileSumAggregateInput_schema_1 = require("./objects/AppointmentFileSumAggregateInput.schema"); +exports.AppointmentFileAggregateSchema = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), AppointmentFileCountAggregateInput_schema_1.AppointmentFileCountAggregateInputObjectSchema]).optional(), _min: AppointmentFileMinAggregateInput_schema_1.AppointmentFileMinAggregateInputObjectSchema.optional(), _max: AppointmentFileMaxAggregateInput_schema_1.AppointmentFileMaxAggregateInputObjectSchema.optional(), _avg: AppointmentFileAvgAggregateInput_schema_1.AppointmentFileAvgAggregateInputObjectSchema.optional(), _sum: AppointmentFileSumAggregateInput_schema_1.AppointmentFileSumAggregateInputObjectSchema.optional() }).strict(); +exports.AppointmentFileAggregateZodSchema = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), AppointmentFileCountAggregateInput_schema_1.AppointmentFileCountAggregateInputObjectSchema]).optional(), _min: AppointmentFileMinAggregateInput_schema_1.AppointmentFileMinAggregateInputObjectSchema.optional(), _max: AppointmentFileMaxAggregateInput_schema_1.AppointmentFileMaxAggregateInputObjectSchema.optional(), _avg: AppointmentFileAvgAggregateInput_schema_1.AppointmentFileAvgAggregateInputObjectSchema.optional(), _sum: AppointmentFileSumAggregateInput_schema_1.AppointmentFileSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateCommissionBatch.schema.js b/packages/db/shared/schemas/aggregateCommissionBatch.schema.js new file mode 100644 index 00000000..08b0f63c --- /dev/null +++ b/packages/db/shared/schemas/aggregateCommissionBatch.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchAggregateZodSchema = exports.CommissionBatchAggregateSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchOrderByWithRelationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchCountAggregateInput_schema_1 = require("./objects/CommissionBatchCountAggregateInput.schema"); +const CommissionBatchMinAggregateInput_schema_1 = require("./objects/CommissionBatchMinAggregateInput.schema"); +const CommissionBatchMaxAggregateInput_schema_1 = require("./objects/CommissionBatchMaxAggregateInput.schema"); +const CommissionBatchAvgAggregateInput_schema_1 = require("./objects/CommissionBatchAvgAggregateInput.schema"); +const CommissionBatchSumAggregateInput_schema_1 = require("./objects/CommissionBatchSumAggregateInput.schema"); +exports.CommissionBatchAggregateSchema = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), CommissionBatchCountAggregateInput_schema_1.CommissionBatchCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchMinAggregateInput_schema_1.CommissionBatchMinAggregateInputObjectSchema.optional(), _max: CommissionBatchMaxAggregateInput_schema_1.CommissionBatchMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchAvgAggregateInput_schema_1.CommissionBatchAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchSumAggregateInput_schema_1.CommissionBatchSumAggregateInputObjectSchema.optional() }).strict(); +exports.CommissionBatchAggregateZodSchema = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), CommissionBatchCountAggregateInput_schema_1.CommissionBatchCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchMinAggregateInput_schema_1.CommissionBatchMinAggregateInputObjectSchema.optional(), _max: CommissionBatchMaxAggregateInput_schema_1.CommissionBatchMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchAvgAggregateInput_schema_1.CommissionBatchAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchSumAggregateInput_schema_1.CommissionBatchSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateCommissionBatchItem.schema.js b/packages/db/shared/schemas/aggregateCommissionBatchItem.schema.js new file mode 100644 index 00000000..973fb4ed --- /dev/null +++ b/packages/db/shared/schemas/aggregateCommissionBatchItem.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemAggregateZodSchema = exports.CommissionBatchItemAggregateSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchItemOrderByWithRelationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemCountAggregateInput_schema_1 = require("./objects/CommissionBatchItemCountAggregateInput.schema"); +const CommissionBatchItemMinAggregateInput_schema_1 = require("./objects/CommissionBatchItemMinAggregateInput.schema"); +const CommissionBatchItemMaxAggregateInput_schema_1 = require("./objects/CommissionBatchItemMaxAggregateInput.schema"); +const CommissionBatchItemAvgAggregateInput_schema_1 = require("./objects/CommissionBatchItemAvgAggregateInput.schema"); +const CommissionBatchItemSumAggregateInput_schema_1 = require("./objects/CommissionBatchItemSumAggregateInput.schema"); +exports.CommissionBatchItemAggregateSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), CommissionBatchItemCountAggregateInput_schema_1.CommissionBatchItemCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchItemMinAggregateInput_schema_1.CommissionBatchItemMinAggregateInputObjectSchema.optional(), _max: CommissionBatchItemMaxAggregateInput_schema_1.CommissionBatchItemMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchItemAvgAggregateInput_schema_1.CommissionBatchItemAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchItemSumAggregateInput_schema_1.CommissionBatchItemSumAggregateInputObjectSchema.optional() }).strict(); +exports.CommissionBatchItemAggregateZodSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), CommissionBatchItemCountAggregateInput_schema_1.CommissionBatchItemCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchItemMinAggregateInput_schema_1.CommissionBatchItemMinAggregateInputObjectSchema.optional(), _max: CommissionBatchItemMaxAggregateInput_schema_1.CommissionBatchItemMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchItemAvgAggregateInput_schema_1.CommissionBatchItemAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchItemSumAggregateInput_schema_1.CommissionBatchItemSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateInsuranceContact.schema.js b/packages/db/shared/schemas/aggregateInsuranceContact.schema.js new file mode 100644 index 00000000..272c5c31 --- /dev/null +++ b/packages/db/shared/schemas/aggregateInsuranceContact.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactAggregateZodSchema = exports.InsuranceContactAggregateSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactOrderByWithRelationInput_schema_1 = require("./objects/InsuranceContactOrderByWithRelationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactCountAggregateInput_schema_1 = require("./objects/InsuranceContactCountAggregateInput.schema"); +const InsuranceContactMinAggregateInput_schema_1 = require("./objects/InsuranceContactMinAggregateInput.schema"); +const InsuranceContactMaxAggregateInput_schema_1 = require("./objects/InsuranceContactMaxAggregateInput.schema"); +const InsuranceContactAvgAggregateInput_schema_1 = require("./objects/InsuranceContactAvgAggregateInput.schema"); +const InsuranceContactSumAggregateInput_schema_1 = require("./objects/InsuranceContactSumAggregateInput.schema"); +exports.InsuranceContactAggregateSchema = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), InsuranceContactCountAggregateInput_schema_1.InsuranceContactCountAggregateInputObjectSchema]).optional(), _min: InsuranceContactMinAggregateInput_schema_1.InsuranceContactMinAggregateInputObjectSchema.optional(), _max: InsuranceContactMaxAggregateInput_schema_1.InsuranceContactMaxAggregateInputObjectSchema.optional(), _avg: InsuranceContactAvgAggregateInput_schema_1.InsuranceContactAvgAggregateInputObjectSchema.optional(), _sum: InsuranceContactSumAggregateInput_schema_1.InsuranceContactSumAggregateInputObjectSchema.optional() }).strict(); +exports.InsuranceContactAggregateZodSchema = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), InsuranceContactCountAggregateInput_schema_1.InsuranceContactCountAggregateInputObjectSchema]).optional(), _min: InsuranceContactMinAggregateInput_schema_1.InsuranceContactMinAggregateInputObjectSchema.optional(), _max: InsuranceContactMaxAggregateInput_schema_1.InsuranceContactMaxAggregateInputObjectSchema.optional(), _avg: InsuranceContactAvgAggregateInput_schema_1.InsuranceContactAvgAggregateInputObjectSchema.optional(), _sum: InsuranceContactSumAggregateInput_schema_1.InsuranceContactSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateOfficeContact.schema.js b/packages/db/shared/schemas/aggregateOfficeContact.schema.js new file mode 100644 index 00000000..a107d721 --- /dev/null +++ b/packages/db/shared/schemas/aggregateOfficeContact.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactAggregateZodSchema = exports.OfficeContactAggregateSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactOrderByWithRelationInput_schema_1 = require("./objects/OfficeContactOrderByWithRelationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +const OfficeContactCountAggregateInput_schema_1 = require("./objects/OfficeContactCountAggregateInput.schema"); +const OfficeContactMinAggregateInput_schema_1 = require("./objects/OfficeContactMinAggregateInput.schema"); +const OfficeContactMaxAggregateInput_schema_1 = require("./objects/OfficeContactMaxAggregateInput.schema"); +const OfficeContactAvgAggregateInput_schema_1 = require("./objects/OfficeContactAvgAggregateInput.schema"); +const OfficeContactSumAggregateInput_schema_1 = require("./objects/OfficeContactSumAggregateInput.schema"); +exports.OfficeContactAggregateSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), OfficeContactCountAggregateInput_schema_1.OfficeContactCountAggregateInputObjectSchema]).optional(), _min: OfficeContactMinAggregateInput_schema_1.OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInput_schema_1.OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInput_schema_1.OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInput_schema_1.OfficeContactSumAggregateInputObjectSchema.optional() }).strict(); +exports.OfficeContactAggregateZodSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), OfficeContactCountAggregateInput_schema_1.OfficeContactCountAggregateInputObjectSchema]).optional(), _min: OfficeContactMinAggregateInput_schema_1.OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInput_schema_1.OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInput_schema_1.OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInput_schema_1.OfficeContactSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateOfficeHours.schema.js b/packages/db/shared/schemas/aggregateOfficeHours.schema.js new file mode 100644 index 00000000..d26829a9 --- /dev/null +++ b/packages/db/shared/schemas/aggregateOfficeHours.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursAggregateZodSchema = exports.OfficeHoursAggregateSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursOrderByWithRelationInput_schema_1 = require("./objects/OfficeHoursOrderByWithRelationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursCountAggregateInput_schema_1 = require("./objects/OfficeHoursCountAggregateInput.schema"); +const OfficeHoursMinAggregateInput_schema_1 = require("./objects/OfficeHoursMinAggregateInput.schema"); +const OfficeHoursMaxAggregateInput_schema_1 = require("./objects/OfficeHoursMaxAggregateInput.schema"); +const OfficeHoursAvgAggregateInput_schema_1 = require("./objects/OfficeHoursAvgAggregateInput.schema"); +const OfficeHoursSumAggregateInput_schema_1 = require("./objects/OfficeHoursSumAggregateInput.schema"); +exports.OfficeHoursAggregateSchema = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), OfficeHoursCountAggregateInput_schema_1.OfficeHoursCountAggregateInputObjectSchema]).optional(), _min: OfficeHoursMinAggregateInput_schema_1.OfficeHoursMinAggregateInputObjectSchema.optional(), _max: OfficeHoursMaxAggregateInput_schema_1.OfficeHoursMaxAggregateInputObjectSchema.optional(), _avg: OfficeHoursAvgAggregateInput_schema_1.OfficeHoursAvgAggregateInputObjectSchema.optional(), _sum: OfficeHoursSumAggregateInput_schema_1.OfficeHoursSumAggregateInputObjectSchema.optional() }).strict(); +exports.OfficeHoursAggregateZodSchema = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), OfficeHoursCountAggregateInput_schema_1.OfficeHoursCountAggregateInputObjectSchema]).optional(), _min: OfficeHoursMinAggregateInput_schema_1.OfficeHoursMinAggregateInputObjectSchema.optional(), _max: OfficeHoursMaxAggregateInput_schema_1.OfficeHoursMaxAggregateInputObjectSchema.optional(), _avg: OfficeHoursAvgAggregateInput_schema_1.OfficeHoursAvgAggregateInputObjectSchema.optional(), _sum: OfficeHoursSumAggregateInput_schema_1.OfficeHoursSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregatePatientConversation.schema.js b/packages/db/shared/schemas/aggregatePatientConversation.schema.js new file mode 100644 index 00000000..88324dcf --- /dev/null +++ b/packages/db/shared/schemas/aggregatePatientConversation.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationAggregateZodSchema = exports.PatientConversationAggregateSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationOrderByWithRelationInput_schema_1 = require("./objects/PatientConversationOrderByWithRelationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +const PatientConversationCountAggregateInput_schema_1 = require("./objects/PatientConversationCountAggregateInput.schema"); +const PatientConversationMinAggregateInput_schema_1 = require("./objects/PatientConversationMinAggregateInput.schema"); +const PatientConversationMaxAggregateInput_schema_1 = require("./objects/PatientConversationMaxAggregateInput.schema"); +const PatientConversationAvgAggregateInput_schema_1 = require("./objects/PatientConversationAvgAggregateInput.schema"); +const PatientConversationSumAggregateInput_schema_1 = require("./objects/PatientConversationSumAggregateInput.schema"); +exports.PatientConversationAggregateSchema = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), PatientConversationCountAggregateInput_schema_1.PatientConversationCountAggregateInputObjectSchema]).optional(), _min: PatientConversationMinAggregateInput_schema_1.PatientConversationMinAggregateInputObjectSchema.optional(), _max: PatientConversationMaxAggregateInput_schema_1.PatientConversationMaxAggregateInputObjectSchema.optional(), _avg: PatientConversationAvgAggregateInput_schema_1.PatientConversationAvgAggregateInputObjectSchema.optional(), _sum: PatientConversationSumAggregateInput_schema_1.PatientConversationSumAggregateInputObjectSchema.optional() }).strict(); +exports.PatientConversationAggregateZodSchema = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), PatientConversationCountAggregateInput_schema_1.PatientConversationCountAggregateInputObjectSchema]).optional(), _min: PatientConversationMinAggregateInput_schema_1.PatientConversationMinAggregateInputObjectSchema.optional(), _max: PatientConversationMaxAggregateInput_schema_1.PatientConversationMaxAggregateInputObjectSchema.optional(), _avg: PatientConversationAvgAggregateInput_schema_1.PatientConversationAvgAggregateInputObjectSchema.optional(), _sum: PatientConversationSumAggregateInput_schema_1.PatientConversationSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateProcedureTimeslot.schema.js b/packages/db/shared/schemas/aggregateProcedureTimeslot.schema.js new file mode 100644 index 00000000..e53431d5 --- /dev/null +++ b/packages/db/shared/schemas/aggregateProcedureTimeslot.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotAggregateZodSchema = exports.ProcedureTimeslotAggregateSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotOrderByWithRelationInput_schema_1 = require("./objects/ProcedureTimeslotOrderByWithRelationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotCountAggregateInput_schema_1 = require("./objects/ProcedureTimeslotCountAggregateInput.schema"); +const ProcedureTimeslotMinAggregateInput_schema_1 = require("./objects/ProcedureTimeslotMinAggregateInput.schema"); +const ProcedureTimeslotMaxAggregateInput_schema_1 = require("./objects/ProcedureTimeslotMaxAggregateInput.schema"); +const ProcedureTimeslotAvgAggregateInput_schema_1 = require("./objects/ProcedureTimeslotAvgAggregateInput.schema"); +const ProcedureTimeslotSumAggregateInput_schema_1 = require("./objects/ProcedureTimeslotSumAggregateInput.schema"); +exports.ProcedureTimeslotAggregateSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), ProcedureTimeslotCountAggregateInput_schema_1.ProcedureTimeslotCountAggregateInputObjectSchema]).optional(), _min: ProcedureTimeslotMinAggregateInput_schema_1.ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInput_schema_1.ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInput_schema_1.ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInput_schema_1.ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict(); +exports.ProcedureTimeslotAggregateZodSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), ProcedureTimeslotCountAggregateInput_schema_1.ProcedureTimeslotCountAggregateInputObjectSchema]).optional(), _min: ProcedureTimeslotMinAggregateInput_schema_1.ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInput_schema_1.ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInput_schema_1.ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInput_schema_1.ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateShoppingVendor.schema.js b/packages/db/shared/schemas/aggregateShoppingVendor.schema.js new file mode 100644 index 00000000..606f39f2 --- /dev/null +++ b/packages/db/shared/schemas/aggregateShoppingVendor.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorAggregateZodSchema = exports.ShoppingVendorAggregateSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorOrderByWithRelationInput_schema_1 = require("./objects/ShoppingVendorOrderByWithRelationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorCountAggregateInput_schema_1 = require("./objects/ShoppingVendorCountAggregateInput.schema"); +const ShoppingVendorMinAggregateInput_schema_1 = require("./objects/ShoppingVendorMinAggregateInput.schema"); +const ShoppingVendorMaxAggregateInput_schema_1 = require("./objects/ShoppingVendorMaxAggregateInput.schema"); +const ShoppingVendorAvgAggregateInput_schema_1 = require("./objects/ShoppingVendorAvgAggregateInput.schema"); +const ShoppingVendorSumAggregateInput_schema_1 = require("./objects/ShoppingVendorSumAggregateInput.schema"); +exports.ShoppingVendorAggregateSchema = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), ShoppingVendorCountAggregateInput_schema_1.ShoppingVendorCountAggregateInputObjectSchema]).optional(), _min: ShoppingVendorMinAggregateInput_schema_1.ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInput_schema_1.ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInput_schema_1.ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInput_schema_1.ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict(); +exports.ShoppingVendorAggregateZodSchema = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), ShoppingVendorCountAggregateInput_schema_1.ShoppingVendorCountAggregateInputObjectSchema]).optional(), _min: ShoppingVendorMinAggregateInput_schema_1.ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInput_schema_1.ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInput_schema_1.ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInput_schema_1.ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/aggregateTwilioSettings.schema.js b/packages/db/shared/schemas/aggregateTwilioSettings.schema.js new file mode 100644 index 00000000..209b9c04 --- /dev/null +++ b/packages/db/shared/schemas/aggregateTwilioSettings.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsAggregateZodSchema = exports.TwilioSettingsAggregateSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsOrderByWithRelationInput_schema_1 = require("./objects/TwilioSettingsOrderByWithRelationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsCountAggregateInput_schema_1 = require("./objects/TwilioSettingsCountAggregateInput.schema"); +const TwilioSettingsMinAggregateInput_schema_1 = require("./objects/TwilioSettingsMinAggregateInput.schema"); +const TwilioSettingsMaxAggregateInput_schema_1 = require("./objects/TwilioSettingsMaxAggregateInput.schema"); +const TwilioSettingsAvgAggregateInput_schema_1 = require("./objects/TwilioSettingsAvgAggregateInput.schema"); +const TwilioSettingsSumAggregateInput_schema_1 = require("./objects/TwilioSettingsSumAggregateInput.schema"); +exports.TwilioSettingsAggregateSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), TwilioSettingsCountAggregateInput_schema_1.TwilioSettingsCountAggregateInputObjectSchema]).optional(), _min: TwilioSettingsMinAggregateInput_schema_1.TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInput_schema_1.TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInput_schema_1.TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInput_schema_1.TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict(); +exports.TwilioSettingsAggregateZodSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([z.literal(true), TwilioSettingsCountAggregateInput_schema_1.TwilioSettingsCountAggregateInputObjectSchema]).optional(), _min: TwilioSettingsMinAggregateInput_schema_1.TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInput_schema_1.TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInput_schema_1.TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInput_schema_1.TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/countAiSettings.schema.js b/packages/db/shared/schemas/countAiSettings.schema.js new file mode 100644 index 00000000..8d0540f2 --- /dev/null +++ b/packages/db/shared/schemas/countAiSettings.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCountZodSchema = exports.AiSettingsCountSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsOrderByWithRelationInput_schema_1 = require("./objects/AiSettingsOrderByWithRelationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +const AiSettingsCountAggregateInput_schema_1 = require("./objects/AiSettingsCountAggregateInput.schema"); +exports.AiSettingsCountSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), AiSettingsCountAggregateInput_schema_1.AiSettingsCountAggregateInputObjectSchema]).optional() }).strict(); +exports.AiSettingsCountZodSchema = z.object({ orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), AiSettingsCountAggregateInput_schema_1.AiSettingsCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countAppointmentFile.schema.js b/packages/db/shared/schemas/countAppointmentFile.schema.js new file mode 100644 index 00000000..736a7850 --- /dev/null +++ b/packages/db/shared/schemas/countAppointmentFile.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCountZodSchema = exports.AppointmentFileCountSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileOrderByWithRelationInput_schema_1 = require("./objects/AppointmentFileOrderByWithRelationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileCountAggregateInput_schema_1 = require("./objects/AppointmentFileCountAggregateInput.schema"); +exports.AppointmentFileCountSchema = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), AppointmentFileCountAggregateInput_schema_1.AppointmentFileCountAggregateInputObjectSchema]).optional() }).strict(); +exports.AppointmentFileCountZodSchema = z.object({ orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), AppointmentFileCountAggregateInput_schema_1.AppointmentFileCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countCommissionBatch.schema.js b/packages/db/shared/schemas/countCommissionBatch.schema.js new file mode 100644 index 00000000..9e33317e --- /dev/null +++ b/packages/db/shared/schemas/countCommissionBatch.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountZodSchema = exports.CommissionBatchCountSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchOrderByWithRelationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchCountAggregateInput_schema_1 = require("./objects/CommissionBatchCountAggregateInput.schema"); +exports.CommissionBatchCountSchema = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), CommissionBatchCountAggregateInput_schema_1.CommissionBatchCountAggregateInputObjectSchema]).optional() }).strict(); +exports.CommissionBatchCountZodSchema = z.object({ orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), CommissionBatchCountAggregateInput_schema_1.CommissionBatchCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countCommissionBatchItem.schema.js b/packages/db/shared/schemas/countCommissionBatchItem.schema.js new file mode 100644 index 00000000..552f149d --- /dev/null +++ b/packages/db/shared/schemas/countCommissionBatchItem.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCountZodSchema = exports.CommissionBatchItemCountSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchItemOrderByWithRelationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemCountAggregateInput_schema_1 = require("./objects/CommissionBatchItemCountAggregateInput.schema"); +exports.CommissionBatchItemCountSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), CommissionBatchItemCountAggregateInput_schema_1.CommissionBatchItemCountAggregateInputObjectSchema]).optional() }).strict(); +exports.CommissionBatchItemCountZodSchema = z.object({ orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), CommissionBatchItemCountAggregateInput_schema_1.CommissionBatchItemCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countInsuranceContact.schema.js b/packages/db/shared/schemas/countInsuranceContact.schema.js new file mode 100644 index 00000000..d71c9427 --- /dev/null +++ b/packages/db/shared/schemas/countInsuranceContact.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCountZodSchema = exports.InsuranceContactCountSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactOrderByWithRelationInput_schema_1 = require("./objects/InsuranceContactOrderByWithRelationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactCountAggregateInput_schema_1 = require("./objects/InsuranceContactCountAggregateInput.schema"); +exports.InsuranceContactCountSchema = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), InsuranceContactCountAggregateInput_schema_1.InsuranceContactCountAggregateInputObjectSchema]).optional() }).strict(); +exports.InsuranceContactCountZodSchema = z.object({ orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), InsuranceContactCountAggregateInput_schema_1.InsuranceContactCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countOfficeContact.schema.js b/packages/db/shared/schemas/countOfficeContact.schema.js new file mode 100644 index 00000000..dfdf19f2 --- /dev/null +++ b/packages/db/shared/schemas/countOfficeContact.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCountZodSchema = exports.OfficeContactCountSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactOrderByWithRelationInput_schema_1 = require("./objects/OfficeContactOrderByWithRelationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +const OfficeContactCountAggregateInput_schema_1 = require("./objects/OfficeContactCountAggregateInput.schema"); +exports.OfficeContactCountSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), OfficeContactCountAggregateInput_schema_1.OfficeContactCountAggregateInputObjectSchema]).optional() }).strict(); +exports.OfficeContactCountZodSchema = z.object({ orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), OfficeContactCountAggregateInput_schema_1.OfficeContactCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countOfficeHours.schema.js b/packages/db/shared/schemas/countOfficeHours.schema.js new file mode 100644 index 00000000..91702baf --- /dev/null +++ b/packages/db/shared/schemas/countOfficeHours.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCountZodSchema = exports.OfficeHoursCountSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursOrderByWithRelationInput_schema_1 = require("./objects/OfficeHoursOrderByWithRelationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursCountAggregateInput_schema_1 = require("./objects/OfficeHoursCountAggregateInput.schema"); +exports.OfficeHoursCountSchema = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), OfficeHoursCountAggregateInput_schema_1.OfficeHoursCountAggregateInputObjectSchema]).optional() }).strict(); +exports.OfficeHoursCountZodSchema = z.object({ orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), OfficeHoursCountAggregateInput_schema_1.OfficeHoursCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countPatientConversation.schema.js b/packages/db/shared/schemas/countPatientConversation.schema.js new file mode 100644 index 00000000..4de15e2c --- /dev/null +++ b/packages/db/shared/schemas/countPatientConversation.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCountZodSchema = exports.PatientConversationCountSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationOrderByWithRelationInput_schema_1 = require("./objects/PatientConversationOrderByWithRelationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +const PatientConversationCountAggregateInput_schema_1 = require("./objects/PatientConversationCountAggregateInput.schema"); +exports.PatientConversationCountSchema = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), PatientConversationCountAggregateInput_schema_1.PatientConversationCountAggregateInputObjectSchema]).optional() }).strict(); +exports.PatientConversationCountZodSchema = z.object({ orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), PatientConversationCountAggregateInput_schema_1.PatientConversationCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countProcedureTimeslot.schema.js b/packages/db/shared/schemas/countProcedureTimeslot.schema.js new file mode 100644 index 00000000..6c0b8523 --- /dev/null +++ b/packages/db/shared/schemas/countProcedureTimeslot.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCountZodSchema = exports.ProcedureTimeslotCountSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotOrderByWithRelationInput_schema_1 = require("./objects/ProcedureTimeslotOrderByWithRelationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotCountAggregateInput_schema_1 = require("./objects/ProcedureTimeslotCountAggregateInput.schema"); +exports.ProcedureTimeslotCountSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), ProcedureTimeslotCountAggregateInput_schema_1.ProcedureTimeslotCountAggregateInputObjectSchema]).optional() }).strict(); +exports.ProcedureTimeslotCountZodSchema = z.object({ orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), ProcedureTimeslotCountAggregateInput_schema_1.ProcedureTimeslotCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countShoppingVendor.schema.js b/packages/db/shared/schemas/countShoppingVendor.schema.js new file mode 100644 index 00000000..8943fc8a --- /dev/null +++ b/packages/db/shared/schemas/countShoppingVendor.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCountZodSchema = exports.ShoppingVendorCountSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorOrderByWithRelationInput_schema_1 = require("./objects/ShoppingVendorOrderByWithRelationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorCountAggregateInput_schema_1 = require("./objects/ShoppingVendorCountAggregateInput.schema"); +exports.ShoppingVendorCountSchema = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), ShoppingVendorCountAggregateInput_schema_1.ShoppingVendorCountAggregateInputObjectSchema]).optional() }).strict(); +exports.ShoppingVendorCountZodSchema = z.object({ orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), ShoppingVendorCountAggregateInput_schema_1.ShoppingVendorCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/countTwilioSettings.schema.js b/packages/db/shared/schemas/countTwilioSettings.schema.js new file mode 100644 index 00000000..8eee61ae --- /dev/null +++ b/packages/db/shared/schemas/countTwilioSettings.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCountZodSchema = exports.TwilioSettingsCountSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsOrderByWithRelationInput_schema_1 = require("./objects/TwilioSettingsOrderByWithRelationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsCountAggregateInput_schema_1 = require("./objects/TwilioSettingsCountAggregateInput.schema"); +exports.TwilioSettingsCountSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), TwilioSettingsCountAggregateInput_schema_1.TwilioSettingsCountAggregateInputObjectSchema]).optional() }).strict(); +exports.TwilioSettingsCountZodSchema = z.object({ orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), select: z.union([z.literal(true), TwilioSettingsCountAggregateInput_schema_1.TwilioSettingsCountAggregateInputObjectSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAiSettings.schema.js b/packages/db/shared/schemas/createManyAiSettings.schema.js new file mode 100644 index 00000000..cb30fb90 --- /dev/null +++ b/packages/db/shared/schemas/createManyAiSettings.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateManyZodSchema = exports.AiSettingsCreateManySchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsCreateManyInput_schema_1 = require("./objects/AiSettingsCreateManyInput.schema"); +exports.AiSettingsCreateManySchema = z.object({ data: z.union([AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.AiSettingsCreateManyZodSchema = z.object({ data: z.union([AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnAiSettings.schema.js b/packages/db/shared/schemas/createManyAndReturnAiSettings.schema.js new file mode 100644 index 00000000..976c97f8 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnAiSettings.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateManyAndReturnZodSchema = exports.AiSettingsCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsCreateManyInput_schema_1 = require("./objects/AiSettingsCreateManyInput.schema"); +exports.AiSettingsCreateManyAndReturnSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), data: z.union([AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.AiSettingsCreateManyAndReturnZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), data: z.union([AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema, z.array(AiSettingsCreateManyInput_schema_1.AiSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnAppointmentFile.schema.js b/packages/db/shared/schemas/createManyAndReturnAppointmentFile.schema.js new file mode 100644 index 00000000..e4e62cf1 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnAppointmentFile.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateManyAndReturnZodSchema = exports.AppointmentFileCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileCreateManyInput_schema_1 = require("./objects/AppointmentFileCreateManyInput.schema"); +exports.AppointmentFileCreateManyAndReturnSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), data: z.union([AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema, z.array(AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.AppointmentFileCreateManyAndReturnZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), data: z.union([AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema, z.array(AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnCommissionBatch.schema.js b/packages/db/shared/schemas/createManyAndReturnCommissionBatch.schema.js new file mode 100644 index 00000000..974a7d63 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnCommissionBatch.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateManyAndReturnZodSchema = exports.CommissionBatchCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchCreateManyInput_schema_1 = require("./objects/CommissionBatchCreateManyInput.schema"); +exports.CommissionBatchCreateManyAndReturnSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), data: z.union([CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.CommissionBatchCreateManyAndReturnZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), data: z.union([CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnCommissionBatchItem.schema.js b/packages/db/shared/schemas/createManyAndReturnCommissionBatchItem.schema.js new file mode 100644 index 00000000..ea747e39 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnCommissionBatchItem.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyAndReturnZodSchema = exports.CommissionBatchItemCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemCreateManyInput_schema_1 = require("./objects/CommissionBatchItemCreateManyInput.schema"); +exports.CommissionBatchItemCreateManyAndReturnSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), data: z.union([CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.CommissionBatchItemCreateManyAndReturnZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), data: z.union([CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnInsuranceContact.schema.js b/packages/db/shared/schemas/createManyAndReturnInsuranceContact.schema.js new file mode 100644 index 00000000..611f09be --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnInsuranceContact.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateManyAndReturnZodSchema = exports.InsuranceContactCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactCreateManyInput_schema_1 = require("./objects/InsuranceContactCreateManyInput.schema"); +exports.InsuranceContactCreateManyAndReturnSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), data: z.union([InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.InsuranceContactCreateManyAndReturnZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), data: z.union([InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnOfficeContact.schema.js b/packages/db/shared/schemas/createManyAndReturnOfficeContact.schema.js new file mode 100644 index 00000000..429d80f7 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnOfficeContact.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateManyAndReturnZodSchema = exports.OfficeContactCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactCreateManyInput_schema_1 = require("./objects/OfficeContactCreateManyInput.schema"); +exports.OfficeContactCreateManyAndReturnSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), data: z.union([OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.OfficeContactCreateManyAndReturnZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), data: z.union([OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnOfficeHours.schema.js b/packages/db/shared/schemas/createManyAndReturnOfficeHours.schema.js new file mode 100644 index 00000000..23502c03 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnOfficeHours.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateManyAndReturnZodSchema = exports.OfficeHoursCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursCreateManyInput_schema_1 = require("./objects/OfficeHoursCreateManyInput.schema"); +exports.OfficeHoursCreateManyAndReturnSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), data: z.union([OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.OfficeHoursCreateManyAndReturnZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), data: z.union([OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnPatientConversation.schema.js b/packages/db/shared/schemas/createManyAndReturnPatientConversation.schema.js new file mode 100644 index 00000000..56d7c228 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnPatientConversation.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateManyAndReturnZodSchema = exports.PatientConversationCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationCreateManyInput_schema_1 = require("./objects/PatientConversationCreateManyInput.schema"); +exports.PatientConversationCreateManyAndReturnSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), data: z.union([PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.PatientConversationCreateManyAndReturnZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), data: z.union([PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnProcedureTimeslot.schema.js b/packages/db/shared/schemas/createManyAndReturnProcedureTimeslot.schema.js new file mode 100644 index 00000000..6b103175 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnProcedureTimeslot.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateManyAndReturnZodSchema = exports.ProcedureTimeslotCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotCreateManyInput_schema_1 = require("./objects/ProcedureTimeslotCreateManyInput.schema"); +exports.ProcedureTimeslotCreateManyAndReturnSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), data: z.union([ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.ProcedureTimeslotCreateManyAndReturnZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), data: z.union([ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnShoppingVendor.schema.js b/packages/db/shared/schemas/createManyAndReturnShoppingVendor.schema.js new file mode 100644 index 00000000..dc6c85b3 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnShoppingVendor.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateManyAndReturnZodSchema = exports.ShoppingVendorCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorCreateManyInput_schema_1 = require("./objects/ShoppingVendorCreateManyInput.schema"); +exports.ShoppingVendorCreateManyAndReturnSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), data: z.union([ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.ShoppingVendorCreateManyAndReturnZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), data: z.union([ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAndReturnTwilioSettings.schema.js b/packages/db/shared/schemas/createManyAndReturnTwilioSettings.schema.js new file mode 100644 index 00000000..6e26f166 --- /dev/null +++ b/packages/db/shared/schemas/createManyAndReturnTwilioSettings.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateManyAndReturnZodSchema = exports.TwilioSettingsCreateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsCreateManyInput_schema_1 = require("./objects/TwilioSettingsCreateManyInput.schema"); +exports.TwilioSettingsCreateManyAndReturnSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), data: z.union([TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.TwilioSettingsCreateManyAndReturnZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), data: z.union([TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyAppointmentFile.schema.js b/packages/db/shared/schemas/createManyAppointmentFile.schema.js new file mode 100644 index 00000000..b5188302 --- /dev/null +++ b/packages/db/shared/schemas/createManyAppointmentFile.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateManyZodSchema = exports.AppointmentFileCreateManySchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileCreateManyInput_schema_1 = require("./objects/AppointmentFileCreateManyInput.schema"); +exports.AppointmentFileCreateManySchema = z.object({ data: z.union([AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema, z.array(AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.AppointmentFileCreateManyZodSchema = z.object({ data: z.union([AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema, z.array(AppointmentFileCreateManyInput_schema_1.AppointmentFileCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyCommissionBatch.schema.js b/packages/db/shared/schemas/createManyCommissionBatch.schema.js new file mode 100644 index 00000000..f0967786 --- /dev/null +++ b/packages/db/shared/schemas/createManyCommissionBatch.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateManyZodSchema = exports.CommissionBatchCreateManySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateManyInput_schema_1 = require("./objects/CommissionBatchCreateManyInput.schema"); +exports.CommissionBatchCreateManySchema = z.object({ data: z.union([CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.CommissionBatchCreateManyZodSchema = z.object({ data: z.union([CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema, z.array(CommissionBatchCreateManyInput_schema_1.CommissionBatchCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyCommissionBatchItem.schema.js b/packages/db/shared/schemas/createManyCommissionBatchItem.schema.js new file mode 100644 index 00000000..bee6bc6f --- /dev/null +++ b/packages/db/shared/schemas/createManyCommissionBatchItem.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyZodSchema = exports.CommissionBatchItemCreateManySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateManyInput_schema_1 = require("./objects/CommissionBatchItemCreateManyInput.schema"); +exports.CommissionBatchItemCreateManySchema = z.object({ data: z.union([CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.CommissionBatchItemCreateManyZodSchema = z.object({ data: z.union([CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema, z.array(CommissionBatchItemCreateManyInput_schema_1.CommissionBatchItemCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyInsuranceContact.schema.js b/packages/db/shared/schemas/createManyInsuranceContact.schema.js new file mode 100644 index 00000000..7239f5a5 --- /dev/null +++ b/packages/db/shared/schemas/createManyInsuranceContact.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateManyZodSchema = exports.InsuranceContactCreateManySchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactCreateManyInput_schema_1 = require("./objects/InsuranceContactCreateManyInput.schema"); +exports.InsuranceContactCreateManySchema = z.object({ data: z.union([InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.InsuranceContactCreateManyZodSchema = z.object({ data: z.union([InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema, z.array(InsuranceContactCreateManyInput_schema_1.InsuranceContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyOfficeContact.schema.js b/packages/db/shared/schemas/createManyOfficeContact.schema.js new file mode 100644 index 00000000..8e4d2868 --- /dev/null +++ b/packages/db/shared/schemas/createManyOfficeContact.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateManyZodSchema = exports.OfficeContactCreateManySchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactCreateManyInput_schema_1 = require("./objects/OfficeContactCreateManyInput.schema"); +exports.OfficeContactCreateManySchema = z.object({ data: z.union([OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.OfficeContactCreateManyZodSchema = z.object({ data: z.union([OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema, z.array(OfficeContactCreateManyInput_schema_1.OfficeContactCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyOfficeHours.schema.js b/packages/db/shared/schemas/createManyOfficeHours.schema.js new file mode 100644 index 00000000..ba93b3d3 --- /dev/null +++ b/packages/db/shared/schemas/createManyOfficeHours.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateManyZodSchema = exports.OfficeHoursCreateManySchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursCreateManyInput_schema_1 = require("./objects/OfficeHoursCreateManyInput.schema"); +exports.OfficeHoursCreateManySchema = z.object({ data: z.union([OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.OfficeHoursCreateManyZodSchema = z.object({ data: z.union([OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema, z.array(OfficeHoursCreateManyInput_schema_1.OfficeHoursCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyPatientConversation.schema.js b/packages/db/shared/schemas/createManyPatientConversation.schema.js new file mode 100644 index 00000000..f3e9c30c --- /dev/null +++ b/packages/db/shared/schemas/createManyPatientConversation.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateManyZodSchema = exports.PatientConversationCreateManySchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateManyInput_schema_1 = require("./objects/PatientConversationCreateManyInput.schema"); +exports.PatientConversationCreateManySchema = z.object({ data: z.union([PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.PatientConversationCreateManyZodSchema = z.object({ data: z.union([PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema, z.array(PatientConversationCreateManyInput_schema_1.PatientConversationCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyProcedureTimeslot.schema.js b/packages/db/shared/schemas/createManyProcedureTimeslot.schema.js new file mode 100644 index 00000000..87a03492 --- /dev/null +++ b/packages/db/shared/schemas/createManyProcedureTimeslot.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateManyZodSchema = exports.ProcedureTimeslotCreateManySchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotCreateManyInput_schema_1 = require("./objects/ProcedureTimeslotCreateManyInput.schema"); +exports.ProcedureTimeslotCreateManySchema = z.object({ data: z.union([ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.ProcedureTimeslotCreateManyZodSchema = z.object({ data: z.union([ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema, z.array(ProcedureTimeslotCreateManyInput_schema_1.ProcedureTimeslotCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyShoppingVendor.schema.js b/packages/db/shared/schemas/createManyShoppingVendor.schema.js new file mode 100644 index 00000000..cbf268b1 --- /dev/null +++ b/packages/db/shared/schemas/createManyShoppingVendor.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateManyZodSchema = exports.ShoppingVendorCreateManySchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorCreateManyInput_schema_1 = require("./objects/ShoppingVendorCreateManyInput.schema"); +exports.ShoppingVendorCreateManySchema = z.object({ data: z.union([ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.ShoppingVendorCreateManyZodSchema = z.object({ data: z.union([ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema, z.array(ShoppingVendorCreateManyInput_schema_1.ShoppingVendorCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createManyTwilioSettings.schema.js b/packages/db/shared/schemas/createManyTwilioSettings.schema.js new file mode 100644 index 00000000..c5d3994f --- /dev/null +++ b/packages/db/shared/schemas/createManyTwilioSettings.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateManyZodSchema = exports.TwilioSettingsCreateManySchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsCreateManyInput_schema_1 = require("./objects/TwilioSettingsCreateManyInput.schema"); +exports.TwilioSettingsCreateManySchema = z.object({ data: z.union([TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); +exports.TwilioSettingsCreateManyZodSchema = z.object({ data: z.union([TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema, z.array(TwilioSettingsCreateManyInput_schema_1.TwilioSettingsCreateManyInputObjectSchema)]), skipDuplicates: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/createOneAiSettings.schema.js b/packages/db/shared/schemas/createOneAiSettings.schema.js new file mode 100644 index 00000000..16a03b8b --- /dev/null +++ b/packages/db/shared/schemas/createOneAiSettings.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateOneZodSchema = exports.AiSettingsCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsCreateInput_schema_1 = require("./objects/AiSettingsCreateInput.schema"); +const AiSettingsUncheckedCreateInput_schema_1 = require("./objects/AiSettingsUncheckedCreateInput.schema"); +exports.AiSettingsCreateOneSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), data: z.union([AiSettingsCreateInput_schema_1.AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInput_schema_1.AiSettingsUncheckedCreateInputObjectSchema]) }).strict(); +exports.AiSettingsCreateOneZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), data: z.union([AiSettingsCreateInput_schema_1.AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInput_schema_1.AiSettingsUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneAppointmentFile.schema.js b/packages/db/shared/schemas/createOneAppointmentFile.schema.js new file mode 100644 index 00000000..7bc56d75 --- /dev/null +++ b/packages/db/shared/schemas/createOneAppointmentFile.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateOneZodSchema = exports.AppointmentFileCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileCreateInput_schema_1 = require("./objects/AppointmentFileCreateInput.schema"); +const AppointmentFileUncheckedCreateInput_schema_1 = require("./objects/AppointmentFileUncheckedCreateInput.schema"); +exports.AppointmentFileCreateOneSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileCreateInput_schema_1.AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInput_schema_1.AppointmentFileUncheckedCreateInputObjectSchema]) }).strict(); +exports.AppointmentFileCreateOneZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileCreateInput_schema_1.AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInput_schema_1.AppointmentFileUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneCommissionBatch.schema.js b/packages/db/shared/schemas/createOneCommissionBatch.schema.js new file mode 100644 index 00000000..4e7a62a2 --- /dev/null +++ b/packages/db/shared/schemas/createOneCommissionBatch.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateOneZodSchema = exports.CommissionBatchCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchCreateInput_schema_1 = require("./objects/CommissionBatchCreateInput.schema"); +const CommissionBatchUncheckedCreateInput_schema_1 = require("./objects/CommissionBatchUncheckedCreateInput.schema"); +exports.CommissionBatchCreateOneSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchCreateInput_schema_1.CommissionBatchCreateInputObjectSchema, CommissionBatchUncheckedCreateInput_schema_1.CommissionBatchUncheckedCreateInputObjectSchema]) }).strict(); +exports.CommissionBatchCreateOneZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchCreateInput_schema_1.CommissionBatchCreateInputObjectSchema, CommissionBatchUncheckedCreateInput_schema_1.CommissionBatchUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneCommissionBatchItem.schema.js b/packages/db/shared/schemas/createOneCommissionBatchItem.schema.js new file mode 100644 index 00000000..cd15e001 --- /dev/null +++ b/packages/db/shared/schemas/createOneCommissionBatchItem.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateOneZodSchema = exports.CommissionBatchItemCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemCreateInput_schema_1 = require("./objects/CommissionBatchItemCreateInput.schema"); +const CommissionBatchItemUncheckedCreateInput_schema_1 = require("./objects/CommissionBatchItemUncheckedCreateInput.schema"); +exports.CommissionBatchItemCreateOneSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemCreateInput_schema_1.CommissionBatchItemCreateInputObjectSchema, CommissionBatchItemUncheckedCreateInput_schema_1.CommissionBatchItemUncheckedCreateInputObjectSchema]) }).strict(); +exports.CommissionBatchItemCreateOneZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemCreateInput_schema_1.CommissionBatchItemCreateInputObjectSchema, CommissionBatchItemUncheckedCreateInput_schema_1.CommissionBatchItemUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneInsuranceContact.schema.js b/packages/db/shared/schemas/createOneInsuranceContact.schema.js new file mode 100644 index 00000000..05c0df9a --- /dev/null +++ b/packages/db/shared/schemas/createOneInsuranceContact.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateOneZodSchema = exports.InsuranceContactCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactCreateInput_schema_1 = require("./objects/InsuranceContactCreateInput.schema"); +const InsuranceContactUncheckedCreateInput_schema_1 = require("./objects/InsuranceContactUncheckedCreateInput.schema"); +exports.InsuranceContactCreateOneSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), data: z.union([InsuranceContactCreateInput_schema_1.InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInput_schema_1.InsuranceContactUncheckedCreateInputObjectSchema]) }).strict(); +exports.InsuranceContactCreateOneZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), data: z.union([InsuranceContactCreateInput_schema_1.InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInput_schema_1.InsuranceContactUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneOfficeContact.schema.js b/packages/db/shared/schemas/createOneOfficeContact.schema.js new file mode 100644 index 00000000..4228a66e --- /dev/null +++ b/packages/db/shared/schemas/createOneOfficeContact.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateOneZodSchema = exports.OfficeContactCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactCreateInput_schema_1 = require("./objects/OfficeContactCreateInput.schema"); +const OfficeContactUncheckedCreateInput_schema_1 = require("./objects/OfficeContactUncheckedCreateInput.schema"); +exports.OfficeContactCreateOneSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactCreateInput_schema_1.OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInput_schema_1.OfficeContactUncheckedCreateInputObjectSchema]) }).strict(); +exports.OfficeContactCreateOneZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactCreateInput_schema_1.OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInput_schema_1.OfficeContactUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneOfficeHours.schema.js b/packages/db/shared/schemas/createOneOfficeHours.schema.js new file mode 100644 index 00000000..4ae85c9f --- /dev/null +++ b/packages/db/shared/schemas/createOneOfficeHours.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateOneZodSchema = exports.OfficeHoursCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursCreateInput_schema_1 = require("./objects/OfficeHoursCreateInput.schema"); +const OfficeHoursUncheckedCreateInput_schema_1 = require("./objects/OfficeHoursUncheckedCreateInput.schema"); +exports.OfficeHoursCreateOneSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursCreateInput_schema_1.OfficeHoursCreateInputObjectSchema, OfficeHoursUncheckedCreateInput_schema_1.OfficeHoursUncheckedCreateInputObjectSchema]) }).strict(); +exports.OfficeHoursCreateOneZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursCreateInput_schema_1.OfficeHoursCreateInputObjectSchema, OfficeHoursUncheckedCreateInput_schema_1.OfficeHoursUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOnePatientConversation.schema.js b/packages/db/shared/schemas/createOnePatientConversation.schema.js new file mode 100644 index 00000000..77a6d840 --- /dev/null +++ b/packages/db/shared/schemas/createOnePatientConversation.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateOneZodSchema = exports.PatientConversationCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationCreateInput_schema_1 = require("./objects/PatientConversationCreateInput.schema"); +const PatientConversationUncheckedCreateInput_schema_1 = require("./objects/PatientConversationUncheckedCreateInput.schema"); +exports.PatientConversationCreateOneSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), data: z.union([PatientConversationCreateInput_schema_1.PatientConversationCreateInputObjectSchema, PatientConversationUncheckedCreateInput_schema_1.PatientConversationUncheckedCreateInputObjectSchema]) }).strict(); +exports.PatientConversationCreateOneZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), data: z.union([PatientConversationCreateInput_schema_1.PatientConversationCreateInputObjectSchema, PatientConversationUncheckedCreateInput_schema_1.PatientConversationUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneProcedureTimeslot.schema.js b/packages/db/shared/schemas/createOneProcedureTimeslot.schema.js new file mode 100644 index 00000000..9dd21003 --- /dev/null +++ b/packages/db/shared/schemas/createOneProcedureTimeslot.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateOneZodSchema = exports.ProcedureTimeslotCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotCreateInput_schema_1 = require("./objects/ProcedureTimeslotCreateInput.schema"); +const ProcedureTimeslotUncheckedCreateInput_schema_1 = require("./objects/ProcedureTimeslotUncheckedCreateInput.schema"); +exports.ProcedureTimeslotCreateOneSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), data: z.union([ProcedureTimeslotCreateInput_schema_1.ProcedureTimeslotCreateInputObjectSchema, ProcedureTimeslotUncheckedCreateInput_schema_1.ProcedureTimeslotUncheckedCreateInputObjectSchema]) }).strict(); +exports.ProcedureTimeslotCreateOneZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), data: z.union([ProcedureTimeslotCreateInput_schema_1.ProcedureTimeslotCreateInputObjectSchema, ProcedureTimeslotUncheckedCreateInput_schema_1.ProcedureTimeslotUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneShoppingVendor.schema.js b/packages/db/shared/schemas/createOneShoppingVendor.schema.js new file mode 100644 index 00000000..52938d30 --- /dev/null +++ b/packages/db/shared/schemas/createOneShoppingVendor.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateOneZodSchema = exports.ShoppingVendorCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorCreateInput_schema_1 = require("./objects/ShoppingVendorCreateInput.schema"); +const ShoppingVendorUncheckedCreateInput_schema_1 = require("./objects/ShoppingVendorUncheckedCreateInput.schema"); +exports.ShoppingVendorCreateOneSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), data: z.union([ShoppingVendorCreateInput_schema_1.ShoppingVendorCreateInputObjectSchema, ShoppingVendorUncheckedCreateInput_schema_1.ShoppingVendorUncheckedCreateInputObjectSchema]) }).strict(); +exports.ShoppingVendorCreateOneZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), data: z.union([ShoppingVendorCreateInput_schema_1.ShoppingVendorCreateInputObjectSchema, ShoppingVendorUncheckedCreateInput_schema_1.ShoppingVendorUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/createOneTwilioSettings.schema.js b/packages/db/shared/schemas/createOneTwilioSettings.schema.js new file mode 100644 index 00000000..da8c3dde --- /dev/null +++ b/packages/db/shared/schemas/createOneTwilioSettings.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateOneZodSchema = exports.TwilioSettingsCreateOneSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsCreateInput_schema_1 = require("./objects/TwilioSettingsCreateInput.schema"); +const TwilioSettingsUncheckedCreateInput_schema_1 = require("./objects/TwilioSettingsUncheckedCreateInput.schema"); +exports.TwilioSettingsCreateOneSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), data: z.union([TwilioSettingsCreateInput_schema_1.TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInput_schema_1.TwilioSettingsUncheckedCreateInputObjectSchema]) }).strict(); +exports.TwilioSettingsCreateOneZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), data: z.union([TwilioSettingsCreateInput_schema_1.TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInput_schema_1.TwilioSettingsUncheckedCreateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/deleteManyAiSettings.schema.js b/packages/db/shared/schemas/deleteManyAiSettings.schema.js new file mode 100644 index 00000000..a7cf2826 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyAiSettings.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsDeleteManyZodSchema = exports.AiSettingsDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +exports.AiSettingsDeleteManySchema = z.object({ where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional() }).strict(); +exports.AiSettingsDeleteManyZodSchema = z.object({ where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyAppointmentFile.schema.js b/packages/db/shared/schemas/deleteManyAppointmentFile.schema.js new file mode 100644 index 00000000..a4d8e20e --- /dev/null +++ b/packages/db/shared/schemas/deleteManyAppointmentFile.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileDeleteManyZodSchema = exports.AppointmentFileDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +exports.AppointmentFileDeleteManySchema = z.object({ where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional() }).strict(); +exports.AppointmentFileDeleteManyZodSchema = z.object({ where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyCommissionBatch.schema.js b/packages/db/shared/schemas/deleteManyCommissionBatch.schema.js new file mode 100644 index 00000000..dae8ba63 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyCommissionBatch.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchDeleteManyZodSchema = exports.CommissionBatchDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +exports.CommissionBatchDeleteManySchema = z.object({ where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional() }).strict(); +exports.CommissionBatchDeleteManyZodSchema = z.object({ where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyCommissionBatchItem.schema.js b/packages/db/shared/schemas/deleteManyCommissionBatchItem.schema.js new file mode 100644 index 00000000..d115b183 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyCommissionBatchItem.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemDeleteManyZodSchema = exports.CommissionBatchItemDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +exports.CommissionBatchItemDeleteManySchema = z.object({ where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional() }).strict(); +exports.CommissionBatchItemDeleteManyZodSchema = z.object({ where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyInsuranceContact.schema.js b/packages/db/shared/schemas/deleteManyInsuranceContact.schema.js new file mode 100644 index 00000000..d88d4688 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyInsuranceContact.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactDeleteManyZodSchema = exports.InsuranceContactDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +exports.InsuranceContactDeleteManySchema = z.object({ where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional() }).strict(); +exports.InsuranceContactDeleteManyZodSchema = z.object({ where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyOfficeContact.schema.js b/packages/db/shared/schemas/deleteManyOfficeContact.schema.js new file mode 100644 index 00000000..0ed7ff24 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyOfficeContact.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactDeleteManyZodSchema = exports.OfficeContactDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +exports.OfficeContactDeleteManySchema = z.object({ where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional() }).strict(); +exports.OfficeContactDeleteManyZodSchema = z.object({ where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyOfficeHours.schema.js b/packages/db/shared/schemas/deleteManyOfficeHours.schema.js new file mode 100644 index 00000000..b14c2676 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyOfficeHours.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursDeleteManyZodSchema = exports.OfficeHoursDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +exports.OfficeHoursDeleteManySchema = z.object({ where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional() }).strict(); +exports.OfficeHoursDeleteManyZodSchema = z.object({ where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyPatientConversation.schema.js b/packages/db/shared/schemas/deleteManyPatientConversation.schema.js new file mode 100644 index 00000000..2586531f --- /dev/null +++ b/packages/db/shared/schemas/deleteManyPatientConversation.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationDeleteManyZodSchema = exports.PatientConversationDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +exports.PatientConversationDeleteManySchema = z.object({ where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional() }).strict(); +exports.PatientConversationDeleteManyZodSchema = z.object({ where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyProcedureTimeslot.schema.js b/packages/db/shared/schemas/deleteManyProcedureTimeslot.schema.js new file mode 100644 index 00000000..5d0a11d8 --- /dev/null +++ b/packages/db/shared/schemas/deleteManyProcedureTimeslot.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotDeleteManyZodSchema = exports.ProcedureTimeslotDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +exports.ProcedureTimeslotDeleteManySchema = z.object({ where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional() }).strict(); +exports.ProcedureTimeslotDeleteManyZodSchema = z.object({ where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyShoppingVendor.schema.js b/packages/db/shared/schemas/deleteManyShoppingVendor.schema.js new file mode 100644 index 00000000..5e645acd --- /dev/null +++ b/packages/db/shared/schemas/deleteManyShoppingVendor.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorDeleteManyZodSchema = exports.ShoppingVendorDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +exports.ShoppingVendorDeleteManySchema = z.object({ where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional() }).strict(); +exports.ShoppingVendorDeleteManyZodSchema = z.object({ where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteManyTwilioSettings.schema.js b/packages/db/shared/schemas/deleteManyTwilioSettings.schema.js new file mode 100644 index 00000000..bde1d47f --- /dev/null +++ b/packages/db/shared/schemas/deleteManyTwilioSettings.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsDeleteManyZodSchema = exports.TwilioSettingsDeleteManySchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +exports.TwilioSettingsDeleteManySchema = z.object({ where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional() }).strict(); +exports.TwilioSettingsDeleteManyZodSchema = z.object({ where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/deleteOneAiSettings.schema.js b/packages/db/shared/schemas/deleteOneAiSettings.schema.js new file mode 100644 index 00000000..046dd727 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneAiSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsDeleteOneZodSchema = exports.AiSettingsDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +exports.AiSettingsDeleteOneSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); +exports.AiSettingsDeleteOneZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneAppointmentFile.schema.js b/packages/db/shared/schemas/deleteOneAppointmentFile.schema.js new file mode 100644 index 00000000..622b156c --- /dev/null +++ b/packages/db/shared/schemas/deleteOneAppointmentFile.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileDeleteOneZodSchema = exports.AppointmentFileDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +exports.AppointmentFileDeleteOneSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); +exports.AppointmentFileDeleteOneZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneCommissionBatch.schema.js b/packages/db/shared/schemas/deleteOneCommissionBatch.schema.js new file mode 100644 index 00000000..10f364c7 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneCommissionBatch.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchDeleteOneZodSchema = exports.CommissionBatchDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +exports.CommissionBatchDeleteOneSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchDeleteOneZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneCommissionBatchItem.schema.js b/packages/db/shared/schemas/deleteOneCommissionBatchItem.schema.js new file mode 100644 index 00000000..a4fb1ac7 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneCommissionBatchItem.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemDeleteOneZodSchema = exports.CommissionBatchItemDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +exports.CommissionBatchItemDeleteOneSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchItemDeleteOneZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneInsuranceContact.schema.js b/packages/db/shared/schemas/deleteOneInsuranceContact.schema.js new file mode 100644 index 00000000..449abd24 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneInsuranceContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactDeleteOneZodSchema = exports.InsuranceContactDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +exports.InsuranceContactDeleteOneSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); +exports.InsuranceContactDeleteOneZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneOfficeContact.schema.js b/packages/db/shared/schemas/deleteOneOfficeContact.schema.js new file mode 100644 index 00000000..e680642c --- /dev/null +++ b/packages/db/shared/schemas/deleteOneOfficeContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactDeleteOneZodSchema = exports.OfficeContactDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +exports.OfficeContactDeleteOneSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); +exports.OfficeContactDeleteOneZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneOfficeHours.schema.js b/packages/db/shared/schemas/deleteOneOfficeHours.schema.js new file mode 100644 index 00000000..11343014 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneOfficeHours.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursDeleteOneZodSchema = exports.OfficeHoursDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +exports.OfficeHoursDeleteOneSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); +exports.OfficeHoursDeleteOneZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOnePatientConversation.schema.js b/packages/db/shared/schemas/deleteOnePatientConversation.schema.js new file mode 100644 index 00000000..4b38c922 --- /dev/null +++ b/packages/db/shared/schemas/deleteOnePatientConversation.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationDeleteOneZodSchema = exports.PatientConversationDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +exports.PatientConversationDeleteOneSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); +exports.PatientConversationDeleteOneZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneProcedureTimeslot.schema.js b/packages/db/shared/schemas/deleteOneProcedureTimeslot.schema.js new file mode 100644 index 00000000..4ebb453b --- /dev/null +++ b/packages/db/shared/schemas/deleteOneProcedureTimeslot.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotDeleteOneZodSchema = exports.ProcedureTimeslotDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +exports.ProcedureTimeslotDeleteOneSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); +exports.ProcedureTimeslotDeleteOneZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneShoppingVendor.schema.js b/packages/db/shared/schemas/deleteOneShoppingVendor.schema.js new file mode 100644 index 00000000..d18e3a23 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneShoppingVendor.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorDeleteOneZodSchema = exports.ShoppingVendorDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +exports.ShoppingVendorDeleteOneSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); +exports.ShoppingVendorDeleteOneZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/deleteOneTwilioSettings.schema.js b/packages/db/shared/schemas/deleteOneTwilioSettings.schema.js new file mode 100644 index 00000000..83129167 --- /dev/null +++ b/packages/db/shared/schemas/deleteOneTwilioSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsDeleteOneZodSchema = exports.TwilioSettingsDeleteOneSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +exports.TwilioSettingsDeleteOneSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); +exports.TwilioSettingsDeleteOneZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/enums/AiSettingsScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/AiSettingsScalarFieldEnum.schema.js new file mode 100644 index 00000000..514a1c6d --- /dev/null +++ b/packages/db/shared/schemas/enums/AiSettingsScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsScalarFieldEnumSchema = z.enum(['id', 'userId', 'apiKey', 'aiEnabled', 'openAiKey', 'openAiEnabled', 'claudeAiKey', 'claudeAiEnabled', 'claudeAiModel', 'openAiModel', 'googleAiModel', 'dentalMgmtKey', 'dentalMgmtEnabled', 'afterHoursEnabled', 'openPhoneReply']); diff --git a/packages/db/shared/schemas/enums/AppointmentFileScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/AppointmentFileScalarFieldEnum.schema.js new file mode 100644 index 00000000..495181ee --- /dev/null +++ b/packages/db/shared/schemas/enums/AppointmentFileScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileScalarFieldEnumSchema = z.enum(['id', 'appointmentId', 'filename', 'mimeType', 'filePath']); diff --git a/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.js index 1370d2d9..7a3fb628 100644 --- a/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/AppointmentScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.AppointmentScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.AppointmentScalarFieldEnumSchema = z.enum(['id', 'patientId', 'userId', 'staffId', 'title', 'date', 'startTime', 'endTime', 'type', 'notes', 'procedureCodeNotes', 'status', 'createdAt', 'eligibilityStatus']); +exports.AppointmentScalarFieldEnumSchema = z.enum(['id', 'patientId', 'userId', 'staffId', 'title', 'date', 'startTime', 'endTime', 'type', 'typeLocked', 'notes', 'procedureCodeNotes', 'status', 'movedByAi', 'createdAt', 'eligibilityStatus']); diff --git a/packages/db/shared/schemas/enums/ClaimScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/ClaimScalarFieldEnum.schema.js index 33355497..92432d1d 100644 --- a/packages/db/shared/schemas/enums/ClaimScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/ClaimScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.ClaimScalarFieldEnumSchema = z.enum(['id', 'patientId', 'appointmentId', 'userId', 'staffId', 'patientName', 'memberId', 'dateOfBirth', 'remarks', 'missingTeethStatus', 'missingTeeth', 'serviceDate', 'insuranceProvider', 'createdAt', 'updatedAt', 'status', 'claimNumber', 'npiProviderId']); +exports.ClaimScalarFieldEnumSchema = z.enum(['id', 'patientId', 'appointmentId', 'userId', 'staffId', 'patientName', 'memberId', 'dateOfBirth', 'remarks', 'missingTeethStatus', 'missingTeeth', 'serviceDate', 'insuranceProvider', 'createdAt', 'updatedAt', 'status', 'claimNumber', 'preAuthNumber', 'npiProviderId']); diff --git a/packages/db/shared/schemas/enums/ClaimStatus.schema.js b/packages/db/shared/schemas/enums/ClaimStatus.schema.js index 47ac9b01..78888310 100644 --- a/packages/db/shared/schemas/enums/ClaimStatus.schema.js +++ b/packages/db/shared/schemas/enums/ClaimStatus.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimStatusSchema = void 0; const z = __importStar(require("zod")); -exports.ClaimStatusSchema = z.enum(['PENDING', 'APPROVED', 'CANCELLED', 'REVIEW', 'VOID']); +exports.ClaimStatusSchema = z.enum(['PENDING', 'APPROVED', 'CANCELLED', 'REVIEW', 'VOID', 'PREAUTH']); diff --git a/packages/db/shared/schemas/enums/CloudFolderScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/CloudFolderScalarFieldEnum.schema.js index 24671069..60729a11 100644 --- a/packages/db/shared/schemas/enums/CloudFolderScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/CloudFolderScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.CloudFolderScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.CloudFolderScalarFieldEnumSchema = z.enum(['id', 'userId', 'name', 'parentId', 'createdAt', 'updatedAt']); +exports.CloudFolderScalarFieldEnumSchema = z.enum(['id', 'userId', 'name', 'parentId', 'patientId', 'createdAt', 'updatedAt']); diff --git a/packages/db/shared/schemas/enums/CommissionBatchItemScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/CommissionBatchItemScalarFieldEnum.schema.js new file mode 100644 index 00000000..47eb39ec --- /dev/null +++ b/packages/db/shared/schemas/enums/CommissionBatchItemScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemScalarFieldEnumSchema = z.enum(['id', 'commissionBatchId', 'paymentId', 'collectionAmount']); diff --git a/packages/db/shared/schemas/enums/CommissionBatchScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/CommissionBatchScalarFieldEnum.schema.js new file mode 100644 index 00000000..6264e38f --- /dev/null +++ b/packages/db/shared/schemas/enums/CommissionBatchScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchScalarFieldEnumSchema = z.enum(['id', 'npiProviderId', 'totalCollection', 'commissionAmount', 'notes', 'createdAt']); diff --git a/packages/db/shared/schemas/enums/InsuranceContactScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/InsuranceContactScalarFieldEnum.schema.js new file mode 100644 index 00000000..77f2cd50 --- /dev/null +++ b/packages/db/shared/schemas/enums/InsuranceContactScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactScalarFieldEnumSchema = z.enum(['id', 'userId', 'name', 'phoneNumber', 'createdAt']); diff --git a/packages/db/shared/schemas/enums/JsonNullValueInput.schema.js b/packages/db/shared/schemas/enums/JsonNullValueInput.schema.js new file mode 100644 index 00000000..2657f14e --- /dev/null +++ b/packages/db/shared/schemas/enums/JsonNullValueInput.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.JsonNullValueInputSchema = void 0; +const z = __importStar(require("zod")); +exports.JsonNullValueInputSchema = z.enum(['JsonNull']); diff --git a/packages/db/shared/schemas/enums/NpiProviderScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/NpiProviderScalarFieldEnum.schema.js index 7c3d8917..055b4f18 100644 --- a/packages/db/shared/schemas/enums/NpiProviderScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/NpiProviderScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.NpiProviderScalarFieldEnumSchema = z.enum(['id', 'userId', 'npiNumber', 'providerName', 'createdAt']); +exports.NpiProviderScalarFieldEnumSchema = z.enum(['id', 'userId', 'npiNumber', 'providerName', 'sortOrder', 'createdAt']); diff --git a/packages/db/shared/schemas/enums/OfficeContactScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/OfficeContactScalarFieldEnum.schema.js new file mode 100644 index 00000000..d789b510 --- /dev/null +++ b/packages/db/shared/schemas/enums/OfficeContactScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactScalarFieldEnumSchema = z.enum(['id', 'userId', 'officeName', 'receptionistName', 'dentistName', 'phoneNumber', 'email', 'fax', 'streetAddress', 'city', 'state', 'zipCode']); diff --git a/packages/db/shared/schemas/enums/OfficeHoursScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/OfficeHoursScalarFieldEnum.schema.js new file mode 100644 index 00000000..739fbe96 --- /dev/null +++ b/packages/db/shared/schemas/enums/OfficeHoursScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursScalarFieldEnumSchema = z.enum(['id', 'userId', 'data']); diff --git a/packages/db/shared/schemas/enums/PatientConversationScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/PatientConversationScalarFieldEnum.schema.js new file mode 100644 index 00000000..fc6874f7 --- /dev/null +++ b/packages/db/shared/schemas/enums/PatientConversationScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationScalarFieldEnumSchema = z.enum(['id', 'patientId', 'userId', 'stage', 'aiHandoff', 'updatedAt']); diff --git a/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.js index 03ce1524..9c1a200e 100644 --- a/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/PatientScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.PatientScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.PatientScalarFieldEnumSchema = z.enum(['id', 'firstName', 'lastName', 'dateOfBirth', 'gender', 'phone', 'email', 'address', 'city', 'zipCode', 'insuranceProvider', 'insuranceId', 'groupNumber', 'policyHolder', 'allergies', 'medicalConditions', 'status', 'userId', 'createdAt']); +exports.PatientScalarFieldEnumSchema = z.enum(['id', 'firstName', 'lastName', 'dateOfBirth', 'gender', 'phone', 'email', 'address', 'city', 'zipCode', 'insuranceProvider', 'insuranceId', 'groupNumber', 'policyHolder', 'allergies', 'medicalConditions', 'preferredLanguage', 'status', 'userId', 'createdAt', 'updatedAt']); diff --git a/packages/db/shared/schemas/enums/PaymentScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/PaymentScalarFieldEnum.schema.js index 552ec308..12a6ad24 100644 --- a/packages/db/shared/schemas/enums/PaymentScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/PaymentScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.PaymentScalarFieldEnumSchema = z.enum(['id', 'claimId', 'patientId', 'userId', 'updatedById', 'totalBilled', 'totalPaid', 'totalAdjusted', 'totalDue', 'status', 'notes', 'icn', 'createdAt', 'updatedAt']); +exports.PaymentScalarFieldEnumSchema = z.enum(['id', 'claimId', 'patientId', 'userId', 'updatedById', 'npiProviderId', 'totalBilled', 'totalPaid', 'totalAdjusted', 'totalDue', 'mhPaidAmount', 'copayment', 'adjustment', 'status', 'notes', 'icn', 'createdAt', 'updatedAt']); diff --git a/packages/db/shared/schemas/enums/ProcedureTimeslotScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/ProcedureTimeslotScalarFieldEnum.schema.js new file mode 100644 index 00000000..97d8f8bd --- /dev/null +++ b/packages/db/shared/schemas/enums/ProcedureTimeslotScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotScalarFieldEnumSchema = z.enum(['id', 'userId', 'data']); diff --git a/packages/db/shared/schemas/enums/ServiceLineScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/ServiceLineScalarFieldEnum.schema.js index 67badef2..d43b1f82 100644 --- a/packages/db/shared/schemas/enums/ServiceLineScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/ServiceLineScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceLineScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.ServiceLineScalarFieldEnumSchema = z.enum(['id', 'claimId', 'paymentId', 'procedureCode', 'procedureDate', 'quad', 'arch', 'toothNumber', 'toothSurface', 'totalBilled', 'totalPaid', 'totalAdjusted', 'totalDue', 'status']); +exports.ServiceLineScalarFieldEnumSchema = z.enum(['id', 'claimId', 'paymentId', 'procedureCode', 'procedureDate', 'quad', 'arch', 'toothNumber', 'toothSurface', 'icn', 'paidCode', 'allowedAmount', 'totalBilled', 'totalPaid', 'totalAdjusted', 'totalDue', 'status']); diff --git a/packages/db/shared/schemas/enums/ShoppingVendorScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/ShoppingVendorScalarFieldEnum.schema.js new file mode 100644 index 00000000..cbc281ad --- /dev/null +++ b/packages/db/shared/schemas/enums/ShoppingVendorScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorScalarFieldEnumSchema = z.enum(['id', 'userId', 'vendorName', 'websiteUrl', 'loginUsername', 'loginPassword']); diff --git a/packages/db/shared/schemas/enums/TwilioSettingsScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/TwilioSettingsScalarFieldEnum.schema.js new file mode 100644 index 00000000..4cf0acd0 --- /dev/null +++ b/packages/db/shared/schemas/enums/TwilioSettingsScalarFieldEnum.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsScalarFieldEnumSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsScalarFieldEnumSchema = z.enum(['id', 'userId', 'accountSid', 'authToken', 'phoneNumber', 'greetingMessage', 'templates']); diff --git a/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.js b/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.js index 3539f7cd..1002c9f9 100644 --- a/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.js +++ b/packages/db/shared/schemas/enums/UserScalarFieldEnum.schema.js @@ -35,4 +35,4 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.UserScalarFieldEnumSchema = void 0; const z = __importStar(require("zod")); -exports.UserScalarFieldEnumSchema = z.enum(['id', 'username', 'password', 'autoBackupEnabled', 'usbBackupEnabled']); +exports.UserScalarFieldEnumSchema = z.enum(['id', 'username', 'password', 'autoBackupEnabled', 'autoBackupHour', 'usbBackupEnabled', 'usbBackupHour', 'autoMhCheckEnabled', 'autoMhCheckDayOfWeek', 'autoMhCheckHour']); diff --git a/packages/db/shared/schemas/findFirstAiSettings.schema.js b/packages/db/shared/schemas/findFirstAiSettings.schema.js new file mode 100644 index 00000000..fdf10f83 --- /dev/null +++ b/packages/db/shared/schemas/findFirstAiSettings.schema.js @@ -0,0 +1,82 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindFirstZodSchema = exports.AiSettingsFindFirstSchema = exports.AiSettingsFindFirstSelectZodSchema = exports.AiSettingsFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsOrderByWithRelationInput_schema_1 = require("./objects/AiSettingsOrderByWithRelationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +const AiSettingsScalarFieldEnum_schema_1 = require("./enums/AiSettingsScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.AiSettingsFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.AiSettingsFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.AiSettingsFindFirstSchema = z.object({ select: exports.AiSettingsFindFirstSelectSchema.optional(), include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.AiSettingsFindFirstZodSchema = z.object({ select: exports.AiSettingsFindFirstSelectSchema.optional(), include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstAppointment.schema.js b/packages/db/shared/schemas/findFirstAppointment.schema.js index 71df2dd4..92d8cb43 100644 --- a/packages/db/shared/schemas/findFirstAppointment.schema.js +++ b/packages/db/shared/schemas/findFirstAppointment.schema.js @@ -52,9 +52,11 @@ exports.AppointmentFindFirstSelectSchema = z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.boolean().optional(), @@ -62,6 +64,7 @@ exports.AppointmentFindFirstSelectSchema = z.object({ staff: z.boolean().optional(), procedures: z.boolean().optional(), claims: z.boolean().optional(), + files: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.AppointmentFindFirstSelectZodSchema = z.object({ @@ -74,9 +77,11 @@ exports.AppointmentFindFirstSelectZodSchema = z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.boolean().optional(), @@ -84,6 +89,7 @@ exports.AppointmentFindFirstSelectZodSchema = z.object({ staff: z.boolean().optional(), procedures: z.boolean().optional(), claims: z.boolean().optional(), + files: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.AppointmentFindFirstSchema = z.object({ select: exports.AppointmentFindFirstSelectSchema.optional(), include: z.lazy(() => AppointmentInclude_schema_1.AppointmentIncludeObjectSchema.optional()), orderBy: z.union([AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema, AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema.optional(), cursor: AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentScalarFieldEnum_schema_1.AppointmentScalarFieldEnumSchema, AppointmentScalarFieldEnum_schema_1.AppointmentScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstAppointmentFile.schema.js b/packages/db/shared/schemas/findFirstAppointmentFile.schema.js new file mode 100644 index 00000000..ec9e0916 --- /dev/null +++ b/packages/db/shared/schemas/findFirstAppointmentFile.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindFirstZodSchema = exports.AppointmentFileFindFirstSchema = exports.AppointmentFileFindFirstSelectZodSchema = exports.AppointmentFileFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileOrderByWithRelationInput_schema_1 = require("./objects/AppointmentFileOrderByWithRelationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileScalarFieldEnum_schema_1 = require("./enums/AppointmentFileScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.AppointmentFileFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.boolean().optional() +}).strict(); +exports.AppointmentFileFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.boolean().optional() +}).strict(); +exports.AppointmentFileFindFirstSchema = z.object({ select: exports.AppointmentFileFindFirstSelectSchema.optional(), include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional()), orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema, AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.AppointmentFileFindFirstZodSchema = z.object({ select: exports.AppointmentFileFindFirstSelectSchema.optional(), include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional()), orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema, AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstClaim.schema.js b/packages/db/shared/schemas/findFirstClaim.schema.js index 900578d4..602dce51 100644 --- a/packages/db/shared/schemas/findFirstClaim.schema.js +++ b/packages/db/shared/schemas/findFirstClaim.schema.js @@ -60,6 +60,7 @@ exports.ClaimFindFirstSelectSchema = z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.boolean().optional(), appointment: z.boolean().optional(), @@ -89,6 +90,7 @@ exports.ClaimFindFirstSelectZodSchema = z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.boolean().optional(), appointment: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findFirstCloudFolder.schema.js b/packages/db/shared/schemas/findFirstCloudFolder.schema.js index 339ea536..d6023424 100644 --- a/packages/db/shared/schemas/findFirstCloudFolder.schema.js +++ b/packages/db/shared/schemas/findFirstCloudFolder.schema.js @@ -47,9 +47,11 @@ exports.CloudFolderFindFirstSelectSchema = z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.boolean().optional(), children: z.boolean().optional(), user: z.boolean().optional(), + patient: z.boolean().optional(), files: z.boolean().optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), @@ -60,9 +62,11 @@ exports.CloudFolderFindFirstSelectZodSchema = z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.boolean().optional(), children: z.boolean().optional(), user: z.boolean().optional(), + patient: z.boolean().optional(), files: z.boolean().optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findFirstCommissionBatch.schema.js b/packages/db/shared/schemas/findFirstCommissionBatch.schema.js new file mode 100644 index 00000000..737733d4 --- /dev/null +++ b/packages/db/shared/schemas/findFirstCommissionBatch.schema.js @@ -0,0 +1,68 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindFirstZodSchema = exports.CommissionBatchFindFirstSchema = exports.CommissionBatchFindFirstSelectZodSchema = exports.CommissionBatchFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchOrderByWithRelationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchScalarFieldEnum_schema_1 = require("./enums/CommissionBatchScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.CommissionBatchFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.boolean().optional(), + items: z.boolean().optional(), + _count: z.boolean().optional() +}).strict(); +exports.CommissionBatchFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.boolean().optional(), + items: z.boolean().optional(), + _count: z.boolean().optional() +}).strict(); +exports.CommissionBatchFindFirstSchema = z.object({ select: exports.CommissionBatchFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.CommissionBatchFindFirstZodSchema = z.object({ select: exports.CommissionBatchFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstCommissionBatchItem.schema.js b/packages/db/shared/schemas/findFirstCommissionBatchItem.schema.js new file mode 100644 index 00000000..8e57b66a --- /dev/null +++ b/packages/db/shared/schemas/findFirstCommissionBatchItem.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindFirstZodSchema = exports.CommissionBatchItemFindFirstSchema = exports.CommissionBatchItemFindFirstSelectZodSchema = exports.CommissionBatchItemFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchItemOrderByWithRelationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemScalarFieldEnum_schema_1 = require("./enums/CommissionBatchItemScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.CommissionBatchItemFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.boolean().optional(), + payment: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.boolean().optional(), + payment: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemFindFirstSchema = z.object({ select: exports.CommissionBatchItemFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.CommissionBatchItemFindFirstZodSchema = z.object({ select: exports.CommissionBatchItemFindFirstSelectSchema.optional(), include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstInsuranceContact.schema.js b/packages/db/shared/schemas/findFirstInsuranceContact.schema.js new file mode 100644 index 00000000..9cf21450 --- /dev/null +++ b/packages/db/shared/schemas/findFirstInsuranceContact.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindFirstZodSchema = exports.InsuranceContactFindFirstSchema = exports.InsuranceContactFindFirstSelectZodSchema = exports.InsuranceContactFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactOrderByWithRelationInput_schema_1 = require("./objects/InsuranceContactOrderByWithRelationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactScalarFieldEnum_schema_1 = require("./enums/InsuranceContactScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.InsuranceContactFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.InsuranceContactFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.InsuranceContactFindFirstSchema = z.object({ select: exports.InsuranceContactFindFirstSelectSchema.optional(), include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.InsuranceContactFindFirstZodSchema = z.object({ select: exports.InsuranceContactFindFirstSelectSchema.optional(), include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstNpiProvider.schema.js b/packages/db/shared/schemas/findFirstNpiProvider.schema.js index 59a8cf50..0a755722 100644 --- a/packages/db/shared/schemas/findFirstNpiProvider.schema.js +++ b/packages/db/shared/schemas/findFirstNpiProvider.schema.js @@ -47,9 +47,12 @@ exports.NpiProviderFindFirstSelectSchema = z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.boolean().optional(), claims: z.boolean().optional(), + payments: z.boolean().optional(), + commissionBatches: z.boolean().optional(), appointmentProcedures: z.boolean().optional(), _count: z.boolean().optional() }).strict(); @@ -58,9 +61,12 @@ exports.NpiProviderFindFirstSelectZodSchema = z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.boolean().optional(), claims: z.boolean().optional(), + payments: z.boolean().optional(), + commissionBatches: z.boolean().optional(), appointmentProcedures: z.boolean().optional(), _count: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOfficeContact.schema.js b/packages/db/shared/schemas/findFirstOfficeContact.schema.js new file mode 100644 index 00000000..f24f91d2 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOfficeContact.schema.js @@ -0,0 +1,76 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindFirstZodSchema = exports.OfficeContactFindFirstSchema = exports.OfficeContactFindFirstSelectZodSchema = exports.OfficeContactFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactOrderByWithRelationInput_schema_1 = require("./objects/OfficeContactOrderByWithRelationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +const OfficeContactScalarFieldEnum_schema_1 = require("./enums/OfficeContactScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.OfficeContactFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeContactFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeContactFindFirstSchema = z.object({ select: exports.OfficeContactFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.OfficeContactFindFirstZodSchema = z.object({ select: exports.OfficeContactFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOfficeHours.schema.js b/packages/db/shared/schemas/findFirstOfficeHours.schema.js new file mode 100644 index 00000000..97d62943 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOfficeHours.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindFirstZodSchema = exports.OfficeHoursFindFirstSchema = exports.OfficeHoursFindFirstSelectZodSchema = exports.OfficeHoursFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursOrderByWithRelationInput_schema_1 = require("./objects/OfficeHoursOrderByWithRelationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursScalarFieldEnum_schema_1 = require("./enums/OfficeHoursScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.OfficeHoursFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeHoursFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeHoursFindFirstSchema = z.object({ select: exports.OfficeHoursFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.OfficeHoursFindFirstZodSchema = z.object({ select: exports.OfficeHoursFindFirstSelectSchema.optional(), include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowAiSettings.schema.js b/packages/db/shared/schemas/findFirstOrThrowAiSettings.schema.js new file mode 100644 index 00000000..42bb7594 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowAiSettings.schema.js @@ -0,0 +1,82 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindFirstOrThrowZodSchema = exports.AiSettingsFindFirstOrThrowSchema = exports.AiSettingsFindFirstOrThrowSelectZodSchema = exports.AiSettingsFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsOrderByWithRelationInput_schema_1 = require("./objects/AiSettingsOrderByWithRelationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +const AiSettingsScalarFieldEnum_schema_1 = require("./enums/AiSettingsScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.AiSettingsFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.AiSettingsFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.AiSettingsFindFirstOrThrowSchema = z.object({ select: exports.AiSettingsFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.AiSettingsFindFirstOrThrowZodSchema = z.object({ select: exports.AiSettingsFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowAppointment.schema.js b/packages/db/shared/schemas/findFirstOrThrowAppointment.schema.js index af02ba1b..cb90634c 100644 --- a/packages/db/shared/schemas/findFirstOrThrowAppointment.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowAppointment.schema.js @@ -52,9 +52,11 @@ exports.AppointmentFindFirstOrThrowSelectSchema = z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.boolean().optional(), @@ -62,6 +64,7 @@ exports.AppointmentFindFirstOrThrowSelectSchema = z.object({ staff: z.boolean().optional(), procedures: z.boolean().optional(), claims: z.boolean().optional(), + files: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.AppointmentFindFirstOrThrowSelectZodSchema = z.object({ @@ -74,9 +77,11 @@ exports.AppointmentFindFirstOrThrowSelectZodSchema = z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.boolean().optional(), @@ -84,6 +89,7 @@ exports.AppointmentFindFirstOrThrowSelectZodSchema = z.object({ staff: z.boolean().optional(), procedures: z.boolean().optional(), claims: z.boolean().optional(), + files: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.AppointmentFindFirstOrThrowSchema = z.object({ select: exports.AppointmentFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AppointmentInclude_schema_1.AppointmentIncludeObjectSchema.optional()), orderBy: z.union([AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema, AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema.optional(), cursor: AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentScalarFieldEnum_schema_1.AppointmentScalarFieldEnumSchema, AppointmentScalarFieldEnum_schema_1.AppointmentScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowAppointmentFile.schema.js b/packages/db/shared/schemas/findFirstOrThrowAppointmentFile.schema.js new file mode 100644 index 00000000..d5f833b5 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowAppointmentFile.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindFirstOrThrowZodSchema = exports.AppointmentFileFindFirstOrThrowSchema = exports.AppointmentFileFindFirstOrThrowSelectZodSchema = exports.AppointmentFileFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileOrderByWithRelationInput_schema_1 = require("./objects/AppointmentFileOrderByWithRelationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileScalarFieldEnum_schema_1 = require("./enums/AppointmentFileScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.AppointmentFileFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.boolean().optional() +}).strict(); +exports.AppointmentFileFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.boolean().optional() +}).strict(); +exports.AppointmentFileFindFirstOrThrowSchema = z.object({ select: exports.AppointmentFileFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional()), orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema, AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.AppointmentFileFindFirstOrThrowZodSchema = z.object({ select: exports.AppointmentFileFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional()), orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema, AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowClaim.schema.js b/packages/db/shared/schemas/findFirstOrThrowClaim.schema.js index 028e5260..2435d406 100644 --- a/packages/db/shared/schemas/findFirstOrThrowClaim.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowClaim.schema.js @@ -60,6 +60,7 @@ exports.ClaimFindFirstOrThrowSelectSchema = z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.boolean().optional(), appointment: z.boolean().optional(), @@ -89,6 +90,7 @@ exports.ClaimFindFirstOrThrowSelectZodSchema = z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.boolean().optional(), appointment: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findFirstOrThrowCloudFolder.schema.js b/packages/db/shared/schemas/findFirstOrThrowCloudFolder.schema.js index be6426c8..c919a764 100644 --- a/packages/db/shared/schemas/findFirstOrThrowCloudFolder.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowCloudFolder.schema.js @@ -47,9 +47,11 @@ exports.CloudFolderFindFirstOrThrowSelectSchema = z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.boolean().optional(), children: z.boolean().optional(), user: z.boolean().optional(), + patient: z.boolean().optional(), files: z.boolean().optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), @@ -60,9 +62,11 @@ exports.CloudFolderFindFirstOrThrowSelectZodSchema = z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.boolean().optional(), children: z.boolean().optional(), user: z.boolean().optional(), + patient: z.boolean().optional(), files: z.boolean().optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findFirstOrThrowCommissionBatch.schema.js b/packages/db/shared/schemas/findFirstOrThrowCommissionBatch.schema.js new file mode 100644 index 00000000..8cf228a3 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowCommissionBatch.schema.js @@ -0,0 +1,68 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindFirstOrThrowZodSchema = exports.CommissionBatchFindFirstOrThrowSchema = exports.CommissionBatchFindFirstOrThrowSelectZodSchema = exports.CommissionBatchFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchOrderByWithRelationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchScalarFieldEnum_schema_1 = require("./enums/CommissionBatchScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.CommissionBatchFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.boolean().optional(), + items: z.boolean().optional(), + _count: z.boolean().optional() +}).strict(); +exports.CommissionBatchFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.boolean().optional(), + items: z.boolean().optional(), + _count: z.boolean().optional() +}).strict(); +exports.CommissionBatchFindFirstOrThrowSchema = z.object({ select: exports.CommissionBatchFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.CommissionBatchFindFirstOrThrowZodSchema = z.object({ select: exports.CommissionBatchFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowCommissionBatchItem.schema.js b/packages/db/shared/schemas/findFirstOrThrowCommissionBatchItem.schema.js new file mode 100644 index 00000000..4ac2e8a9 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowCommissionBatchItem.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindFirstOrThrowZodSchema = exports.CommissionBatchItemFindFirstOrThrowSchema = exports.CommissionBatchItemFindFirstOrThrowSelectZodSchema = exports.CommissionBatchItemFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchItemOrderByWithRelationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemScalarFieldEnum_schema_1 = require("./enums/CommissionBatchItemScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.CommissionBatchItemFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.boolean().optional(), + payment: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.boolean().optional(), + payment: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemFindFirstOrThrowSchema = z.object({ select: exports.CommissionBatchItemFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.CommissionBatchItemFindFirstOrThrowZodSchema = z.object({ select: exports.CommissionBatchItemFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowInsuranceContact.schema.js b/packages/db/shared/schemas/findFirstOrThrowInsuranceContact.schema.js new file mode 100644 index 00000000..f345db50 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowInsuranceContact.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindFirstOrThrowZodSchema = exports.InsuranceContactFindFirstOrThrowSchema = exports.InsuranceContactFindFirstOrThrowSelectZodSchema = exports.InsuranceContactFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactOrderByWithRelationInput_schema_1 = require("./objects/InsuranceContactOrderByWithRelationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactScalarFieldEnum_schema_1 = require("./enums/InsuranceContactScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.InsuranceContactFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.InsuranceContactFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.InsuranceContactFindFirstOrThrowSchema = z.object({ select: exports.InsuranceContactFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.InsuranceContactFindFirstOrThrowZodSchema = z.object({ select: exports.InsuranceContactFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowNpiProvider.schema.js b/packages/db/shared/schemas/findFirstOrThrowNpiProvider.schema.js index 7e05e7c1..f5ce18f8 100644 --- a/packages/db/shared/schemas/findFirstOrThrowNpiProvider.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowNpiProvider.schema.js @@ -47,9 +47,12 @@ exports.NpiProviderFindFirstOrThrowSelectSchema = z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.boolean().optional(), claims: z.boolean().optional(), + payments: z.boolean().optional(), + commissionBatches: z.boolean().optional(), appointmentProcedures: z.boolean().optional(), _count: z.boolean().optional() }).strict(); @@ -58,9 +61,12 @@ exports.NpiProviderFindFirstOrThrowSelectZodSchema = z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.boolean().optional(), claims: z.boolean().optional(), + payments: z.boolean().optional(), + commissionBatches: z.boolean().optional(), appointmentProcedures: z.boolean().optional(), _count: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowOfficeContact.schema.js b/packages/db/shared/schemas/findFirstOrThrowOfficeContact.schema.js new file mode 100644 index 00000000..4bf8096b --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowOfficeContact.schema.js @@ -0,0 +1,76 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindFirstOrThrowZodSchema = exports.OfficeContactFindFirstOrThrowSchema = exports.OfficeContactFindFirstOrThrowSelectZodSchema = exports.OfficeContactFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactOrderByWithRelationInput_schema_1 = require("./objects/OfficeContactOrderByWithRelationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +const OfficeContactScalarFieldEnum_schema_1 = require("./enums/OfficeContactScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.OfficeContactFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeContactFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeContactFindFirstOrThrowSchema = z.object({ select: exports.OfficeContactFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.OfficeContactFindFirstOrThrowZodSchema = z.object({ select: exports.OfficeContactFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowOfficeHours.schema.js b/packages/db/shared/schemas/findFirstOrThrowOfficeHours.schema.js new file mode 100644 index 00000000..2ada8954 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowOfficeHours.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindFirstOrThrowZodSchema = exports.OfficeHoursFindFirstOrThrowSchema = exports.OfficeHoursFindFirstOrThrowSelectZodSchema = exports.OfficeHoursFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursOrderByWithRelationInput_schema_1 = require("./objects/OfficeHoursOrderByWithRelationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursScalarFieldEnum_schema_1 = require("./enums/OfficeHoursScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.OfficeHoursFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeHoursFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeHoursFindFirstOrThrowSchema = z.object({ select: exports.OfficeHoursFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.OfficeHoursFindFirstOrThrowZodSchema = z.object({ select: exports.OfficeHoursFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowPatient.schema.js b/packages/db/shared/schemas/findFirstOrThrowPatient.schema.js index 7c5582b0..95168acc 100644 --- a/packages/db/shared/schemas/findFirstOrThrowPatient.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowPatient.schema.js @@ -59,9 +59,11 @@ exports.PatientFindFirstOrThrowSelectSchema = z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.boolean().optional(), appointments: z.boolean().optional(), procedures: z.boolean().optional(), @@ -70,6 +72,8 @@ exports.PatientFindFirstOrThrowSelectSchema = z.object({ payment: z.boolean().optional(), communications: z.boolean().optional(), documents: z.boolean().optional(), + conversation: z.boolean().optional(), + cloudFolders: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PatientFindFirstOrThrowSelectZodSchema = z.object({ @@ -89,9 +93,11 @@ exports.PatientFindFirstOrThrowSelectZodSchema = z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.boolean().optional(), appointments: z.boolean().optional(), procedures: z.boolean().optional(), @@ -100,6 +106,8 @@ exports.PatientFindFirstOrThrowSelectZodSchema = z.object({ payment: z.boolean().optional(), communications: z.boolean().optional(), documents: z.boolean().optional(), + conversation: z.boolean().optional(), + cloudFolders: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PatientFindFirstOrThrowSchema = z.object({ select: exports.PatientFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => PatientInclude_schema_1.PatientIncludeObjectSchema.optional()), orderBy: z.union([PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema, PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientWhereInput_schema_1.PatientWhereInputObjectSchema.optional(), cursor: PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientScalarFieldEnum_schema_1.PatientScalarFieldEnumSchema, PatientScalarFieldEnum_schema_1.PatientScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowPatientConversation.schema.js b/packages/db/shared/schemas/findFirstOrThrowPatientConversation.schema.js new file mode 100644 index 00000000..9e45bac3 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowPatientConversation.schema.js @@ -0,0 +1,66 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindFirstOrThrowZodSchema = exports.PatientConversationFindFirstOrThrowSchema = exports.PatientConversationFindFirstOrThrowSelectZodSchema = exports.PatientConversationFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationOrderByWithRelationInput_schema_1 = require("./objects/PatientConversationOrderByWithRelationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +const PatientConversationScalarFieldEnum_schema_1 = require("./enums/PatientConversationScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.PatientConversationFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.PatientConversationFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.PatientConversationFindFirstOrThrowSchema = z.object({ select: exports.PatientConversationFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional()), orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema, PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.PatientConversationFindFirstOrThrowZodSchema = z.object({ select: exports.PatientConversationFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional()), orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema, PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowPayment.schema.js b/packages/db/shared/schemas/findFirstOrThrowPayment.schema.js index b27458f8..e97c6204 100644 --- a/packages/db/shared/schemas/findFirstOrThrowPayment.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowPayment.schema.js @@ -48,10 +48,14 @@ exports.PaymentFindFirstOrThrowSelectSchema = z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -60,8 +64,10 @@ exports.PaymentFindFirstOrThrowSelectSchema = z.object({ claim: z.boolean().optional(), patient: z.boolean().optional(), updatedBy: z.boolean().optional(), + npiProvider: z.boolean().optional(), serviceLineTransactions: z.boolean().optional(), serviceLines: z.boolean().optional(), + commissionBatchItems: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PaymentFindFirstOrThrowSelectZodSchema = z.object({ @@ -70,10 +76,14 @@ exports.PaymentFindFirstOrThrowSelectZodSchema = z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -82,8 +92,10 @@ exports.PaymentFindFirstOrThrowSelectZodSchema = z.object({ claim: z.boolean().optional(), patient: z.boolean().optional(), updatedBy: z.boolean().optional(), + npiProvider: z.boolean().optional(), serviceLineTransactions: z.boolean().optional(), serviceLines: z.boolean().optional(), + commissionBatchItems: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PaymentFindFirstOrThrowSchema = z.object({ select: exports.PaymentFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => PaymentInclude_schema_1.PaymentIncludeObjectSchema.optional()), orderBy: z.union([PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema, PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema.optional(), cursor: PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PaymentScalarFieldEnum_schema_1.PaymentScalarFieldEnumSchema, PaymentScalarFieldEnum_schema_1.PaymentScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowProcedureTimeslot.schema.js b/packages/db/shared/schemas/findFirstOrThrowProcedureTimeslot.schema.js new file mode 100644 index 00000000..fcf2f0ad --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowProcedureTimeslot.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindFirstOrThrowZodSchema = exports.ProcedureTimeslotFindFirstOrThrowSchema = exports.ProcedureTimeslotFindFirstOrThrowSelectZodSchema = exports.ProcedureTimeslotFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotOrderByWithRelationInput_schema_1 = require("./objects/ProcedureTimeslotOrderByWithRelationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotScalarFieldEnum_schema_1 = require("./enums/ProcedureTimeslotScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.ProcedureTimeslotFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ProcedureTimeslotFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ProcedureTimeslotFindFirstOrThrowSchema = z.object({ select: exports.ProcedureTimeslotFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.ProcedureTimeslotFindFirstOrThrowZodSchema = z.object({ select: exports.ProcedureTimeslotFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowServiceLine.schema.js b/packages/db/shared/schemas/findFirstOrThrowServiceLine.schema.js index 41b6284a..27d1b6ff 100644 --- a/packages/db/shared/schemas/findFirstOrThrowServiceLine.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowServiceLine.schema.js @@ -52,6 +52,9 @@ exports.ServiceLineFindFirstOrThrowSelectSchema = z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), @@ -72,6 +75,9 @@ exports.ServiceLineFindFirstOrThrowSelectZodSchema = z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findFirstOrThrowShoppingVendor.schema.js b/packages/db/shared/schemas/findFirstOrThrowShoppingVendor.schema.js new file mode 100644 index 00000000..2e041415 --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowShoppingVendor.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindFirstOrThrowZodSchema = exports.ShoppingVendorFindFirstOrThrowSchema = exports.ShoppingVendorFindFirstOrThrowSelectZodSchema = exports.ShoppingVendorFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorOrderByWithRelationInput_schema_1 = require("./objects/ShoppingVendorOrderByWithRelationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorScalarFieldEnum_schema_1 = require("./enums/ShoppingVendorScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.ShoppingVendorFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ShoppingVendorFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ShoppingVendorFindFirstOrThrowSchema = z.object({ select: exports.ShoppingVendorFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.ShoppingVendorFindFirstOrThrowZodSchema = z.object({ select: exports.ShoppingVendorFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowTwilioSettings.schema.js b/packages/db/shared/schemas/findFirstOrThrowTwilioSettings.schema.js new file mode 100644 index 00000000..5b81b64b --- /dev/null +++ b/packages/db/shared/schemas/findFirstOrThrowTwilioSettings.schema.js @@ -0,0 +1,66 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindFirstOrThrowZodSchema = exports.TwilioSettingsFindFirstOrThrowSchema = exports.TwilioSettingsFindFirstOrThrowSelectZodSchema = exports.TwilioSettingsFindFirstOrThrowSelectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsOrderByWithRelationInput_schema_1 = require("./objects/TwilioSettingsOrderByWithRelationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsScalarFieldEnum_schema_1 = require("./enums/TwilioSettingsScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.TwilioSettingsFindFirstOrThrowSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.TwilioSettingsFindFirstOrThrowSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.TwilioSettingsFindFirstOrThrowSchema = z.object({ select: exports.TwilioSettingsFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional()), orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema, TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.TwilioSettingsFindFirstOrThrowZodSchema = z.object({ select: exports.TwilioSettingsFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional()), orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema, TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstOrThrowUser.schema.js b/packages/db/shared/schemas/findFirstOrThrowUser.schema.js index 2d9137fd..f8d98f01 100644 --- a/packages/db/shared/schemas/findFirstOrThrowUser.schema.js +++ b/packages/db/shared/schemas/findFirstOrThrowUser.schema.js @@ -47,13 +47,19 @@ exports.UserFindFirstOrThrowSelectSchema = z.object({ username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.boolean().optional(), appointments: z.boolean().optional(), staff: z.boolean().optional(), npiProviders: z.boolean().optional(), claims: z.boolean().optional(), insuranceCredentials: z.boolean().optional(), + shoppingVendors: z.boolean().optional(), updatedPayments: z.boolean().optional(), backups: z.boolean().optional(), backupDestinations: z.boolean().optional(), @@ -61,6 +67,13 @@ exports.UserFindFirstOrThrowSelectSchema = z.object({ cloudFolders: z.boolean().optional(), cloudFiles: z.boolean().optional(), communications: z.boolean().optional(), + twilioSettings: z.boolean().optional(), + aiSettings: z.boolean().optional(), + officeHours: z.boolean().optional(), + officeContact: z.boolean().optional(), + procedureTimeslot: z.boolean().optional(), + insuranceContacts: z.boolean().optional(), + patientConversations: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.UserFindFirstOrThrowSelectZodSchema = z.object({ @@ -68,13 +81,19 @@ exports.UserFindFirstOrThrowSelectZodSchema = z.object({ username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.boolean().optional(), appointments: z.boolean().optional(), staff: z.boolean().optional(), npiProviders: z.boolean().optional(), claims: z.boolean().optional(), insuranceCredentials: z.boolean().optional(), + shoppingVendors: z.boolean().optional(), updatedPayments: z.boolean().optional(), backups: z.boolean().optional(), backupDestinations: z.boolean().optional(), @@ -82,6 +101,13 @@ exports.UserFindFirstOrThrowSelectZodSchema = z.object({ cloudFolders: z.boolean().optional(), cloudFiles: z.boolean().optional(), communications: z.boolean().optional(), + twilioSettings: z.boolean().optional(), + aiSettings: z.boolean().optional(), + officeHours: z.boolean().optional(), + officeContact: z.boolean().optional(), + procedureTimeslot: z.boolean().optional(), + insuranceContacts: z.boolean().optional(), + patientConversations: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.UserFindFirstOrThrowSchema = z.object({ select: exports.UserFindFirstOrThrowSelectSchema.optional(), include: z.lazy(() => UserInclude_schema_1.UserIncludeObjectSchema.optional()), orderBy: z.union([UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema, UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema.array()]).optional(), where: UserWhereInput_schema_1.UserWhereInputObjectSchema.optional(), cursor: UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([UserScalarFieldEnum_schema_1.UserScalarFieldEnumSchema, UserScalarFieldEnum_schema_1.UserScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstPatient.schema.js b/packages/db/shared/schemas/findFirstPatient.schema.js index 193152d6..95a67cdd 100644 --- a/packages/db/shared/schemas/findFirstPatient.schema.js +++ b/packages/db/shared/schemas/findFirstPatient.schema.js @@ -59,9 +59,11 @@ exports.PatientFindFirstSelectSchema = z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.boolean().optional(), appointments: z.boolean().optional(), procedures: z.boolean().optional(), @@ -70,6 +72,8 @@ exports.PatientFindFirstSelectSchema = z.object({ payment: z.boolean().optional(), communications: z.boolean().optional(), documents: z.boolean().optional(), + conversation: z.boolean().optional(), + cloudFolders: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PatientFindFirstSelectZodSchema = z.object({ @@ -89,9 +93,11 @@ exports.PatientFindFirstSelectZodSchema = z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.boolean().optional(), appointments: z.boolean().optional(), procedures: z.boolean().optional(), @@ -100,6 +106,8 @@ exports.PatientFindFirstSelectZodSchema = z.object({ payment: z.boolean().optional(), communications: z.boolean().optional(), documents: z.boolean().optional(), + conversation: z.boolean().optional(), + cloudFolders: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PatientFindFirstSchema = z.object({ select: exports.PatientFindFirstSelectSchema.optional(), include: z.lazy(() => PatientInclude_schema_1.PatientIncludeObjectSchema.optional()), orderBy: z.union([PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema, PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientWhereInput_schema_1.PatientWhereInputObjectSchema.optional(), cursor: PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientScalarFieldEnum_schema_1.PatientScalarFieldEnumSchema, PatientScalarFieldEnum_schema_1.PatientScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstPatientConversation.schema.js b/packages/db/shared/schemas/findFirstPatientConversation.schema.js new file mode 100644 index 00000000..43072108 --- /dev/null +++ b/packages/db/shared/schemas/findFirstPatientConversation.schema.js @@ -0,0 +1,66 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindFirstZodSchema = exports.PatientConversationFindFirstSchema = exports.PatientConversationFindFirstSelectZodSchema = exports.PatientConversationFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationOrderByWithRelationInput_schema_1 = require("./objects/PatientConversationOrderByWithRelationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +const PatientConversationScalarFieldEnum_schema_1 = require("./enums/PatientConversationScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.PatientConversationFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.PatientConversationFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.PatientConversationFindFirstSchema = z.object({ select: exports.PatientConversationFindFirstSelectSchema.optional(), include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional()), orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema, PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.PatientConversationFindFirstZodSchema = z.object({ select: exports.PatientConversationFindFirstSelectSchema.optional(), include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional()), orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema, PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstPayment.schema.js b/packages/db/shared/schemas/findFirstPayment.schema.js index 49315343..69a5b8d1 100644 --- a/packages/db/shared/schemas/findFirstPayment.schema.js +++ b/packages/db/shared/schemas/findFirstPayment.schema.js @@ -48,10 +48,14 @@ exports.PaymentFindFirstSelectSchema = z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -60,8 +64,10 @@ exports.PaymentFindFirstSelectSchema = z.object({ claim: z.boolean().optional(), patient: z.boolean().optional(), updatedBy: z.boolean().optional(), + npiProvider: z.boolean().optional(), serviceLineTransactions: z.boolean().optional(), serviceLines: z.boolean().optional(), + commissionBatchItems: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PaymentFindFirstSelectZodSchema = z.object({ @@ -70,10 +76,14 @@ exports.PaymentFindFirstSelectZodSchema = z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -82,8 +92,10 @@ exports.PaymentFindFirstSelectZodSchema = z.object({ claim: z.boolean().optional(), patient: z.boolean().optional(), updatedBy: z.boolean().optional(), + npiProvider: z.boolean().optional(), serviceLineTransactions: z.boolean().optional(), serviceLines: z.boolean().optional(), + commissionBatchItems: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PaymentFindFirstSchema = z.object({ select: exports.PaymentFindFirstSelectSchema.optional(), include: z.lazy(() => PaymentInclude_schema_1.PaymentIncludeObjectSchema.optional()), orderBy: z.union([PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema, PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema.optional(), cursor: PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PaymentScalarFieldEnum_schema_1.PaymentScalarFieldEnumSchema, PaymentScalarFieldEnum_schema_1.PaymentScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstProcedureTimeslot.schema.js b/packages/db/shared/schemas/findFirstProcedureTimeslot.schema.js new file mode 100644 index 00000000..d8f22447 --- /dev/null +++ b/packages/db/shared/schemas/findFirstProcedureTimeslot.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindFirstZodSchema = exports.ProcedureTimeslotFindFirstSchema = exports.ProcedureTimeslotFindFirstSelectZodSchema = exports.ProcedureTimeslotFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotOrderByWithRelationInput_schema_1 = require("./objects/ProcedureTimeslotOrderByWithRelationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotScalarFieldEnum_schema_1 = require("./enums/ProcedureTimeslotScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.ProcedureTimeslotFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ProcedureTimeslotFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ProcedureTimeslotFindFirstSchema = z.object({ select: exports.ProcedureTimeslotFindFirstSelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.ProcedureTimeslotFindFirstZodSchema = z.object({ select: exports.ProcedureTimeslotFindFirstSelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstServiceLine.schema.js b/packages/db/shared/schemas/findFirstServiceLine.schema.js index 44701d65..227c659f 100644 --- a/packages/db/shared/schemas/findFirstServiceLine.schema.js +++ b/packages/db/shared/schemas/findFirstServiceLine.schema.js @@ -52,6 +52,9 @@ exports.ServiceLineFindFirstSelectSchema = z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), @@ -72,6 +75,9 @@ exports.ServiceLineFindFirstSelectZodSchema = z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findFirstShoppingVendor.schema.js b/packages/db/shared/schemas/findFirstShoppingVendor.schema.js new file mode 100644 index 00000000..f871e4f1 --- /dev/null +++ b/packages/db/shared/schemas/findFirstShoppingVendor.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindFirstZodSchema = exports.ShoppingVendorFindFirstSchema = exports.ShoppingVendorFindFirstSelectZodSchema = exports.ShoppingVendorFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorOrderByWithRelationInput_schema_1 = require("./objects/ShoppingVendorOrderByWithRelationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorScalarFieldEnum_schema_1 = require("./enums/ShoppingVendorScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.ShoppingVendorFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ShoppingVendorFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ShoppingVendorFindFirstSchema = z.object({ select: exports.ShoppingVendorFindFirstSelectSchema.optional(), include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.ShoppingVendorFindFirstZodSchema = z.object({ select: exports.ShoppingVendorFindFirstSelectSchema.optional(), include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstTwilioSettings.schema.js b/packages/db/shared/schemas/findFirstTwilioSettings.schema.js new file mode 100644 index 00000000..80c2c780 --- /dev/null +++ b/packages/db/shared/schemas/findFirstTwilioSettings.schema.js @@ -0,0 +1,66 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindFirstZodSchema = exports.TwilioSettingsFindFirstSchema = exports.TwilioSettingsFindFirstSelectZodSchema = exports.TwilioSettingsFindFirstSelectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsOrderByWithRelationInput_schema_1 = require("./objects/TwilioSettingsOrderByWithRelationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsScalarFieldEnum_schema_1 = require("./enums/TwilioSettingsScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.TwilioSettingsFindFirstSelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.TwilioSettingsFindFirstSelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.TwilioSettingsFindFirstSchema = z.object({ select: exports.TwilioSettingsFindFirstSelectSchema.optional(), include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional()), orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema, TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.TwilioSettingsFindFirstZodSchema = z.object({ select: exports.TwilioSettingsFindFirstSelectSchema.optional(), include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional()), orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema, TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findFirstUser.schema.js b/packages/db/shared/schemas/findFirstUser.schema.js index 96606209..27953467 100644 --- a/packages/db/shared/schemas/findFirstUser.schema.js +++ b/packages/db/shared/schemas/findFirstUser.schema.js @@ -47,13 +47,19 @@ exports.UserFindFirstSelectSchema = z.object({ username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.boolean().optional(), appointments: z.boolean().optional(), staff: z.boolean().optional(), npiProviders: z.boolean().optional(), claims: z.boolean().optional(), insuranceCredentials: z.boolean().optional(), + shoppingVendors: z.boolean().optional(), updatedPayments: z.boolean().optional(), backups: z.boolean().optional(), backupDestinations: z.boolean().optional(), @@ -61,6 +67,13 @@ exports.UserFindFirstSelectSchema = z.object({ cloudFolders: z.boolean().optional(), cloudFiles: z.boolean().optional(), communications: z.boolean().optional(), + twilioSettings: z.boolean().optional(), + aiSettings: z.boolean().optional(), + officeHours: z.boolean().optional(), + officeContact: z.boolean().optional(), + procedureTimeslot: z.boolean().optional(), + insuranceContacts: z.boolean().optional(), + patientConversations: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.UserFindFirstSelectZodSchema = z.object({ @@ -68,13 +81,19 @@ exports.UserFindFirstSelectZodSchema = z.object({ username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.boolean().optional(), appointments: z.boolean().optional(), staff: z.boolean().optional(), npiProviders: z.boolean().optional(), claims: z.boolean().optional(), insuranceCredentials: z.boolean().optional(), + shoppingVendors: z.boolean().optional(), updatedPayments: z.boolean().optional(), backups: z.boolean().optional(), backupDestinations: z.boolean().optional(), @@ -82,6 +101,13 @@ exports.UserFindFirstSelectZodSchema = z.object({ cloudFolders: z.boolean().optional(), cloudFiles: z.boolean().optional(), communications: z.boolean().optional(), + twilioSettings: z.boolean().optional(), + aiSettings: z.boolean().optional(), + officeHours: z.boolean().optional(), + officeContact: z.boolean().optional(), + procedureTimeslot: z.boolean().optional(), + insuranceContacts: z.boolean().optional(), + patientConversations: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.UserFindFirstSchema = z.object({ select: exports.UserFindFirstSelectSchema.optional(), include: z.lazy(() => UserInclude_schema_1.UserIncludeObjectSchema.optional()), orderBy: z.union([UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema, UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema.array()]).optional(), where: UserWhereInput_schema_1.UserWhereInputObjectSchema.optional(), cursor: UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([UserScalarFieldEnum_schema_1.UserScalarFieldEnumSchema, UserScalarFieldEnum_schema_1.UserScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyAiSettings.schema.js b/packages/db/shared/schemas/findManyAiSettings.schema.js new file mode 100644 index 00000000..3d8cd45d --- /dev/null +++ b/packages/db/shared/schemas/findManyAiSettings.schema.js @@ -0,0 +1,82 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindManyZodSchema = exports.AiSettingsFindManySchema = exports.AiSettingsFindManySelectZodSchema = exports.AiSettingsFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsOrderByWithRelationInput_schema_1 = require("./objects/AiSettingsOrderByWithRelationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +const AiSettingsScalarFieldEnum_schema_1 = require("./enums/AiSettingsScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.AiSettingsFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.AiSettingsFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.AiSettingsFindManySchema = z.object({ select: exports.AiSettingsFindManySelectSchema.optional(), include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.AiSettingsFindManyZodSchema = z.object({ select: exports.AiSettingsFindManySelectSchema.optional(), include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional()), orderBy: z.union([AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema, AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), cursor: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema, AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyAppointment.schema.js b/packages/db/shared/schemas/findManyAppointment.schema.js index a995de6b..9df7ba2c 100644 --- a/packages/db/shared/schemas/findManyAppointment.schema.js +++ b/packages/db/shared/schemas/findManyAppointment.schema.js @@ -52,9 +52,11 @@ exports.AppointmentFindManySelectSchema = z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.boolean().optional(), @@ -62,6 +64,7 @@ exports.AppointmentFindManySelectSchema = z.object({ staff: z.boolean().optional(), procedures: z.boolean().optional(), claims: z.boolean().optional(), + files: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.AppointmentFindManySelectZodSchema = z.object({ @@ -74,9 +77,11 @@ exports.AppointmentFindManySelectZodSchema = z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.boolean().optional(), @@ -84,6 +89,7 @@ exports.AppointmentFindManySelectZodSchema = z.object({ staff: z.boolean().optional(), procedures: z.boolean().optional(), claims: z.boolean().optional(), + files: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.AppointmentFindManySchema = z.object({ select: exports.AppointmentFindManySelectSchema.optional(), include: z.lazy(() => AppointmentInclude_schema_1.AppointmentIncludeObjectSchema.optional()), orderBy: z.union([AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema, AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema.optional(), cursor: AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentScalarFieldEnum_schema_1.AppointmentScalarFieldEnumSchema, AppointmentScalarFieldEnum_schema_1.AppointmentScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyAppointmentFile.schema.js b/packages/db/shared/schemas/findManyAppointmentFile.schema.js new file mode 100644 index 00000000..59d0ff7f --- /dev/null +++ b/packages/db/shared/schemas/findManyAppointmentFile.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindManyZodSchema = exports.AppointmentFileFindManySchema = exports.AppointmentFileFindManySelectZodSchema = exports.AppointmentFileFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileOrderByWithRelationInput_schema_1 = require("./objects/AppointmentFileOrderByWithRelationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileScalarFieldEnum_schema_1 = require("./enums/AppointmentFileScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.AppointmentFileFindManySelectSchema = z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.boolean().optional() +}).strict(); +exports.AppointmentFileFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.boolean().optional() +}).strict(); +exports.AppointmentFileFindManySchema = z.object({ select: exports.AppointmentFileFindManySelectSchema.optional(), include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional()), orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema, AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.AppointmentFileFindManyZodSchema = z.object({ select: exports.AppointmentFileFindManySelectSchema.optional(), include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional()), orderBy: z.union([AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema, AppointmentFileOrderByWithRelationInput_schema_1.AppointmentFileOrderByWithRelationInputObjectSchema.array()]).optional(), where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), cursor: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema, AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyClaim.schema.js b/packages/db/shared/schemas/findManyClaim.schema.js index 1649e54f..51ade3a8 100644 --- a/packages/db/shared/schemas/findManyClaim.schema.js +++ b/packages/db/shared/schemas/findManyClaim.schema.js @@ -60,6 +60,7 @@ exports.ClaimFindManySelectSchema = z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.boolean().optional(), appointment: z.boolean().optional(), @@ -89,6 +90,7 @@ exports.ClaimFindManySelectZodSchema = z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.boolean().optional(), appointment: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findManyCloudFolder.schema.js b/packages/db/shared/schemas/findManyCloudFolder.schema.js index fd5051c3..d1725277 100644 --- a/packages/db/shared/schemas/findManyCloudFolder.schema.js +++ b/packages/db/shared/schemas/findManyCloudFolder.schema.js @@ -47,9 +47,11 @@ exports.CloudFolderFindManySelectSchema = z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.boolean().optional(), children: z.boolean().optional(), user: z.boolean().optional(), + patient: z.boolean().optional(), files: z.boolean().optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), @@ -60,9 +62,11 @@ exports.CloudFolderFindManySelectZodSchema = z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.boolean().optional(), children: z.boolean().optional(), user: z.boolean().optional(), + patient: z.boolean().optional(), files: z.boolean().optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findManyCommissionBatch.schema.js b/packages/db/shared/schemas/findManyCommissionBatch.schema.js new file mode 100644 index 00000000..b0e28a8f --- /dev/null +++ b/packages/db/shared/schemas/findManyCommissionBatch.schema.js @@ -0,0 +1,68 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindManyZodSchema = exports.CommissionBatchFindManySchema = exports.CommissionBatchFindManySelectZodSchema = exports.CommissionBatchFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchOrderByWithRelationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchScalarFieldEnum_schema_1 = require("./enums/CommissionBatchScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.CommissionBatchFindManySelectSchema = z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.boolean().optional(), + items: z.boolean().optional(), + _count: z.boolean().optional() +}).strict(); +exports.CommissionBatchFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.boolean().optional(), + items: z.boolean().optional(), + _count: z.boolean().optional() +}).strict(); +exports.CommissionBatchFindManySchema = z.object({ select: exports.CommissionBatchFindManySelectSchema.optional(), include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.CommissionBatchFindManyZodSchema = z.object({ select: exports.CommissionBatchFindManySelectSchema.optional(), include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema, CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), cursor: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema, CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyCommissionBatchItem.schema.js b/packages/db/shared/schemas/findManyCommissionBatchItem.schema.js new file mode 100644 index 00000000..6d63e285 --- /dev/null +++ b/packages/db/shared/schemas/findManyCommissionBatchItem.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindManyZodSchema = exports.CommissionBatchItemFindManySchema = exports.CommissionBatchItemFindManySelectZodSchema = exports.CommissionBatchItemFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemOrderByWithRelationInput_schema_1 = require("./objects/CommissionBatchItemOrderByWithRelationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemScalarFieldEnum_schema_1 = require("./enums/CommissionBatchItemScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.CommissionBatchItemFindManySelectSchema = z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.boolean().optional(), + payment: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.boolean().optional(), + payment: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemFindManySchema = z.object({ select: exports.CommissionBatchItemFindManySelectSchema.optional(), include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.CommissionBatchItemFindManyZodSchema = z.object({ select: exports.CommissionBatchItemFindManySelectSchema.optional(), include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional()), orderBy: z.union([CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema, CommissionBatchItemOrderByWithRelationInput_schema_1.CommissionBatchItemOrderByWithRelationInputObjectSchema.array()]).optional(), where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), cursor: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema, CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyInsuranceContact.schema.js b/packages/db/shared/schemas/findManyInsuranceContact.schema.js new file mode 100644 index 00000000..e0ee898e --- /dev/null +++ b/packages/db/shared/schemas/findManyInsuranceContact.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindManyZodSchema = exports.InsuranceContactFindManySchema = exports.InsuranceContactFindManySelectZodSchema = exports.InsuranceContactFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactOrderByWithRelationInput_schema_1 = require("./objects/InsuranceContactOrderByWithRelationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactScalarFieldEnum_schema_1 = require("./enums/InsuranceContactScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.InsuranceContactFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.InsuranceContactFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.InsuranceContactFindManySchema = z.object({ select: exports.InsuranceContactFindManySelectSchema.optional(), include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.InsuranceContactFindManyZodSchema = z.object({ select: exports.InsuranceContactFindManySelectSchema.optional(), include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional()), orderBy: z.union([InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema, InsuranceContactOrderByWithRelationInput_schema_1.InsuranceContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), cursor: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema, InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyNpiProvider.schema.js b/packages/db/shared/schemas/findManyNpiProvider.schema.js index cbced8a9..b464d06b 100644 --- a/packages/db/shared/schemas/findManyNpiProvider.schema.js +++ b/packages/db/shared/schemas/findManyNpiProvider.schema.js @@ -47,9 +47,12 @@ exports.NpiProviderFindManySelectSchema = z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.boolean().optional(), claims: z.boolean().optional(), + payments: z.boolean().optional(), + commissionBatches: z.boolean().optional(), appointmentProcedures: z.boolean().optional(), _count: z.boolean().optional() }).strict(); @@ -58,9 +61,12 @@ exports.NpiProviderFindManySelectZodSchema = z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.boolean().optional(), claims: z.boolean().optional(), + payments: z.boolean().optional(), + commissionBatches: z.boolean().optional(), appointmentProcedures: z.boolean().optional(), _count: z.boolean().optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyOfficeContact.schema.js b/packages/db/shared/schemas/findManyOfficeContact.schema.js new file mode 100644 index 00000000..6256b792 --- /dev/null +++ b/packages/db/shared/schemas/findManyOfficeContact.schema.js @@ -0,0 +1,76 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindManyZodSchema = exports.OfficeContactFindManySchema = exports.OfficeContactFindManySelectZodSchema = exports.OfficeContactFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactOrderByWithRelationInput_schema_1 = require("./objects/OfficeContactOrderByWithRelationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +const OfficeContactScalarFieldEnum_schema_1 = require("./enums/OfficeContactScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.OfficeContactFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeContactFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeContactFindManySchema = z.object({ select: exports.OfficeContactFindManySelectSchema.optional(), include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.OfficeContactFindManyZodSchema = z.object({ select: exports.OfficeContactFindManySelectSchema.optional(), include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional()), orderBy: z.union([OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema, OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), cursor: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema, OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyOfficeHours.schema.js b/packages/db/shared/schemas/findManyOfficeHours.schema.js new file mode 100644 index 00000000..49b9e61f --- /dev/null +++ b/packages/db/shared/schemas/findManyOfficeHours.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindManyZodSchema = exports.OfficeHoursFindManySchema = exports.OfficeHoursFindManySelectZodSchema = exports.OfficeHoursFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursOrderByWithRelationInput_schema_1 = require("./objects/OfficeHoursOrderByWithRelationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursScalarFieldEnum_schema_1 = require("./enums/OfficeHoursScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.OfficeHoursFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeHoursFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.OfficeHoursFindManySchema = z.object({ select: exports.OfficeHoursFindManySelectSchema.optional(), include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.OfficeHoursFindManyZodSchema = z.object({ select: exports.OfficeHoursFindManySelectSchema.optional(), include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional()), orderBy: z.union([OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema, OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema.array()]).optional(), where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), cursor: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema, OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyPatient.schema.js b/packages/db/shared/schemas/findManyPatient.schema.js index 86cfd5c4..f43eae5c 100644 --- a/packages/db/shared/schemas/findManyPatient.schema.js +++ b/packages/db/shared/schemas/findManyPatient.schema.js @@ -59,9 +59,11 @@ exports.PatientFindManySelectSchema = z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.boolean().optional(), appointments: z.boolean().optional(), procedures: z.boolean().optional(), @@ -70,6 +72,8 @@ exports.PatientFindManySelectSchema = z.object({ payment: z.boolean().optional(), communications: z.boolean().optional(), documents: z.boolean().optional(), + conversation: z.boolean().optional(), + cloudFolders: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PatientFindManySelectZodSchema = z.object({ @@ -89,9 +93,11 @@ exports.PatientFindManySelectZodSchema = z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.boolean().optional(), appointments: z.boolean().optional(), procedures: z.boolean().optional(), @@ -100,6 +106,8 @@ exports.PatientFindManySelectZodSchema = z.object({ payment: z.boolean().optional(), communications: z.boolean().optional(), documents: z.boolean().optional(), + conversation: z.boolean().optional(), + cloudFolders: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PatientFindManySchema = z.object({ select: exports.PatientFindManySelectSchema.optional(), include: z.lazy(() => PatientInclude_schema_1.PatientIncludeObjectSchema.optional()), orderBy: z.union([PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema, PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientWhereInput_schema_1.PatientWhereInputObjectSchema.optional(), cursor: PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientScalarFieldEnum_schema_1.PatientScalarFieldEnumSchema, PatientScalarFieldEnum_schema_1.PatientScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyPatientConversation.schema.js b/packages/db/shared/schemas/findManyPatientConversation.schema.js new file mode 100644 index 00000000..178db9aa --- /dev/null +++ b/packages/db/shared/schemas/findManyPatientConversation.schema.js @@ -0,0 +1,66 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindManyZodSchema = exports.PatientConversationFindManySchema = exports.PatientConversationFindManySelectZodSchema = exports.PatientConversationFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationOrderByWithRelationInput_schema_1 = require("./objects/PatientConversationOrderByWithRelationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +const PatientConversationScalarFieldEnum_schema_1 = require("./enums/PatientConversationScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.PatientConversationFindManySelectSchema = z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.PatientConversationFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.PatientConversationFindManySchema = z.object({ select: exports.PatientConversationFindManySelectSchema.optional(), include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional()), orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema, PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.PatientConversationFindManyZodSchema = z.object({ select: exports.PatientConversationFindManySelectSchema.optional(), include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional()), orderBy: z.union([PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema, PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema.array()]).optional(), where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), cursor: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema, PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyPayment.schema.js b/packages/db/shared/schemas/findManyPayment.schema.js index f7eb0693..289df379 100644 --- a/packages/db/shared/schemas/findManyPayment.schema.js +++ b/packages/db/shared/schemas/findManyPayment.schema.js @@ -48,10 +48,14 @@ exports.PaymentFindManySelectSchema = z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -60,8 +64,10 @@ exports.PaymentFindManySelectSchema = z.object({ claim: z.boolean().optional(), patient: z.boolean().optional(), updatedBy: z.boolean().optional(), + npiProvider: z.boolean().optional(), serviceLineTransactions: z.boolean().optional(), serviceLines: z.boolean().optional(), + commissionBatchItems: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PaymentFindManySelectZodSchema = z.object({ @@ -70,10 +76,14 @@ exports.PaymentFindManySelectZodSchema = z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -82,8 +92,10 @@ exports.PaymentFindManySelectZodSchema = z.object({ claim: z.boolean().optional(), patient: z.boolean().optional(), updatedBy: z.boolean().optional(), + npiProvider: z.boolean().optional(), serviceLineTransactions: z.boolean().optional(), serviceLines: z.boolean().optional(), + commissionBatchItems: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.PaymentFindManySchema = z.object({ select: exports.PaymentFindManySelectSchema.optional(), include: z.lazy(() => PaymentInclude_schema_1.PaymentIncludeObjectSchema.optional()), orderBy: z.union([PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema, PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema.array()]).optional(), where: PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema.optional(), cursor: PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([PaymentScalarFieldEnum_schema_1.PaymentScalarFieldEnumSchema, PaymentScalarFieldEnum_schema_1.PaymentScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyProcedureTimeslot.schema.js b/packages/db/shared/schemas/findManyProcedureTimeslot.schema.js new file mode 100644 index 00000000..7aad2786 --- /dev/null +++ b/packages/db/shared/schemas/findManyProcedureTimeslot.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindManyZodSchema = exports.ProcedureTimeslotFindManySchema = exports.ProcedureTimeslotFindManySelectZodSchema = exports.ProcedureTimeslotFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotOrderByWithRelationInput_schema_1 = require("./objects/ProcedureTimeslotOrderByWithRelationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotScalarFieldEnum_schema_1 = require("./enums/ProcedureTimeslotScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.ProcedureTimeslotFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ProcedureTimeslotFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ProcedureTimeslotFindManySchema = z.object({ select: exports.ProcedureTimeslotFindManySelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.ProcedureTimeslotFindManyZodSchema = z.object({ select: exports.ProcedureTimeslotFindManySelectSchema.optional(), include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional()), orderBy: z.union([ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema, ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema.array()]).optional(), where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), cursor: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema, ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyServiceLine.schema.js b/packages/db/shared/schemas/findManyServiceLine.schema.js index b45959c2..56e64859 100644 --- a/packages/db/shared/schemas/findManyServiceLine.schema.js +++ b/packages/db/shared/schemas/findManyServiceLine.schema.js @@ -52,6 +52,9 @@ exports.ServiceLineFindManySelectSchema = z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), @@ -72,6 +75,9 @@ exports.ServiceLineFindManySelectZodSchema = z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), diff --git a/packages/db/shared/schemas/findManyShoppingVendor.schema.js b/packages/db/shared/schemas/findManyShoppingVendor.schema.js new file mode 100644 index 00000000..8eb372e2 --- /dev/null +++ b/packages/db/shared/schemas/findManyShoppingVendor.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindManyZodSchema = exports.ShoppingVendorFindManySchema = exports.ShoppingVendorFindManySelectZodSchema = exports.ShoppingVendorFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorOrderByWithRelationInput_schema_1 = require("./objects/ShoppingVendorOrderByWithRelationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorScalarFieldEnum_schema_1 = require("./enums/ShoppingVendorScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.ShoppingVendorFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ShoppingVendorFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.ShoppingVendorFindManySchema = z.object({ select: exports.ShoppingVendorFindManySelectSchema.optional(), include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.ShoppingVendorFindManyZodSchema = z.object({ select: exports.ShoppingVendorFindManySelectSchema.optional(), include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional()), orderBy: z.union([ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema, ShoppingVendorOrderByWithRelationInput_schema_1.ShoppingVendorOrderByWithRelationInputObjectSchema.array()]).optional(), where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), cursor: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema, ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyTwilioSettings.schema.js b/packages/db/shared/schemas/findManyTwilioSettings.schema.js new file mode 100644 index 00000000..db70799e --- /dev/null +++ b/packages/db/shared/schemas/findManyTwilioSettings.schema.js @@ -0,0 +1,66 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindManyZodSchema = exports.TwilioSettingsFindManySchema = exports.TwilioSettingsFindManySelectZodSchema = exports.TwilioSettingsFindManySelectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsOrderByWithRelationInput_schema_1 = require("./objects/TwilioSettingsOrderByWithRelationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsScalarFieldEnum_schema_1 = require("./enums/TwilioSettingsScalarFieldEnum.schema"); +// Select schema needs to be in file to prevent circular imports +//------------------------------------------------------ +exports.TwilioSettingsFindManySelectSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.TwilioSettingsFindManySelectZodSchema = z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.boolean().optional() +}).strict(); +exports.TwilioSettingsFindManySchema = z.object({ select: exports.TwilioSettingsFindManySelectSchema.optional(), include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional()), orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema, TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); +exports.TwilioSettingsFindManyZodSchema = z.object({ select: exports.TwilioSettingsFindManySelectSchema.optional(), include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional()), orderBy: z.union([TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema, TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema.array()]).optional(), where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), cursor: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema, TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findManyUser.schema.js b/packages/db/shared/schemas/findManyUser.schema.js index 593eeaae..cd870f95 100644 --- a/packages/db/shared/schemas/findManyUser.schema.js +++ b/packages/db/shared/schemas/findManyUser.schema.js @@ -47,13 +47,19 @@ exports.UserFindManySelectSchema = z.object({ username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.boolean().optional(), appointments: z.boolean().optional(), staff: z.boolean().optional(), npiProviders: z.boolean().optional(), claims: z.boolean().optional(), insuranceCredentials: z.boolean().optional(), + shoppingVendors: z.boolean().optional(), updatedPayments: z.boolean().optional(), backups: z.boolean().optional(), backupDestinations: z.boolean().optional(), @@ -61,6 +67,13 @@ exports.UserFindManySelectSchema = z.object({ cloudFolders: z.boolean().optional(), cloudFiles: z.boolean().optional(), communications: z.boolean().optional(), + twilioSettings: z.boolean().optional(), + aiSettings: z.boolean().optional(), + officeHours: z.boolean().optional(), + officeContact: z.boolean().optional(), + procedureTimeslot: z.boolean().optional(), + insuranceContacts: z.boolean().optional(), + patientConversations: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.UserFindManySelectZodSchema = z.object({ @@ -68,13 +81,19 @@ exports.UserFindManySelectZodSchema = z.object({ username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.boolean().optional(), appointments: z.boolean().optional(), staff: z.boolean().optional(), npiProviders: z.boolean().optional(), claims: z.boolean().optional(), insuranceCredentials: z.boolean().optional(), + shoppingVendors: z.boolean().optional(), updatedPayments: z.boolean().optional(), backups: z.boolean().optional(), backupDestinations: z.boolean().optional(), @@ -82,6 +101,13 @@ exports.UserFindManySelectZodSchema = z.object({ cloudFolders: z.boolean().optional(), cloudFiles: z.boolean().optional(), communications: z.boolean().optional(), + twilioSettings: z.boolean().optional(), + aiSettings: z.boolean().optional(), + officeHours: z.boolean().optional(), + officeContact: z.boolean().optional(), + procedureTimeslot: z.boolean().optional(), + insuranceContacts: z.boolean().optional(), + patientConversations: z.boolean().optional(), _count: z.boolean().optional() }).strict(); exports.UserFindManySchema = z.object({ select: exports.UserFindManySelectSchema.optional(), include: z.lazy(() => UserInclude_schema_1.UserIncludeObjectSchema.optional()), orderBy: z.union([UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema, UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema.array()]).optional(), where: UserWhereInput_schema_1.UserWhereInputObjectSchema.optional(), cursor: UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([UserScalarFieldEnum_schema_1.UserScalarFieldEnumSchema, UserScalarFieldEnum_schema_1.UserScalarFieldEnumSchema.array()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/findUniqueAiSettings.schema.js b/packages/db/shared/schemas/findUniqueAiSettings.schema.js new file mode 100644 index 00000000..de4192e8 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueAiSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindUniqueZodSchema = exports.AiSettingsFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +exports.AiSettingsFindUniqueSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); +exports.AiSettingsFindUniqueZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueAppointmentFile.schema.js b/packages/db/shared/schemas/findUniqueAppointmentFile.schema.js new file mode 100644 index 00000000..f65ff60c --- /dev/null +++ b/packages/db/shared/schemas/findUniqueAppointmentFile.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindUniqueZodSchema = exports.AppointmentFileFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +exports.AppointmentFileFindUniqueSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); +exports.AppointmentFileFindUniqueZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueCommissionBatch.schema.js b/packages/db/shared/schemas/findUniqueCommissionBatch.schema.js new file mode 100644 index 00000000..86bd58ba --- /dev/null +++ b/packages/db/shared/schemas/findUniqueCommissionBatch.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindUniqueZodSchema = exports.CommissionBatchFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +exports.CommissionBatchFindUniqueSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchFindUniqueZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueCommissionBatchItem.schema.js b/packages/db/shared/schemas/findUniqueCommissionBatchItem.schema.js new file mode 100644 index 00000000..e56a2017 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueCommissionBatchItem.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindUniqueZodSchema = exports.CommissionBatchItemFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +exports.CommissionBatchItemFindUniqueSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchItemFindUniqueZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueInsuranceContact.schema.js b/packages/db/shared/schemas/findUniqueInsuranceContact.schema.js new file mode 100644 index 00000000..40ed4ec7 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueInsuranceContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindUniqueZodSchema = exports.InsuranceContactFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +exports.InsuranceContactFindUniqueSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); +exports.InsuranceContactFindUniqueZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOfficeContact.schema.js b/packages/db/shared/schemas/findUniqueOfficeContact.schema.js new file mode 100644 index 00000000..6ff20713 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOfficeContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindUniqueZodSchema = exports.OfficeContactFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +exports.OfficeContactFindUniqueSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); +exports.OfficeContactFindUniqueZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOfficeHours.schema.js b/packages/db/shared/schemas/findUniqueOfficeHours.schema.js new file mode 100644 index 00000000..29d76a8c --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOfficeHours.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindUniqueZodSchema = exports.OfficeHoursFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +exports.OfficeHoursFindUniqueSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); +exports.OfficeHoursFindUniqueZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowAiSettings.schema.js b/packages/db/shared/schemas/findUniqueOrThrowAiSettings.schema.js new file mode 100644 index 00000000..3874b565 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowAiSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindUniqueOrThrowZodSchema = exports.AiSettingsFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +exports.AiSettingsFindUniqueOrThrowSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); +exports.AiSettingsFindUniqueOrThrowZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowAppointmentFile.schema.js b/packages/db/shared/schemas/findUniqueOrThrowAppointmentFile.schema.js new file mode 100644 index 00000000..28cb600e --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowAppointmentFile.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindUniqueOrThrowZodSchema = exports.AppointmentFileFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +exports.AppointmentFileFindUniqueOrThrowSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); +exports.AppointmentFileFindUniqueOrThrowZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowCommissionBatch.schema.js b/packages/db/shared/schemas/findUniqueOrThrowCommissionBatch.schema.js new file mode 100644 index 00000000..738356d0 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowCommissionBatch.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindUniqueOrThrowZodSchema = exports.CommissionBatchFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +exports.CommissionBatchFindUniqueOrThrowSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchFindUniqueOrThrowZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowCommissionBatchItem.schema.js b/packages/db/shared/schemas/findUniqueOrThrowCommissionBatchItem.schema.js new file mode 100644 index 00000000..7d3c80e1 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowCommissionBatchItem.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindUniqueOrThrowZodSchema = exports.CommissionBatchItemFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +exports.CommissionBatchItemFindUniqueOrThrowSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchItemFindUniqueOrThrowZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowInsuranceContact.schema.js b/packages/db/shared/schemas/findUniqueOrThrowInsuranceContact.schema.js new file mode 100644 index 00000000..de69e245 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowInsuranceContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindUniqueOrThrowZodSchema = exports.InsuranceContactFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +exports.InsuranceContactFindUniqueOrThrowSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); +exports.InsuranceContactFindUniqueOrThrowZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowOfficeContact.schema.js b/packages/db/shared/schemas/findUniqueOrThrowOfficeContact.schema.js new file mode 100644 index 00000000..01f0f684 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowOfficeContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindUniqueOrThrowZodSchema = exports.OfficeContactFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +exports.OfficeContactFindUniqueOrThrowSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); +exports.OfficeContactFindUniqueOrThrowZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowOfficeHours.schema.js b/packages/db/shared/schemas/findUniqueOrThrowOfficeHours.schema.js new file mode 100644 index 00000000..2c78f8dd --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowOfficeHours.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindUniqueOrThrowZodSchema = exports.OfficeHoursFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +exports.OfficeHoursFindUniqueOrThrowSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); +exports.OfficeHoursFindUniqueOrThrowZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowPatientConversation.schema.js b/packages/db/shared/schemas/findUniqueOrThrowPatientConversation.schema.js new file mode 100644 index 00000000..d791d507 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowPatientConversation.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindUniqueOrThrowZodSchema = exports.PatientConversationFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +exports.PatientConversationFindUniqueOrThrowSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); +exports.PatientConversationFindUniqueOrThrowZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowProcedureTimeslot.schema.js b/packages/db/shared/schemas/findUniqueOrThrowProcedureTimeslot.schema.js new file mode 100644 index 00000000..fe189783 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowProcedureTimeslot.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindUniqueOrThrowZodSchema = exports.ProcedureTimeslotFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +exports.ProcedureTimeslotFindUniqueOrThrowSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); +exports.ProcedureTimeslotFindUniqueOrThrowZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowShoppingVendor.schema.js b/packages/db/shared/schemas/findUniqueOrThrowShoppingVendor.schema.js new file mode 100644 index 00000000..7d17c936 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowShoppingVendor.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindUniqueOrThrowZodSchema = exports.ShoppingVendorFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +exports.ShoppingVendorFindUniqueOrThrowSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); +exports.ShoppingVendorFindUniqueOrThrowZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueOrThrowTwilioSettings.schema.js b/packages/db/shared/schemas/findUniqueOrThrowTwilioSettings.schema.js new file mode 100644 index 00000000..9b323005 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueOrThrowTwilioSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindUniqueOrThrowZodSchema = exports.TwilioSettingsFindUniqueOrThrowSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +exports.TwilioSettingsFindUniqueOrThrowSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); +exports.TwilioSettingsFindUniqueOrThrowZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniquePatientConversation.schema.js b/packages/db/shared/schemas/findUniquePatientConversation.schema.js new file mode 100644 index 00000000..13a5406b --- /dev/null +++ b/packages/db/shared/schemas/findUniquePatientConversation.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindUniqueZodSchema = exports.PatientConversationFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +exports.PatientConversationFindUniqueSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); +exports.PatientConversationFindUniqueZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueProcedureTimeslot.schema.js b/packages/db/shared/schemas/findUniqueProcedureTimeslot.schema.js new file mode 100644 index 00000000..abb03c26 --- /dev/null +++ b/packages/db/shared/schemas/findUniqueProcedureTimeslot.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindUniqueZodSchema = exports.ProcedureTimeslotFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +exports.ProcedureTimeslotFindUniqueSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); +exports.ProcedureTimeslotFindUniqueZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueShoppingVendor.schema.js b/packages/db/shared/schemas/findUniqueShoppingVendor.schema.js new file mode 100644 index 00000000..81f8387d --- /dev/null +++ b/packages/db/shared/schemas/findUniqueShoppingVendor.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindUniqueZodSchema = exports.ShoppingVendorFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +exports.ShoppingVendorFindUniqueSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); +exports.ShoppingVendorFindUniqueZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/findUniqueTwilioSettings.schema.js b/packages/db/shared/schemas/findUniqueTwilioSettings.schema.js new file mode 100644 index 00000000..bb55610f --- /dev/null +++ b/packages/db/shared/schemas/findUniqueTwilioSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindUniqueZodSchema = exports.TwilioSettingsFindUniqueSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +exports.TwilioSettingsFindUniqueSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); +exports.TwilioSettingsFindUniqueZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/groupByAiSettings.schema.js b/packages/db/shared/schemas/groupByAiSettings.schema.js new file mode 100644 index 00000000..8d0efccc --- /dev/null +++ b/packages/db/shared/schemas/groupByAiSettings.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsGroupByZodSchema = exports.AiSettingsGroupBySchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +const AiSettingsOrderByWithAggregationInput_schema_1 = require("./objects/AiSettingsOrderByWithAggregationInput.schema"); +const AiSettingsScalarWhereWithAggregatesInput_schema_1 = require("./objects/AiSettingsScalarWhereWithAggregatesInput.schema"); +const AiSettingsScalarFieldEnum_schema_1 = require("./enums/AiSettingsScalarFieldEnum.schema"); +const AiSettingsCountAggregateInput_schema_1 = require("./objects/AiSettingsCountAggregateInput.schema"); +const AiSettingsMinAggregateInput_schema_1 = require("./objects/AiSettingsMinAggregateInput.schema"); +const AiSettingsMaxAggregateInput_schema_1 = require("./objects/AiSettingsMaxAggregateInput.schema"); +const AiSettingsAvgAggregateInput_schema_1 = require("./objects/AiSettingsAvgAggregateInput.schema"); +const AiSettingsSumAggregateInput_schema_1 = require("./objects/AiSettingsSumAggregateInput.schema"); +exports.AiSettingsGroupBySchema = z.object({ where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), orderBy: z.union([AiSettingsOrderByWithAggregationInput_schema_1.AiSettingsOrderByWithAggregationInputObjectSchema, AiSettingsOrderByWithAggregationInput_schema_1.AiSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: AiSettingsScalarWhereWithAggregatesInput_schema_1.AiSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema), _count: z.union([z.literal(true), AiSettingsCountAggregateInput_schema_1.AiSettingsCountAggregateInputObjectSchema]).optional(), _min: AiSettingsMinAggregateInput_schema_1.AiSettingsMinAggregateInputObjectSchema.optional(), _max: AiSettingsMaxAggregateInput_schema_1.AiSettingsMaxAggregateInputObjectSchema.optional(), _avg: AiSettingsAvgAggregateInput_schema_1.AiSettingsAvgAggregateInputObjectSchema.optional(), _sum: AiSettingsSumAggregateInput_schema_1.AiSettingsSumAggregateInputObjectSchema.optional() }).strict(); +exports.AiSettingsGroupByZodSchema = z.object({ where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional(), orderBy: z.union([AiSettingsOrderByWithAggregationInput_schema_1.AiSettingsOrderByWithAggregationInputObjectSchema, AiSettingsOrderByWithAggregationInput_schema_1.AiSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: AiSettingsScalarWhereWithAggregatesInput_schema_1.AiSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(AiSettingsScalarFieldEnum_schema_1.AiSettingsScalarFieldEnumSchema), _count: z.union([z.literal(true), AiSettingsCountAggregateInput_schema_1.AiSettingsCountAggregateInputObjectSchema]).optional(), _min: AiSettingsMinAggregateInput_schema_1.AiSettingsMinAggregateInputObjectSchema.optional(), _max: AiSettingsMaxAggregateInput_schema_1.AiSettingsMaxAggregateInputObjectSchema.optional(), _avg: AiSettingsAvgAggregateInput_schema_1.AiSettingsAvgAggregateInputObjectSchema.optional(), _sum: AiSettingsSumAggregateInput_schema_1.AiSettingsSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByAppointmentFile.schema.js b/packages/db/shared/schemas/groupByAppointmentFile.schema.js new file mode 100644 index 00000000..fc332229 --- /dev/null +++ b/packages/db/shared/schemas/groupByAppointmentFile.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileGroupByZodSchema = exports.AppointmentFileGroupBySchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +const AppointmentFileOrderByWithAggregationInput_schema_1 = require("./objects/AppointmentFileOrderByWithAggregationInput.schema"); +const AppointmentFileScalarWhereWithAggregatesInput_schema_1 = require("./objects/AppointmentFileScalarWhereWithAggregatesInput.schema"); +const AppointmentFileScalarFieldEnum_schema_1 = require("./enums/AppointmentFileScalarFieldEnum.schema"); +const AppointmentFileCountAggregateInput_schema_1 = require("./objects/AppointmentFileCountAggregateInput.schema"); +const AppointmentFileMinAggregateInput_schema_1 = require("./objects/AppointmentFileMinAggregateInput.schema"); +const AppointmentFileMaxAggregateInput_schema_1 = require("./objects/AppointmentFileMaxAggregateInput.schema"); +const AppointmentFileAvgAggregateInput_schema_1 = require("./objects/AppointmentFileAvgAggregateInput.schema"); +const AppointmentFileSumAggregateInput_schema_1 = require("./objects/AppointmentFileSumAggregateInput.schema"); +exports.AppointmentFileGroupBySchema = z.object({ where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), orderBy: z.union([AppointmentFileOrderByWithAggregationInput_schema_1.AppointmentFileOrderByWithAggregationInputObjectSchema, AppointmentFileOrderByWithAggregationInput_schema_1.AppointmentFileOrderByWithAggregationInputObjectSchema.array()]).optional(), having: AppointmentFileScalarWhereWithAggregatesInput_schema_1.AppointmentFileScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema), _count: z.union([z.literal(true), AppointmentFileCountAggregateInput_schema_1.AppointmentFileCountAggregateInputObjectSchema]).optional(), _min: AppointmentFileMinAggregateInput_schema_1.AppointmentFileMinAggregateInputObjectSchema.optional(), _max: AppointmentFileMaxAggregateInput_schema_1.AppointmentFileMaxAggregateInputObjectSchema.optional(), _avg: AppointmentFileAvgAggregateInput_schema_1.AppointmentFileAvgAggregateInputObjectSchema.optional(), _sum: AppointmentFileSumAggregateInput_schema_1.AppointmentFileSumAggregateInputObjectSchema.optional() }).strict(); +exports.AppointmentFileGroupByZodSchema = z.object({ where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional(), orderBy: z.union([AppointmentFileOrderByWithAggregationInput_schema_1.AppointmentFileOrderByWithAggregationInputObjectSchema, AppointmentFileOrderByWithAggregationInput_schema_1.AppointmentFileOrderByWithAggregationInputObjectSchema.array()]).optional(), having: AppointmentFileScalarWhereWithAggregatesInput_schema_1.AppointmentFileScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(AppointmentFileScalarFieldEnum_schema_1.AppointmentFileScalarFieldEnumSchema), _count: z.union([z.literal(true), AppointmentFileCountAggregateInput_schema_1.AppointmentFileCountAggregateInputObjectSchema]).optional(), _min: AppointmentFileMinAggregateInput_schema_1.AppointmentFileMinAggregateInputObjectSchema.optional(), _max: AppointmentFileMaxAggregateInput_schema_1.AppointmentFileMaxAggregateInputObjectSchema.optional(), _avg: AppointmentFileAvgAggregateInput_schema_1.AppointmentFileAvgAggregateInputObjectSchema.optional(), _sum: AppointmentFileSumAggregateInput_schema_1.AppointmentFileSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByCommissionBatch.schema.js b/packages/db/shared/schemas/groupByCommissionBatch.schema.js new file mode 100644 index 00000000..ddb7e5c8 --- /dev/null +++ b/packages/db/shared/schemas/groupByCommissionBatch.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchGroupByZodSchema = exports.CommissionBatchGroupBySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +const CommissionBatchOrderByWithAggregationInput_schema_1 = require("./objects/CommissionBatchOrderByWithAggregationInput.schema"); +const CommissionBatchScalarWhereWithAggregatesInput_schema_1 = require("./objects/CommissionBatchScalarWhereWithAggregatesInput.schema"); +const CommissionBatchScalarFieldEnum_schema_1 = require("./enums/CommissionBatchScalarFieldEnum.schema"); +const CommissionBatchCountAggregateInput_schema_1 = require("./objects/CommissionBatchCountAggregateInput.schema"); +const CommissionBatchMinAggregateInput_schema_1 = require("./objects/CommissionBatchMinAggregateInput.schema"); +const CommissionBatchMaxAggregateInput_schema_1 = require("./objects/CommissionBatchMaxAggregateInput.schema"); +const CommissionBatchAvgAggregateInput_schema_1 = require("./objects/CommissionBatchAvgAggregateInput.schema"); +const CommissionBatchSumAggregateInput_schema_1 = require("./objects/CommissionBatchSumAggregateInput.schema"); +exports.CommissionBatchGroupBySchema = z.object({ where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), orderBy: z.union([CommissionBatchOrderByWithAggregationInput_schema_1.CommissionBatchOrderByWithAggregationInputObjectSchema, CommissionBatchOrderByWithAggregationInput_schema_1.CommissionBatchOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CommissionBatchScalarWhereWithAggregatesInput_schema_1.CommissionBatchScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema), _count: z.union([z.literal(true), CommissionBatchCountAggregateInput_schema_1.CommissionBatchCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchMinAggregateInput_schema_1.CommissionBatchMinAggregateInputObjectSchema.optional(), _max: CommissionBatchMaxAggregateInput_schema_1.CommissionBatchMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchAvgAggregateInput_schema_1.CommissionBatchAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchSumAggregateInput_schema_1.CommissionBatchSumAggregateInputObjectSchema.optional() }).strict(); +exports.CommissionBatchGroupByZodSchema = z.object({ where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional(), orderBy: z.union([CommissionBatchOrderByWithAggregationInput_schema_1.CommissionBatchOrderByWithAggregationInputObjectSchema, CommissionBatchOrderByWithAggregationInput_schema_1.CommissionBatchOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CommissionBatchScalarWhereWithAggregatesInput_schema_1.CommissionBatchScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CommissionBatchScalarFieldEnum_schema_1.CommissionBatchScalarFieldEnumSchema), _count: z.union([z.literal(true), CommissionBatchCountAggregateInput_schema_1.CommissionBatchCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchMinAggregateInput_schema_1.CommissionBatchMinAggregateInputObjectSchema.optional(), _max: CommissionBatchMaxAggregateInput_schema_1.CommissionBatchMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchAvgAggregateInput_schema_1.CommissionBatchAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchSumAggregateInput_schema_1.CommissionBatchSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByCommissionBatchItem.schema.js b/packages/db/shared/schemas/groupByCommissionBatchItem.schema.js new file mode 100644 index 00000000..c9c381fe --- /dev/null +++ b/packages/db/shared/schemas/groupByCommissionBatchItem.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemGroupByZodSchema = exports.CommissionBatchItemGroupBySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +const CommissionBatchItemOrderByWithAggregationInput_schema_1 = require("./objects/CommissionBatchItemOrderByWithAggregationInput.schema"); +const CommissionBatchItemScalarWhereWithAggregatesInput_schema_1 = require("./objects/CommissionBatchItemScalarWhereWithAggregatesInput.schema"); +const CommissionBatchItemScalarFieldEnum_schema_1 = require("./enums/CommissionBatchItemScalarFieldEnum.schema"); +const CommissionBatchItemCountAggregateInput_schema_1 = require("./objects/CommissionBatchItemCountAggregateInput.schema"); +const CommissionBatchItemMinAggregateInput_schema_1 = require("./objects/CommissionBatchItemMinAggregateInput.schema"); +const CommissionBatchItemMaxAggregateInput_schema_1 = require("./objects/CommissionBatchItemMaxAggregateInput.schema"); +const CommissionBatchItemAvgAggregateInput_schema_1 = require("./objects/CommissionBatchItemAvgAggregateInput.schema"); +const CommissionBatchItemSumAggregateInput_schema_1 = require("./objects/CommissionBatchItemSumAggregateInput.schema"); +exports.CommissionBatchItemGroupBySchema = z.object({ where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), orderBy: z.union([CommissionBatchItemOrderByWithAggregationInput_schema_1.CommissionBatchItemOrderByWithAggregationInputObjectSchema, CommissionBatchItemOrderByWithAggregationInput_schema_1.CommissionBatchItemOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CommissionBatchItemScalarWhereWithAggregatesInput_schema_1.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema), _count: z.union([z.literal(true), CommissionBatchItemCountAggregateInput_schema_1.CommissionBatchItemCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchItemMinAggregateInput_schema_1.CommissionBatchItemMinAggregateInputObjectSchema.optional(), _max: CommissionBatchItemMaxAggregateInput_schema_1.CommissionBatchItemMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchItemAvgAggregateInput_schema_1.CommissionBatchItemAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchItemSumAggregateInput_schema_1.CommissionBatchItemSumAggregateInputObjectSchema.optional() }).strict(); +exports.CommissionBatchItemGroupByZodSchema = z.object({ where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional(), orderBy: z.union([CommissionBatchItemOrderByWithAggregationInput_schema_1.CommissionBatchItemOrderByWithAggregationInputObjectSchema, CommissionBatchItemOrderByWithAggregationInput_schema_1.CommissionBatchItemOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CommissionBatchItemScalarWhereWithAggregatesInput_schema_1.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CommissionBatchItemScalarFieldEnum_schema_1.CommissionBatchItemScalarFieldEnumSchema), _count: z.union([z.literal(true), CommissionBatchItemCountAggregateInput_schema_1.CommissionBatchItemCountAggregateInputObjectSchema]).optional(), _min: CommissionBatchItemMinAggregateInput_schema_1.CommissionBatchItemMinAggregateInputObjectSchema.optional(), _max: CommissionBatchItemMaxAggregateInput_schema_1.CommissionBatchItemMaxAggregateInputObjectSchema.optional(), _avg: CommissionBatchItemAvgAggregateInput_schema_1.CommissionBatchItemAvgAggregateInputObjectSchema.optional(), _sum: CommissionBatchItemSumAggregateInput_schema_1.CommissionBatchItemSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByInsuranceContact.schema.js b/packages/db/shared/schemas/groupByInsuranceContact.schema.js new file mode 100644 index 00000000..4de33749 --- /dev/null +++ b/packages/db/shared/schemas/groupByInsuranceContact.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactGroupByZodSchema = exports.InsuranceContactGroupBySchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +const InsuranceContactOrderByWithAggregationInput_schema_1 = require("./objects/InsuranceContactOrderByWithAggregationInput.schema"); +const InsuranceContactScalarWhereWithAggregatesInput_schema_1 = require("./objects/InsuranceContactScalarWhereWithAggregatesInput.schema"); +const InsuranceContactScalarFieldEnum_schema_1 = require("./enums/InsuranceContactScalarFieldEnum.schema"); +const InsuranceContactCountAggregateInput_schema_1 = require("./objects/InsuranceContactCountAggregateInput.schema"); +const InsuranceContactMinAggregateInput_schema_1 = require("./objects/InsuranceContactMinAggregateInput.schema"); +const InsuranceContactMaxAggregateInput_schema_1 = require("./objects/InsuranceContactMaxAggregateInput.schema"); +const InsuranceContactAvgAggregateInput_schema_1 = require("./objects/InsuranceContactAvgAggregateInput.schema"); +const InsuranceContactSumAggregateInput_schema_1 = require("./objects/InsuranceContactSumAggregateInput.schema"); +exports.InsuranceContactGroupBySchema = z.object({ where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), orderBy: z.union([InsuranceContactOrderByWithAggregationInput_schema_1.InsuranceContactOrderByWithAggregationInputObjectSchema, InsuranceContactOrderByWithAggregationInput_schema_1.InsuranceContactOrderByWithAggregationInputObjectSchema.array()]).optional(), having: InsuranceContactScalarWhereWithAggregatesInput_schema_1.InsuranceContactScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema), _count: z.union([z.literal(true), InsuranceContactCountAggregateInput_schema_1.InsuranceContactCountAggregateInputObjectSchema]).optional(), _min: InsuranceContactMinAggregateInput_schema_1.InsuranceContactMinAggregateInputObjectSchema.optional(), _max: InsuranceContactMaxAggregateInput_schema_1.InsuranceContactMaxAggregateInputObjectSchema.optional(), _avg: InsuranceContactAvgAggregateInput_schema_1.InsuranceContactAvgAggregateInputObjectSchema.optional(), _sum: InsuranceContactSumAggregateInput_schema_1.InsuranceContactSumAggregateInputObjectSchema.optional() }).strict(); +exports.InsuranceContactGroupByZodSchema = z.object({ where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional(), orderBy: z.union([InsuranceContactOrderByWithAggregationInput_schema_1.InsuranceContactOrderByWithAggregationInputObjectSchema, InsuranceContactOrderByWithAggregationInput_schema_1.InsuranceContactOrderByWithAggregationInputObjectSchema.array()]).optional(), having: InsuranceContactScalarWhereWithAggregatesInput_schema_1.InsuranceContactScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(InsuranceContactScalarFieldEnum_schema_1.InsuranceContactScalarFieldEnumSchema), _count: z.union([z.literal(true), InsuranceContactCountAggregateInput_schema_1.InsuranceContactCountAggregateInputObjectSchema]).optional(), _min: InsuranceContactMinAggregateInput_schema_1.InsuranceContactMinAggregateInputObjectSchema.optional(), _max: InsuranceContactMaxAggregateInput_schema_1.InsuranceContactMaxAggregateInputObjectSchema.optional(), _avg: InsuranceContactAvgAggregateInput_schema_1.InsuranceContactAvgAggregateInputObjectSchema.optional(), _sum: InsuranceContactSumAggregateInput_schema_1.InsuranceContactSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByOfficeContact.schema.js b/packages/db/shared/schemas/groupByOfficeContact.schema.js new file mode 100644 index 00000000..e04c7f0a --- /dev/null +++ b/packages/db/shared/schemas/groupByOfficeContact.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactGroupByZodSchema = exports.OfficeContactGroupBySchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +const OfficeContactOrderByWithAggregationInput_schema_1 = require("./objects/OfficeContactOrderByWithAggregationInput.schema"); +const OfficeContactScalarWhereWithAggregatesInput_schema_1 = require("./objects/OfficeContactScalarWhereWithAggregatesInput.schema"); +const OfficeContactScalarFieldEnum_schema_1 = require("./enums/OfficeContactScalarFieldEnum.schema"); +const OfficeContactCountAggregateInput_schema_1 = require("./objects/OfficeContactCountAggregateInput.schema"); +const OfficeContactMinAggregateInput_schema_1 = require("./objects/OfficeContactMinAggregateInput.schema"); +const OfficeContactMaxAggregateInput_schema_1 = require("./objects/OfficeContactMaxAggregateInput.schema"); +const OfficeContactAvgAggregateInput_schema_1 = require("./objects/OfficeContactAvgAggregateInput.schema"); +const OfficeContactSumAggregateInput_schema_1 = require("./objects/OfficeContactSumAggregateInput.schema"); +exports.OfficeContactGroupBySchema = z.object({ where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), orderBy: z.union([OfficeContactOrderByWithAggregationInput_schema_1.OfficeContactOrderByWithAggregationInputObjectSchema, OfficeContactOrderByWithAggregationInput_schema_1.OfficeContactOrderByWithAggregationInputObjectSchema.array()]).optional(), having: OfficeContactScalarWhereWithAggregatesInput_schema_1.OfficeContactScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema), _count: z.union([z.literal(true), OfficeContactCountAggregateInput_schema_1.OfficeContactCountAggregateInputObjectSchema]).optional(), _min: OfficeContactMinAggregateInput_schema_1.OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInput_schema_1.OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInput_schema_1.OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInput_schema_1.OfficeContactSumAggregateInputObjectSchema.optional() }).strict(); +exports.OfficeContactGroupByZodSchema = z.object({ where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional(), orderBy: z.union([OfficeContactOrderByWithAggregationInput_schema_1.OfficeContactOrderByWithAggregationInputObjectSchema, OfficeContactOrderByWithAggregationInput_schema_1.OfficeContactOrderByWithAggregationInputObjectSchema.array()]).optional(), having: OfficeContactScalarWhereWithAggregatesInput_schema_1.OfficeContactScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(OfficeContactScalarFieldEnum_schema_1.OfficeContactScalarFieldEnumSchema), _count: z.union([z.literal(true), OfficeContactCountAggregateInput_schema_1.OfficeContactCountAggregateInputObjectSchema]).optional(), _min: OfficeContactMinAggregateInput_schema_1.OfficeContactMinAggregateInputObjectSchema.optional(), _max: OfficeContactMaxAggregateInput_schema_1.OfficeContactMaxAggregateInputObjectSchema.optional(), _avg: OfficeContactAvgAggregateInput_schema_1.OfficeContactAvgAggregateInputObjectSchema.optional(), _sum: OfficeContactSumAggregateInput_schema_1.OfficeContactSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByOfficeHours.schema.js b/packages/db/shared/schemas/groupByOfficeHours.schema.js new file mode 100644 index 00000000..7daeafa6 --- /dev/null +++ b/packages/db/shared/schemas/groupByOfficeHours.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursGroupByZodSchema = exports.OfficeHoursGroupBySchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +const OfficeHoursOrderByWithAggregationInput_schema_1 = require("./objects/OfficeHoursOrderByWithAggregationInput.schema"); +const OfficeHoursScalarWhereWithAggregatesInput_schema_1 = require("./objects/OfficeHoursScalarWhereWithAggregatesInput.schema"); +const OfficeHoursScalarFieldEnum_schema_1 = require("./enums/OfficeHoursScalarFieldEnum.schema"); +const OfficeHoursCountAggregateInput_schema_1 = require("./objects/OfficeHoursCountAggregateInput.schema"); +const OfficeHoursMinAggregateInput_schema_1 = require("./objects/OfficeHoursMinAggregateInput.schema"); +const OfficeHoursMaxAggregateInput_schema_1 = require("./objects/OfficeHoursMaxAggregateInput.schema"); +const OfficeHoursAvgAggregateInput_schema_1 = require("./objects/OfficeHoursAvgAggregateInput.schema"); +const OfficeHoursSumAggregateInput_schema_1 = require("./objects/OfficeHoursSumAggregateInput.schema"); +exports.OfficeHoursGroupBySchema = z.object({ where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), orderBy: z.union([OfficeHoursOrderByWithAggregationInput_schema_1.OfficeHoursOrderByWithAggregationInputObjectSchema, OfficeHoursOrderByWithAggregationInput_schema_1.OfficeHoursOrderByWithAggregationInputObjectSchema.array()]).optional(), having: OfficeHoursScalarWhereWithAggregatesInput_schema_1.OfficeHoursScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema), _count: z.union([z.literal(true), OfficeHoursCountAggregateInput_schema_1.OfficeHoursCountAggregateInputObjectSchema]).optional(), _min: OfficeHoursMinAggregateInput_schema_1.OfficeHoursMinAggregateInputObjectSchema.optional(), _max: OfficeHoursMaxAggregateInput_schema_1.OfficeHoursMaxAggregateInputObjectSchema.optional(), _avg: OfficeHoursAvgAggregateInput_schema_1.OfficeHoursAvgAggregateInputObjectSchema.optional(), _sum: OfficeHoursSumAggregateInput_schema_1.OfficeHoursSumAggregateInputObjectSchema.optional() }).strict(); +exports.OfficeHoursGroupByZodSchema = z.object({ where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional(), orderBy: z.union([OfficeHoursOrderByWithAggregationInput_schema_1.OfficeHoursOrderByWithAggregationInputObjectSchema, OfficeHoursOrderByWithAggregationInput_schema_1.OfficeHoursOrderByWithAggregationInputObjectSchema.array()]).optional(), having: OfficeHoursScalarWhereWithAggregatesInput_schema_1.OfficeHoursScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(OfficeHoursScalarFieldEnum_schema_1.OfficeHoursScalarFieldEnumSchema), _count: z.union([z.literal(true), OfficeHoursCountAggregateInput_schema_1.OfficeHoursCountAggregateInputObjectSchema]).optional(), _min: OfficeHoursMinAggregateInput_schema_1.OfficeHoursMinAggregateInputObjectSchema.optional(), _max: OfficeHoursMaxAggregateInput_schema_1.OfficeHoursMaxAggregateInputObjectSchema.optional(), _avg: OfficeHoursAvgAggregateInput_schema_1.OfficeHoursAvgAggregateInputObjectSchema.optional(), _sum: OfficeHoursSumAggregateInput_schema_1.OfficeHoursSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByPatientConversation.schema.js b/packages/db/shared/schemas/groupByPatientConversation.schema.js new file mode 100644 index 00000000..92ed799e --- /dev/null +++ b/packages/db/shared/schemas/groupByPatientConversation.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationGroupByZodSchema = exports.PatientConversationGroupBySchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +const PatientConversationOrderByWithAggregationInput_schema_1 = require("./objects/PatientConversationOrderByWithAggregationInput.schema"); +const PatientConversationScalarWhereWithAggregatesInput_schema_1 = require("./objects/PatientConversationScalarWhereWithAggregatesInput.schema"); +const PatientConversationScalarFieldEnum_schema_1 = require("./enums/PatientConversationScalarFieldEnum.schema"); +const PatientConversationCountAggregateInput_schema_1 = require("./objects/PatientConversationCountAggregateInput.schema"); +const PatientConversationMinAggregateInput_schema_1 = require("./objects/PatientConversationMinAggregateInput.schema"); +const PatientConversationMaxAggregateInput_schema_1 = require("./objects/PatientConversationMaxAggregateInput.schema"); +const PatientConversationAvgAggregateInput_schema_1 = require("./objects/PatientConversationAvgAggregateInput.schema"); +const PatientConversationSumAggregateInput_schema_1 = require("./objects/PatientConversationSumAggregateInput.schema"); +exports.PatientConversationGroupBySchema = z.object({ where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), orderBy: z.union([PatientConversationOrderByWithAggregationInput_schema_1.PatientConversationOrderByWithAggregationInputObjectSchema, PatientConversationOrderByWithAggregationInput_schema_1.PatientConversationOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PatientConversationScalarWhereWithAggregatesInput_schema_1.PatientConversationScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema), _count: z.union([z.literal(true), PatientConversationCountAggregateInput_schema_1.PatientConversationCountAggregateInputObjectSchema]).optional(), _min: PatientConversationMinAggregateInput_schema_1.PatientConversationMinAggregateInputObjectSchema.optional(), _max: PatientConversationMaxAggregateInput_schema_1.PatientConversationMaxAggregateInputObjectSchema.optional(), _avg: PatientConversationAvgAggregateInput_schema_1.PatientConversationAvgAggregateInputObjectSchema.optional(), _sum: PatientConversationSumAggregateInput_schema_1.PatientConversationSumAggregateInputObjectSchema.optional() }).strict(); +exports.PatientConversationGroupByZodSchema = z.object({ where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional(), orderBy: z.union([PatientConversationOrderByWithAggregationInput_schema_1.PatientConversationOrderByWithAggregationInputObjectSchema, PatientConversationOrderByWithAggregationInput_schema_1.PatientConversationOrderByWithAggregationInputObjectSchema.array()]).optional(), having: PatientConversationScalarWhereWithAggregatesInput_schema_1.PatientConversationScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(PatientConversationScalarFieldEnum_schema_1.PatientConversationScalarFieldEnumSchema), _count: z.union([z.literal(true), PatientConversationCountAggregateInput_schema_1.PatientConversationCountAggregateInputObjectSchema]).optional(), _min: PatientConversationMinAggregateInput_schema_1.PatientConversationMinAggregateInputObjectSchema.optional(), _max: PatientConversationMaxAggregateInput_schema_1.PatientConversationMaxAggregateInputObjectSchema.optional(), _avg: PatientConversationAvgAggregateInput_schema_1.PatientConversationAvgAggregateInputObjectSchema.optional(), _sum: PatientConversationSumAggregateInput_schema_1.PatientConversationSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByProcedureTimeslot.schema.js b/packages/db/shared/schemas/groupByProcedureTimeslot.schema.js new file mode 100644 index 00000000..70e2cc8b --- /dev/null +++ b/packages/db/shared/schemas/groupByProcedureTimeslot.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotGroupByZodSchema = exports.ProcedureTimeslotGroupBySchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotOrderByWithAggregationInput_schema_1 = require("./objects/ProcedureTimeslotOrderByWithAggregationInput.schema"); +const ProcedureTimeslotScalarWhereWithAggregatesInput_schema_1 = require("./objects/ProcedureTimeslotScalarWhereWithAggregatesInput.schema"); +const ProcedureTimeslotScalarFieldEnum_schema_1 = require("./enums/ProcedureTimeslotScalarFieldEnum.schema"); +const ProcedureTimeslotCountAggregateInput_schema_1 = require("./objects/ProcedureTimeslotCountAggregateInput.schema"); +const ProcedureTimeslotMinAggregateInput_schema_1 = require("./objects/ProcedureTimeslotMinAggregateInput.schema"); +const ProcedureTimeslotMaxAggregateInput_schema_1 = require("./objects/ProcedureTimeslotMaxAggregateInput.schema"); +const ProcedureTimeslotAvgAggregateInput_schema_1 = require("./objects/ProcedureTimeslotAvgAggregateInput.schema"); +const ProcedureTimeslotSumAggregateInput_schema_1 = require("./objects/ProcedureTimeslotSumAggregateInput.schema"); +exports.ProcedureTimeslotGroupBySchema = z.object({ where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), orderBy: z.union([ProcedureTimeslotOrderByWithAggregationInput_schema_1.ProcedureTimeslotOrderByWithAggregationInputObjectSchema, ProcedureTimeslotOrderByWithAggregationInput_schema_1.ProcedureTimeslotOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ProcedureTimeslotScalarWhereWithAggregatesInput_schema_1.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema), _count: z.union([z.literal(true), ProcedureTimeslotCountAggregateInput_schema_1.ProcedureTimeslotCountAggregateInputObjectSchema]).optional(), _min: ProcedureTimeslotMinAggregateInput_schema_1.ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInput_schema_1.ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInput_schema_1.ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInput_schema_1.ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict(); +exports.ProcedureTimeslotGroupByZodSchema = z.object({ where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional(), orderBy: z.union([ProcedureTimeslotOrderByWithAggregationInput_schema_1.ProcedureTimeslotOrderByWithAggregationInputObjectSchema, ProcedureTimeslotOrderByWithAggregationInput_schema_1.ProcedureTimeslotOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ProcedureTimeslotScalarWhereWithAggregatesInput_schema_1.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ProcedureTimeslotScalarFieldEnum_schema_1.ProcedureTimeslotScalarFieldEnumSchema), _count: z.union([z.literal(true), ProcedureTimeslotCountAggregateInput_schema_1.ProcedureTimeslotCountAggregateInputObjectSchema]).optional(), _min: ProcedureTimeslotMinAggregateInput_schema_1.ProcedureTimeslotMinAggregateInputObjectSchema.optional(), _max: ProcedureTimeslotMaxAggregateInput_schema_1.ProcedureTimeslotMaxAggregateInputObjectSchema.optional(), _avg: ProcedureTimeslotAvgAggregateInput_schema_1.ProcedureTimeslotAvgAggregateInputObjectSchema.optional(), _sum: ProcedureTimeslotSumAggregateInput_schema_1.ProcedureTimeslotSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByShoppingVendor.schema.js b/packages/db/shared/schemas/groupByShoppingVendor.schema.js new file mode 100644 index 00000000..533ff27e --- /dev/null +++ b/packages/db/shared/schemas/groupByShoppingVendor.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorGroupByZodSchema = exports.ShoppingVendorGroupBySchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +const ShoppingVendorOrderByWithAggregationInput_schema_1 = require("./objects/ShoppingVendorOrderByWithAggregationInput.schema"); +const ShoppingVendorScalarWhereWithAggregatesInput_schema_1 = require("./objects/ShoppingVendorScalarWhereWithAggregatesInput.schema"); +const ShoppingVendorScalarFieldEnum_schema_1 = require("./enums/ShoppingVendorScalarFieldEnum.schema"); +const ShoppingVendorCountAggregateInput_schema_1 = require("./objects/ShoppingVendorCountAggregateInput.schema"); +const ShoppingVendorMinAggregateInput_schema_1 = require("./objects/ShoppingVendorMinAggregateInput.schema"); +const ShoppingVendorMaxAggregateInput_schema_1 = require("./objects/ShoppingVendorMaxAggregateInput.schema"); +const ShoppingVendorAvgAggregateInput_schema_1 = require("./objects/ShoppingVendorAvgAggregateInput.schema"); +const ShoppingVendorSumAggregateInput_schema_1 = require("./objects/ShoppingVendorSumAggregateInput.schema"); +exports.ShoppingVendorGroupBySchema = z.object({ where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), orderBy: z.union([ShoppingVendorOrderByWithAggregationInput_schema_1.ShoppingVendorOrderByWithAggregationInputObjectSchema, ShoppingVendorOrderByWithAggregationInput_schema_1.ShoppingVendorOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ShoppingVendorScalarWhereWithAggregatesInput_schema_1.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema), _count: z.union([z.literal(true), ShoppingVendorCountAggregateInput_schema_1.ShoppingVendorCountAggregateInputObjectSchema]).optional(), _min: ShoppingVendorMinAggregateInput_schema_1.ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInput_schema_1.ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInput_schema_1.ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInput_schema_1.ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict(); +exports.ShoppingVendorGroupByZodSchema = z.object({ where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional(), orderBy: z.union([ShoppingVendorOrderByWithAggregationInput_schema_1.ShoppingVendorOrderByWithAggregationInputObjectSchema, ShoppingVendorOrderByWithAggregationInput_schema_1.ShoppingVendorOrderByWithAggregationInputObjectSchema.array()]).optional(), having: ShoppingVendorScalarWhereWithAggregatesInput_schema_1.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(ShoppingVendorScalarFieldEnum_schema_1.ShoppingVendorScalarFieldEnumSchema), _count: z.union([z.literal(true), ShoppingVendorCountAggregateInput_schema_1.ShoppingVendorCountAggregateInputObjectSchema]).optional(), _min: ShoppingVendorMinAggregateInput_schema_1.ShoppingVendorMinAggregateInputObjectSchema.optional(), _max: ShoppingVendorMaxAggregateInput_schema_1.ShoppingVendorMaxAggregateInputObjectSchema.optional(), _avg: ShoppingVendorAvgAggregateInput_schema_1.ShoppingVendorAvgAggregateInputObjectSchema.optional(), _sum: ShoppingVendorSumAggregateInput_schema_1.ShoppingVendorSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/groupByTwilioSettings.schema.js b/packages/db/shared/schemas/groupByTwilioSettings.schema.js new file mode 100644 index 00000000..211f81af --- /dev/null +++ b/packages/db/shared/schemas/groupByTwilioSettings.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsGroupByZodSchema = exports.TwilioSettingsGroupBySchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +const TwilioSettingsOrderByWithAggregationInput_schema_1 = require("./objects/TwilioSettingsOrderByWithAggregationInput.schema"); +const TwilioSettingsScalarWhereWithAggregatesInput_schema_1 = require("./objects/TwilioSettingsScalarWhereWithAggregatesInput.schema"); +const TwilioSettingsScalarFieldEnum_schema_1 = require("./enums/TwilioSettingsScalarFieldEnum.schema"); +const TwilioSettingsCountAggregateInput_schema_1 = require("./objects/TwilioSettingsCountAggregateInput.schema"); +const TwilioSettingsMinAggregateInput_schema_1 = require("./objects/TwilioSettingsMinAggregateInput.schema"); +const TwilioSettingsMaxAggregateInput_schema_1 = require("./objects/TwilioSettingsMaxAggregateInput.schema"); +const TwilioSettingsAvgAggregateInput_schema_1 = require("./objects/TwilioSettingsAvgAggregateInput.schema"); +const TwilioSettingsSumAggregateInput_schema_1 = require("./objects/TwilioSettingsSumAggregateInput.schema"); +exports.TwilioSettingsGroupBySchema = z.object({ where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), orderBy: z.union([TwilioSettingsOrderByWithAggregationInput_schema_1.TwilioSettingsOrderByWithAggregationInputObjectSchema, TwilioSettingsOrderByWithAggregationInput_schema_1.TwilioSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: TwilioSettingsScalarWhereWithAggregatesInput_schema_1.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema), _count: z.union([z.literal(true), TwilioSettingsCountAggregateInput_schema_1.TwilioSettingsCountAggregateInputObjectSchema]).optional(), _min: TwilioSettingsMinAggregateInput_schema_1.TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInput_schema_1.TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInput_schema_1.TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInput_schema_1.TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict(); +exports.TwilioSettingsGroupByZodSchema = z.object({ where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional(), orderBy: z.union([TwilioSettingsOrderByWithAggregationInput_schema_1.TwilioSettingsOrderByWithAggregationInputObjectSchema, TwilioSettingsOrderByWithAggregationInput_schema_1.TwilioSettingsOrderByWithAggregationInputObjectSchema.array()]).optional(), having: TwilioSettingsScalarWhereWithAggregatesInput_schema_1.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(TwilioSettingsScalarFieldEnum_schema_1.TwilioSettingsScalarFieldEnumSchema), _count: z.union([z.literal(true), TwilioSettingsCountAggregateInput_schema_1.TwilioSettingsCountAggregateInputObjectSchema]).optional(), _min: TwilioSettingsMinAggregateInput_schema_1.TwilioSettingsMinAggregateInputObjectSchema.optional(), _max: TwilioSettingsMaxAggregateInput_schema_1.TwilioSettingsMaxAggregateInputObjectSchema.optional(), _avg: TwilioSettingsAvgAggregateInput_schema_1.TwilioSettingsAvgAggregateInputObjectSchema.optional(), _sum: TwilioSettingsSumAggregateInput_schema_1.TwilioSettingsSumAggregateInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/index.js b/packages/db/shared/schemas/index.js index 118f9b8e..f90b2867 100644 --- a/packages/db/shared/schemas/index.js +++ b/packages/db/shared/schemas/index.js @@ -18,6 +18,7 @@ __exportStar(require("./enums/TransactionIsolationLevel.schema"), exports); __exportStar(require("./enums/UserScalarFieldEnum.schema"), exports); __exportStar(require("./enums/PatientScalarFieldEnum.schema"), exports); __exportStar(require("./enums/AppointmentScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/AppointmentFileScalarFieldEnum.schema"), exports); __exportStar(require("./enums/StaffScalarFieldEnum.schema"), exports); __exportStar(require("./enums/NpiProviderScalarFieldEnum.schema"), exports); __exportStar(require("./enums/AppointmentProcedureScalarFieldEnum.schema"), exports); @@ -25,6 +26,7 @@ __exportStar(require("./enums/ClaimScalarFieldEnum.schema"), exports); __exportStar(require("./enums/ServiceLineScalarFieldEnum.schema"), exports); __exportStar(require("./enums/ClaimFileScalarFieldEnum.schema"), exports); __exportStar(require("./enums/InsuranceCredentialScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/ShoppingVendorScalarFieldEnum.schema"), exports); __exportStar(require("./enums/PdfGroupScalarFieldEnum.schema"), exports); __exportStar(require("./enums/PdfFileScalarFieldEnum.schema"), exports); __exportStar(require("./enums/PaymentScalarFieldEnum.schema"), exports); @@ -38,8 +40,18 @@ __exportStar(require("./enums/CloudFileScalarFieldEnum.schema"), exports); __exportStar(require("./enums/CloudFileChunkScalarFieldEnum.schema"), exports); __exportStar(require("./enums/CommunicationScalarFieldEnum.schema"), exports); __exportStar(require("./enums/PatientDocumentScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/TwilioSettingsScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/AiSettingsScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/OfficeHoursScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/OfficeContactScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/InsuranceContactScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/ProcedureTimeslotScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/PatientConversationScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/CommissionBatchScalarFieldEnum.schema"), exports); +__exportStar(require("./enums/CommissionBatchItemScalarFieldEnum.schema"), exports); __exportStar(require("./enums/SortOrder.schema"), exports); __exportStar(require("./enums/NullableJsonNullValueInput.schema"), exports); +__exportStar(require("./enums/JsonNullValueInput.schema"), exports); __exportStar(require("./enums/QueryMode.schema"), exports); __exportStar(require("./enums/NullsOrder.schema"), exports); __exportStar(require("./enums/JsonNullValueFilter.schema"), exports); @@ -106,6 +118,23 @@ __exportStar(require("./updateManyAndReturnAppointment.schema"), exports); __exportStar(require("./upsertOneAppointment.schema"), exports); __exportStar(require("./aggregateAppointment.schema"), exports); __exportStar(require("./groupByAppointment.schema"), exports); +__exportStar(require("./findUniqueAppointmentFile.schema"), exports); +__exportStar(require("./findUniqueOrThrowAppointmentFile.schema"), exports); +__exportStar(require("./findFirstAppointmentFile.schema"), exports); +__exportStar(require("./findFirstOrThrowAppointmentFile.schema"), exports); +__exportStar(require("./findManyAppointmentFile.schema"), exports); +__exportStar(require("./countAppointmentFile.schema"), exports); +__exportStar(require("./createOneAppointmentFile.schema"), exports); +__exportStar(require("./createManyAppointmentFile.schema"), exports); +__exportStar(require("./createManyAndReturnAppointmentFile.schema"), exports); +__exportStar(require("./deleteOneAppointmentFile.schema"), exports); +__exportStar(require("./deleteManyAppointmentFile.schema"), exports); +__exportStar(require("./updateOneAppointmentFile.schema"), exports); +__exportStar(require("./updateManyAppointmentFile.schema"), exports); +__exportStar(require("./updateManyAndReturnAppointmentFile.schema"), exports); +__exportStar(require("./upsertOneAppointmentFile.schema"), exports); +__exportStar(require("./aggregateAppointmentFile.schema"), exports); +__exportStar(require("./groupByAppointmentFile.schema"), exports); __exportStar(require("./findUniqueStaff.schema"), exports); __exportStar(require("./findUniqueOrThrowStaff.schema"), exports); __exportStar(require("./findFirstStaff.schema"), exports); @@ -225,6 +254,23 @@ __exportStar(require("./updateManyAndReturnInsuranceCredential.schema"), exports __exportStar(require("./upsertOneInsuranceCredential.schema"), exports); __exportStar(require("./aggregateInsuranceCredential.schema"), exports); __exportStar(require("./groupByInsuranceCredential.schema"), exports); +__exportStar(require("./findUniqueShoppingVendor.schema"), exports); +__exportStar(require("./findUniqueOrThrowShoppingVendor.schema"), exports); +__exportStar(require("./findFirstShoppingVendor.schema"), exports); +__exportStar(require("./findFirstOrThrowShoppingVendor.schema"), exports); +__exportStar(require("./findManyShoppingVendor.schema"), exports); +__exportStar(require("./countShoppingVendor.schema"), exports); +__exportStar(require("./createOneShoppingVendor.schema"), exports); +__exportStar(require("./createManyShoppingVendor.schema"), exports); +__exportStar(require("./createManyAndReturnShoppingVendor.schema"), exports); +__exportStar(require("./deleteOneShoppingVendor.schema"), exports); +__exportStar(require("./deleteManyShoppingVendor.schema"), exports); +__exportStar(require("./updateOneShoppingVendor.schema"), exports); +__exportStar(require("./updateManyShoppingVendor.schema"), exports); +__exportStar(require("./updateManyAndReturnShoppingVendor.schema"), exports); +__exportStar(require("./upsertOneShoppingVendor.schema"), exports); +__exportStar(require("./aggregateShoppingVendor.schema"), exports); +__exportStar(require("./groupByShoppingVendor.schema"), exports); __exportStar(require("./findUniquePdfGroup.schema"), exports); __exportStar(require("./findUniqueOrThrowPdfGroup.schema"), exports); __exportStar(require("./findFirstPdfGroup.schema"), exports); @@ -446,6 +492,159 @@ __exportStar(require("./updateManyAndReturnPatientDocument.schema"), exports); __exportStar(require("./upsertOnePatientDocument.schema"), exports); __exportStar(require("./aggregatePatientDocument.schema"), exports); __exportStar(require("./groupByPatientDocument.schema"), exports); +__exportStar(require("./findUniqueTwilioSettings.schema"), exports); +__exportStar(require("./findUniqueOrThrowTwilioSettings.schema"), exports); +__exportStar(require("./findFirstTwilioSettings.schema"), exports); +__exportStar(require("./findFirstOrThrowTwilioSettings.schema"), exports); +__exportStar(require("./findManyTwilioSettings.schema"), exports); +__exportStar(require("./countTwilioSettings.schema"), exports); +__exportStar(require("./createOneTwilioSettings.schema"), exports); +__exportStar(require("./createManyTwilioSettings.schema"), exports); +__exportStar(require("./createManyAndReturnTwilioSettings.schema"), exports); +__exportStar(require("./deleteOneTwilioSettings.schema"), exports); +__exportStar(require("./deleteManyTwilioSettings.schema"), exports); +__exportStar(require("./updateOneTwilioSettings.schema"), exports); +__exportStar(require("./updateManyTwilioSettings.schema"), exports); +__exportStar(require("./updateManyAndReturnTwilioSettings.schema"), exports); +__exportStar(require("./upsertOneTwilioSettings.schema"), exports); +__exportStar(require("./aggregateTwilioSettings.schema"), exports); +__exportStar(require("./groupByTwilioSettings.schema"), exports); +__exportStar(require("./findUniqueAiSettings.schema"), exports); +__exportStar(require("./findUniqueOrThrowAiSettings.schema"), exports); +__exportStar(require("./findFirstAiSettings.schema"), exports); +__exportStar(require("./findFirstOrThrowAiSettings.schema"), exports); +__exportStar(require("./findManyAiSettings.schema"), exports); +__exportStar(require("./countAiSettings.schema"), exports); +__exportStar(require("./createOneAiSettings.schema"), exports); +__exportStar(require("./createManyAiSettings.schema"), exports); +__exportStar(require("./createManyAndReturnAiSettings.schema"), exports); +__exportStar(require("./deleteOneAiSettings.schema"), exports); +__exportStar(require("./deleteManyAiSettings.schema"), exports); +__exportStar(require("./updateOneAiSettings.schema"), exports); +__exportStar(require("./updateManyAiSettings.schema"), exports); +__exportStar(require("./updateManyAndReturnAiSettings.schema"), exports); +__exportStar(require("./upsertOneAiSettings.schema"), exports); +__exportStar(require("./aggregateAiSettings.schema"), exports); +__exportStar(require("./groupByAiSettings.schema"), exports); +__exportStar(require("./findUniqueOfficeHours.schema"), exports); +__exportStar(require("./findUniqueOrThrowOfficeHours.schema"), exports); +__exportStar(require("./findFirstOfficeHours.schema"), exports); +__exportStar(require("./findFirstOrThrowOfficeHours.schema"), exports); +__exportStar(require("./findManyOfficeHours.schema"), exports); +__exportStar(require("./countOfficeHours.schema"), exports); +__exportStar(require("./createOneOfficeHours.schema"), exports); +__exportStar(require("./createManyOfficeHours.schema"), exports); +__exportStar(require("./createManyAndReturnOfficeHours.schema"), exports); +__exportStar(require("./deleteOneOfficeHours.schema"), exports); +__exportStar(require("./deleteManyOfficeHours.schema"), exports); +__exportStar(require("./updateOneOfficeHours.schema"), exports); +__exportStar(require("./updateManyOfficeHours.schema"), exports); +__exportStar(require("./updateManyAndReturnOfficeHours.schema"), exports); +__exportStar(require("./upsertOneOfficeHours.schema"), exports); +__exportStar(require("./aggregateOfficeHours.schema"), exports); +__exportStar(require("./groupByOfficeHours.schema"), exports); +__exportStar(require("./findUniqueOfficeContact.schema"), exports); +__exportStar(require("./findUniqueOrThrowOfficeContact.schema"), exports); +__exportStar(require("./findFirstOfficeContact.schema"), exports); +__exportStar(require("./findFirstOrThrowOfficeContact.schema"), exports); +__exportStar(require("./findManyOfficeContact.schema"), exports); +__exportStar(require("./countOfficeContact.schema"), exports); +__exportStar(require("./createOneOfficeContact.schema"), exports); +__exportStar(require("./createManyOfficeContact.schema"), exports); +__exportStar(require("./createManyAndReturnOfficeContact.schema"), exports); +__exportStar(require("./deleteOneOfficeContact.schema"), exports); +__exportStar(require("./deleteManyOfficeContact.schema"), exports); +__exportStar(require("./updateOneOfficeContact.schema"), exports); +__exportStar(require("./updateManyOfficeContact.schema"), exports); +__exportStar(require("./updateManyAndReturnOfficeContact.schema"), exports); +__exportStar(require("./upsertOneOfficeContact.schema"), exports); +__exportStar(require("./aggregateOfficeContact.schema"), exports); +__exportStar(require("./groupByOfficeContact.schema"), exports); +__exportStar(require("./findUniqueInsuranceContact.schema"), exports); +__exportStar(require("./findUniqueOrThrowInsuranceContact.schema"), exports); +__exportStar(require("./findFirstInsuranceContact.schema"), exports); +__exportStar(require("./findFirstOrThrowInsuranceContact.schema"), exports); +__exportStar(require("./findManyInsuranceContact.schema"), exports); +__exportStar(require("./countInsuranceContact.schema"), exports); +__exportStar(require("./createOneInsuranceContact.schema"), exports); +__exportStar(require("./createManyInsuranceContact.schema"), exports); +__exportStar(require("./createManyAndReturnInsuranceContact.schema"), exports); +__exportStar(require("./deleteOneInsuranceContact.schema"), exports); +__exportStar(require("./deleteManyInsuranceContact.schema"), exports); +__exportStar(require("./updateOneInsuranceContact.schema"), exports); +__exportStar(require("./updateManyInsuranceContact.schema"), exports); +__exportStar(require("./updateManyAndReturnInsuranceContact.schema"), exports); +__exportStar(require("./upsertOneInsuranceContact.schema"), exports); +__exportStar(require("./aggregateInsuranceContact.schema"), exports); +__exportStar(require("./groupByInsuranceContact.schema"), exports); +__exportStar(require("./findUniqueProcedureTimeslot.schema"), exports); +__exportStar(require("./findUniqueOrThrowProcedureTimeslot.schema"), exports); +__exportStar(require("./findFirstProcedureTimeslot.schema"), exports); +__exportStar(require("./findFirstOrThrowProcedureTimeslot.schema"), exports); +__exportStar(require("./findManyProcedureTimeslot.schema"), exports); +__exportStar(require("./countProcedureTimeslot.schema"), exports); +__exportStar(require("./createOneProcedureTimeslot.schema"), exports); +__exportStar(require("./createManyProcedureTimeslot.schema"), exports); +__exportStar(require("./createManyAndReturnProcedureTimeslot.schema"), exports); +__exportStar(require("./deleteOneProcedureTimeslot.schema"), exports); +__exportStar(require("./deleteManyProcedureTimeslot.schema"), exports); +__exportStar(require("./updateOneProcedureTimeslot.schema"), exports); +__exportStar(require("./updateManyProcedureTimeslot.schema"), exports); +__exportStar(require("./updateManyAndReturnProcedureTimeslot.schema"), exports); +__exportStar(require("./upsertOneProcedureTimeslot.schema"), exports); +__exportStar(require("./aggregateProcedureTimeslot.schema"), exports); +__exportStar(require("./groupByProcedureTimeslot.schema"), exports); +__exportStar(require("./findUniquePatientConversation.schema"), exports); +__exportStar(require("./findUniqueOrThrowPatientConversation.schema"), exports); +__exportStar(require("./findFirstPatientConversation.schema"), exports); +__exportStar(require("./findFirstOrThrowPatientConversation.schema"), exports); +__exportStar(require("./findManyPatientConversation.schema"), exports); +__exportStar(require("./countPatientConversation.schema"), exports); +__exportStar(require("./createOnePatientConversation.schema"), exports); +__exportStar(require("./createManyPatientConversation.schema"), exports); +__exportStar(require("./createManyAndReturnPatientConversation.schema"), exports); +__exportStar(require("./deleteOnePatientConversation.schema"), exports); +__exportStar(require("./deleteManyPatientConversation.schema"), exports); +__exportStar(require("./updateOnePatientConversation.schema"), exports); +__exportStar(require("./updateManyPatientConversation.schema"), exports); +__exportStar(require("./updateManyAndReturnPatientConversation.schema"), exports); +__exportStar(require("./upsertOnePatientConversation.schema"), exports); +__exportStar(require("./aggregatePatientConversation.schema"), exports); +__exportStar(require("./groupByPatientConversation.schema"), exports); +__exportStar(require("./findUniqueCommissionBatch.schema"), exports); +__exportStar(require("./findUniqueOrThrowCommissionBatch.schema"), exports); +__exportStar(require("./findFirstCommissionBatch.schema"), exports); +__exportStar(require("./findFirstOrThrowCommissionBatch.schema"), exports); +__exportStar(require("./findManyCommissionBatch.schema"), exports); +__exportStar(require("./countCommissionBatch.schema"), exports); +__exportStar(require("./createOneCommissionBatch.schema"), exports); +__exportStar(require("./createManyCommissionBatch.schema"), exports); +__exportStar(require("./createManyAndReturnCommissionBatch.schema"), exports); +__exportStar(require("./deleteOneCommissionBatch.schema"), exports); +__exportStar(require("./deleteManyCommissionBatch.schema"), exports); +__exportStar(require("./updateOneCommissionBatch.schema"), exports); +__exportStar(require("./updateManyCommissionBatch.schema"), exports); +__exportStar(require("./updateManyAndReturnCommissionBatch.schema"), exports); +__exportStar(require("./upsertOneCommissionBatch.schema"), exports); +__exportStar(require("./aggregateCommissionBatch.schema"), exports); +__exportStar(require("./groupByCommissionBatch.schema"), exports); +__exportStar(require("./findUniqueCommissionBatchItem.schema"), exports); +__exportStar(require("./findUniqueOrThrowCommissionBatchItem.schema"), exports); +__exportStar(require("./findFirstCommissionBatchItem.schema"), exports); +__exportStar(require("./findFirstOrThrowCommissionBatchItem.schema"), exports); +__exportStar(require("./findManyCommissionBatchItem.schema"), exports); +__exportStar(require("./countCommissionBatchItem.schema"), exports); +__exportStar(require("./createOneCommissionBatchItem.schema"), exports); +__exportStar(require("./createManyCommissionBatchItem.schema"), exports); +__exportStar(require("./createManyAndReturnCommissionBatchItem.schema"), exports); +__exportStar(require("./deleteOneCommissionBatchItem.schema"), exports); +__exportStar(require("./deleteManyCommissionBatchItem.schema"), exports); +__exportStar(require("./updateOneCommissionBatchItem.schema"), exports); +__exportStar(require("./updateManyCommissionBatchItem.schema"), exports); +__exportStar(require("./updateManyAndReturnCommissionBatchItem.schema"), exports); +__exportStar(require("./upsertOneCommissionBatchItem.schema"), exports); +__exportStar(require("./aggregateCommissionBatchItem.schema"), exports); +__exportStar(require("./groupByCommissionBatchItem.schema"), exports); __exportStar(require("./results/UserFindUniqueResult.schema"), exports); __exportStar(require("./results/UserFindFirstResult.schema"), exports); __exportStar(require("./results/UserFindManyResult.schema"), exports); @@ -485,6 +684,19 @@ __exportStar(require("./results/AppointmentDeleteManyResult.schema"), exports); __exportStar(require("./results/AppointmentAggregateResult.schema"), exports); __exportStar(require("./results/AppointmentGroupByResult.schema"), exports); __exportStar(require("./results/AppointmentCountResult.schema"), exports); +__exportStar(require("./results/AppointmentFileFindUniqueResult.schema"), exports); +__exportStar(require("./results/AppointmentFileFindFirstResult.schema"), exports); +__exportStar(require("./results/AppointmentFileFindManyResult.schema"), exports); +__exportStar(require("./results/AppointmentFileCreateResult.schema"), exports); +__exportStar(require("./results/AppointmentFileCreateManyResult.schema"), exports); +__exportStar(require("./results/AppointmentFileUpdateResult.schema"), exports); +__exportStar(require("./results/AppointmentFileUpdateManyResult.schema"), exports); +__exportStar(require("./results/AppointmentFileUpsertResult.schema"), exports); +__exportStar(require("./results/AppointmentFileDeleteResult.schema"), exports); +__exportStar(require("./results/AppointmentFileDeleteManyResult.schema"), exports); +__exportStar(require("./results/AppointmentFileAggregateResult.schema"), exports); +__exportStar(require("./results/AppointmentFileGroupByResult.schema"), exports); +__exportStar(require("./results/AppointmentFileCountResult.schema"), exports); __exportStar(require("./results/StaffFindUniqueResult.schema"), exports); __exportStar(require("./results/StaffFindFirstResult.schema"), exports); __exportStar(require("./results/StaffFindManyResult.schema"), exports); @@ -576,6 +788,19 @@ __exportStar(require("./results/InsuranceCredentialDeleteManyResult.schema"), ex __exportStar(require("./results/InsuranceCredentialAggregateResult.schema"), exports); __exportStar(require("./results/InsuranceCredentialGroupByResult.schema"), exports); __exportStar(require("./results/InsuranceCredentialCountResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorFindUniqueResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorFindFirstResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorFindManyResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorCreateResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorCreateManyResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorUpdateResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorUpdateManyResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorUpsertResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorDeleteResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorDeleteManyResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorAggregateResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorGroupByResult.schema"), exports); +__exportStar(require("./results/ShoppingVendorCountResult.schema"), exports); __exportStar(require("./results/PdfGroupFindUniqueResult.schema"), exports); __exportStar(require("./results/PdfGroupFindFirstResult.schema"), exports); __exportStar(require("./results/PdfGroupFindManyResult.schema"), exports); @@ -745,11 +970,129 @@ __exportStar(require("./results/PatientDocumentDeleteManyResult.schema"), export __exportStar(require("./results/PatientDocumentAggregateResult.schema"), exports); __exportStar(require("./results/PatientDocumentGroupByResult.schema"), exports); __exportStar(require("./results/PatientDocumentCountResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsFindUniqueResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsFindFirstResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsFindManyResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsCreateResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsCreateManyResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsUpdateResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsUpdateManyResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsUpsertResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsDeleteResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsDeleteManyResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsAggregateResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsGroupByResult.schema"), exports); +__exportStar(require("./results/TwilioSettingsCountResult.schema"), exports); +__exportStar(require("./results/AiSettingsFindUniqueResult.schema"), exports); +__exportStar(require("./results/AiSettingsFindFirstResult.schema"), exports); +__exportStar(require("./results/AiSettingsFindManyResult.schema"), exports); +__exportStar(require("./results/AiSettingsCreateResult.schema"), exports); +__exportStar(require("./results/AiSettingsCreateManyResult.schema"), exports); +__exportStar(require("./results/AiSettingsUpdateResult.schema"), exports); +__exportStar(require("./results/AiSettingsUpdateManyResult.schema"), exports); +__exportStar(require("./results/AiSettingsUpsertResult.schema"), exports); +__exportStar(require("./results/AiSettingsDeleteResult.schema"), exports); +__exportStar(require("./results/AiSettingsDeleteManyResult.schema"), exports); +__exportStar(require("./results/AiSettingsAggregateResult.schema"), exports); +__exportStar(require("./results/AiSettingsGroupByResult.schema"), exports); +__exportStar(require("./results/AiSettingsCountResult.schema"), exports); +__exportStar(require("./results/OfficeHoursFindUniqueResult.schema"), exports); +__exportStar(require("./results/OfficeHoursFindFirstResult.schema"), exports); +__exportStar(require("./results/OfficeHoursFindManyResult.schema"), exports); +__exportStar(require("./results/OfficeHoursCreateResult.schema"), exports); +__exportStar(require("./results/OfficeHoursCreateManyResult.schema"), exports); +__exportStar(require("./results/OfficeHoursUpdateResult.schema"), exports); +__exportStar(require("./results/OfficeHoursUpdateManyResult.schema"), exports); +__exportStar(require("./results/OfficeHoursUpsertResult.schema"), exports); +__exportStar(require("./results/OfficeHoursDeleteResult.schema"), exports); +__exportStar(require("./results/OfficeHoursDeleteManyResult.schema"), exports); +__exportStar(require("./results/OfficeHoursAggregateResult.schema"), exports); +__exportStar(require("./results/OfficeHoursGroupByResult.schema"), exports); +__exportStar(require("./results/OfficeHoursCountResult.schema"), exports); +__exportStar(require("./results/OfficeContactFindUniqueResult.schema"), exports); +__exportStar(require("./results/OfficeContactFindFirstResult.schema"), exports); +__exportStar(require("./results/OfficeContactFindManyResult.schema"), exports); +__exportStar(require("./results/OfficeContactCreateResult.schema"), exports); +__exportStar(require("./results/OfficeContactCreateManyResult.schema"), exports); +__exportStar(require("./results/OfficeContactUpdateResult.schema"), exports); +__exportStar(require("./results/OfficeContactUpdateManyResult.schema"), exports); +__exportStar(require("./results/OfficeContactUpsertResult.schema"), exports); +__exportStar(require("./results/OfficeContactDeleteResult.schema"), exports); +__exportStar(require("./results/OfficeContactDeleteManyResult.schema"), exports); +__exportStar(require("./results/OfficeContactAggregateResult.schema"), exports); +__exportStar(require("./results/OfficeContactGroupByResult.schema"), exports); +__exportStar(require("./results/OfficeContactCountResult.schema"), exports); +__exportStar(require("./results/InsuranceContactFindUniqueResult.schema"), exports); +__exportStar(require("./results/InsuranceContactFindFirstResult.schema"), exports); +__exportStar(require("./results/InsuranceContactFindManyResult.schema"), exports); +__exportStar(require("./results/InsuranceContactCreateResult.schema"), exports); +__exportStar(require("./results/InsuranceContactCreateManyResult.schema"), exports); +__exportStar(require("./results/InsuranceContactUpdateResult.schema"), exports); +__exportStar(require("./results/InsuranceContactUpdateManyResult.schema"), exports); +__exportStar(require("./results/InsuranceContactUpsertResult.schema"), exports); +__exportStar(require("./results/InsuranceContactDeleteResult.schema"), exports); +__exportStar(require("./results/InsuranceContactDeleteManyResult.schema"), exports); +__exportStar(require("./results/InsuranceContactAggregateResult.schema"), exports); +__exportStar(require("./results/InsuranceContactGroupByResult.schema"), exports); +__exportStar(require("./results/InsuranceContactCountResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotFindUniqueResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotFindFirstResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotFindManyResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotCreateResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotCreateManyResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotUpdateResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotUpdateManyResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotUpsertResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotDeleteResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotDeleteManyResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotAggregateResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotGroupByResult.schema"), exports); +__exportStar(require("./results/ProcedureTimeslotCountResult.schema"), exports); +__exportStar(require("./results/PatientConversationFindUniqueResult.schema"), exports); +__exportStar(require("./results/PatientConversationFindFirstResult.schema"), exports); +__exportStar(require("./results/PatientConversationFindManyResult.schema"), exports); +__exportStar(require("./results/PatientConversationCreateResult.schema"), exports); +__exportStar(require("./results/PatientConversationCreateManyResult.schema"), exports); +__exportStar(require("./results/PatientConversationUpdateResult.schema"), exports); +__exportStar(require("./results/PatientConversationUpdateManyResult.schema"), exports); +__exportStar(require("./results/PatientConversationUpsertResult.schema"), exports); +__exportStar(require("./results/PatientConversationDeleteResult.schema"), exports); +__exportStar(require("./results/PatientConversationDeleteManyResult.schema"), exports); +__exportStar(require("./results/PatientConversationAggregateResult.schema"), exports); +__exportStar(require("./results/PatientConversationGroupByResult.schema"), exports); +__exportStar(require("./results/PatientConversationCountResult.schema"), exports); +__exportStar(require("./results/CommissionBatchFindUniqueResult.schema"), exports); +__exportStar(require("./results/CommissionBatchFindFirstResult.schema"), exports); +__exportStar(require("./results/CommissionBatchFindManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchCreateResult.schema"), exports); +__exportStar(require("./results/CommissionBatchCreateManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchUpdateResult.schema"), exports); +__exportStar(require("./results/CommissionBatchUpdateManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchUpsertResult.schema"), exports); +__exportStar(require("./results/CommissionBatchDeleteResult.schema"), exports); +__exportStar(require("./results/CommissionBatchDeleteManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchAggregateResult.schema"), exports); +__exportStar(require("./results/CommissionBatchGroupByResult.schema"), exports); +__exportStar(require("./results/CommissionBatchCountResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemFindUniqueResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemFindFirstResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemFindManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemCreateResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemCreateManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemUpdateResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemUpdateManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemUpsertResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemDeleteResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemDeleteManyResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemAggregateResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemGroupByResult.schema"), exports); +__exportStar(require("./results/CommissionBatchItemCountResult.schema"), exports); __exportStar(require("./results/index"), exports); __exportStar(require("./objects/index"), exports); __exportStar(require("./variants/pure/User.pure"), exports); __exportStar(require("./variants/pure/Patient.pure"), exports); __exportStar(require("./variants/pure/Appointment.pure"), exports); +__exportStar(require("./variants/pure/AppointmentFile.pure"), exports); __exportStar(require("./variants/pure/Staff.pure"), exports); __exportStar(require("./variants/pure/NpiProvider.pure"), exports); __exportStar(require("./variants/pure/AppointmentProcedure.pure"), exports); @@ -757,6 +1100,7 @@ __exportStar(require("./variants/pure/Claim.pure"), exports); __exportStar(require("./variants/pure/ServiceLine.pure"), exports); __exportStar(require("./variants/pure/ClaimFile.pure"), exports); __exportStar(require("./variants/pure/InsuranceCredential.pure"), exports); +__exportStar(require("./variants/pure/ShoppingVendor.pure"), exports); __exportStar(require("./variants/pure/PdfGroup.pure"), exports); __exportStar(require("./variants/pure/PdfFile.pure"), exports); __exportStar(require("./variants/pure/Payment.pure"), exports); @@ -770,10 +1114,20 @@ __exportStar(require("./variants/pure/CloudFile.pure"), exports); __exportStar(require("./variants/pure/CloudFileChunk.pure"), exports); __exportStar(require("./variants/pure/Communication.pure"), exports); __exportStar(require("./variants/pure/PatientDocument.pure"), exports); +__exportStar(require("./variants/pure/TwilioSettings.pure"), exports); +__exportStar(require("./variants/pure/AiSettings.pure"), exports); +__exportStar(require("./variants/pure/OfficeHours.pure"), exports); +__exportStar(require("./variants/pure/OfficeContact.pure"), exports); +__exportStar(require("./variants/pure/InsuranceContact.pure"), exports); +__exportStar(require("./variants/pure/ProcedureTimeslot.pure"), exports); +__exportStar(require("./variants/pure/PatientConversation.pure"), exports); +__exportStar(require("./variants/pure/CommissionBatch.pure"), exports); +__exportStar(require("./variants/pure/CommissionBatchItem.pure"), exports); __exportStar(require("./variants/pure/index"), exports); __exportStar(require("./variants/input/User.input"), exports); __exportStar(require("./variants/input/Patient.input"), exports); __exportStar(require("./variants/input/Appointment.input"), exports); +__exportStar(require("./variants/input/AppointmentFile.input"), exports); __exportStar(require("./variants/input/Staff.input"), exports); __exportStar(require("./variants/input/NpiProvider.input"), exports); __exportStar(require("./variants/input/AppointmentProcedure.input"), exports); @@ -781,6 +1135,7 @@ __exportStar(require("./variants/input/Claim.input"), exports); __exportStar(require("./variants/input/ServiceLine.input"), exports); __exportStar(require("./variants/input/ClaimFile.input"), exports); __exportStar(require("./variants/input/InsuranceCredential.input"), exports); +__exportStar(require("./variants/input/ShoppingVendor.input"), exports); __exportStar(require("./variants/input/PdfGroup.input"), exports); __exportStar(require("./variants/input/PdfFile.input"), exports); __exportStar(require("./variants/input/Payment.input"), exports); @@ -794,10 +1149,20 @@ __exportStar(require("./variants/input/CloudFile.input"), exports); __exportStar(require("./variants/input/CloudFileChunk.input"), exports); __exportStar(require("./variants/input/Communication.input"), exports); __exportStar(require("./variants/input/PatientDocument.input"), exports); +__exportStar(require("./variants/input/TwilioSettings.input"), exports); +__exportStar(require("./variants/input/AiSettings.input"), exports); +__exportStar(require("./variants/input/OfficeHours.input"), exports); +__exportStar(require("./variants/input/OfficeContact.input"), exports); +__exportStar(require("./variants/input/InsuranceContact.input"), exports); +__exportStar(require("./variants/input/ProcedureTimeslot.input"), exports); +__exportStar(require("./variants/input/PatientConversation.input"), exports); +__exportStar(require("./variants/input/CommissionBatch.input"), exports); +__exportStar(require("./variants/input/CommissionBatchItem.input"), exports); __exportStar(require("./variants/input/index"), exports); __exportStar(require("./variants/result/User.result"), exports); __exportStar(require("./variants/result/Patient.result"), exports); __exportStar(require("./variants/result/Appointment.result"), exports); +__exportStar(require("./variants/result/AppointmentFile.result"), exports); __exportStar(require("./variants/result/Staff.result"), exports); __exportStar(require("./variants/result/NpiProvider.result"), exports); __exportStar(require("./variants/result/AppointmentProcedure.result"), exports); @@ -805,6 +1170,7 @@ __exportStar(require("./variants/result/Claim.result"), exports); __exportStar(require("./variants/result/ServiceLine.result"), exports); __exportStar(require("./variants/result/ClaimFile.result"), exports); __exportStar(require("./variants/result/InsuranceCredential.result"), exports); +__exportStar(require("./variants/result/ShoppingVendor.result"), exports); __exportStar(require("./variants/result/PdfGroup.result"), exports); __exportStar(require("./variants/result/PdfFile.result"), exports); __exportStar(require("./variants/result/Payment.result"), exports); @@ -818,5 +1184,14 @@ __exportStar(require("./variants/result/CloudFile.result"), exports); __exportStar(require("./variants/result/CloudFileChunk.result"), exports); __exportStar(require("./variants/result/Communication.result"), exports); __exportStar(require("./variants/result/PatientDocument.result"), exports); +__exportStar(require("./variants/result/TwilioSettings.result"), exports); +__exportStar(require("./variants/result/AiSettings.result"), exports); +__exportStar(require("./variants/result/OfficeHours.result"), exports); +__exportStar(require("./variants/result/OfficeContact.result"), exports); +__exportStar(require("./variants/result/InsuranceContact.result"), exports); +__exportStar(require("./variants/result/ProcedureTimeslot.result"), exports); +__exportStar(require("./variants/result/PatientConversation.result"), exports); +__exportStar(require("./variants/result/CommissionBatch.result"), exports); +__exportStar(require("./variants/result/CommissionBatchItem.result"), exports); __exportStar(require("./variants/result/index"), exports); __exportStar(require("./variants/index"), exports); diff --git a/packages/db/shared/schemas/objects/AiSettingsArgs.schema.js b/packages/db/shared/schemas/objects/AiSettingsArgs.schema.js new file mode 100644 index 00000000..005def5f --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsArgsObjectZodSchema = exports.AiSettingsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./AiSettingsInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema).optional(), + include: z.lazy(() => AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema).optional() +}).strict(); +exports.AiSettingsArgsObjectSchema = makeSchema(); +exports.AiSettingsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsAvgAggregateInput.schema.js new file mode 100644 index 00000000..23943c75 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsAvgAggregateInputObjectZodSchema = exports.AiSettingsAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.AiSettingsAvgAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..7223f6be --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsAvgOrderByAggregateInputObjectZodSchema = exports.AiSettingsAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AiSettingsAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCountAggregateInput.schema.js new file mode 100644 index 00000000..15b58211 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCountAggregateInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCountAggregateInputObjectZodSchema = exports.AiSettingsCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + apiKey: z.literal(true).optional(), + aiEnabled: z.literal(true).optional(), + openAiKey: z.literal(true).optional(), + openAiEnabled: z.literal(true).optional(), + claudeAiKey: z.literal(true).optional(), + claudeAiEnabled: z.literal(true).optional(), + claudeAiModel: z.literal(true).optional(), + openAiModel: z.literal(true).optional(), + googleAiModel: z.literal(true).optional(), + dentalMgmtKey: z.literal(true).optional(), + dentalMgmtEnabled: z.literal(true).optional(), + afterHoursEnabled: z.literal(true).optional(), + openPhoneReply: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.AiSettingsCountAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..0d909069 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCountOrderByAggregateInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCountOrderByAggregateInputObjectZodSchema = exports.AiSettingsCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + apiKey: SortOrder_schema_1.SortOrderSchema.optional(), + aiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + openAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + openAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + googleAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtKey: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + afterHoursEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openPhoneReply: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AiSettingsCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCreateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCreateInput.schema.js new file mode 100644 index 00000000..c69cd3a5 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCreateInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateInputObjectZodSchema = exports.AiSettingsCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutAiSettingsInput_schema_1 = require("./UserCreateNestedOneWithoutAiSettingsInput.schema"); +const makeSchema = () => z.object({ + apiKey: z.string(), + aiEnabled: z.boolean().optional(), + openAiKey: z.string().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.string().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.string().optional(), + openAiModel: z.string().optional(), + googleAiModel: z.string().optional(), + dentalMgmtKey: z.string().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutAiSettingsInput_schema_1.UserCreateNestedOneWithoutAiSettingsInputObjectSchema) +}).strict(); +exports.AiSettingsCreateInputObjectSchema = makeSchema(); +exports.AiSettingsCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCreateManyInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCreateManyInput.schema.js new file mode 100644 index 00000000..db741e65 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCreateManyInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateManyInputObjectZodSchema = exports.AiSettingsCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean().optional(), + openAiKey: z.string().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.string().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.string().optional(), + openAiModel: z.string().optional(), + googleAiModel: z.string().optional(), + dentalMgmtKey: z.string().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional() +}).strict(); +exports.AiSettingsCreateManyInputObjectSchema = makeSchema(); +exports.AiSettingsCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..4e1cee42 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateNestedOneWithoutUserInputObjectZodSchema = exports.AiSettingsCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsCreateWithoutUserInput_schema_1 = require("./AiSettingsCreateWithoutUserInput.schema"); +const AiSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateWithoutUserInput.schema"); +const AiSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./AiSettingsCreateOrConnectWithoutUserInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./AiSettingsWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AiSettingsCreateWithoutUserInput_schema_1.AiSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedCreateWithoutUserInput_schema_1.AiSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AiSettingsCreateOrConnectWithoutUserInput_schema_1.AiSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.AiSettingsCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..c5816431 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateOrConnectWithoutUserInputObjectZodSchema = exports.AiSettingsCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsWhereUniqueInput_schema_1 = require("./AiSettingsWhereUniqueInput.schema"); +const AiSettingsCreateWithoutUserInput_schema_1 = require("./AiSettingsCreateWithoutUserInput.schema"); +const AiSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => AiSettingsCreateWithoutUserInput_schema_1.AiSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedCreateWithoutUserInput_schema_1.AiSettingsUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.AiSettingsCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..dfb3596e --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsCreateWithoutUserInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateWithoutUserInputObjectZodSchema = exports.AiSettingsCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + apiKey: z.string(), + aiEnabled: z.boolean().optional(), + openAiKey: z.string().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.string().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.string().optional(), + openAiModel: z.string().optional(), + googleAiModel: z.string().optional(), + dentalMgmtKey: z.string().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional() +}).strict(); +exports.AiSettingsCreateWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsInclude.schema.js b/packages/db/shared/schemas/objects/AiSettingsInclude.schema.js new file mode 100644 index 00000000..52357f6e --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsIncludeObjectZodSchema = exports.AiSettingsIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.AiSettingsIncludeObjectSchema = makeSchema(); +exports.AiSettingsIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsMaxAggregateInput.schema.js new file mode 100644 index 00000000..95d45aca --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsMaxAggregateInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsMaxAggregateInputObjectZodSchema = exports.AiSettingsMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + apiKey: z.literal(true).optional(), + aiEnabled: z.literal(true).optional(), + openAiKey: z.literal(true).optional(), + openAiEnabled: z.literal(true).optional(), + claudeAiKey: z.literal(true).optional(), + claudeAiEnabled: z.literal(true).optional(), + claudeAiModel: z.literal(true).optional(), + openAiModel: z.literal(true).optional(), + googleAiModel: z.literal(true).optional(), + dentalMgmtKey: z.literal(true).optional(), + dentalMgmtEnabled: z.literal(true).optional(), + afterHoursEnabled: z.literal(true).optional(), + openPhoneReply: z.literal(true).optional() +}).strict(); +exports.AiSettingsMaxAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..1afa49fc --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsMaxOrderByAggregateInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsMaxOrderByAggregateInputObjectZodSchema = exports.AiSettingsMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + apiKey: SortOrder_schema_1.SortOrderSchema.optional(), + aiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + openAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + openAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + googleAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtKey: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + afterHoursEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openPhoneReply: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AiSettingsMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsMinAggregateInput.schema.js new file mode 100644 index 00000000..812a1ae7 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsMinAggregateInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsMinAggregateInputObjectZodSchema = exports.AiSettingsMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + apiKey: z.literal(true).optional(), + aiEnabled: z.literal(true).optional(), + openAiKey: z.literal(true).optional(), + openAiEnabled: z.literal(true).optional(), + claudeAiKey: z.literal(true).optional(), + claudeAiEnabled: z.literal(true).optional(), + claudeAiModel: z.literal(true).optional(), + openAiModel: z.literal(true).optional(), + googleAiModel: z.literal(true).optional(), + dentalMgmtKey: z.literal(true).optional(), + dentalMgmtEnabled: z.literal(true).optional(), + afterHoursEnabled: z.literal(true).optional(), + openPhoneReply: z.literal(true).optional() +}).strict(); +exports.AiSettingsMinAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..530eb1ca --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsMinOrderByAggregateInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsMinOrderByAggregateInputObjectZodSchema = exports.AiSettingsMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + apiKey: SortOrder_schema_1.SortOrderSchema.optional(), + aiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + openAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + openAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + googleAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtKey: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + afterHoursEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openPhoneReply: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AiSettingsMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/AiSettingsNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..a4d1fa77 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsNullableScalarRelationFilterObjectZodSchema = exports.AiSettingsNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsWhereInput_schema_1 = require("./AiSettingsWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.AiSettingsNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.AiSettingsNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..13fab6f7 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsOrderByWithAggregationInput.schema.js @@ -0,0 +1,67 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsOrderByWithAggregationInputObjectZodSchema = exports.AiSettingsOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const AiSettingsCountOrderByAggregateInput_schema_1 = require("./AiSettingsCountOrderByAggregateInput.schema"); +const AiSettingsAvgOrderByAggregateInput_schema_1 = require("./AiSettingsAvgOrderByAggregateInput.schema"); +const AiSettingsMaxOrderByAggregateInput_schema_1 = require("./AiSettingsMaxOrderByAggregateInput.schema"); +const AiSettingsMinOrderByAggregateInput_schema_1 = require("./AiSettingsMinOrderByAggregateInput.schema"); +const AiSettingsSumOrderByAggregateInput_schema_1 = require("./AiSettingsSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + apiKey: SortOrder_schema_1.SortOrderSchema.optional(), + aiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + openAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + openAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + googleAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtKey: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + afterHoursEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openPhoneReply: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => AiSettingsCountOrderByAggregateInput_schema_1.AiSettingsCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => AiSettingsAvgOrderByAggregateInput_schema_1.AiSettingsAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => AiSettingsMaxOrderByAggregateInput_schema_1.AiSettingsMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => AiSettingsMinOrderByAggregateInput_schema_1.AiSettingsMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => AiSettingsSumOrderByAggregateInput_schema_1.AiSettingsSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.AiSettingsOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.AiSettingsOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..fb616747 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsOrderByWithRelationInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsOrderByWithRelationInputObjectZodSchema = exports.AiSettingsOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + apiKey: SortOrder_schema_1.SortOrderSchema.optional(), + aiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + openAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiKey: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + claudeAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + openAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + googleAiModel: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtKey: SortOrder_schema_1.SortOrderSchema.optional(), + dentalMgmtEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + afterHoursEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + openPhoneReply: SortOrder_schema_1.SortOrderSchema.optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.AiSettingsOrderByWithRelationInputObjectSchema = makeSchema(); +exports.AiSettingsOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..5e53810c --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsScalarWhereWithAggregatesInputObjectZodSchema = exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); +const BoolWithAggregatesFilter_schema_1 = require("./BoolWithAggregatesFilter.schema"); +const aisettingsscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + apiKey: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + aiEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + openAiKey: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + openAiEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + claudeAiKey: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + claudeAiEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + claudeAiModel: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + openAiModel: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + googleAiModel: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + dentalMgmtKey: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + dentalMgmtEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + afterHoursEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + openPhoneReply: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional() +}).strict(); +exports.AiSettingsScalarWhereWithAggregatesInputObjectSchema = aisettingsscalarwherewithaggregatesinputSchema; +exports.AiSettingsScalarWhereWithAggregatesInputObjectZodSchema = aisettingsscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/AiSettingsSelect.schema.js b/packages/db/shared/schemas/objects/AiSettingsSelect.schema.js new file mode 100644 index 00000000..6f64fb86 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsSelect.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsSelectObjectZodSchema = exports.AiSettingsSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + apiKey: z.boolean().optional(), + aiEnabled: z.boolean().optional(), + openAiKey: z.boolean().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.boolean().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.boolean().optional(), + openAiModel: z.boolean().optional(), + googleAiModel: z.boolean().optional(), + dentalMgmtKey: z.boolean().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.AiSettingsSelectObjectSchema = makeSchema(); +exports.AiSettingsSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsSumAggregateInput.schema.js new file mode 100644 index 00000000..beb005c1 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsSumAggregateInputObjectZodSchema = exports.AiSettingsSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.AiSettingsSumAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..96a0132e --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsSumOrderByAggregateInputObjectZodSchema = exports.AiSettingsSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AiSettingsSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.AiSettingsSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateInput.schema.js new file mode 100644 index 00000000..4a107459 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedCreateInputObjectZodSchema = exports.AiSettingsUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean().optional(), + openAiKey: z.string().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.string().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.string().optional(), + openAiModel: z.string().optional(), + googleAiModel: z.string().optional(), + dentalMgmtKey: z.string().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional() +}).strict(); +exports.AiSettingsUncheckedCreateInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..9ab18a0f --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = exports.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsCreateWithoutUserInput_schema_1 = require("./AiSettingsCreateWithoutUserInput.schema"); +const AiSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateWithoutUserInput.schema"); +const AiSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./AiSettingsCreateOrConnectWithoutUserInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./AiSettingsWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AiSettingsCreateWithoutUserInput_schema_1.AiSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedCreateWithoutUserInput_schema_1.AiSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AiSettingsCreateOrConnectWithoutUserInput_schema_1.AiSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..745a1354 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedCreateWithoutUserInputObjectZodSchema = exports.AiSettingsUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + apiKey: z.string(), + aiEnabled: z.boolean().optional(), + openAiKey: z.string().optional(), + openAiEnabled: z.boolean().optional(), + claudeAiKey: z.string().optional(), + claudeAiEnabled: z.boolean().optional(), + claudeAiModel: z.string().optional(), + openAiModel: z.string().optional(), + googleAiModel: z.string().optional(), + dentalMgmtKey: z.string().optional(), + dentalMgmtEnabled: z.boolean().optional(), + afterHoursEnabled: z.boolean().optional(), + openPhoneReply: z.boolean().optional() +}).strict(); +exports.AiSettingsUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..786e45e7 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedUpdateInputObjectZodSchema = exports.AiSettingsUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + apiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + googleAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + afterHoursEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openPhoneReply: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUncheckedUpdateInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..4bd84b4a --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateManyInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedUpdateManyInputObjectZodSchema = exports.AiSettingsUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + apiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + googleAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + afterHoursEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openPhoneReply: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..a823b8aa --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = exports.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsCreateWithoutUserInput_schema_1 = require("./AiSettingsCreateWithoutUserInput.schema"); +const AiSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateWithoutUserInput.schema"); +const AiSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./AiSettingsCreateOrConnectWithoutUserInput.schema"); +const AiSettingsUpsertWithoutUserInput_schema_1 = require("./AiSettingsUpsertWithoutUserInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./AiSettingsWhereUniqueInput.schema"); +const AiSettingsUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./AiSettingsUpdateToOneWithWhereWithoutUserInput.schema"); +const AiSettingsUpdateWithoutUserInput_schema_1 = require("./AiSettingsUpdateWithoutUserInput.schema"); +const AiSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AiSettingsCreateWithoutUserInput_schema_1.AiSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedCreateWithoutUserInput_schema_1.AiSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AiSettingsCreateOrConnectWithoutUserInput_schema_1.AiSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => AiSettingsUpsertWithoutUserInput_schema_1.AiSettingsUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => AiSettingsUpdateToOneWithWhereWithoutUserInput_schema_1.AiSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUpdateWithoutUserInput_schema_1.AiSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedUpdateWithoutUserInput_schema_1.AiSettingsUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..2ad14c44 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUncheckedUpdateWithoutUserInputObjectZodSchema = exports.AiSettingsUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + apiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + googleAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + afterHoursEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openPhoneReply: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUpdateInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUpdateInput.schema.js new file mode 100644 index 00000000..2803b582 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUpdateInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateInputObjectZodSchema = exports.AiSettingsUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutAiSettingsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutAiSettingsNestedInput.schema"); +const makeSchema = () => z.object({ + apiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + googleAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + afterHoursEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openPhoneReply: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutAiSettingsNestedInput_schema_1.UserUpdateOneRequiredWithoutAiSettingsNestedInputObjectSchema).optional() +}).strict(); +exports.AiSettingsUpdateInputObjectSchema = makeSchema(); +exports.AiSettingsUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..094ea874 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUpdateManyMutationInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateManyMutationInputObjectZodSchema = exports.AiSettingsUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + apiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + googleAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + afterHoursEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openPhoneReply: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUpdateManyMutationInputObjectSchema = makeSchema(); +exports.AiSettingsUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..7dd65752 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateOneWithoutUserNestedInputObjectZodSchema = exports.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsCreateWithoutUserInput_schema_1 = require("./AiSettingsCreateWithoutUserInput.schema"); +const AiSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateWithoutUserInput.schema"); +const AiSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./AiSettingsCreateOrConnectWithoutUserInput.schema"); +const AiSettingsUpsertWithoutUserInput_schema_1 = require("./AiSettingsUpsertWithoutUserInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./AiSettingsWhereInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./AiSettingsWhereUniqueInput.schema"); +const AiSettingsUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./AiSettingsUpdateToOneWithWhereWithoutUserInput.schema"); +const AiSettingsUpdateWithoutUserInput_schema_1 = require("./AiSettingsUpdateWithoutUserInput.schema"); +const AiSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AiSettingsCreateWithoutUserInput_schema_1.AiSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedCreateWithoutUserInput_schema_1.AiSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AiSettingsCreateOrConnectWithoutUserInput_schema_1.AiSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => AiSettingsUpsertWithoutUserInput_schema_1.AiSettingsUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => AiSettingsUpdateToOneWithWhereWithoutUserInput_schema_1.AiSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUpdateWithoutUserInput_schema_1.AiSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedUpdateWithoutUserInput_schema_1.AiSettingsUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.AiSettingsUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUpdateToOneWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUpdateToOneWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..95c9eba8 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUpdateToOneWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateToOneWithWhereWithoutUserInputObjectZodSchema = exports.AiSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsWhereInput_schema_1 = require("./AiSettingsWhereInput.schema"); +const AiSettingsUpdateWithoutUserInput_schema_1 = require("./AiSettingsUpdateWithoutUserInput.schema"); +const AiSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => AiSettingsUpdateWithoutUserInput_schema_1.AiSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedUpdateWithoutUserInput_schema_1.AiSettingsUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.AiSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsUpdateToOneWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..e886bce7 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUpdateWithoutUserInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateWithoutUserInputObjectZodSchema = exports.AiSettingsUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + apiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + claudeAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + openAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + googleAiModel: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtKey: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dentalMgmtEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + afterHoursEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + openPhoneReply: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsUpsertWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsUpsertWithoutUserInput.schema.js new file mode 100644 index 00000000..eaff4303 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsUpsertWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpsertWithoutUserInputObjectZodSchema = exports.AiSettingsUpsertWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsUpdateWithoutUserInput_schema_1 = require("./AiSettingsUpdateWithoutUserInput.schema"); +const AiSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedUpdateWithoutUserInput.schema"); +const AiSettingsCreateWithoutUserInput_schema_1 = require("./AiSettingsCreateWithoutUserInput.schema"); +const AiSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateWithoutUserInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./AiSettingsWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => AiSettingsUpdateWithoutUserInput_schema_1.AiSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedUpdateWithoutUserInput_schema_1.AiSettingsUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => AiSettingsCreateWithoutUserInput_schema_1.AiSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => AiSettingsUncheckedCreateWithoutUserInput_schema_1.AiSettingsUncheckedCreateWithoutUserInputObjectSchema)]), + where: z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema).optional() +}).strict(); +exports.AiSettingsUpsertWithoutUserInputObjectSchema = makeSchema(); +exports.AiSettingsUpsertWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AiSettingsWhereInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsWhereInput.schema.js new file mode 100644 index 00000000..b4a98934 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsWhereInput.schema.js @@ -0,0 +1,65 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsWhereInputObjectZodSchema = exports.AiSettingsWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const BoolFilter_schema_1 = require("./BoolFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const aisettingswhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.AiSettingsWhereInputObjectSchema), z.lazy(() => exports.AiSettingsWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.AiSettingsWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.AiSettingsWhereInputObjectSchema), z.lazy(() => exports.AiSettingsWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + apiKey: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + aiEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + openAiKey: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + openAiEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + claudeAiKey: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + claudeAiEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + claudeAiModel: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + openAiModel: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + googleAiModel: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + dentalMgmtKey: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + dentalMgmtEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + afterHoursEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + openPhoneReply: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.AiSettingsWhereInputObjectSchema = aisettingswhereinputSchema; +exports.AiSettingsWhereInputObjectZodSchema = aisettingswhereinputSchema; diff --git a/packages/db/shared/schemas/objects/AiSettingsWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/AiSettingsWhereUniqueInput.schema.js new file mode 100644 index 00000000..6030bdb1 --- /dev/null +++ b/packages/db/shared/schemas/objects/AiSettingsWhereUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsWhereUniqueInputObjectZodSchema = exports.AiSettingsWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int().optional() +}).strict(); +exports.AiSettingsWhereUniqueInputObjectSchema = makeSchema(); +exports.AiSettingsWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.js index 6770d459..0a11d125 100644 --- a/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCountAggregateInput.schema.js @@ -45,9 +45,11 @@ const makeSchema = () => z.object({ startTime: z.literal(true).optional(), endTime: z.literal(true).optional(), type: z.literal(true).optional(), + typeLocked: z.literal(true).optional(), notes: z.literal(true).optional(), procedureCodeNotes: z.literal(true).optional(), status: z.literal(true).optional(), + movedByAi: z.literal(true).optional(), createdAt: z.literal(true).optional(), eligibilityStatus: z.literal(true).optional(), _all: z.literal(true).optional() diff --git a/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.js index 452c428a..1757aa44 100644 --- a/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCountOrderByAggregateInput.schema.js @@ -46,9 +46,11 @@ const makeSchema = () => z.object({ startTime: SortOrder_schema_1.SortOrderSchema.optional(), endTime: SortOrder_schema_1.SortOrderSchema.optional(), type: SortOrder_schema_1.SortOrderSchema.optional(), + typeLocked: SortOrder_schema_1.SortOrderSchema.optional(), notes: SortOrder_schema_1.SortOrderSchema.optional(), procedureCodeNotes: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), + movedByAi: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), eligibilityStatus: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentCountOutputTypeCountFilesArgs.schema.js b/packages/db/shared/schemas/objects/AppointmentCountOutputTypeCountFilesArgs.schema.js new file mode 100644 index 00000000..97235c30 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentCountOutputTypeCountFilesArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentCountOutputTypeCountFilesArgsObjectZodSchema = exports.AppointmentCountOutputTypeCountFilesArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereInput_schema_1 = require("./AppointmentFileWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema).optional() +}).strict(); +exports.AppointmentCountOutputTypeCountFilesArgsObjectSchema = makeSchema(); +exports.AppointmentCountOutputTypeCountFilesArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCountOutputTypeSelect.schema.js b/packages/db/shared/schemas/objects/AppointmentCountOutputTypeSelect.schema.js index 7f07bf31..f896f793 100644 --- a/packages/db/shared/schemas/objects/AppointmentCountOutputTypeSelect.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCountOutputTypeSelect.schema.js @@ -37,9 +37,11 @@ exports.AppointmentCountOutputTypeSelectObjectZodSchema = exports.AppointmentCou const z = __importStar(require("zod")); const AppointmentCountOutputTypeCountProceduresArgs_schema_1 = require("./AppointmentCountOutputTypeCountProceduresArgs.schema"); const AppointmentCountOutputTypeCountClaimsArgs_schema_1 = require("./AppointmentCountOutputTypeCountClaimsArgs.schema"); +const AppointmentCountOutputTypeCountFilesArgs_schema_1 = require("./AppointmentCountOutputTypeCountFilesArgs.schema"); const makeSchema = () => z.object({ procedures: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountProceduresArgs_schema_1.AppointmentCountOutputTypeCountProceduresArgsObjectSchema)]).optional(), - claims: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountClaimsArgs_schema_1.AppointmentCountOutputTypeCountClaimsArgsObjectSchema)]).optional() + claims: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountClaimsArgs_schema_1.AppointmentCountOutputTypeCountClaimsArgsObjectSchema)]).optional(), + files: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountFilesArgs_schema_1.AppointmentCountOutputTypeCountFilesArgsObjectSchema)]).optional() }).strict(); exports.AppointmentCountOutputTypeSelectObjectSchema = makeSchema(); exports.AppointmentCountOutputTypeSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.js index 84c78a62..a40b47a5 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateInput.schema.js @@ -41,22 +41,26 @@ const UserCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./UserCrea const StaffCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./StaffCreateNestedOneWithoutAppointmentsInput.schema"); const AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"); const ClaimCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ title: z.string(), date: z.coerce.date(), startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInput_schema_1.PatientCreateNestedOneWithoutAppointmentsInputObjectSchema), user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInput_schema_1.UserCreateNestedOneWithoutAppointmentsInputObjectSchema), staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInput_schema_1.StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentCreateInputObjectSchema = makeSchema(); exports.AppointmentCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.js index ae98797f..a154663a 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateManyInput.schema.js @@ -46,9 +46,11 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.js index 020ff79c..d055ade5 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateManyPatientInput.schema.js @@ -45,9 +45,11 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyStaffInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateManyStaffInput.schema.js index 8db44f84..dfb5ec0c 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateManyStaffInput.schema.js @@ -45,9 +45,11 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.js index d5b8b7b3..ee1d99c1 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateManyUserInput.schema.js @@ -45,9 +45,11 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateNestedOneWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateNestedOneWithoutFilesInput.schema.js new file mode 100644 index 00000000..f8d00ee2 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentCreateNestedOneWithoutFilesInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentCreateNestedOneWithoutFilesInputObjectZodSchema = exports.AppointmentCreateNestedOneWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentCreateWithoutFilesInput_schema_1 = require("./AppointmentCreateWithoutFilesInput.schema"); +const AppointmentUncheckedCreateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedCreateWithoutFilesInput.schema"); +const AppointmentCreateOrConnectWithoutFilesInput_schema_1 = require("./AppointmentCreateOrConnectWithoutFilesInput.schema"); +const AppointmentWhereUniqueInput_schema_1 = require("./AppointmentWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInput_schema_1.AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInput_schema_1.AppointmentUncheckedCreateWithoutFilesInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutFilesInput_schema_1.AppointmentCreateOrConnectWithoutFilesInputObjectSchema).optional(), + connect: z.lazy(() => AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.AppointmentCreateNestedOneWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentCreateNestedOneWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutFilesInput.schema.js new file mode 100644 index 00000000..6b98f914 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentCreateOrConnectWithoutFilesInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentCreateOrConnectWithoutFilesInputObjectZodSchema = exports.AppointmentCreateOrConnectWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentWhereUniqueInput_schema_1 = require("./AppointmentWhereUniqueInput.schema"); +const AppointmentCreateWithoutFilesInput_schema_1 = require("./AppointmentCreateWithoutFilesInput.schema"); +const AppointmentUncheckedCreateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedCreateWithoutFilesInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInput_schema_1.AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInput_schema_1.AppointmentUncheckedCreateWithoutFilesInputObjectSchema)]) +}).strict(); +exports.AppointmentCreateOrConnectWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentCreateOrConnectWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateWithoutClaimsInput.schema.js index 9010e83e..b9a16ef9 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateWithoutClaimsInput.schema.js @@ -40,21 +40,25 @@ const PatientCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./Patie const UserCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./UserCreateNestedOneWithoutAppointmentsInput.schema"); const StaffCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./StaffCreateNestedOneWithoutAppointmentsInput.schema"); const AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ title: z.string(), date: z.coerce.date(), startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInput_schema_1.PatientCreateNestedOneWithoutAppointmentsInputObjectSchema), user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInput_schema_1.UserCreateNestedOneWithoutAppointmentsInputObjectSchema), staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInput_schema_1.StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(), - procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentCreateWithoutClaimsInputObjectSchema = makeSchema(); exports.AppointmentCreateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateWithoutFilesInput.schema.js new file mode 100644 index 00000000..4eb06683 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentCreateWithoutFilesInput.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentCreateWithoutFilesInputObjectZodSchema = exports.AppointmentCreateWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const PatientCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./PatientCreateNestedOneWithoutAppointmentsInput.schema"); +const UserCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./UserCreateNestedOneWithoutAppointmentsInput.schema"); +const StaffCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./StaffCreateNestedOneWithoutAppointmentsInput.schema"); +const AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"); +const ClaimCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"); +const makeSchema = () => z.object({ + title: z.string(), + date: z.coerce.date(), + startTime: z.string(), + endTime: z.string(), + type: z.string(), + typeLocked: z.boolean().optional(), + notes: z.string().optional().nullable(), + procedureCodeNotes: z.string().optional().nullable(), + status: z.string().optional(), + movedByAi: z.boolean().optional(), + createdAt: z.coerce.date().optional(), + eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), + patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInput_schema_1.PatientCreateNestedOneWithoutAppointmentsInputObjectSchema), + user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInput_schema_1.UserCreateNestedOneWithoutAppointmentsInputObjectSchema), + staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInput_schema_1.StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional() +}).strict(); +exports.AppointmentCreateWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentCreateWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.js index af50ca7f..ef9a1aca 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateWithoutPatientInput.schema.js @@ -40,21 +40,25 @@ const UserCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./UserCrea const StaffCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./StaffCreateNestedOneWithoutAppointmentsInput.schema"); const AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"); const ClaimCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ title: z.string(), date: z.coerce.date(), startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInput_schema_1.UserCreateNestedOneWithoutAppointmentsInputObjectSchema), staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInput_schema_1.StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentCreateWithoutPatientInputObjectSchema = makeSchema(); exports.AppointmentCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateWithoutProceduresInput.schema.js index 871b2435..c30619fc 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateWithoutProceduresInput.schema.js @@ -40,21 +40,25 @@ const PatientCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./Patie const UserCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./UserCreateNestedOneWithoutAppointmentsInput.schema"); const StaffCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./StaffCreateNestedOneWithoutAppointmentsInput.schema"); const ClaimCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ title: z.string(), date: z.coerce.date(), startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInput_schema_1.PatientCreateNestedOneWithoutAppointmentsInputObjectSchema), user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInput_schema_1.UserCreateNestedOneWithoutAppointmentsInputObjectSchema), staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInput_schema_1.StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(), - claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentCreateWithoutProceduresInputObjectSchema = makeSchema(); exports.AppointmentCreateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateWithoutStaffInput.schema.js index c797ee2b..f0764b2c 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateWithoutStaffInput.schema.js @@ -40,21 +40,25 @@ const PatientCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./Patie const UserCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./UserCreateNestedOneWithoutAppointmentsInput.schema"); const AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"); const ClaimCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ title: z.string(), date: z.coerce.date(), startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInput_schema_1.PatientCreateNestedOneWithoutAppointmentsInputObjectSchema), user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInput_schema_1.UserCreateNestedOneWithoutAppointmentsInputObjectSchema), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentCreateWithoutStaffInputObjectSchema = makeSchema(); exports.AppointmentCreateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.js index e61cbcf0..721c4c68 100644 --- a/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentCreateWithoutUserInput.schema.js @@ -40,21 +40,25 @@ const PatientCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./Patie const StaffCreateNestedOneWithoutAppointmentsInput_schema_1 = require("./StaffCreateNestedOneWithoutAppointmentsInput.schema"); const AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"); const ClaimCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ title: z.string(), date: z.coerce.date(), startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInput_schema_1.PatientCreateNestedOneWithoutAppointmentsInputObjectSchema), staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInput_schema_1.StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInput_schema_1.ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentCreateWithoutUserInputObjectSchema = makeSchema(); exports.AppointmentCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileArgs.schema.js b/packages/db/shared/schemas/objects/AppointmentFileArgs.schema.js new file mode 100644 index 00000000..b07b6b61 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileArgsObjectZodSchema = exports.AppointmentFileArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./AppointmentFileInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema).optional(), + include: z.lazy(() => AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema).optional() +}).strict(); +exports.AppointmentFileArgsObjectSchema = makeSchema(); +exports.AppointmentFileArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileAvgAggregateInput.schema.js new file mode 100644 index 00000000..7efa3228 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileAvgAggregateInputObjectZodSchema = exports.AppointmentFileAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + appointmentId: z.literal(true).optional() +}).strict(); +exports.AppointmentFileAvgAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..63f41119 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileAvgOrderByAggregateInputObjectZodSchema = exports.AppointmentFileAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AppointmentFileAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCountAggregateInput.schema.js new file mode 100644 index 00000000..63b4ee7b --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCountAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCountAggregateInputObjectZodSchema = exports.AppointmentFileCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + appointmentId: z.literal(true).optional(), + filename: z.literal(true).optional(), + mimeType: z.literal(true).optional(), + filePath: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.AppointmentFileCountAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..201b1117 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCountOrderByAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCountOrderByAggregateInputObjectZodSchema = exports.AppointmentFileCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + filename: SortOrder_schema_1.SortOrderSchema.optional(), + mimeType: SortOrder_schema_1.SortOrderSchema.optional(), + filePath: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AppointmentFileCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateInput.schema.js new file mode 100644 index 00000000..622513cd --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateInputObjectZodSchema = exports.AppointmentFileCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentCreateNestedOneWithoutFilesInput_schema_1 = require("./AppointmentCreateNestedOneWithoutFilesInput.schema"); +const makeSchema = () => z.object({ + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable(), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutFilesInput_schema_1.AppointmentCreateNestedOneWithoutFilesInputObjectSchema) +}).strict(); +exports.AppointmentFileCreateInputObjectSchema = makeSchema(); +exports.AppointmentFileCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateManyAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateManyAppointmentInput.schema.js new file mode 100644 index 00000000..4dd0dd75 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateManyAppointmentInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateManyAppointmentInputObjectZodSchema = exports.AppointmentFileCreateManyAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable() +}).strict(); +exports.AppointmentFileCreateManyAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileCreateManyAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateManyAppointmentInputEnvelope.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateManyAppointmentInputEnvelope.schema.js new file mode 100644 index 00000000..a4b8c841 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateManyAppointmentInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateManyAppointmentInputEnvelopeObjectZodSchema = exports.AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileCreateManyAppointmentInput_schema_1 = require("./AppointmentFileCreateManyAppointmentInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => AppointmentFileCreateManyAppointmentInput_schema_1.AppointmentFileCreateManyAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateManyAppointmentInput_schema_1.AppointmentFileCreateManyAppointmentInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema = makeSchema(); +exports.AppointmentFileCreateManyAppointmentInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateManyInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateManyInput.schema.js new file mode 100644 index 00000000..5741f838 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateManyInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateManyInputObjectZodSchema = exports.AppointmentFileCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable() +}).strict(); +exports.AppointmentFileCreateManyInputObjectSchema = makeSchema(); +exports.AppointmentFileCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateNestedManyWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateNestedManyWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..e6889056 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateNestedManyWithoutAppointmentInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"); +const AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateOrConnectWithoutAppointmentInput.schema"); +const AppointmentFileCreateManyAppointmentInputEnvelope_schema_1 = require("./AppointmentFileCreateManyAppointmentInputEnvelope.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelope_schema_1.AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateOrConnectWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateOrConnectWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..2b53e638 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateOrConnectWithoutAppointmentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema)]) +}).strict(); +exports.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileCreateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileCreateWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..27767d41 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileCreateWithoutAppointmentInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileCreateWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable() +}).strict(); +exports.AppointmentFileCreateWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileCreateWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileInclude.schema.js b/packages/db/shared/schemas/objects/AppointmentFileInclude.schema.js new file mode 100644 index 00000000..66efb26d --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileIncludeObjectZodSchema = exports.AppointmentFileIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentArgs_schema_1 = require("./AppointmentArgs.schema"); +const makeSchema = () => z.object({ + appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgs_schema_1.AppointmentArgsObjectSchema)]).optional() +}).strict(); +exports.AppointmentFileIncludeObjectSchema = makeSchema(); +exports.AppointmentFileIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileListRelationFilter.schema.js b/packages/db/shared/schemas/objects/AppointmentFileListRelationFilter.schema.js new file mode 100644 index 00000000..23b4234d --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileListRelationFilter.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileListRelationFilterObjectZodSchema = exports.AppointmentFileListRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereInput_schema_1 = require("./AppointmentFileWhereInput.schema"); +const makeSchema = () => z.object({ + every: z.lazy(() => AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema).optional(), + some: z.lazy(() => AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema).optional(), + none: z.lazy(() => AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema).optional() +}).strict(); +exports.AppointmentFileListRelationFilterObjectSchema = makeSchema(); +exports.AppointmentFileListRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileMaxAggregateInput.schema.js new file mode 100644 index 00000000..773e5a0a --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileMaxAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileMaxAggregateInputObjectZodSchema = exports.AppointmentFileMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + appointmentId: z.literal(true).optional(), + filename: z.literal(true).optional(), + mimeType: z.literal(true).optional(), + filePath: z.literal(true).optional() +}).strict(); +exports.AppointmentFileMaxAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..45bddd8c --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileMaxOrderByAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileMaxOrderByAggregateInputObjectZodSchema = exports.AppointmentFileMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + filename: SortOrder_schema_1.SortOrderSchema.optional(), + mimeType: SortOrder_schema_1.SortOrderSchema.optional(), + filePath: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AppointmentFileMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileMinAggregateInput.schema.js new file mode 100644 index 00000000..ee03e3a8 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileMinAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileMinAggregateInputObjectZodSchema = exports.AppointmentFileMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + appointmentId: z.literal(true).optional(), + filename: z.literal(true).optional(), + mimeType: z.literal(true).optional(), + filePath: z.literal(true).optional() +}).strict(); +exports.AppointmentFileMinAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..4e74cf82 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileMinOrderByAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileMinOrderByAggregateInputObjectZodSchema = exports.AppointmentFileMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + filename: SortOrder_schema_1.SortOrderSchema.optional(), + mimeType: SortOrder_schema_1.SortOrderSchema.optional(), + filePath: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AppointmentFileMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileOrderByRelationAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileOrderByRelationAggregateInput.schema.js new file mode 100644 index 00000000..5b9511d0 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileOrderByRelationAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileOrderByRelationAggregateInputObjectZodSchema = exports.AppointmentFileOrderByRelationAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + _count: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AppointmentFileOrderByRelationAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileOrderByRelationAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..6dea20a0 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileOrderByWithAggregationInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileOrderByWithAggregationInputObjectZodSchema = exports.AppointmentFileOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const AppointmentFileCountOrderByAggregateInput_schema_1 = require("./AppointmentFileCountOrderByAggregateInput.schema"); +const AppointmentFileAvgOrderByAggregateInput_schema_1 = require("./AppointmentFileAvgOrderByAggregateInput.schema"); +const AppointmentFileMaxOrderByAggregateInput_schema_1 = require("./AppointmentFileMaxOrderByAggregateInput.schema"); +const AppointmentFileMinOrderByAggregateInput_schema_1 = require("./AppointmentFileMinOrderByAggregateInput.schema"); +const AppointmentFileSumOrderByAggregateInput_schema_1 = require("./AppointmentFileSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + filename: SortOrder_schema_1.SortOrderSchema.optional(), + mimeType: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + filePath: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + _count: z.lazy(() => AppointmentFileCountOrderByAggregateInput_schema_1.AppointmentFileCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => AppointmentFileAvgOrderByAggregateInput_schema_1.AppointmentFileAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => AppointmentFileMaxOrderByAggregateInput_schema_1.AppointmentFileMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => AppointmentFileMinOrderByAggregateInput_schema_1.AppointmentFileMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => AppointmentFileSumOrderByAggregateInput_schema_1.AppointmentFileSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.AppointmentFileOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.AppointmentFileOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..2634ec84 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileOrderByWithRelationInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileOrderByWithRelationInputObjectZodSchema = exports.AppointmentFileOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const AppointmentOrderByWithRelationInput_schema_1 = require("./AppointmentOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + filename: SortOrder_schema_1.SortOrderSchema.optional(), + mimeType: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + filePath: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + appointment: z.lazy(() => AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.AppointmentFileOrderByWithRelationInputObjectSchema = makeSchema(); +exports.AppointmentFileOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileScalarWhereInput.schema.js new file mode 100644 index 00000000..ad933b46 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileScalarWhereInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileScalarWhereInputObjectZodSchema = exports.AppointmentFileScalarWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const appointmentfilescalarwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => exports.AppointmentFileScalarWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.AppointmentFileScalarWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => exports.AppointmentFileScalarWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + appointmentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + filename: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + mimeType: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + filePath: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable() +}).strict(); +exports.AppointmentFileScalarWhereInputObjectSchema = appointmentfilescalarwhereinputSchema; +exports.AppointmentFileScalarWhereInputObjectZodSchema = appointmentfilescalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/AppointmentFileScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..524129fa --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileScalarWhereWithAggregatesInputObjectZodSchema = exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); +const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); +const appointmentfilescalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + appointmentId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + filename: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + mimeType: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + filePath: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable() +}).strict(); +exports.AppointmentFileScalarWhereWithAggregatesInputObjectSchema = appointmentfilescalarwherewithaggregatesinputSchema; +exports.AppointmentFileScalarWhereWithAggregatesInputObjectZodSchema = appointmentfilescalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/AppointmentFileSelect.schema.js b/packages/db/shared/schemas/objects/AppointmentFileSelect.schema.js new file mode 100644 index 00000000..44278ca5 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileSelect.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileSelectObjectZodSchema = exports.AppointmentFileSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentArgs_schema_1 = require("./AppointmentArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + appointmentId: z.boolean().optional(), + filename: z.boolean().optional(), + mimeType: z.boolean().optional(), + filePath: z.boolean().optional(), + appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgs_schema_1.AppointmentArgsObjectSchema)]).optional() +}).strict(); +exports.AppointmentFileSelectObjectSchema = makeSchema(); +exports.AppointmentFileSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileSumAggregateInput.schema.js new file mode 100644 index 00000000..96716cad --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileSumAggregateInputObjectZodSchema = exports.AppointmentFileSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + appointmentId: z.literal(true).optional() +}).strict(); +exports.AppointmentFileSumAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..7bd7c13c --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileSumOrderByAggregateInputObjectZodSchema = exports.AppointmentFileSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.AppointmentFileSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.AppointmentFileSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateInput.schema.js new file mode 100644 index 00000000..75e5bd4c --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedCreateInputObjectZodSchema = exports.AppointmentFileUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable() +}).strict(); +exports.AppointmentFileUncheckedCreateInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..b835cd68 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"); +const AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateOrConnectWithoutAppointmentInput.schema"); +const AppointmentFileCreateManyAppointmentInputEnvelope_schema_1 = require("./AppointmentFileCreateManyAppointmentInputEnvelope.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelope_schema_1.AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..0d1d5e23 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedCreateWithoutAppointmentInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable() +}).strict(); +exports.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..e3a384f7 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedUpdateInputObjectZodSchema = exports.AppointmentFileUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.AppointmentFileUncheckedUpdateInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..27bf7ab5 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedUpdateManyInputObjectZodSchema = exports.AppointmentFileUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.AppointmentFileUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..76dfdc6e --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyWithoutAppointmentInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema.js new file mode 100644 index 00000000..8b588c7a --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectZodSchema = exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"); +const AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateOrConnectWithoutAppointmentInput.schema"); +const AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema"); +const AppointmentFileCreateManyAppointmentInputEnvelope_schema_1 = require("./AppointmentFileCreateManyAppointmentInputEnvelope.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema"); +const AppointmentFileUpdateManyWithWhereWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema"); +const AppointmentFileScalarWhereInput_schema_1 = require("./AppointmentFileScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelope_schema_1.AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInput_schema_1.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInput_schema_1.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => AppointmentFileScalarWhereInput_schema_1.AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereInput_schema_1.AppointmentFileScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..ec25fe45 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpdateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpdateInput.schema.js new file mode 100644 index 00000000..df245ac0 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpdateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateInputObjectZodSchema = exports.AppointmentFileUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const AppointmentUpdateOneRequiredWithoutFilesNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutFilesNestedInput.schema"); +const makeSchema = () => z.object({ + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutFilesNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectSchema).optional() +}).strict(); +exports.AppointmentFileUpdateInputObjectSchema = makeSchema(); +exports.AppointmentFileUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..a07a5b78 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpdateManyMutationInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateManyMutationInputObjectZodSchema = exports.AppointmentFileUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.AppointmentFileUpdateManyMutationInputObjectSchema = makeSchema(); +exports.AppointmentFileUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..b6ee0e2c --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileScalarWhereInput_schema_1 = require("./AppointmentFileScalarWhereInput.schema"); +const AppointmentFileUpdateManyMutationInput_schema_1 = require("./AppointmentFileUpdateManyMutationInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentFileScalarWhereInput_schema_1.AppointmentFileScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => AppointmentFileUpdateManyMutationInput_schema_1.AppointmentFileUpdateManyMutationInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema)]) +}).strict(); +exports.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema.js new file mode 100644 index 00000000..24bbb3f6 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectZodSchema = exports.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"); +const AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateOrConnectWithoutAppointmentInput.schema"); +const AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema"); +const AppointmentFileCreateManyAppointmentInputEnvelope_schema_1 = require("./AppointmentFileCreateManyAppointmentInputEnvelope.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema"); +const AppointmentFileUpdateManyWithWhereWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema"); +const AppointmentFileScalarWhereInput_schema_1 = require("./AppointmentFileScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInput_schema_1.AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelope_schema_1.AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput_schema_1.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInput_schema_1.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInput_schema_1.AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => AppointmentFileScalarWhereInput_schema_1.AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereInput_schema_1.AppointmentFileScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema = makeSchema(); +exports.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..7b92a60b --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileUpdateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpdateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedUpdateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => AppointmentFileUpdateWithoutAppointmentInput_schema_1.AppointmentFileUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema)]) +}).strict(); +exports.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpdateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpdateWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..b702fcff --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpdateWithoutAppointmentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUpdateWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.AppointmentFileUpdateWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUpdateWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema.js new file mode 100644 index 00000000..e9178447 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectZodSchema = exports.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileWhereUniqueInput_schema_1 = require("./AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileUpdateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUpdateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedUpdateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema"); +const AppointmentFileCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileCreateWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => AppointmentFileUpdateWithoutAppointmentInput_schema_1.AppointmentFileUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema)]), + create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInput_schema_1.AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema)]) +}).strict(); +exports.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema = makeSchema(); +exports.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentFileWhereInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileWhereInput.schema.js new file mode 100644 index 00000000..49f9a6d0 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileWhereInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileWhereInputObjectZodSchema = exports.AppointmentFileWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const AppointmentScalarRelationFilter_schema_1 = require("./AppointmentScalarRelationFilter.schema"); +const AppointmentWhereInput_schema_1 = require("./AppointmentWhereInput.schema"); +const appointmentfilewhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.AppointmentFileWhereInputObjectSchema), z.lazy(() => exports.AppointmentFileWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.AppointmentFileWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.AppointmentFileWhereInputObjectSchema), z.lazy(() => exports.AppointmentFileWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + appointmentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + filename: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + mimeType: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + filePath: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + appointment: z.union([z.lazy(() => AppointmentScalarRelationFilter_schema_1.AppointmentScalarRelationFilterObjectSchema), z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema)]).optional() +}).strict(); +exports.AppointmentFileWhereInputObjectSchema = appointmentfilewhereinputSchema; +exports.AppointmentFileWhereInputObjectZodSchema = appointmentfilewhereinputSchema; diff --git a/packages/db/shared/schemas/objects/AppointmentFileWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/AppointmentFileWhereUniqueInput.schema.js new file mode 100644 index 00000000..f5ae7240 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentFileWhereUniqueInput.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileWhereUniqueInputObjectZodSchema = exports.AppointmentFileWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional() +}).strict(); +exports.AppointmentFileWhereUniqueInputObjectSchema = makeSchema(); +exports.AppointmentFileWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentInclude.schema.js b/packages/db/shared/schemas/objects/AppointmentInclude.schema.js index 4880c904..63099fd5 100644 --- a/packages/db/shared/schemas/objects/AppointmentInclude.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentInclude.schema.js @@ -40,6 +40,7 @@ const UserArgs_schema_1 = require("./UserArgs.schema"); const StaffArgs_schema_1 = require("./StaffArgs.schema"); const findManyAppointmentProcedure_schema_1 = require("../findManyAppointmentProcedure.schema"); const findManyClaim_schema_1 = require("../findManyClaim.schema"); +const findManyAppointmentFile_schema_1 = require("../findManyAppointmentFile.schema"); const AppointmentCountOutputTypeArgs_schema_1 = require("./AppointmentCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), @@ -47,6 +48,7 @@ const makeSchema = () => z.object({ staff: z.union([z.boolean(), z.lazy(() => StaffArgs_schema_1.StaffArgsObjectSchema)]).optional(), procedures: z.union([z.boolean(), z.lazy(() => findManyAppointmentProcedure_schema_1.AppointmentProcedureFindManySchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(), + files: z.union([z.boolean(), z.lazy(() => findManyAppointmentFile_schema_1.AppointmentFileFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeArgs_schema_1.AppointmentCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.AppointmentIncludeObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.js index 99b5d488..d35e61cf 100644 --- a/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentMaxAggregateInput.schema.js @@ -45,9 +45,11 @@ const makeSchema = () => z.object({ startTime: z.literal(true).optional(), endTime: z.literal(true).optional(), type: z.literal(true).optional(), + typeLocked: z.literal(true).optional(), notes: z.literal(true).optional(), procedureCodeNotes: z.literal(true).optional(), status: z.literal(true).optional(), + movedByAi: z.literal(true).optional(), createdAt: z.literal(true).optional(), eligibilityStatus: z.literal(true).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.js index e4e437b3..6f1fcdf1 100644 --- a/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentMaxOrderByAggregateInput.schema.js @@ -46,9 +46,11 @@ const makeSchema = () => z.object({ startTime: SortOrder_schema_1.SortOrderSchema.optional(), endTime: SortOrder_schema_1.SortOrderSchema.optional(), type: SortOrder_schema_1.SortOrderSchema.optional(), + typeLocked: SortOrder_schema_1.SortOrderSchema.optional(), notes: SortOrder_schema_1.SortOrderSchema.optional(), procedureCodeNotes: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), + movedByAi: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), eligibilityStatus: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.js index ddaec5c7..55e0851a 100644 --- a/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentMinAggregateInput.schema.js @@ -45,9 +45,11 @@ const makeSchema = () => z.object({ startTime: z.literal(true).optional(), endTime: z.literal(true).optional(), type: z.literal(true).optional(), + typeLocked: z.literal(true).optional(), notes: z.literal(true).optional(), procedureCodeNotes: z.literal(true).optional(), status: z.literal(true).optional(), + movedByAi: z.literal(true).optional(), createdAt: z.literal(true).optional(), eligibilityStatus: z.literal(true).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.js index 48b26546..55113cab 100644 --- a/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentMinOrderByAggregateInput.schema.js @@ -46,9 +46,11 @@ const makeSchema = () => z.object({ startTime: SortOrder_schema_1.SortOrderSchema.optional(), endTime: SortOrder_schema_1.SortOrderSchema.optional(), type: SortOrder_schema_1.SortOrderSchema.optional(), + typeLocked: SortOrder_schema_1.SortOrderSchema.optional(), notes: SortOrder_schema_1.SortOrderSchema.optional(), procedureCodeNotes: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), + movedByAi: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), eligibilityStatus: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/AppointmentNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..76564e10 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentNullableScalarRelationFilterObjectZodSchema = exports.AppointmentNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentWhereInput_schema_1 = require("./AppointmentWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.AppointmentNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.AppointmentNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.js index 51142cfc..3e1fafc7 100644 --- a/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentOrderByWithAggregationInput.schema.js @@ -52,9 +52,11 @@ const makeSchema = () => z.object({ startTime: SortOrder_schema_1.SortOrderSchema.optional(), endTime: SortOrder_schema_1.SortOrderSchema.optional(), type: SortOrder_schema_1.SortOrderSchema.optional(), + typeLocked: SortOrder_schema_1.SortOrderSchema.optional(), notes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), procedureCodeNotes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), + movedByAi: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), eligibilityStatus: SortOrder_schema_1.SortOrderSchema.optional(), _count: z.lazy(() => AppointmentCountOrderByAggregateInput_schema_1.AppointmentCountOrderByAggregateInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.js index 827cb608..b967fc37 100644 --- a/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentOrderByWithRelationInput.schema.js @@ -42,6 +42,7 @@ const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelation const StaffOrderByWithRelationInput_schema_1 = require("./StaffOrderByWithRelationInput.schema"); const AppointmentProcedureOrderByRelationAggregateInput_schema_1 = require("./AppointmentProcedureOrderByRelationAggregateInput.schema"); const ClaimOrderByRelationAggregateInput_schema_1 = require("./ClaimOrderByRelationAggregateInput.schema"); +const AppointmentFileOrderByRelationAggregateInput_schema_1 = require("./AppointmentFileOrderByRelationAggregateInput.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), @@ -52,16 +53,19 @@ const makeSchema = () => z.object({ startTime: SortOrder_schema_1.SortOrderSchema.optional(), endTime: SortOrder_schema_1.SortOrderSchema.optional(), type: SortOrder_schema_1.SortOrderSchema.optional(), + typeLocked: SortOrder_schema_1.SortOrderSchema.optional(), notes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), procedureCodeNotes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), + movedByAi: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), eligibilityStatus: SortOrder_schema_1.SortOrderSchema.optional(), patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional(), user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional(), staff: z.lazy(() => StaffOrderByWithRelationInput_schema_1.StaffOrderByWithRelationInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureOrderByRelationAggregateInput_schema_1.AppointmentProcedureOrderByRelationAggregateInputObjectSchema).optional(), - claims: z.lazy(() => ClaimOrderByRelationAggregateInput_schema_1.ClaimOrderByRelationAggregateInputObjectSchema).optional() + claims: z.lazy(() => ClaimOrderByRelationAggregateInput_schema_1.ClaimOrderByRelationAggregateInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileOrderByRelationAggregateInput_schema_1.AppointmentFileOrderByRelationAggregateInputObjectSchema).optional() }).strict(); exports.AppointmentOrderByWithRelationInputObjectSchema = makeSchema(); exports.AppointmentOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.js index b70afb35..82fb2649 100644 --- a/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentScalarWhereInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntFilter_schema_1 = require("./IntFilter.schema"); const StringFilter_schema_1 = require("./StringFilter.schema"); const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const BoolFilter_schema_1 = require("./BoolFilter.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); const EnumPatientStatusFilter_schema_1 = require("./EnumPatientStatusFilter.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); @@ -54,9 +55,11 @@ const appointmentscalarwhereinputSchema = z.object({ startTime: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), endTime: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), type: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + typeLocked: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), notes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), procedureCodeNotes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + movedByAi: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), eligibilityStatus: z.union([z.lazy(() => EnumPatientStatusFilter_schema_1.EnumPatientStatusFilterObjectSchema), PatientStatus_schema_1.PatientStatusSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.js index 00ebb50e..c9325f99 100644 --- a/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentScalarWhereWithAggregatesInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema"); +const BoolWithAggregatesFilter_schema_1 = require("./BoolWithAggregatesFilter.schema"); const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); const EnumPatientStatusWithAggregatesFilter_schema_1 = require("./EnumPatientStatusWithAggregatesFilter.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); @@ -54,9 +55,11 @@ const appointmentscalarwherewithaggregatesinputSchema = z.object({ startTime: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), endTime: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), type: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + typeLocked: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), notes: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), procedureCodeNotes: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + movedByAi: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(), eligibilityStatus: z.union([z.lazy(() => EnumPatientStatusWithAggregatesFilter_schema_1.EnumPatientStatusWithAggregatesFilterObjectSchema), PatientStatus_schema_1.PatientStatusSchema]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentSelect.schema.js b/packages/db/shared/schemas/objects/AppointmentSelect.schema.js index ed5856e9..b1509ebd 100644 --- a/packages/db/shared/schemas/objects/AppointmentSelect.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentSelect.schema.js @@ -40,6 +40,7 @@ const UserArgs_schema_1 = require("./UserArgs.schema"); const StaffArgs_schema_1 = require("./StaffArgs.schema"); const findManyAppointmentProcedure_schema_1 = require("../findManyAppointmentProcedure.schema"); const findManyClaim_schema_1 = require("../findManyClaim.schema"); +const findManyAppointmentFile_schema_1 = require("../findManyAppointmentFile.schema"); const AppointmentCountOutputTypeArgs_schema_1 = require("./AppointmentCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ id: z.boolean().optional(), @@ -51,9 +52,11 @@ const makeSchema = () => z.object({ startTime: z.boolean().optional(), endTime: z.boolean().optional(), type: z.boolean().optional(), + typeLocked: z.boolean().optional(), notes: z.boolean().optional(), procedureCodeNotes: z.boolean().optional(), status: z.boolean().optional(), + movedByAi: z.boolean().optional(), createdAt: z.boolean().optional(), eligibilityStatus: z.boolean().optional(), patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), @@ -61,6 +64,7 @@ const makeSchema = () => z.object({ staff: z.union([z.boolean(), z.lazy(() => StaffArgs_schema_1.StaffArgsObjectSchema)]).optional(), procedures: z.union([z.boolean(), z.lazy(() => findManyAppointmentProcedure_schema_1.AppointmentProcedureFindManySchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(), + files: z.union([z.boolean(), z.lazy(() => findManyAppointmentFile_schema_1.AppointmentFileFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeArgs_schema_1.AppointmentCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.AppointmentSelectObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.js index 905ebc20..03e3d0ff 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), @@ -48,13 +49,16 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedCreateInputObjectSchema = makeSchema(); exports.AppointmentUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutClaimsInput.schema.js index 007b2706..79effcd5 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutClaimsInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUncheckedCreateWithoutClaimsInputObjectZodSchema = exports.Ap const z = __importStar(require("zod")); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), @@ -47,12 +48,15 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), - procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedCreateWithoutClaimsInputObjectSchema = makeSchema(); exports.AppointmentUncheckedCreateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutFilesInput.schema.js new file mode 100644 index 00000000..edea4a4d --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutFilesInput.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUncheckedCreateWithoutFilesInputObjectZodSchema = exports.AppointmentUncheckedCreateWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + patientId: z.number().int(), + userId: z.number().int(), + staffId: z.number().int(), + title: z.string(), + date: z.coerce.date(), + startTime: z.string(), + endTime: z.string(), + type: z.string(), + typeLocked: z.boolean().optional(), + notes: z.string().optional().nullable(), + procedureCodeNotes: z.string().optional().nullable(), + status: z.string().optional(), + movedByAi: z.boolean().optional(), + createdAt: z.coerce.date().optional(), + eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), + procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() +}).strict(); +exports.AppointmentUncheckedCreateWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentUncheckedCreateWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.js index acfb6b69..927f3faf 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutPatientInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), userId: z.number().int(), @@ -47,13 +48,16 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedCreateWithoutPatientInputObjectSchema = makeSchema(); exports.AppointmentUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutProceduresInput.schema.js index 77d73a16..d7885e6e 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutProceduresInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUncheckedCreateWithoutProceduresInputObjectZodSchema = export const z = __importStar(require("zod")); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), @@ -47,12 +48,15 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), - claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedCreateWithoutProceduresInputObjectSchema = makeSchema(); exports.AppointmentUncheckedCreateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutStaffInput.schema.js index a89f1f4e..21e8c955 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutStaffInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), @@ -47,13 +48,16 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedCreateWithoutStaffInputObjectSchema = makeSchema(); exports.AppointmentUncheckedCreateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.js index 65fdaa39..40adc75f 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedCreateWithoutUserInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"); +const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1 = require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), @@ -47,13 +48,16 @@ const makeSchema = () => z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean().optional(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string().optional(), + movedByAi: z.boolean().optional(), createdAt: z.coerce.date().optional(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema.optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.ClaimUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput_schema_1.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); exports.AppointmentUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.js index 1a3de6b5..4090f243 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateInput.schema.js @@ -38,11 +38,13 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -53,13 +55,16 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedUpdateInputObjectSchema = makeSchema(); exports.AppointmentUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.js index dcee7594..1bd744ab 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -51,9 +52,11 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientInput.schema.js index 7b1fe41a..b256a69f 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutPatientInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -50,9 +51,11 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutStaffInput.schema.js index ec3f7c9d..a6137a85 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutStaffInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -50,9 +51,11 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserInput.schema.js index e3f51fc4..b2b275c3 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateManyWithoutUserInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -50,9 +51,11 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutClaimsInput.schema.js index e0b3e821..d8dd1f6a 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutClaimsInput.schema.js @@ -38,10 +38,12 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -52,12 +54,15 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), - procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedUpdateWithoutClaimsInputObjectSchema = makeSchema(); exports.AppointmentUncheckedUpdateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutFilesInput.schema.js new file mode 100644 index 00000000..8ba45e24 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutFilesInput.schema.js @@ -0,0 +1,68 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUncheckedUpdateWithoutFilesInputObjectZodSchema = exports.AppointmentUncheckedUpdateWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); +const AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() +}).strict(); +exports.AppointmentUncheckedUpdateWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentUncheckedUpdateWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.js index 02af6fb0..844c37bd 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutPatientInput.schema.js @@ -38,11 +38,13 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -52,13 +54,16 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedUpdateWithoutPatientInputObjectSchema = makeSchema(); exports.AppointmentUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutProceduresInput.schema.js index a482054d..bd3ca766 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutProceduresInput.schema.js @@ -38,10 +38,12 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); const ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -52,12 +54,15 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), - claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedUpdateWithoutProceduresInputObjectSchema = makeSchema(); exports.AppointmentUncheckedUpdateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutStaffInput.schema.js index b9cdf45e..60a32638 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutStaffInput.schema.js @@ -38,11 +38,13 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -52,13 +54,16 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedUpdateWithoutStaffInputObjectSchema = makeSchema(); exports.AppointmentUncheckedUpdateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.js index d429ae29..ee65777a 100644 --- a/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUncheckedUpdateWithoutUserInput.schema.js @@ -38,11 +38,13 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -52,13 +54,16 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); exports.AppointmentUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.js index 147c5380..535095d9 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateInputObjectZodSchema = exports.AppointmentUpdateInputOb const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -45,22 +46,26 @@ const UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./ const StaffUpdateOneWithoutAppointmentsNestedInput_schema_1 = require("./StaffUpdateOneWithoutAppointmentsNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutAppointmentsNestedInput_schema_1.StaffUpdateOneWithoutAppointmentsNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUpdateInputObjectSchema = makeSchema(); exports.AppointmentUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.js index bd21ee32..a31d9d55 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateManyMutationInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateManyMutationInputObjectZodSchema = exports.AppointmentU const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -46,9 +47,11 @@ const makeSchema = () => z.object({ startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateOneRequiredWithoutFilesNestedInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateOneRequiredWithoutFilesNestedInput.schema.js new file mode 100644 index 00000000..ad523f86 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUpdateOneRequiredWithoutFilesNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectZodSchema = exports.AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentCreateWithoutFilesInput_schema_1 = require("./AppointmentCreateWithoutFilesInput.schema"); +const AppointmentUncheckedCreateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedCreateWithoutFilesInput.schema"); +const AppointmentCreateOrConnectWithoutFilesInput_schema_1 = require("./AppointmentCreateOrConnectWithoutFilesInput.schema"); +const AppointmentUpsertWithoutFilesInput_schema_1 = require("./AppointmentUpsertWithoutFilesInput.schema"); +const AppointmentWhereUniqueInput_schema_1 = require("./AppointmentWhereUniqueInput.schema"); +const AppointmentUpdateToOneWithWhereWithoutFilesInput_schema_1 = require("./AppointmentUpdateToOneWithWhereWithoutFilesInput.schema"); +const AppointmentUpdateWithoutFilesInput_schema_1 = require("./AppointmentUpdateWithoutFilesInput.schema"); +const AppointmentUncheckedUpdateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedUpdateWithoutFilesInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInput_schema_1.AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInput_schema_1.AppointmentUncheckedCreateWithoutFilesInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutFilesInput_schema_1.AppointmentCreateOrConnectWithoutFilesInputObjectSchema).optional(), + upsert: z.lazy(() => AppointmentUpsertWithoutFilesInput_schema_1.AppointmentUpsertWithoutFilesInputObjectSchema).optional(), + connect: z.lazy(() => AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => AppointmentUpdateToOneWithWhereWithoutFilesInput_schema_1.AppointmentUpdateToOneWithWhereWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUpdateWithoutFilesInput_schema_1.AppointmentUpdateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutFilesInput_schema_1.AppointmentUncheckedUpdateWithoutFilesInputObjectSchema)]).optional() +}).strict(); +exports.AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectSchema = makeSchema(); +exports.AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateOneWithoutClaimsNestedInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateOneWithoutClaimsNestedInput.schema.js new file mode 100644 index 00000000..91aa91a1 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUpdateOneWithoutClaimsNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUpdateOneWithoutClaimsNestedInputObjectZodSchema = exports.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentCreateWithoutClaimsInput_schema_1 = require("./AppointmentCreateWithoutClaimsInput.schema"); +const AppointmentUncheckedCreateWithoutClaimsInput_schema_1 = require("./AppointmentUncheckedCreateWithoutClaimsInput.schema"); +const AppointmentCreateOrConnectWithoutClaimsInput_schema_1 = require("./AppointmentCreateOrConnectWithoutClaimsInput.schema"); +const AppointmentUpsertWithoutClaimsInput_schema_1 = require("./AppointmentUpsertWithoutClaimsInput.schema"); +const AppointmentWhereInput_schema_1 = require("./AppointmentWhereInput.schema"); +const AppointmentWhereUniqueInput_schema_1 = require("./AppointmentWhereUniqueInput.schema"); +const AppointmentUpdateToOneWithWhereWithoutClaimsInput_schema_1 = require("./AppointmentUpdateToOneWithWhereWithoutClaimsInput.schema"); +const AppointmentUpdateWithoutClaimsInput_schema_1 = require("./AppointmentUpdateWithoutClaimsInput.schema"); +const AppointmentUncheckedUpdateWithoutClaimsInput_schema_1 = require("./AppointmentUncheckedUpdateWithoutClaimsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => AppointmentCreateWithoutClaimsInput_schema_1.AppointmentCreateWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutClaimsInput_schema_1.AppointmentUncheckedCreateWithoutClaimsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutClaimsInput_schema_1.AppointmentCreateOrConnectWithoutClaimsInputObjectSchema).optional(), + upsert: z.lazy(() => AppointmentUpsertWithoutClaimsInput_schema_1.AppointmentUpsertWithoutClaimsInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => AppointmentWhereUniqueInput_schema_1.AppointmentWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => AppointmentUpdateToOneWithWhereWithoutClaimsInput_schema_1.AppointmentUpdateToOneWithWhereWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUpdateWithoutClaimsInput_schema_1.AppointmentUpdateWithoutClaimsInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutClaimsInput_schema_1.AppointmentUncheckedUpdateWithoutClaimsInputObjectSchema)]).optional() +}).strict(); +exports.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema = makeSchema(); +exports.AppointmentUpdateOneWithoutClaimsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateToOneWithWhereWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateToOneWithWhereWithoutFilesInput.schema.js new file mode 100644 index 00000000..ffdddd49 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUpdateToOneWithWhereWithoutFilesInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUpdateToOneWithWhereWithoutFilesInputObjectZodSchema = exports.AppointmentUpdateToOneWithWhereWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentWhereInput_schema_1 = require("./AppointmentWhereInput.schema"); +const AppointmentUpdateWithoutFilesInput_schema_1 = require("./AppointmentUpdateWithoutFilesInput.schema"); +const AppointmentUncheckedUpdateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedUpdateWithoutFilesInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => AppointmentUpdateWithoutFilesInput_schema_1.AppointmentUpdateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutFilesInput_schema_1.AppointmentUncheckedUpdateWithoutFilesInputObjectSchema)]) +}).strict(); +exports.AppointmentUpdateToOneWithWhereWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentUpdateToOneWithWhereWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutClaimsInput.schema.js index 7db77623..e8cfffa6 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutClaimsInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateWithoutClaimsInputObjectZodSchema = exports.Appointment const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -44,21 +45,25 @@ const PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require( const UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema"); const StaffUpdateOneWithoutAppointmentsNestedInput_schema_1 = require("./StaffUpdateOneWithoutAppointmentsNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutAppointmentsNestedInput_schema_1.StaffUpdateOneWithoutAppointmentsNestedInputObjectSchema).optional(), - procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUpdateWithoutClaimsInputObjectSchema = makeSchema(); exports.AppointmentUpdateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutFilesInput.schema.js new file mode 100644 index 00000000..0771e205 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutFilesInput.schema.js @@ -0,0 +1,69 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUpdateWithoutFilesInputObjectZodSchema = exports.AppointmentUpdateWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); +const PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutAppointmentsNestedInput.schema"); +const UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema"); +const StaffUpdateOneWithoutAppointmentsNestedInput_schema_1 = require("./StaffUpdateOneWithoutAppointmentsNestedInput.schema"); +const AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"); +const ClaimUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"); +const makeSchema = () => z.object({ + title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + patient: z.lazy(() => PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateOneWithoutAppointmentsNestedInput_schema_1.StaffUpdateOneWithoutAppointmentsNestedInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() +}).strict(); +exports.AppointmentUpdateWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentUpdateWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.js index 5e6c192a..5f993b3e 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutPatientInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateWithoutPatientInputObjectZodSchema = exports.Appointmen const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -44,21 +45,25 @@ const UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./ const StaffUpdateOneWithoutAppointmentsNestedInput_schema_1 = require("./StaffUpdateOneWithoutAppointmentsNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutAppointmentsNestedInput_schema_1.StaffUpdateOneWithoutAppointmentsNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUpdateWithoutPatientInputObjectSchema = makeSchema(); exports.AppointmentUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutProceduresInput.schema.js index 7d7d2b37..6924190d 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutProceduresInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateWithoutProceduresInputObjectZodSchema = exports.Appoint const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -44,21 +45,25 @@ const PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require( const UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema"); const StaffUpdateOneWithoutAppointmentsNestedInput_schema_1 = require("./StaffUpdateOneWithoutAppointmentsNestedInput.schema"); const ClaimUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutAppointmentsNestedInput_schema_1.StaffUpdateOneWithoutAppointmentsNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUpdateWithoutProceduresInputObjectSchema = makeSchema(); exports.AppointmentUpdateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutStaffInput.schema.js index d9b17d10..aab96973 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutStaffInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateWithoutStaffInputObjectZodSchema = exports.AppointmentU const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -44,21 +45,25 @@ const PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require( const UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.UserUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUpdateWithoutStaffInputObjectSchema = makeSchema(); exports.AppointmentUpdateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.js index 33df7cbf..28940da1 100644 --- a/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentUpdateWithoutUserInput.schema.js @@ -37,6 +37,7 @@ exports.AppointmentUpdateWithoutUserInputObjectZodSchema = exports.AppointmentUp const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); @@ -44,21 +45,25 @@ const PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1 = require( const StaffUpdateOneWithoutAppointmentsNestedInput_schema_1 = require("./StaffUpdateOneWithoutAppointmentsNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"); const ClaimUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"); +const AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1 = require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"); const makeSchema = () => z.object({ title: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), date: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), startTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), endTime: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), type: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + typeLocked: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), procedureCodeNotes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + movedByAi: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), eligibilityStatus: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutAppointmentsNestedInput_schema_1.PatientUpdateOneRequiredWithoutAppointmentsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutAppointmentsNestedInput_schema_1.StaffUpdateOneWithoutAppointmentsNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUpdateManyWithoutAppointmentNestedInput_schema_1.ClaimUpdateManyWithoutAppointmentNestedInputObjectSchema).optional(), + files: z.lazy(() => AppointmentFileUpdateManyWithoutAppointmentNestedInput_schema_1.AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema).optional() }).strict(); exports.AppointmentUpdateWithoutUserInputObjectSchema = makeSchema(); exports.AppointmentUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentUpsertWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/AppointmentUpsertWithoutFilesInput.schema.js new file mode 100644 index 00000000..57043766 --- /dev/null +++ b/packages/db/shared/schemas/objects/AppointmentUpsertWithoutFilesInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentUpsertWithoutFilesInputObjectZodSchema = exports.AppointmentUpsertWithoutFilesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentUpdateWithoutFilesInput_schema_1 = require("./AppointmentUpdateWithoutFilesInput.schema"); +const AppointmentUncheckedUpdateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedUpdateWithoutFilesInput.schema"); +const AppointmentCreateWithoutFilesInput_schema_1 = require("./AppointmentCreateWithoutFilesInput.schema"); +const AppointmentUncheckedCreateWithoutFilesInput_schema_1 = require("./AppointmentUncheckedCreateWithoutFilesInput.schema"); +const AppointmentWhereInput_schema_1 = require("./AppointmentWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => AppointmentUpdateWithoutFilesInput_schema_1.AppointmentUpdateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedUpdateWithoutFilesInput_schema_1.AppointmentUncheckedUpdateWithoutFilesInputObjectSchema)]), + create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInput_schema_1.AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInput_schema_1.AppointmentUncheckedCreateWithoutFilesInputObjectSchema)]), + where: z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema).optional() +}).strict(); +exports.AppointmentUpsertWithoutFilesInputObjectSchema = makeSchema(); +exports.AppointmentUpsertWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.js b/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.js index 0df55cda..94633602 100644 --- a/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/AppointmentWhereInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const IntFilter_schema_1 = require("./IntFilter.schema"); const StringFilter_schema_1 = require("./StringFilter.schema"); const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const BoolFilter_schema_1 = require("./BoolFilter.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); const EnumPatientStatusFilter_schema_1 = require("./EnumPatientStatusFilter.schema"); const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); @@ -49,6 +50,7 @@ const StaffNullableScalarRelationFilter_schema_1 = require("./StaffNullableScala const StaffWhereInput_schema_1 = require("./StaffWhereInput.schema"); const AppointmentProcedureListRelationFilter_schema_1 = require("./AppointmentProcedureListRelationFilter.schema"); const ClaimListRelationFilter_schema_1 = require("./ClaimListRelationFilter.schema"); +const AppointmentFileListRelationFilter_schema_1 = require("./AppointmentFileListRelationFilter.schema"); const appointmentwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.AppointmentWhereInputObjectSchema), z.lazy(() => exports.AppointmentWhereInputObjectSchema).array()]).optional(), OR: z.lazy(() => exports.AppointmentWhereInputObjectSchema).array().optional(), @@ -62,16 +64,19 @@ const appointmentwhereinputSchema = z.object({ startTime: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), endTime: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), type: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + typeLocked: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), notes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), procedureCodeNotes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + movedByAi: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), eligibilityStatus: z.union([z.lazy(() => EnumPatientStatusFilter_schema_1.EnumPatientStatusFilterObjectSchema), PatientStatus_schema_1.PatientStatusSchema]).optional(), patient: z.union([z.lazy(() => PatientScalarRelationFilter_schema_1.PatientScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional(), staff: z.union([z.lazy(() => StaffNullableScalarRelationFilter_schema_1.StaffNullableScalarRelationFilterObjectSchema), z.lazy(() => StaffWhereInput_schema_1.StaffWhereInputObjectSchema)]).optional(), procedures: z.lazy(() => AppointmentProcedureListRelationFilter_schema_1.AppointmentProcedureListRelationFilterObjectSchema).optional(), - claims: z.lazy(() => ClaimListRelationFilter_schema_1.ClaimListRelationFilterObjectSchema).optional() + claims: z.lazy(() => ClaimListRelationFilter_schema_1.ClaimListRelationFilterObjectSchema).optional(), + files: z.lazy(() => AppointmentFileListRelationFilter_schema_1.AppointmentFileListRelationFilterObjectSchema).optional() }).strict(); exports.AppointmentWhereInputObjectSchema = appointmentwhereinputSchema; exports.AppointmentWhereInputObjectZodSchema = appointmentwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.js index dde5e5ab..0fb26683 100644 --- a/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.js @@ -39,7 +39,7 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), npiProviderId: SortOrder_schema_1.SortOrderSchema.optional() diff --git a/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.ts index c610f46c..8ef5a44e 100644 --- a/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimAvgOrderByAggregateInput.schema.ts @@ -5,7 +5,7 @@ import { SortOrderSchema } from '../enums/SortOrder.schema' const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), npiProviderId: SortOrderSchema.optional() diff --git a/packages/db/shared/schemas/objects/ClaimCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimCountAggregateInput.schema.js index 04f989f9..d50df053 100644 --- a/packages/db/shared/schemas/objects/ClaimCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCountAggregateInput.schema.js @@ -53,6 +53,7 @@ const makeSchema = () => z.object({ updatedAt: z.literal(true).optional(), status: z.literal(true).optional(), claimNumber: z.literal(true).optional(), + preAuthNumber: z.literal(true).optional(), npiProviderId: z.literal(true).optional(), _all: z.literal(true).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.js index 54dfd750..0dbf73a1 100644 --- a/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.js @@ -39,7 +39,7 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), patientName: SortOrder_schema_1.SortOrderSchema.optional(), @@ -54,6 +54,7 @@ const makeSchema = () => z.object({ updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), claimNumber: SortOrder_schema_1.SortOrderSchema.optional(), + preAuthNumber: SortOrder_schema_1.SortOrderSchema.optional(), npiProviderId: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.ClaimCountOrderByAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.ts index 1dfea9ea..2dbd54db 100644 --- a/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimCountOrderByAggregateInput.schema.ts @@ -5,7 +5,7 @@ import { SortOrderSchema } from '../enums/SortOrder.schema' const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), patientName: SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateInput.schema.js index 9495f719..48fc1ef5 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ createdAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyAppointmentInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateManyAppointmentInput.schema.js index 0956da02..b14e2c70 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyAppointmentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateManyAppointmentInput.schema.js @@ -56,6 +56,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable() }).strict(); exports.ClaimCreateManyAppointmentInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.js index 3a58215f..a22d11ea 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.js @@ -42,7 +42,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -57,6 +57,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable() }).strict(); exports.ClaimCreateManyInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.ts b/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.ts index d5714a85..3ff32be4 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimCreateManyInput.schema.ts @@ -9,7 +9,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.js index f72c7eba..e8391eb2 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.js @@ -42,7 +42,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -56,7 +56,8 @@ const makeSchema = () => z.object({ createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), - claimNumber: z.string().optional().nullable() + claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable() }).strict(); exports.ClaimCreateManyNpiProviderInputObjectSchema = makeSchema(); exports.ClaimCreateManyNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.ts b/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.ts index 24c3223d..29443e23 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimCreateManyNpiProviderInput.schema.ts @@ -9,7 +9,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.js index e08e68e9..6355b212 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.js @@ -41,7 +41,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -56,6 +56,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable() }).strict(); exports.ClaimCreateManyPatientInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.ts b/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.ts index d0d713e8..6149c903 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimCreateManyPatientInput.schema.ts @@ -8,7 +8,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.number().int().optional(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.js index 84015ff6..f31372b0 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.js @@ -42,7 +42,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), patientName: z.string(), memberId: z.string(), @@ -56,6 +56,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable() }).strict(); exports.ClaimCreateManyStaffInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.ts b/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.ts index d97d1b26..56147866 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimCreateManyStaffInput.schema.ts @@ -9,7 +9,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), patientName: z.string(), memberId: z.string(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.js index 70cfc46b..44aa5e4f 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.js @@ -42,7 +42,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), staffId: z.number().int(), patientName: z.string(), memberId: z.string(), @@ -56,6 +56,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable() }).strict(); exports.ClaimCreateManyUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.ts b/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.ts index ce924fcc..6654dcf0 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimCreateManyUserInput.schema.ts @@ -9,7 +9,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), staffId: z.number().int(), patientName: z.string(), memberId: z.string(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutAppointmentInput.schema.js index 19764405..cba97bba 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutAppointmentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutAppointmentInput.schema.js @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutClaimFilesInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutClaimFilesInput.schema.js index c1948695..f4e89996 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutClaimFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutClaimFilesInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutNpiProviderInput.schema.js index 3b761c45..cbce2f2f 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutNpiProviderInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutNpiProviderInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutClaimInput_schema_1.ServiceLineCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutPatientInput.schema.js index cbda8749..8eb8ea93 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutPatientInput.schema.js @@ -59,7 +59,8 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + preAuthNumber: z.string().optional().nullable(), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutPaymentInput.schema.js index 41a78c84..3c377e28 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutPaymentInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutServiceLinesInput.schema.js index 6956fb0d..7cffa84e 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutServiceLinesInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutStaffInput.schema.js index 0487e1ea..32d495a3 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutStaffInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutClaimsInput_schema_1.UserCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutClaimInput_schema_1.ServiceLineCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ClaimCreateWithoutUserInput.schema.js index 21058b28..26419a0c 100644 --- a/packages/db/shared/schemas/objects/ClaimCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimCreateWithoutUserInput.schema.js @@ -59,8 +59,9 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), patient: z.lazy(() => PatientCreateNestedOneWithoutClaimsInput_schema_1.PatientCreateNestedOneWithoutClaimsInputObjectSchema), - appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema), + appointment: z.lazy(() => AppointmentCreateNestedOneWithoutClaimsInput_schema_1.AppointmentCreateNestedOneWithoutClaimsInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedOneWithoutClaimsInput_schema_1.StaffCreateNestedOneWithoutClaimsInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutClaimsInput_schema_1.NpiProviderCreateNestedOneWithoutClaimsInputObjectSchema).optional(), serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutClaimInput_schema_1.ServiceLineCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimMaxAggregateInput.schema.js index 09e76052..aaeec894 100644 --- a/packages/db/shared/schemas/objects/ClaimMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimMaxAggregateInput.schema.js @@ -52,6 +52,7 @@ const makeSchema = () => z.object({ updatedAt: z.literal(true).optional(), status: z.literal(true).optional(), claimNumber: z.literal(true).optional(), + preAuthNumber: z.literal(true).optional(), npiProviderId: z.literal(true).optional() }).strict(); exports.ClaimMaxAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.js index e88ed0d5..984722a1 100644 --- a/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.js @@ -39,7 +39,7 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), patientName: SortOrder_schema_1.SortOrderSchema.optional(), @@ -53,6 +53,7 @@ const makeSchema = () => z.object({ updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), claimNumber: SortOrder_schema_1.SortOrderSchema.optional(), + preAuthNumber: SortOrder_schema_1.SortOrderSchema.optional(), npiProviderId: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.ClaimMaxOrderByAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.ts index a60382fc..032d1f79 100644 --- a/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimMaxOrderByAggregateInput.schema.ts @@ -5,7 +5,7 @@ import { SortOrderSchema } from '../enums/SortOrder.schema' const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), patientName: SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ClaimMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimMinAggregateInput.schema.js index 0e29d840..c037d12f 100644 --- a/packages/db/shared/schemas/objects/ClaimMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimMinAggregateInput.schema.js @@ -52,6 +52,7 @@ const makeSchema = () => z.object({ updatedAt: z.literal(true).optional(), status: z.literal(true).optional(), claimNumber: z.literal(true).optional(), + preAuthNumber: z.literal(true).optional(), npiProviderId: z.literal(true).optional() }).strict(); exports.ClaimMinAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.js index b2ef0d5a..b3b1ea1a 100644 --- a/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.js @@ -39,7 +39,7 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), patientName: SortOrder_schema_1.SortOrderSchema.optional(), @@ -53,6 +53,7 @@ const makeSchema = () => z.object({ updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), claimNumber: SortOrder_schema_1.SortOrderSchema.optional(), + preAuthNumber: SortOrder_schema_1.SortOrderSchema.optional(), npiProviderId: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.ClaimMinOrderByAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.ts index a67e1fcf..e4d7ca1d 100644 --- a/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimMinOrderByAggregateInput.schema.ts @@ -5,7 +5,7 @@ import { SortOrderSchema } from '../enums/SortOrder.schema' const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), patientName: SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.js index 9c332066..21365c9d 100644 --- a/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.js @@ -45,7 +45,7 @@ const ClaimSumOrderByAggregateInput_schema_1 = require("./ClaimSumOrderByAggrega const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), patientName: SortOrder_schema_1.SortOrderSchema.optional(), @@ -60,6 +60,7 @@ const makeSchema = () => z.object({ updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), claimNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + preAuthNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), npiProviderId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), _count: z.lazy(() => ClaimCountOrderByAggregateInput_schema_1.ClaimCountOrderByAggregateInputObjectSchema).optional(), _avg: z.lazy(() => ClaimAvgOrderByAggregateInput_schema_1.ClaimAvgOrderByAggregateInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.ts b/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.ts index 8ed3a0be..a6938f67 100644 --- a/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimOrderByWithAggregationInput.schema.ts @@ -11,7 +11,7 @@ import { ClaimSumOrderByAggregateInputObjectSchema as ClaimSumOrderByAggregateIn const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => SortOrderInputObjectSchema)]).optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), patientName: SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.js index c193dcfc..c1ca0e9f 100644 --- a/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.js @@ -48,7 +48,7 @@ const PaymentOrderByWithRelationInput_schema_1 = require("./PaymentOrderByWithRe const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), patientName: SortOrder_schema_1.SortOrderSchema.optional(), @@ -63,6 +63,7 @@ const makeSchema = () => z.object({ updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), claimNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + preAuthNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), npiProviderId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional(), appointment: z.lazy(() => AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.ts b/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.ts index 2b9fe7a8..ccacaca7 100644 --- a/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimOrderByWithRelationInput.schema.ts @@ -14,7 +14,7 @@ import { PaymentOrderByWithRelationInputObjectSchema as PaymentOrderByWithRelati const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => SortOrderInputObjectSchema)]).optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), patientName: SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ClaimScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/ClaimScalarWhereInput.schema.js index 393a7f47..c1b4de7d 100644 --- a/packages/db/shared/schemas/objects/ClaimScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimScalarWhereInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimScalarWhereInputObjectZodSchema = exports.ClaimScalarWhereInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFilter_schema_1 = require("./IntFilter.schema"); +const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const StringFilter_schema_1 = require("./StringFilter.schema"); const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); const EnumMissingTeethStatusFilter_schema_1 = require("./EnumMissingTeethStatusFilter.schema"); @@ -44,14 +45,13 @@ const JsonNullableFilter_schema_1 = require("./JsonNullableFilter.schema"); const EnumClaimStatusFilter_schema_1 = require("./EnumClaimStatusFilter.schema"); const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); -const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const claimscalarwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.ClaimScalarWhereInputObjectSchema), z.lazy(() => exports.ClaimScalarWhereInputObjectSchema).array()]).optional(), OR: z.lazy(() => exports.ClaimScalarWhereInputObjectSchema).array().optional(), NOT: z.union([z.lazy(() => exports.ClaimScalarWhereInputObjectSchema), z.lazy(() => exports.ClaimScalarWhereInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), - appointmentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + appointmentId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), staffId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), patientName: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), @@ -66,6 +66,7 @@ const claimscalarwhereinputSchema = z.object({ updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), status: z.union([z.lazy(() => EnumClaimStatusFilter_schema_1.EnumClaimStatusFilterObjectSchema), ClaimStatus_schema_1.ClaimStatusSchema]).optional(), claimNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + preAuthNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), npiProviderId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable() }).strict(); exports.ClaimScalarWhereInputObjectSchema = claimscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.js index 10fef03c..6ef4be22 100644 --- a/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimScalarWhereWithAggregatesInputObjectZodSchema = exports.ClaimScalarWhereWithAggregatesInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const IntNullableWithAggregatesFilter_schema_1 = require("./IntNullableWithAggregatesFilter.schema"); const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema"); const EnumMissingTeethStatusWithAggregatesFilter_schema_1 = require("./EnumMissingTeethStatusWithAggregatesFilter.schema"); @@ -44,14 +45,13 @@ const JsonNullableWithAggregatesFilter_schema_1 = require("./JsonNullableWithAgg const EnumClaimStatusWithAggregatesFilter_schema_1 = require("./EnumClaimStatusWithAggregatesFilter.schema"); const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); -const IntNullableWithAggregatesFilter_schema_1 = require("./IntNullableWithAggregatesFilter.schema"); const claimscalarwherewithaggregatesinputSchema = z.object({ AND: z.union([z.lazy(() => exports.ClaimScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.ClaimScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), OR: z.lazy(() => exports.ClaimScalarWhereWithAggregatesInputObjectSchema).array().optional(), NOT: z.union([z.lazy(() => exports.ClaimScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.ClaimScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), patientId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), - appointmentId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + appointmentId: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int().int()]).optional().nullable(), userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), staffId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), patientName: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), @@ -66,6 +66,7 @@ const claimscalarwherewithaggregatesinputSchema = z.object({ updatedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(), status: z.union([z.lazy(() => EnumClaimStatusWithAggregatesFilter_schema_1.EnumClaimStatusWithAggregatesFilterObjectSchema), ClaimStatus_schema_1.ClaimStatusSchema]).optional(), claimNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + preAuthNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), npiProviderId: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable() }).strict(); exports.ClaimScalarWhereWithAggregatesInputObjectSchema = claimscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.ts b/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.ts index 7ab89992..b0b43fa0 100644 --- a/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimScalarWhereWithAggregatesInput.schema.ts @@ -17,7 +17,7 @@ const claimscalarwherewithaggregatesinputSchema = z.object({ NOT: z.union([z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ClaimScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), patientId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), - appointmentId: z.union([z.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(), + appointmentId: z.union([z.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z.number().int().int()]).optional().nullable(), userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), staffId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), patientName: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimSelect.schema.js b/packages/db/shared/schemas/objects/ClaimSelect.schema.js index 3323515a..299de542 100644 --- a/packages/db/shared/schemas/objects/ClaimSelect.schema.js +++ b/packages/db/shared/schemas/objects/ClaimSelect.schema.js @@ -62,6 +62,7 @@ const makeSchema = () => z.object({ updatedAt: z.boolean().optional(), status: z.boolean().optional(), claimNumber: z.boolean().optional(), + preAuthNumber: z.boolean().optional(), npiProviderId: z.boolean().optional(), patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgs_schema_1.AppointmentArgsObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.js index 32851eb8..3bc238ee 100644 --- a/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.js @@ -39,7 +39,7 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), - appointmentId: SortOrder_schema_1.SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), staffId: SortOrder_schema_1.SortOrderSchema.optional(), npiProviderId: SortOrder_schema_1.SortOrderSchema.optional() diff --git a/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.ts index a7bf5630..854763e4 100644 --- a/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimSumOrderByAggregateInput.schema.ts @@ -5,7 +5,7 @@ import { SortOrderSchema } from '../enums/SortOrder.schema' const makeSchema = () => z.object({ id: SortOrderSchema.optional(), patientId: SortOrderSchema.optional(), - appointmentId: SortOrderSchema.optional(), + appointmentId: z.number().int().int().optional(), userId: SortOrderSchema.optional(), staffId: SortOrderSchema.optional(), npiProviderId: SortOrderSchema.optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.js index 95d43514..ac3b3e4d 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.js @@ -45,7 +45,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ createdAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.ts index d3751f60..c2025e35 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateInput.schema.ts @@ -12,7 +12,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutAppointmentInput.schema.js index 834d255f..edf228d9 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutAppointmentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutAppointmentInput.schema.js @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutClaimFilesInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutClaimFilesInput.schema.js index 5a8315f3..f21875b6 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutClaimFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutClaimFilesInput.schema.js @@ -44,7 +44,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedOneWithoutClaimInput_schema_1.PaymentUncheckedCreateNestedOneWithoutClaimInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutNpiProviderInput.schema.js index 2f6056d4..8142ad84 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutNpiProviderInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutNpiProviderInput.schema.js @@ -45,7 +45,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -60,6 +60,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedOneWithoutClaimInput_schema_1.PaymentUncheckedCreateNestedOneWithoutClaimInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPatientInput.schema.js index c6647579..18620f4e 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPatientInput.schema.js @@ -44,7 +44,7 @@ const PaymentUncheckedCreateNestedOneWithoutClaimInput_schema_1 = require("./Pay const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPaymentInput.schema.js index d3e48534..f2f330e9 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutPaymentInput.schema.js @@ -44,7 +44,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutServiceLinesInput.schema.js index d5b85ceb..02085e32 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutServiceLinesInput.schema.js @@ -44,7 +44,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedOneWithoutClaimInput_schema_1.PaymentUncheckedCreateNestedOneWithoutClaimInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutStaffInput.schema.js index f9fa3012..6345afec 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutStaffInput.schema.js @@ -45,7 +45,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), userId: z.number().int(), patientName: z.string(), memberId: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutUserInput.schema.js index 66b4304c..c35c5543 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedCreateWithoutUserInput.schema.js @@ -45,7 +45,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional().nullable(), staffId: z.number().int(), patientName: z.string(), memberId: z.string(), @@ -59,6 +59,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), status: ClaimStatus_schema_1.ClaimStatusSchema.optional(), claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutClaimInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedCreateNestedManyWithoutClaimInput_schema_1.ClaimFileUncheckedCreateNestedManyWithoutClaimInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.js index a127b6e1..710c27e6 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateInputObjectZodSchema = exports.ClaimUncheckedUpdateInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,7 +45,6 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutClaimNestedInput.schema"); const ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ClaimFileUncheckedUpdateManyWithoutClaimNestedInput.schema"); const PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1 = require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"); @@ -52,7 +52,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -67,6 +67,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.ts index 2e2269cb..6d8ed82c 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateInput.schema.ts @@ -19,7 +19,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.js index e995222b..11eeab6d 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateManyInputObjectZodSchema = exports.ClaimUncheckedUpdateManyInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,12 +45,11 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,6 +64,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUncheckedUpdateManyInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.ts index 4f32e74d..4281952f 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyInput.schema.ts @@ -16,7 +16,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutAppointmentInput.schema.js index 62c550f3..ce67d2bc 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutAppointmentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutAppointmentInput.schema.js @@ -63,6 +63,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUncheckedUpdateManyWithoutAppointmentInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.js index caf29fbd..afa2c958 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateManyWithoutNpiProviderInputObjectZodSchema = exports.ClaimUncheckedUpdateManyWithoutNpiProviderInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -48,7 +49,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -62,7 +63,8 @@ const makeSchema = () => z.object({ createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), - claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() + claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUncheckedUpdateManyWithoutNpiProviderInputObjectSchema = makeSchema(); exports.ClaimUncheckedUpdateManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.ts index bf8229e0..160422ba 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.ts @@ -16,7 +16,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.js index 1e872e2d..2b4ebe72 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateManyWithoutPatientInputObjectZodSchema = exports.ClaimUncheckedUpdateManyWithoutPatientInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,11 +45,10 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -63,6 +63,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUncheckedUpdateManyWithoutPatientInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.ts index dc519b5c..33119714 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutPatientInput.schema.ts @@ -15,7 +15,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.js index 4f89a46a..1e6445fc 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateManyWithoutStaffInputObjectZodSchema = exports.ClaimUncheckedUpdateManyWithoutStaffInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,12 +45,11 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), memberId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -63,6 +63,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUncheckedUpdateManyWithoutStaffInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.ts index 5cd0bd20..50929909 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutStaffInput.schema.ts @@ -16,7 +16,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), memberId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.js index fe4c2273..b1f236a9 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateManyWithoutUserInputObjectZodSchema = exports.ClaimUncheckedUpdateManyWithoutUserInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,12 +45,11 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), memberId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -63,6 +63,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUncheckedUpdateManyWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.ts b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.ts index 0512a3fd..357a94be 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateManyWithoutUserInput.schema.ts @@ -16,7 +16,7 @@ import { JsonValueSchema as jsonSchema } from '../../helpers/json-helpers'; const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointmentId: z.union([z.number().int().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), memberId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutAppointmentInput.schema.js index 597aaea0..29a35310 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutAppointmentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutAppointmentInput.schema.js @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutClaimFilesInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutClaimFilesInput.schema.js index c61e4e62..6114efa5 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutClaimFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutClaimFilesInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutClaimFilesInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutClaimFilesInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,14 +45,13 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutClaimNestedInput.schema"); const PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1 = require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1.PaymentUncheckedUpdateOneWithoutClaimNestedInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutNpiProviderInput.schema.js index fc36372c..277472d2 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutNpiProviderInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutNpiProviderInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutNpiProviderInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutNpiProviderInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -51,7 +52,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +67,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1.PaymentUncheckedUpdateOneWithoutClaimNestedInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPatientInput.schema.js index b4c4bb8b..469399c5 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPatientInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutPatientInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutPatientInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,14 +45,13 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutClaimNestedInput.schema"); const ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ClaimFileUncheckedUpdateManyWithoutClaimNestedInput.schema"); const PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1 = require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPaymentInput.schema.js index a0dc1a55..4aa2ed27 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutPaymentInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutPaymentInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutPaymentInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,14 +45,13 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutClaimNestedInput.schema"); const ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ClaimFileUncheckedUpdateManyWithoutClaimNestedInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutServiceLinesInput.schema.js index 1ab0c96f..c7327d11 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutServiceLinesInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutServiceLinesInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutServiceLinesInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,14 +45,13 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ClaimFileUncheckedUpdateManyWithoutClaimNestedInput.schema"); const PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1 = require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"); const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1.PaymentUncheckedUpdateOneWithoutClaimNestedInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutStaffInput.schema.js index 3b3df1ff..c993912e 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutStaffInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutStaffInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutStaffInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,7 +45,6 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutClaimNestedInput.schema"); const ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ClaimFileUncheckedUpdateManyWithoutClaimNestedInput.schema"); const PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1 = require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"); @@ -52,7 +52,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), memberId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutUserInput.schema.js index b35b00e1..418bc13f 100644 --- a/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUncheckedUpdateWithoutUserInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimUncheckedUpdateWithoutUserInputObjectZodSchema = exports.ClaimUncheckedUpdateWithoutUserInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const MissingTeethStatus_schema_1 = require("../enums/MissingTeethStatus.schema"); @@ -44,7 +45,6 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutClaimNestedInput.schema"); const ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1 = require("./ClaimFileUncheckedUpdateManyWithoutClaimNestedInput.schema"); const PaymentUncheckedUpdateOneWithoutClaimNestedInput_schema_1 = require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"); @@ -52,7 +52,7 @@ const json_helpers_1 = require("../../helpers/json-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + appointmentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), staffId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), memberId: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,6 +66,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), claimFiles: z.lazy(() => ClaimFileUncheckedUpdateManyWithoutClaimNestedInput_schema_1.ClaimFileUncheckedUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateInput.schema.js index e04a017e..198fcaf4 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); @@ -65,8 +65,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateManyMutationInput.schema.js index 1cb0376d..12980b41 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateManyMutationInput.schema.js @@ -56,7 +56,8 @@ const makeSchema = () => z.object({ createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), - claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() + claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() }).strict(); exports.ClaimUpdateManyMutationInputObjectSchema = makeSchema(); exports.ClaimUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutAppointmentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutAppointmentInput.schema.js index 8ba0d7d9..a1c1edce 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutAppointmentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutAppointmentInput.schema.js @@ -64,6 +64,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutClaimFilesInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutClaimFilesInput.schema.js index 366b1183..5c06b270 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutClaimFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutClaimFilesInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); @@ -64,8 +64,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutNpiProviderInput.schema.js index 556b4e73..bc618cd4 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutNpiProviderInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutNpiProviderInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const ServiceLineUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutClaimNestedInput.schema"); @@ -64,8 +64,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutPatientInput.schema.js index f25528bf..4988b3e4 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutPatientInput.schema.js @@ -43,7 +43,7 @@ const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullVa const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); @@ -64,7 +64,8 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutPaymentInput.schema.js index dd6f9842..95deabff 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutPaymentInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); @@ -64,8 +64,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutServiceLinesInput.schema.js index f40c587e..39cff49b 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutServiceLinesInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); @@ -64,8 +64,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutStaffInput.schema.js index f9f19290..414ab1f9 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutStaffInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const UserUpdateOneWithoutClaimsNestedInput_schema_1 = require("./UserUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); const ServiceLineUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutClaimNestedInput.schema"); @@ -64,8 +64,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneWithoutClaimsNestedInput_schema_1.UserUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ClaimUpdateWithoutUserInput.schema.js index 72d7fb73..6726af6c 100644 --- a/packages/db/shared/schemas/objects/ClaimUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimUpdateWithoutUserInput.schema.js @@ -44,7 +44,7 @@ const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const EnumClaimStatusFieldUpdateOperationsInput_schema_1 = require("./EnumClaimStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"); -const AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"); +const AppointmentUpdateOneWithoutClaimsNestedInput_schema_1 = require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"); const StaffUpdateOneWithoutClaimsNestedInput_schema_1 = require("./StaffUpdateOneWithoutClaimsNestedInput.schema"); const NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"); const ServiceLineUpdateManyWithoutClaimNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutClaimNestedInput.schema"); @@ -64,8 +64,9 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([ClaimStatus_schema_1.ClaimStatusSchema, z.lazy(() => EnumClaimStatusFieldUpdateOperationsInput_schema_1.EnumClaimStatusFieldUpdateOperationsInputObjectSchema)]).optional(), claimNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preAuthNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutClaimsNestedInput_schema_1.PatientUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), - appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneRequiredWithoutClaimsNestedInputObjectSchema).optional(), + appointment: z.lazy(() => AppointmentUpdateOneWithoutClaimsNestedInput_schema_1.AppointmentUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateOneWithoutClaimsNestedInput_schema_1.StaffUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutClaimsNestedInput_schema_1.NpiProviderUpdateOneWithoutClaimsNestedInputObjectSchema).optional(), serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutClaimNestedInput_schema_1.ServiceLineUpdateManyWithoutClaimNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimWhereInput.schema.js b/packages/db/shared/schemas/objects/ClaimWhereInput.schema.js index f1a09879..9e737b64 100644 --- a/packages/db/shared/schemas/objects/ClaimWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/ClaimWhereInput.schema.js @@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.ClaimWhereInputObjectZodSchema = exports.ClaimWhereInputObjectSchema = void 0; const z = __importStar(require("zod")); const IntFilter_schema_1 = require("./IntFilter.schema"); +const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const StringFilter_schema_1 = require("./StringFilter.schema"); const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); const EnumMissingTeethStatusFilter_schema_1 = require("./EnumMissingTeethStatusFilter.schema"); @@ -44,10 +45,9 @@ const JsonNullableFilter_schema_1 = require("./JsonNullableFilter.schema"); const EnumClaimStatusFilter_schema_1 = require("./EnumClaimStatusFilter.schema"); const ClaimStatus_schema_1 = require("../enums/ClaimStatus.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); -const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const PatientScalarRelationFilter_schema_1 = require("./PatientScalarRelationFilter.schema"); const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); -const AppointmentScalarRelationFilter_schema_1 = require("./AppointmentScalarRelationFilter.schema"); +const AppointmentNullableScalarRelationFilter_schema_1 = require("./AppointmentNullableScalarRelationFilter.schema"); const AppointmentWhereInput_schema_1 = require("./AppointmentWhereInput.schema"); const UserNullableScalarRelationFilter_schema_1 = require("./UserNullableScalarRelationFilter.schema"); const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); @@ -65,7 +65,7 @@ const claimwhereinputSchema = z.object({ NOT: z.union([z.lazy(() => exports.ClaimWhereInputObjectSchema), z.lazy(() => exports.ClaimWhereInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), - appointmentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + appointmentId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int().int()]).optional().nullable(), userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), staffId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), patientName: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), @@ -80,9 +80,10 @@ const claimwhereinputSchema = z.object({ updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), status: z.union([z.lazy(() => EnumClaimStatusFilter_schema_1.EnumClaimStatusFilterObjectSchema), ClaimStatus_schema_1.ClaimStatusSchema]).optional(), claimNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + preAuthNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), npiProviderId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), patient: z.union([z.lazy(() => PatientScalarRelationFilter_schema_1.PatientScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), - appointment: z.union([z.lazy(() => AppointmentScalarRelationFilter_schema_1.AppointmentScalarRelationFilterObjectSchema), z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema)]).optional(), + appointment: z.union([z.lazy(() => AppointmentNullableScalarRelationFilter_schema_1.AppointmentNullableScalarRelationFilterObjectSchema), z.lazy(() => AppointmentWhereInput_schema_1.AppointmentWhereInputObjectSchema)]).optional(), user: z.union([z.lazy(() => UserNullableScalarRelationFilter_schema_1.UserNullableScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional(), staff: z.union([z.lazy(() => StaffNullableScalarRelationFilter_schema_1.StaffNullableScalarRelationFilterObjectSchema), z.lazy(() => StaffWhereInput_schema_1.StaffWhereInputObjectSchema)]).optional(), npiProvider: z.union([z.lazy(() => NpiProviderNullableScalarRelationFilter_schema_1.NpiProviderNullableScalarRelationFilterObjectSchema), z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/ClaimWhereInput.schema.ts b/packages/db/shared/schemas/objects/ClaimWhereInput.schema.ts index 3fb070e8..e6577002 100644 --- a/packages/db/shared/schemas/objects/ClaimWhereInput.schema.ts +++ b/packages/db/shared/schemas/objects/ClaimWhereInput.schema.ts @@ -31,7 +31,7 @@ const claimwhereinputSchema = z.object({ NOT: z.union([z.lazy(() => ClaimWhereInputObjectSchema), z.lazy(() => ClaimWhereInputObjectSchema).array()]).optional(), id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), patientId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), - appointmentId: z.union([z.lazy(() => IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), + appointmentId: z.union([z.lazy(() => IntNullableFilterObjectSchema), z.number().int().int()]).optional().nullable(), userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), staffId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(), patientName: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderAvgAggregateInput.schema.js index e6f255a0..9539a642 100644 --- a/packages/db/shared/schemas/objects/CloudFolderAvgAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderAvgAggregateInput.schema.js @@ -38,7 +38,8 @@ const z = __importStar(require("zod")); const makeSchema = () => z.object({ id: z.literal(true).optional(), userId: z.literal(true).optional(), - parentId: z.literal(true).optional() + parentId: z.literal(true).optional(), + patientId: z.literal(true).optional() }).strict(); exports.CloudFolderAvgAggregateInputObjectSchema = makeSchema(); exports.CloudFolderAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderAvgOrderByAggregateInput.schema.js index 1fd4e828..e33a120c 100644 --- a/packages/db/shared/schemas/objects/CloudFolderAvgOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderAvgOrderByAggregateInput.schema.js @@ -39,7 +39,8 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), - parentId: SortOrder_schema_1.SortOrderSchema.optional() + parentId: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.CloudFolderAvgOrderByAggregateInputObjectSchema = makeSchema(); exports.CloudFolderAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCountAggregateInput.schema.js index ea361aaf..878573d2 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCountAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.literal(true).optional(), name: z.literal(true).optional(), parentId: z.literal(true).optional(), + patientId: z.literal(true).optional(), createdAt: z.literal(true).optional(), updatedAt: z.literal(true).optional(), _all: z.literal(true).optional() diff --git a/packages/db/shared/schemas/objects/CloudFolderCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCountOrderByAggregateInput.schema.js index adef615c..5fbaf57b 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCountOrderByAggregateInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), name: SortOrder_schema_1.SortOrderSchema.optional(), parentId: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), updatedAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateInput.schema.js index c7eaf367..85fce8f2 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateInput.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const CloudFolderCreateNestedOneWithoutChildrenInput_schema_1 = require("./CloudFolderCreateNestedOneWithoutChildrenInput.schema"); const CloudFolderCreateNestedManyWithoutParentInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutParentInput.schema"); const UserCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./UserCreateNestedOneWithoutCloudFoldersInput.schema"); +const PatientCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./PatientCreateNestedOneWithoutCloudFoldersInput.schema"); const CloudFileCreateNestedManyWithoutFolderInput_schema_1 = require("./CloudFileCreateNestedManyWithoutFolderInput.schema"); const makeSchema = () => z.object({ name: z.string(), @@ -45,6 +46,7 @@ const makeSchema = () => z.object({ parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInput_schema_1.CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(), children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInput_schema_1.CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInput_schema_1.UserCreateNestedOneWithoutCloudFoldersInputObjectSchema), + patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInput_schema_1.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(), files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInput_schema_1.CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional() }).strict(); exports.CloudFolderCreateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateManyInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateManyInput.schema.js index 045aee04..1f1d3db6 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateManyInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateManyParentInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateManyParentInput.schema.js index b3c7649c..bb43e332 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateManyParentInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateManyParentInput.schema.js @@ -39,6 +39,7 @@ const makeSchema = () => z.object({ id: z.number().int().optional(), userId: z.number().int(), name: z.string(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateManyPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateManyPatientInput.schema.js new file mode 100644 index 00000000..1f8dff22 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderCreateManyPatientInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderCreateManyPatientInputObjectZodSchema = exports.CloudFolderCreateManyPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + name: z.string(), + parentId: z.number().int().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional() +}).strict(); +exports.CloudFolderCreateManyPatientInputObjectSchema = makeSchema(); +exports.CloudFolderCreateManyPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateManyPatientInputEnvelope.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateManyPatientInputEnvelope.schema.js new file mode 100644 index 00000000..b8086469 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderCreateManyPatientInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderCreateManyPatientInputEnvelopeObjectZodSchema = exports.CloudFolderCreateManyPatientInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderCreateManyPatientInput_schema_1 = require("./CloudFolderCreateManyPatientInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => CloudFolderCreateManyPatientInput_schema_1.CloudFolderCreateManyPatientInputObjectSchema), z.lazy(() => CloudFolderCreateManyPatientInput_schema_1.CloudFolderCreateManyPatientInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.CloudFolderCreateManyPatientInputEnvelopeObjectSchema = makeSchema(); +exports.CloudFolderCreateManyPatientInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateManyUserInput.schema.js index 10627eee..46ad717e 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateManyUserInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateManyUserInput.schema.js @@ -39,6 +39,7 @@ const makeSchema = () => z.object({ id: z.number().int().optional(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateNestedManyWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateNestedManyWithoutPatientInput.schema.js new file mode 100644 index 00000000..a0a0b2c3 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderCreateNestedManyWithoutPatientInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderCreateNestedManyWithoutPatientInputObjectZodSchema = exports.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderCreateWithoutPatientInput_schema_1 = require("./CloudFolderCreateWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"); +const CloudFolderCreateOrConnectWithoutPatientInput_schema_1 = require("./CloudFolderCreateOrConnectWithoutPatientInput.schema"); +const CloudFolderCreateManyPatientInputEnvelope_schema_1 = require("./CloudFolderCreateManyPatientInputEnvelope.schema"); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelope_schema_1.CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateOrConnectWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateOrConnectWithoutPatientInput.schema.js new file mode 100644 index 00000000..e95ad929 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderCreateOrConnectWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderCreateOrConnectWithoutPatientInputObjectZodSchema = exports.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const CloudFolderCreateWithoutPatientInput_schema_1 = require("./CloudFolderCreateWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema)]) +}).strict(); +exports.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderCreateOrConnectWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutChildrenInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutChildrenInput.schema.js index 90f6a905..33cb28a8 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutChildrenInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutChildrenInput.schema.js @@ -37,6 +37,7 @@ exports.CloudFolderCreateWithoutChildrenInputObjectZodSchema = exports.CloudFold const z = __importStar(require("zod")); const CloudFolderCreateNestedOneWithoutChildrenInput_schema_1 = require("./CloudFolderCreateNestedOneWithoutChildrenInput.schema"); const UserCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./UserCreateNestedOneWithoutCloudFoldersInput.schema"); +const PatientCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./PatientCreateNestedOneWithoutCloudFoldersInput.schema"); const CloudFileCreateNestedManyWithoutFolderInput_schema_1 = require("./CloudFileCreateNestedManyWithoutFolderInput.schema"); const makeSchema = () => z.object({ name: z.string(), @@ -44,6 +45,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInput_schema_1.CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInput_schema_1.UserCreateNestedOneWithoutCloudFoldersInputObjectSchema), + patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInput_schema_1.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(), files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInput_schema_1.CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional() }).strict(); exports.CloudFolderCreateWithoutChildrenInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutFilesInput.schema.js index 173a3ad5..e1677fce 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutFilesInput.schema.js @@ -38,13 +38,15 @@ const z = __importStar(require("zod")); const CloudFolderCreateNestedOneWithoutChildrenInput_schema_1 = require("./CloudFolderCreateNestedOneWithoutChildrenInput.schema"); const CloudFolderCreateNestedManyWithoutParentInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutParentInput.schema"); const UserCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./UserCreateNestedOneWithoutCloudFoldersInput.schema"); +const PatientCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./PatientCreateNestedOneWithoutCloudFoldersInput.schema"); const makeSchema = () => z.object({ name: z.string(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInput_schema_1.CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(), children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInput_schema_1.CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(), - user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInput_schema_1.UserCreateNestedOneWithoutCloudFoldersInputObjectSchema) + user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInput_schema_1.UserCreateNestedOneWithoutCloudFoldersInputObjectSchema), + patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInput_schema_1.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional() }).strict(); exports.CloudFolderCreateWithoutFilesInputObjectSchema = makeSchema(); exports.CloudFolderCreateWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutParentInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutParentInput.schema.js index eb2a4c3f..e91fdd5c 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutParentInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutParentInput.schema.js @@ -37,6 +37,7 @@ exports.CloudFolderCreateWithoutParentInputObjectZodSchema = exports.CloudFolder const z = __importStar(require("zod")); const CloudFolderCreateNestedManyWithoutParentInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutParentInput.schema"); const UserCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./UserCreateNestedOneWithoutCloudFoldersInput.schema"); +const PatientCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./PatientCreateNestedOneWithoutCloudFoldersInput.schema"); const CloudFileCreateNestedManyWithoutFolderInput_schema_1 = require("./CloudFileCreateNestedManyWithoutFolderInput.schema"); const makeSchema = () => z.object({ name: z.string(), @@ -44,6 +45,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInput_schema_1.CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(), user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInput_schema_1.UserCreateNestedOneWithoutCloudFoldersInputObjectSchema), + patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInput_schema_1.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(), files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInput_schema_1.CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional() }).strict(); exports.CloudFolderCreateWithoutParentInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutPatientInput.schema.js new file mode 100644 index 00000000..4348ba1b --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutPatientInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderCreateWithoutPatientInputObjectZodSchema = exports.CloudFolderCreateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderCreateNestedOneWithoutChildrenInput_schema_1 = require("./CloudFolderCreateNestedOneWithoutChildrenInput.schema"); +const CloudFolderCreateNestedManyWithoutParentInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutParentInput.schema"); +const UserCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./UserCreateNestedOneWithoutCloudFoldersInput.schema"); +const CloudFileCreateNestedManyWithoutFolderInput_schema_1 = require("./CloudFileCreateNestedManyWithoutFolderInput.schema"); +const makeSchema = () => z.object({ + name: z.string(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInput_schema_1.CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(), + children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInput_schema_1.CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(), + user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInput_schema_1.UserCreateNestedOneWithoutCloudFoldersInputObjectSchema), + files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInput_schema_1.CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional() +}).strict(); +exports.CloudFolderCreateWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutUserInput.schema.js index 303440ca..7ec3055e 100644 --- a/packages/db/shared/schemas/objects/CloudFolderCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderCreateWithoutUserInput.schema.js @@ -37,6 +37,7 @@ exports.CloudFolderCreateWithoutUserInputObjectZodSchema = exports.CloudFolderCr const z = __importStar(require("zod")); const CloudFolderCreateNestedOneWithoutChildrenInput_schema_1 = require("./CloudFolderCreateNestedOneWithoutChildrenInput.schema"); const CloudFolderCreateNestedManyWithoutParentInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutParentInput.schema"); +const PatientCreateNestedOneWithoutCloudFoldersInput_schema_1 = require("./PatientCreateNestedOneWithoutCloudFoldersInput.schema"); const CloudFileCreateNestedManyWithoutFolderInput_schema_1 = require("./CloudFileCreateNestedManyWithoutFolderInput.schema"); const makeSchema = () => z.object({ name: z.string(), @@ -44,6 +45,7 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInput_schema_1.CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(), children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInput_schema_1.CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(), + patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInput_schema_1.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(), files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInput_schema_1.CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional() }).strict(); exports.CloudFolderCreateWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderInclude.schema.js b/packages/db/shared/schemas/objects/CloudFolderInclude.schema.js index 8a51078f..0550c777 100644 --- a/packages/db/shared/schemas/objects/CloudFolderInclude.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderInclude.schema.js @@ -38,12 +38,14 @@ const z = __importStar(require("zod")); const CloudFolderArgs_schema_1 = require("./CloudFolderArgs.schema"); const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema"); const UserArgs_schema_1 = require("./UserArgs.schema"); +const PatientArgs_schema_1 = require("./PatientArgs.schema"); const findManyCloudFile_schema_1 = require("../findManyCloudFile.schema"); const CloudFolderCountOutputTypeArgs_schema_1 = require("./CloudFolderCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ parent: z.union([z.boolean(), z.lazy(() => CloudFolderArgs_schema_1.CloudFolderArgsObjectSchema)]).optional(), children: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(), user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), + patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), files: z.union([z.boolean(), z.lazy(() => findManyCloudFile_schema_1.CloudFileFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => CloudFolderCountOutputTypeArgs_schema_1.CloudFolderCountOutputTypeArgsObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderMaxAggregateInput.schema.js index 99d7aee6..f43fde1b 100644 --- a/packages/db/shared/schemas/objects/CloudFolderMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderMaxAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.literal(true).optional(), name: z.literal(true).optional(), parentId: z.literal(true).optional(), + patientId: z.literal(true).optional(), createdAt: z.literal(true).optional(), updatedAt: z.literal(true).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderMaxOrderByAggregateInput.schema.js index b981d298..bf9f8967 100644 --- a/packages/db/shared/schemas/objects/CloudFolderMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderMaxOrderByAggregateInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), name: SortOrder_schema_1.SortOrderSchema.optional(), parentId: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), updatedAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderMinAggregateInput.schema.js index f760d947..2c5311d3 100644 --- a/packages/db/shared/schemas/objects/CloudFolderMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderMinAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.literal(true).optional(), name: z.literal(true).optional(), parentId: z.literal(true).optional(), + patientId: z.literal(true).optional(), createdAt: z.literal(true).optional(), updatedAt: z.literal(true).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderMinOrderByAggregateInput.schema.js index d5130942..edf45167 100644 --- a/packages/db/shared/schemas/objects/CloudFolderMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderMinOrderByAggregateInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), name: SortOrder_schema_1.SortOrderSchema.optional(), parentId: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), updatedAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderOrderByWithAggregationInput.schema.js index 4d1016d5..eb70bf6f 100644 --- a/packages/db/shared/schemas/objects/CloudFolderOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderOrderByWithAggregationInput.schema.js @@ -47,6 +47,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), name: SortOrder_schema_1.SortOrderSchema.optional(), parentId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + patientId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), _count: z.lazy(() => CloudFolderCountOrderByAggregateInput_schema_1.CloudFolderCountOrderByAggregateInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderOrderByWithRelationInput.schema.js index c2786de7..60cbc690 100644 --- a/packages/db/shared/schemas/objects/CloudFolderOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderOrderByWithRelationInput.schema.js @@ -39,17 +39,20 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); const CloudFolderOrderByRelationAggregateInput_schema_1 = require("./CloudFolderOrderByRelationAggregateInput.schema"); const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const PatientOrderByWithRelationInput_schema_1 = require("./PatientOrderByWithRelationInput.schema"); const CloudFileOrderByRelationAggregateInput_schema_1 = require("./CloudFileOrderByRelationAggregateInput.schema"); const cloudfolderorderbywithrelationinputSchema = z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), name: SortOrder_schema_1.SortOrderSchema.optional(), parentId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + patientId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), parent: z.lazy(() => exports.CloudFolderOrderByWithRelationInputObjectSchema).optional(), children: z.lazy(() => CloudFolderOrderByRelationAggregateInput_schema_1.CloudFolderOrderByRelationAggregateInputObjectSchema).optional(), user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional(), + patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional(), files: z.lazy(() => CloudFileOrderByRelationAggregateInput_schema_1.CloudFileOrderByRelationAggregateInputObjectSchema).optional() }).strict(); exports.CloudFolderOrderByWithRelationInputObjectSchema = cloudfolderorderbywithrelationinputSchema; diff --git a/packages/db/shared/schemas/objects/CloudFolderScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderScalarWhereInput.schema.js index 6ee005fd..1e9ce1f1 100644 --- a/packages/db/shared/schemas/objects/CloudFolderScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderScalarWhereInput.schema.js @@ -47,6 +47,7 @@ const cloudfolderscalarwhereinputSchema = z.object({ userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), name: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), parentId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), + patientId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderScalarWhereWithAggregatesInput.schema.js index 635bc0c0..1c1af458 100644 --- a/packages/db/shared/schemas/objects/CloudFolderScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderScalarWhereWithAggregatesInput.schema.js @@ -47,6 +47,7 @@ const cloudfolderscalarwherewithaggregatesinputSchema = z.object({ userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), name: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), parentId: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(), + patientId: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(), createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(), updatedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderSelect.schema.js b/packages/db/shared/schemas/objects/CloudFolderSelect.schema.js index 0b6672fb..e558f6e8 100644 --- a/packages/db/shared/schemas/objects/CloudFolderSelect.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderSelect.schema.js @@ -38,6 +38,7 @@ const z = __importStar(require("zod")); const CloudFolderArgs_schema_1 = require("./CloudFolderArgs.schema"); const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema"); const UserArgs_schema_1 = require("./UserArgs.schema"); +const PatientArgs_schema_1 = require("./PatientArgs.schema"); const findManyCloudFile_schema_1 = require("../findManyCloudFile.schema"); const CloudFolderCountOutputTypeArgs_schema_1 = require("./CloudFolderCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ @@ -45,9 +46,11 @@ const makeSchema = () => z.object({ userId: z.boolean().optional(), name: z.boolean().optional(), parentId: z.boolean().optional(), + patientId: z.boolean().optional(), parent: z.union([z.boolean(), z.lazy(() => CloudFolderArgs_schema_1.CloudFolderArgsObjectSchema)]).optional(), children: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(), user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), + patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), files: z.union([z.boolean(), z.lazy(() => findManyCloudFile_schema_1.CloudFileFindManySchema)]).optional(), createdAt: z.boolean().optional(), updatedAt: z.boolean().optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderSumAggregateInput.schema.js index 8dcaa837..c799504e 100644 --- a/packages/db/shared/schemas/objects/CloudFolderSumAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderSumAggregateInput.schema.js @@ -38,7 +38,8 @@ const z = __importStar(require("zod")); const makeSchema = () => z.object({ id: z.literal(true).optional(), userId: z.literal(true).optional(), - parentId: z.literal(true).optional() + parentId: z.literal(true).optional(), + patientId: z.literal(true).optional() }).strict(); exports.CloudFolderSumAggregateInputObjectSchema = makeSchema(); exports.CloudFolderSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderSumOrderByAggregateInput.schema.js index 84f94f8e..d782f556 100644 --- a/packages/db/shared/schemas/objects/CloudFolderSumOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderSumOrderByAggregateInput.schema.js @@ -39,7 +39,8 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), - parentId: SortOrder_schema_1.SortOrderSchema.optional() + parentId: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.CloudFolderSumOrderByAggregateInputObjectSchema = makeSchema(); exports.CloudFolderSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateInput.schema.js index 797e189a..fe1a3ecc 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateInput.schema.js @@ -42,6 +42,7 @@ const makeSchema = () => z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(), files: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutFolderInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema.js new file mode 100644 index 00000000..3952d1e1 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = exports.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderCreateWithoutPatientInput_schema_1 = require("./CloudFolderCreateWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"); +const CloudFolderCreateOrConnectWithoutPatientInput_schema_1 = require("./CloudFolderCreateOrConnectWithoutPatientInput.schema"); +const CloudFolderCreateManyPatientInputEnvelope_schema_1 = require("./CloudFolderCreateManyPatientInputEnvelope.schema"); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelope_schema_1.CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutChildrenInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutChildrenInput.schema.js index 25380ddd..1e0fa4f5 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutChildrenInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutChildrenInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), files: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutFolderInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutFilesInput.schema.js index 815b4192..43eb170d 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutFilesInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutParentInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutParentInput.schema.js index 17e13036..31c4a5a6 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutParentInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutParentInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ id: z.number().int().optional(), userId: z.number().int(), name: z.string(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutPatientInput.schema.js new file mode 100644 index 00000000..1f32ed2a --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutPatientInput.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUncheckedCreateWithoutPatientInputObjectZodSchema = exports.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderUncheckedCreateNestedManyWithoutParentInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutParentInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutFolderInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutFolderInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + name: z.string(), + parentId: z.number().int().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(), + files: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutFolderInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema).optional() +}).strict(); +exports.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutUserInput.schema.js index 0bd3e0b4..87df2be3 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedCreateWithoutUserInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ id: z.number().int().optional(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateInput.schema.js index 45b36556..33c5d906 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateInput.schema.js @@ -46,6 +46,7 @@ const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyInput.schema.js index 55c6937a..b1356a97 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyInput.schema.js @@ -44,6 +44,7 @@ const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutParentInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutParentInput.schema.js index ab047532..bf8e37f6 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutParentInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutParentInput.schema.js @@ -37,11 +37,13 @@ exports.CloudFolderUncheckedUpdateManyWithoutParentInputObjectZodSchema = export const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientInput.schema.js new file mode 100644 index 00000000..f1a36eeb --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientInput.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUncheckedUpdateManyWithoutPatientInputObjectZodSchema = exports.CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUncheckedUpdateManyWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema.js new file mode 100644 index 00000000..b7992c44 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectZodSchema = exports.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderCreateWithoutPatientInput_schema_1 = require("./CloudFolderCreateWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"); +const CloudFolderCreateOrConnectWithoutPatientInput_schema_1 = require("./CloudFolderCreateOrConnectWithoutPatientInput.schema"); +const CloudFolderUpsertWithWhereUniqueWithoutPatientInput_schema_1 = require("./CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema"); +const CloudFolderCreateManyPatientInputEnvelope_schema_1 = require("./CloudFolderCreateManyPatientInputEnvelope.schema"); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const CloudFolderUpdateWithWhereUniqueWithoutPatientInput_schema_1 = require("./CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema"); +const CloudFolderUpdateManyWithWhereWithoutPatientInput_schema_1 = require("./CloudFolderUpdateManyWithWhereWithoutPatientInput.schema"); +const CloudFolderScalarWhereInput_schema_1 = require("./CloudFolderScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelope_schema_1.CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInput_schema_1.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInput_schema_1.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CloudFolderScalarWhereInput_schema_1.CloudFolderScalarWhereInputObjectSchema), z.lazy(() => CloudFolderScalarWhereInput_schema_1.CloudFolderScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema = makeSchema(); +exports.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutUserInput.schema.js index 2d3bdab0..3a4326d7 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateManyWithoutUserInput.schema.js @@ -43,6 +43,7 @@ const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutChildrenInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutChildrenInput.schema.js index 9f2825af..ab3a0b5a 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutChildrenInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutChildrenInput.schema.js @@ -45,6 +45,7 @@ const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), files: z.lazy(() => CloudFileUncheckedUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutFilesInput.schema.js index d55ed437..9e8e26c9 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutFilesInput.schema.js @@ -45,6 +45,7 @@ const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional() diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutParentInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutParentInput.schema.js index 8dcb00b0..02e68320 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutParentInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutParentInput.schema.js @@ -37,6 +37,7 @@ exports.CloudFolderUncheckedUpdateWithoutParentInputObjectZodSchema = exports.Cl const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutParentNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutFolderNestedInput.schema"); @@ -44,6 +45,7 @@ const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutPatientInput.schema.js new file mode 100644 index 00000000..f4c33c5d --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutPatientInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUncheckedUpdateWithoutPatientInputObjectZodSchema = exports.CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutParentNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutFolderNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(), + files: z.lazy(() => CloudFileUncheckedUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema).optional() +}).strict(); +exports.CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutUserInput.schema.js index dbf5f946..d10bc91a 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUncheckedUpdateWithoutUserInput.schema.js @@ -45,6 +45,7 @@ const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateInput.schema.js index 9981dcf7..8b6f2a54 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateInput.schema.js @@ -40,6 +40,7 @@ const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpda const CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1 = require("./CloudFolderUpdateOneWithoutChildrenNestedInput.schema"); const CloudFolderUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutParentNestedInput.schema"); const UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema"); +const PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1 = require("./PatientUpdateOneWithoutCloudFoldersNestedInput.schema"); const CloudFileUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutFolderNestedInput.schema"); const makeSchema = () => z.object({ name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -48,6 +49,7 @@ const makeSchema = () => z.object({ parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1.CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(), children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1.UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(), files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional() }).strict(); exports.CloudFolderUpdateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateManyWithWhereWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateManyWithWhereWithoutPatientInput.schema.js new file mode 100644 index 00000000..1d5cfa9f --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateManyWithWhereWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectZodSchema = exports.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderScalarWhereInput_schema_1 = require("./CloudFolderScalarWhereInput.schema"); +const CloudFolderUpdateManyMutationInput_schema_1 = require("./CloudFolderUpdateManyMutationInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CloudFolderScalarWhereInput_schema_1.CloudFolderScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => CloudFolderUpdateManyMutationInput_schema_1.CloudFolderUpdateManyMutationInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema)]) +}).strict(); +exports.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateManyWithoutPatientNestedInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateManyWithoutPatientNestedInput.schema.js new file mode 100644 index 00000000..497408f0 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateManyWithoutPatientNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUpdateManyWithoutPatientNestedInputObjectZodSchema = exports.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderCreateWithoutPatientInput_schema_1 = require("./CloudFolderCreateWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"); +const CloudFolderCreateOrConnectWithoutPatientInput_schema_1 = require("./CloudFolderCreateOrConnectWithoutPatientInput.schema"); +const CloudFolderUpsertWithWhereUniqueWithoutPatientInput_schema_1 = require("./CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema"); +const CloudFolderCreateManyPatientInputEnvelope_schema_1 = require("./CloudFolderCreateManyPatientInputEnvelope.schema"); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const CloudFolderUpdateWithWhereUniqueWithoutPatientInput_schema_1 = require("./CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema"); +const CloudFolderUpdateManyWithWhereWithoutPatientInput_schema_1 = require("./CloudFolderUpdateManyWithWhereWithoutPatientInput.schema"); +const CloudFolderScalarWhereInput_schema_1 = require("./CloudFolderScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInput_schema_1.CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelope_schema_1.CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInput_schema_1.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInput_schema_1.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInput_schema_1.CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CloudFolderScalarWhereInput_schema_1.CloudFolderScalarWhereInputObjectSchema), z.lazy(() => CloudFolderScalarWhereInput_schema_1.CloudFolderScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema = makeSchema(); +exports.CloudFolderUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema.js new file mode 100644 index 00000000..4f3f35f7 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = exports.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const CloudFolderUpdateWithoutPatientInput_schema_1 = require("./CloudFolderUpdateWithoutPatientInput.schema"); +const CloudFolderUncheckedUpdateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedUpdateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => CloudFolderUpdateWithoutPatientInput_schema_1.CloudFolderUpdateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutPatientInput_schema_1.CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema)]) +}).strict(); +exports.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutChildrenInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutChildrenInput.schema.js index f4bb6d31..9c93a45b 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutChildrenInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutChildrenInput.schema.js @@ -39,6 +39,7 @@ const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOp const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1 = require("./CloudFolderUpdateOneWithoutChildrenNestedInput.schema"); const UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema"); +const PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1 = require("./PatientUpdateOneWithoutCloudFoldersNestedInput.schema"); const CloudFileUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutFolderNestedInput.schema"); const makeSchema = () => z.object({ name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -46,6 +47,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1.CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1.UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(), files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional() }).strict(); exports.CloudFolderUpdateWithoutChildrenInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutFilesInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutFilesInput.schema.js index ec510e6b..e3003d47 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutFilesInput.schema.js @@ -40,13 +40,15 @@ const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpda const CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1 = require("./CloudFolderUpdateOneWithoutChildrenNestedInput.schema"); const CloudFolderUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutParentNestedInput.schema"); const UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema"); +const PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1 = require("./PatientUpdateOneWithoutCloudFoldersNestedInput.schema"); const makeSchema = () => z.object({ name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1.CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(), children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(), - user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1.UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional() + user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1.UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional() }).strict(); exports.CloudFolderUpdateWithoutFilesInputObjectSchema = makeSchema(); exports.CloudFolderUpdateWithoutFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutParentInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutParentInput.schema.js index ec528d2a..ec13abd9 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutParentInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutParentInput.schema.js @@ -39,6 +39,7 @@ const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOp const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const CloudFolderUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutParentNestedInput.schema"); const UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema"); +const PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1 = require("./PatientUpdateOneWithoutCloudFoldersNestedInput.schema"); const CloudFileUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutFolderNestedInput.schema"); const makeSchema = () => z.object({ name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -46,6 +47,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1.UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(), files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional() }).strict(); exports.CloudFolderUpdateWithoutParentInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutPatientInput.schema.js new file mode 100644 index 00000000..e92eabc2 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutPatientInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUpdateWithoutPatientInputObjectZodSchema = exports.CloudFolderUpdateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1 = require("./CloudFolderUpdateOneWithoutChildrenNestedInput.schema"); +const CloudFolderUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutParentNestedInput.schema"); +const UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema"); +const CloudFileUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutFolderNestedInput.schema"); +const makeSchema = () => z.object({ + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1.CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(), + children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInput_schema_1.UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(), + files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional() +}).strict(); +exports.CloudFolderUpdateWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutUserInput.schema.js index 2a290c57..46b80b49 100644 --- a/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderUpdateWithoutUserInput.schema.js @@ -39,6 +39,7 @@ const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOp const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1 = require("./CloudFolderUpdateOneWithoutChildrenNestedInput.schema"); const CloudFolderUpdateManyWithoutParentNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutParentNestedInput.schema"); +const PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1 = require("./PatientUpdateOneWithoutCloudFoldersNestedInput.schema"); const CloudFileUpdateManyWithoutFolderNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutFolderNestedInput.schema"); const makeSchema = () => z.object({ name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -46,6 +47,7 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInput_schema_1.CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(), children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInput_schema_1.CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInput_schema_1.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(), files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInput_schema_1.CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional() }).strict(); exports.CloudFolderUpdateWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema.js new file mode 100644 index 00000000..be36a903 --- /dev/null +++ b/packages/db/shared/schemas/objects/CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = exports.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderWhereUniqueInput_schema_1 = require("./CloudFolderWhereUniqueInput.schema"); +const CloudFolderUpdateWithoutPatientInput_schema_1 = require("./CloudFolderUpdateWithoutPatientInput.schema"); +const CloudFolderUncheckedUpdateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedUpdateWithoutPatientInput.schema"); +const CloudFolderCreateWithoutPatientInput_schema_1 = require("./CloudFolderCreateWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CloudFolderWhereUniqueInput_schema_1.CloudFolderWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => CloudFolderUpdateWithoutPatientInput_schema_1.CloudFolderUpdateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutPatientInput_schema_1.CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema)]), + create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInput_schema_1.CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInput_schema_1.CloudFolderUncheckedCreateWithoutPatientInputObjectSchema)]) +}).strict(); +exports.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema = makeSchema(); +exports.CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CloudFolderWhereInput.schema.js b/packages/db/shared/schemas/objects/CloudFolderWhereInput.schema.js index 6bc76925..a8937293 100644 --- a/packages/db/shared/schemas/objects/CloudFolderWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/CloudFolderWhereInput.schema.js @@ -43,6 +43,8 @@ const CloudFolderNullableScalarRelationFilter_schema_1 = require("./CloudFolderN const CloudFolderListRelationFilter_schema_1 = require("./CloudFolderListRelationFilter.schema"); const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const PatientNullableScalarRelationFilter_schema_1 = require("./PatientNullableScalarRelationFilter.schema"); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); const CloudFileListRelationFilter_schema_1 = require("./CloudFileListRelationFilter.schema"); const cloudfolderwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.CloudFolderWhereInputObjectSchema), z.lazy(() => exports.CloudFolderWhereInputObjectSchema).array()]).optional(), @@ -52,11 +54,13 @@ const cloudfolderwhereinputSchema = z.object({ userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), name: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), parentId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), + patientId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), parent: z.union([z.lazy(() => CloudFolderNullableScalarRelationFilter_schema_1.CloudFolderNullableScalarRelationFilterObjectSchema), z.lazy(() => exports.CloudFolderWhereInputObjectSchema)]).optional(), children: z.lazy(() => CloudFolderListRelationFilter_schema_1.CloudFolderListRelationFilterObjectSchema).optional(), user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional(), + patient: z.union([z.lazy(() => PatientNullableScalarRelationFilter_schema_1.PatientNullableScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), files: z.lazy(() => CloudFileListRelationFilter_schema_1.CloudFileListRelationFilterObjectSchema).optional() }).strict(); exports.CloudFolderWhereInputObjectSchema = cloudfolderwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchArgs.schema.js b/packages/db/shared/schemas/objects/CommissionBatchArgs.schema.js new file mode 100644 index 00000000..086514e1 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchArgsObjectZodSchema = exports.CommissionBatchArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./CommissionBatchInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema).optional(), + include: z.lazy(() => CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema).optional() +}).strict(); +exports.CommissionBatchArgsObjectSchema = makeSchema(); +exports.CommissionBatchArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchAvgAggregateInput.schema.js new file mode 100644 index 00000000..06186bdb --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchAvgAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchAvgAggregateInputObjectZodSchema = exports.CommissionBatchAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), + totalCollection: z.literal(true).optional(), + commissionAmount: z.literal(true).optional() +}).strict(); +exports.CommissionBatchAvgAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..b60c5fd6 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchAvgOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchAvgOrderByAggregateInputObjectZodSchema = exports.CommissionBatchAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCountAggregateInput.schema.js new file mode 100644 index 00000000..8a0c6cf6 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCountAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountAggregateInputObjectZodSchema = exports.CommissionBatchCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), + totalCollection: z.literal(true).optional(), + commissionAmount: z.literal(true).optional(), + notes: z.literal(true).optional(), + createdAt: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.CommissionBatchCountAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..e2846406 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCountOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountOrderByAggregateInputObjectZodSchema = exports.CommissionBatchCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + notes: SortOrder_schema_1.SortOrderSchema.optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeArgs.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeArgs.schema.js new file mode 100644 index 00000000..4d69dc41 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountOutputTypeArgsObjectZodSchema = exports.CommissionBatchCountOutputTypeArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCountOutputTypeSelect_schema_1 = require("./CommissionBatchCountOutputTypeSelect.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => CommissionBatchCountOutputTypeSelect_schema_1.CommissionBatchCountOutputTypeSelectObjectSchema).optional() +}).strict(); +exports.CommissionBatchCountOutputTypeArgsObjectSchema = makeSchema(); +exports.CommissionBatchCountOutputTypeArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeCountItemsArgs.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeCountItemsArgs.schema.js new file mode 100644 index 00000000..4a9926d0 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeCountItemsArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountOutputTypeCountItemsArgsObjectZodSchema = exports.CommissionBatchCountOutputTypeCountItemsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereInput_schema_1 = require("./CommissionBatchItemWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchCountOutputTypeCountItemsArgsObjectSchema = makeSchema(); +exports.CommissionBatchCountOutputTypeCountItemsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeSelect.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeSelect.schema.js new file mode 100644 index 00000000..4211c85e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCountOutputTypeSelect.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountOutputTypeSelectObjectZodSchema = exports.CommissionBatchCountOutputTypeSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCountOutputTypeCountItemsArgs_schema_1 = require("./CommissionBatchCountOutputTypeCountItemsArgs.schema"); +const makeSchema = () => z.object({ + items: z.union([z.boolean(), z.lazy(() => CommissionBatchCountOutputTypeCountItemsArgs_schema_1.CommissionBatchCountOutputTypeCountItemsArgsObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchCountOutputTypeSelectObjectSchema = makeSchema(); +exports.CommissionBatchCountOutputTypeSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateInput.schema.js new file mode 100644 index 00000000..c6ed1022 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateInput.schema.js @@ -0,0 +1,71 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateInputObjectZodSchema = exports.CommissionBatchCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const NpiProviderCreateNestedOneWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutCommissionBatchesInput_schema_1.NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectSchema), + items: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateNestedManyWithoutCommissionBatchInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchCreateInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateManyInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateManyInput.schema.js new file mode 100644 index 00000000..4d6d97b7 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateManyInput.schema.js @@ -0,0 +1,69 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateManyInputObjectZodSchema = exports.CommissionBatchCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + npiProviderId: z.number().int(), + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.CommissionBatchCreateManyInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateManyNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateManyNpiProviderInput.schema.js new file mode 100644 index 00000000..16b92f9d --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateManyNpiProviderInput.schema.js @@ -0,0 +1,68 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateManyNpiProviderInputObjectZodSchema = exports.CommissionBatchCreateManyNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.CommissionBatchCreateManyNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateManyNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateManyNpiProviderInputEnvelope.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateManyNpiProviderInputEnvelope.schema.js new file mode 100644 index 00000000..fed15aee --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateManyNpiProviderInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectZodSchema = exports.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateManyNpiProviderInput_schema_1 = require("./CommissionBatchCreateManyNpiProviderInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => CommissionBatchCreateManyNpiProviderInput_schema_1.CommissionBatchCreateManyNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateManyNpiProviderInput_schema_1.CommissionBatchCreateManyNpiProviderInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema = makeSchema(); +exports.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..19b8db49 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"); +const CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema"); +const CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1 = require("./CommissionBatchCreateManyNpiProviderInputEnvelope.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateNestedOneWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateNestedOneWithoutItemsInput.schema.js new file mode 100644 index 00000000..e2f7484e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateNestedOneWithoutItemsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateNestedOneWithoutItemsInputObjectZodSchema = exports.CommissionBatchCreateNestedOneWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateWithoutItemsInput_schema_1 = require("./CommissionBatchCreateWithoutItemsInput.schema"); +const CommissionBatchUncheckedCreateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutItemsInput.schema"); +const CommissionBatchCreateOrConnectWithoutItemsInput_schema_1 = require("./CommissionBatchCreateOrConnectWithoutItemsInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchCreateWithoutItemsInput_schema_1.CommissionBatchCreateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutItemsInput_schema_1.CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => CommissionBatchCreateOrConnectWithoutItemsInput_schema_1.CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema).optional(), + connect: z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchCreateNestedOneWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateNestedOneWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateOrConnectWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateOrConnectWithoutItemsInput.schema.js new file mode 100644 index 00000000..2a841f11 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateOrConnectWithoutItemsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateOrConnectWithoutItemsInputObjectZodSchema = exports.CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchCreateWithoutItemsInput_schema_1 = require("./CommissionBatchCreateWithoutItemsInput.schema"); +const CommissionBatchUncheckedCreateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutItemsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => CommissionBatchCreateWithoutItemsInput_schema_1.CommissionBatchCreateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutItemsInput_schema_1.CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema)]) +}).strict(); +exports.CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateOrConnectWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..1b39eba8 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateWithoutItemsInput.schema.js new file mode 100644 index 00000000..f5bb01be --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateWithoutItemsInput.schema.js @@ -0,0 +1,69 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateWithoutItemsInputObjectZodSchema = exports.CommissionBatchCreateWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const NpiProviderCreateNestedOneWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutCommissionBatchesInput_schema_1.NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectSchema) +}).strict(); +exports.CommissionBatchCreateWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchCreateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchCreateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..f07bb0c4 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchCreateWithoutNpiProviderInput.schema.js @@ -0,0 +1,69 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchCreateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + items: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateNestedManyWithoutCommissionBatchInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchCreateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchCreateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchInclude.schema.js b/packages/db/shared/schemas/objects/CommissionBatchInclude.schema.js new file mode 100644 index 00000000..5f034279 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchInclude.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchIncludeObjectZodSchema = exports.CommissionBatchIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderArgs_schema_1 = require("./NpiProviderArgs.schema"); +const findManyCommissionBatchItem_schema_1 = require("../findManyCommissionBatchItem.schema"); +const CommissionBatchCountOutputTypeArgs_schema_1 = require("./CommissionBatchCountOutputTypeArgs.schema"); +const makeSchema = () => z.object({ + npiProvider: z.union([z.boolean(), z.lazy(() => NpiProviderArgs_schema_1.NpiProviderArgsObjectSchema)]).optional(), + items: z.union([z.boolean(), z.lazy(() => findManyCommissionBatchItem_schema_1.CommissionBatchItemFindManySchema)]).optional(), + _count: z.union([z.boolean(), z.lazy(() => CommissionBatchCountOutputTypeArgs_schema_1.CommissionBatchCountOutputTypeArgsObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchIncludeObjectSchema = makeSchema(); +exports.CommissionBatchIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemArgs.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemArgs.schema.js new file mode 100644 index 00000000..5301283c --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemArgsObjectZodSchema = exports.CommissionBatchItemArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./CommissionBatchItemInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema).optional(), + include: z.lazy(() => CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemArgsObjectSchema = makeSchema(); +exports.CommissionBatchItemArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemAvgAggregateInput.schema.js new file mode 100644 index 00000000..bd38ff8a --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemAvgAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemAvgAggregateInputObjectZodSchema = exports.CommissionBatchItemAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + commissionBatchId: z.literal(true).optional(), + paymentId: z.literal(true).optional(), + collectionAmount: z.literal(true).optional() +}).strict(); +exports.CommissionBatchItemAvgAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..7dea0f78 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemAvgOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemAvgOrderByAggregateInputObjectZodSchema = exports.CommissionBatchItemAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchItemAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput.schema.js new file mode 100644 index 00000000..0bb35bef --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInputObjectZodSchema = exports.CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + commissionBatchId: z.number().int(), + paymentId: z.number().int() +}).strict(); +exports.CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCountAggregateInput.schema.js new file mode 100644 index 00000000..29a96f19 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCountAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCountAggregateInputObjectZodSchema = exports.CommissionBatchItemCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + commissionBatchId: z.literal(true).optional(), + paymentId: z.literal(true).optional(), + collectionAmount: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.CommissionBatchItemCountAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..5c5e550c --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCountOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCountOrderByAggregateInputObjectZodSchema = exports.CommissionBatchItemCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchItemCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateInput.schema.js new file mode 100644 index 00000000..469e7aef --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateInputObjectZodSchema = exports.CommissionBatchItemCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const CommissionBatchCreateNestedOneWithoutItemsInput_schema_1 = require("./CommissionBatchCreateNestedOneWithoutItemsInput.schema"); +const PaymentCreateNestedOneWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateNestedOneWithoutCommissionBatchItemsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), + commissionBatch: z.lazy(() => CommissionBatchCreateNestedOneWithoutItemsInput_schema_1.CommissionBatchCreateNestedOneWithoutItemsInputObjectSchema), + payment: z.lazy(() => PaymentCreateNestedOneWithoutCommissionBatchItemsInput_schema_1.PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectSchema) +}).strict(); +exports.CommissionBatchItemCreateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyCommissionBatchInput.schema.js new file mode 100644 index 00000000..ecd578b5 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyCommissionBatchInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemCreateManyCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + paymentId: z.number().int(), + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }) +}).strict(); +exports.CommissionBatchItemCreateManyCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateManyCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema.js new file mode 100644 index 00000000..31d0da80 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectZodSchema = exports.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateManyCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateManyCommissionBatchInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInput_schema_1.CommissionBatchItemCreateManyCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInput_schema_1.CommissionBatchItemCreateManyCommissionBatchInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyInput.schema.js new file mode 100644 index 00000000..88109ebe --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyInputObjectZodSchema = exports.CommissionBatchItemCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }) +}).strict(); +exports.CommissionBatchItemCreateManyInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyPaymentInput.schema.js new file mode 100644 index 00000000..65a1dccd --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyPaymentInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyPaymentInputObjectZodSchema = exports.CommissionBatchItemCreateManyPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + commissionBatchId: z.number().int(), + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }) +}).strict(); +exports.CommissionBatchItemCreateManyPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateManyPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyPaymentInputEnvelope.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyPaymentInputEnvelope.schema.js new file mode 100644 index 00000000..8ba198bd --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateManyPaymentInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectZodSchema = exports.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateManyPaymentInput_schema_1 = require("./CommissionBatchItemCreateManyPaymentInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => CommissionBatchItemCreateManyPaymentInput_schema_1.CommissionBatchItemCreateManyPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateManyPaymentInput_schema_1.CommissionBatchItemCreateManyPaymentInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..20e53b71 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateNestedManyWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemCreateNestedManyWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemCreateNestedManyWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateNestedManyWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema.js new file mode 100644 index 00000000..1fe09f83 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema"); +const CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyPaymentInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..f2364bdb --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema.js new file mode 100644 index 00000000..6e3ed941 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..53423037 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateWithoutCommissionBatchInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const PaymentCreateNestedOneWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateNestedOneWithoutCommissionBatchItemsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), + payment: z.lazy(() => PaymentCreateNestedOneWithoutCommissionBatchItemsInput_schema_1.PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectSchema) +}).strict(); +exports.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemCreateWithoutPaymentInput.schema.js new file mode 100644 index 00000000..1d0ccc64 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemCreateWithoutPaymentInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemCreateWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const CommissionBatchCreateNestedOneWithoutItemsInput_schema_1 = require("./CommissionBatchCreateNestedOneWithoutItemsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), + commissionBatch: z.lazy(() => CommissionBatchCreateNestedOneWithoutItemsInput_schema_1.CommissionBatchCreateNestedOneWithoutItemsInputObjectSchema) +}).strict(); +exports.CommissionBatchItemCreateWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemCreateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemInclude.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemInclude.schema.js new file mode 100644 index 00000000..49e449a1 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemInclude.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemIncludeObjectZodSchema = exports.CommissionBatchItemIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchArgs_schema_1 = require("./CommissionBatchArgs.schema"); +const PaymentArgs_schema_1 = require("./PaymentArgs.schema"); +const makeSchema = () => z.object({ + commissionBatch: z.union([z.boolean(), z.lazy(() => CommissionBatchArgs_schema_1.CommissionBatchArgsObjectSchema)]).optional(), + payment: z.union([z.boolean(), z.lazy(() => PaymentArgs_schema_1.PaymentArgsObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemIncludeObjectSchema = makeSchema(); +exports.CommissionBatchItemIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemListRelationFilter.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemListRelationFilter.schema.js new file mode 100644 index 00000000..d11aa8ae --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemListRelationFilter.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemListRelationFilterObjectZodSchema = exports.CommissionBatchItemListRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereInput_schema_1 = require("./CommissionBatchItemWhereInput.schema"); +const makeSchema = () => z.object({ + every: z.lazy(() => CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema).optional(), + some: z.lazy(() => CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema).optional(), + none: z.lazy(() => CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemListRelationFilterObjectSchema = makeSchema(); +exports.CommissionBatchItemListRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemMaxAggregateInput.schema.js new file mode 100644 index 00000000..f98a32aa --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemMaxAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemMaxAggregateInputObjectZodSchema = exports.CommissionBatchItemMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + commissionBatchId: z.literal(true).optional(), + paymentId: z.literal(true).optional(), + collectionAmount: z.literal(true).optional() +}).strict(); +exports.CommissionBatchItemMaxAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..589c36da --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemMaxOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemMaxOrderByAggregateInputObjectZodSchema = exports.CommissionBatchItemMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchItemMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemMinAggregateInput.schema.js new file mode 100644 index 00000000..7b224e8e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemMinAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemMinAggregateInputObjectZodSchema = exports.CommissionBatchItemMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + commissionBatchId: z.literal(true).optional(), + paymentId: z.literal(true).optional(), + collectionAmount: z.literal(true).optional() +}).strict(); +exports.CommissionBatchItemMinAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..7e33d6b2 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemMinOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemMinOrderByAggregateInputObjectZodSchema = exports.CommissionBatchItemMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchItemMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemOrderByRelationAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemOrderByRelationAggregateInput.schema.js new file mode 100644 index 00000000..41e12589 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemOrderByRelationAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemOrderByRelationAggregateInputObjectZodSchema = exports.CommissionBatchItemOrderByRelationAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + _count: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchItemOrderByRelationAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemOrderByRelationAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..4ddf0425 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemOrderByWithAggregationInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemOrderByWithAggregationInputObjectZodSchema = exports.CommissionBatchItemOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const CommissionBatchItemCountOrderByAggregateInput_schema_1 = require("./CommissionBatchItemCountOrderByAggregateInput.schema"); +const CommissionBatchItemAvgOrderByAggregateInput_schema_1 = require("./CommissionBatchItemAvgOrderByAggregateInput.schema"); +const CommissionBatchItemMaxOrderByAggregateInput_schema_1 = require("./CommissionBatchItemMaxOrderByAggregateInput.schema"); +const CommissionBatchItemMinOrderByAggregateInput_schema_1 = require("./CommissionBatchItemMinOrderByAggregateInput.schema"); +const CommissionBatchItemSumOrderByAggregateInput_schema_1 = require("./CommissionBatchItemSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => CommissionBatchItemCountOrderByAggregateInput_schema_1.CommissionBatchItemCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => CommissionBatchItemAvgOrderByAggregateInput_schema_1.CommissionBatchItemAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => CommissionBatchItemMaxOrderByAggregateInput_schema_1.CommissionBatchItemMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => CommissionBatchItemMinOrderByAggregateInput_schema_1.CommissionBatchItemMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => CommissionBatchItemSumOrderByAggregateInput_schema_1.CommissionBatchItemSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.CommissionBatchItemOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..c5a39e52 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemOrderByWithRelationInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemOrderByWithRelationInputObjectZodSchema = exports.CommissionBatchItemOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const CommissionBatchOrderByWithRelationInput_schema_1 = require("./CommissionBatchOrderByWithRelationInput.schema"); +const PaymentOrderByWithRelationInput_schema_1 = require("./PaymentOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatch: z.lazy(() => CommissionBatchOrderByWithRelationInput_schema_1.CommissionBatchOrderByWithRelationInputObjectSchema).optional(), + payment: z.lazy(() => PaymentOrderByWithRelationInput_schema_1.PaymentOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemOrderByWithRelationInputObjectSchema = makeSchema(); +exports.CommissionBatchItemOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemScalarWhereInput.schema.js new file mode 100644 index 00000000..9301b26e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemScalarWhereInput.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemScalarWhereInputObjectZodSchema = exports.CommissionBatchItemScalarWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const commissionbatchitemscalarwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.CommissionBatchItemScalarWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + commissionBatchId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + paymentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + collectionAmount: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + })]).optional() +}).strict(); +exports.CommissionBatchItemScalarWhereInputObjectSchema = commissionbatchitemscalarwhereinputSchema; +exports.CommissionBatchItemScalarWhereInputObjectZodSchema = commissionbatchitemscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..0fba8ad3 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectZodSchema = exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const DecimalWithAggregatesFilter_schema_1 = require("./DecimalWithAggregatesFilter.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const commissionbatchitemscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + commissionBatchId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + paymentId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + collectionAmount: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + })]).optional() +}).strict(); +exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectSchema = commissionbatchitemscalarwherewithaggregatesinputSchema; +exports.CommissionBatchItemScalarWhereWithAggregatesInputObjectZodSchema = commissionbatchitemscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemSelect.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemSelect.schema.js new file mode 100644 index 00000000..23d0c7b8 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemSelect.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemSelectObjectZodSchema = exports.CommissionBatchItemSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchArgs_schema_1 = require("./CommissionBatchArgs.schema"); +const PaymentArgs_schema_1 = require("./PaymentArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + commissionBatchId: z.boolean().optional(), + paymentId: z.boolean().optional(), + collectionAmount: z.boolean().optional(), + commissionBatch: z.union([z.boolean(), z.lazy(() => CommissionBatchArgs_schema_1.CommissionBatchArgsObjectSchema)]).optional(), + payment: z.union([z.boolean(), z.lazy(() => PaymentArgs_schema_1.PaymentArgsObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemSelectObjectSchema = makeSchema(); +exports.CommissionBatchItemSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemSumAggregateInput.schema.js new file mode 100644 index 00000000..23d91a34 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemSumAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemSumAggregateInputObjectZodSchema = exports.CommissionBatchItemSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + commissionBatchId: z.literal(true).optional(), + paymentId: z.literal(true).optional(), + collectionAmount: z.literal(true).optional() +}).strict(); +exports.CommissionBatchItemSumAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..85da9278 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemSumOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemSumOrderByAggregateInputObjectZodSchema = exports.CommissionBatchItemSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + commissionBatchId: SortOrder_schema_1.SortOrderSchema.optional(), + paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + collectionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchItemSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateInput.schema.js new file mode 100644 index 00000000..50c92ae2 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedCreateInputObjectZodSchema = exports.CommissionBatchItemUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }) +}).strict(); +exports.CommissionBatchItemUncheckedCreateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..74cc2c47 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema.js new file mode 100644 index 00000000..b40e6970 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema"); +const CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyPaymentInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..f024812e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + paymentId: z.number().int(), + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }) +}).strict(); +exports.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema.js new file mode 100644 index 00000000..f5b3420a --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + commissionBatchId: z.number().int(), + collectionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }) +}).strict(); +exports.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..d80d5cd4 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionBatchId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + paymentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..eac9d8ca --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateManyInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionBatchId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + paymentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..81e491b1 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + paymentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput.schema.js new file mode 100644 index 00000000..e642d45a --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema"); +const CommissionBatchItemScalarWhereInput_schema_1 = require("./CommissionBatchItemScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput.schema.js new file mode 100644 index 00000000..0c16fda3 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionBatchId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema.js new file mode 100644 index 00000000..c9658876 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema"); +const CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput.schema"); +const CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyPaymentInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput.schema"); +const CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput.schema"); +const CommissionBatchItemScalarWhereInput_schema_1 = require("./CommissionBatchItemScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..10bc261d --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + paymentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema.js new file mode 100644 index 00000000..5f8f8783 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionBatchId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateInput.schema.js new file mode 100644 index 00000000..87c756d8 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateInputObjectZodSchema = exports.CommissionBatchItemUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const CommissionBatchUpdateOneRequiredWithoutItemsNestedInput_schema_1 = require("./CommissionBatchUpdateOneRequiredWithoutItemsNestedInput.schema"); +const PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput_schema_1 = require("./PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionBatch: z.lazy(() => CommissionBatchUpdateOneRequiredWithoutItemsNestedInput_schema_1.CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput_schema_1.PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemUpdateInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..c805f891 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyMutationInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyMutationInputObjectZodSchema = exports.CommissionBatchItemUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemUpdateManyMutationInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..c468614e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemScalarWhereInput_schema_1 = require("./CommissionBatchItemScalarWhereInput.schema"); +const CommissionBatchItemUpdateManyMutationInput_schema_1 = require("./CommissionBatchItemUpdateManyMutationInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => CommissionBatchItemUpdateManyMutationInput_schema_1.CommissionBatchItemUpdateManyMutationInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput.schema.js new file mode 100644 index 00000000..4b5f89a3 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemScalarWhereInput_schema_1 = require("./CommissionBatchItemScalarWhereInput.schema"); +const CommissionBatchItemUpdateManyMutationInput_schema_1 = require("./CommissionBatchItemUpdateManyMutationInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => CommissionBatchItemUpdateManyMutationInput_schema_1.CommissionBatchItemUpdateManyMutationInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput.schema.js new file mode 100644 index 00000000..cf7d33cf --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectZodSchema = exports.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema"); +const CommissionBatchItemScalarWhereInput_schema_1 = require("./CommissionBatchItemScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateOrConnectWithoutCommissionBatchInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyCommissionBatchInputEnvelope_schema_1.CommissionBatchItemCreateManyCommissionBatchInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema.js new file mode 100644 index 00000000..8f60e52c --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectZodSchema = exports.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"); +const CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema"); +const CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput.schema"); +const CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1 = require("./CommissionBatchItemCreateManyPaymentInputEnvelope.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput.schema"); +const CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput.schema"); +const CommissionBatchItemScalarWhereInput_schema_1 = require("./CommissionBatchItemScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemCreateOrConnectWithoutPaymentInput_schema_1.CommissionBatchItemCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchItemCreateManyPaymentInputEnvelope_schema_1.CommissionBatchItemCreateManyPaymentInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput_schema_1.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput_schema_1.CommissionBatchItemUpdateManyWithWhereWithoutPaymentInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchItemScalarWhereInput_schema_1.CommissionBatchItemScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..405b4cd0 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpdateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => CommissionBatchItemUpdateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput.schema.js new file mode 100644 index 00000000..47c73c1c --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpdateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedUpdateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => CommissionBatchItemUpdateWithoutPaymentInput_schema_1.CommissionBatchItemUpdateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..343ab696 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithoutCommissionBatchInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUpdateWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput_schema_1 = require("./PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + payment: z.lazy(() => PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput_schema_1.PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemUpdateWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithoutPaymentInput.schema.js new file mode 100644 index 00000000..ca86fffc --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpdateWithoutPaymentInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUpdateWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const CommissionBatchUpdateOneRequiredWithoutItemsNestedInput_schema_1 = require("./CommissionBatchUpdateOneRequiredWithoutItemsNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + collectionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionBatch: z.lazy(() => CommissionBatchUpdateOneRequiredWithoutItemsNestedInput_schema_1.CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemUpdateWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpdateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema.js new file mode 100644 index 00000000..3ef6e315 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectZodSchema = exports.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUpdateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => CommissionBatchItemUpdateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUpdateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInputObjectSchema)]), + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemCreateWithoutCommissionBatchInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateWithoutCommissionBatchInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput.schema.js new file mode 100644 index 00000000..2a84c8a2 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectZodSchema = exports.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemUpdateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUpdateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedUpdateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema"); +const CommissionBatchItemCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => CommissionBatchItemUpdateWithoutPaymentInput_schema_1.CommissionBatchItemUpdateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedUpdateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedUpdateWithoutPaymentInputObjectSchema)]), + create: z.union([z.lazy(() => CommissionBatchItemCreateWithoutPaymentInput_schema_1.CommissionBatchItemCreateWithoutPaymentInputObjectSchema), z.lazy(() => CommissionBatchItemUncheckedCreateWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateWithoutPaymentInputObjectSchema)]) +}).strict(); +exports.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectSchema = makeSchema(); +exports.CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemWhereInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemWhereInput.schema.js new file mode 100644 index 00000000..dc753647 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemWhereInput.schema.js @@ -0,0 +1,70 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemWhereInputObjectZodSchema = exports.CommissionBatchItemWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); +const CommissionBatchScalarRelationFilter_schema_1 = require("./CommissionBatchScalarRelationFilter.schema"); +const CommissionBatchWhereInput_schema_1 = require("./CommissionBatchWhereInput.schema"); +const PaymentScalarRelationFilter_schema_1 = require("./PaymentScalarRelationFilter.schema"); +const PaymentWhereInput_schema_1 = require("./PaymentWhereInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const commissionbatchitemwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.CommissionBatchItemWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchItemWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.CommissionBatchItemWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.CommissionBatchItemWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchItemWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + commissionBatchId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + paymentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + collectionAmount: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'collectionAmount' must be a Decimal", + })]).optional(), + commissionBatch: z.union([z.lazy(() => CommissionBatchScalarRelationFilter_schema_1.CommissionBatchScalarRelationFilterObjectSchema), z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema)]).optional(), + payment: z.union([z.lazy(() => PaymentScalarRelationFilter_schema_1.PaymentScalarRelationFilterObjectSchema), z.lazy(() => PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchItemWhereInputObjectSchema = commissionbatchitemwhereinputSchema; +exports.CommissionBatchItemWhereInputObjectZodSchema = commissionbatchitemwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchItemWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchItemWhereUniqueInput.schema.js new file mode 100644 index 00000000..979150d3 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchItemWhereUniqueInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemWhereUniqueInputObjectZodSchema = exports.CommissionBatchItemWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput_schema_1 = require("./CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + commissionBatchId_paymentId: z.lazy(() => CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput_schema_1.CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchItemWhereUniqueInputObjectSchema = makeSchema(); +exports.CommissionBatchItemWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchListRelationFilter.schema.js b/packages/db/shared/schemas/objects/CommissionBatchListRelationFilter.schema.js new file mode 100644 index 00000000..7974db26 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchListRelationFilter.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchListRelationFilterObjectZodSchema = exports.CommissionBatchListRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereInput_schema_1 = require("./CommissionBatchWhereInput.schema"); +const makeSchema = () => z.object({ + every: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional(), + some: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional(), + none: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchListRelationFilterObjectSchema = makeSchema(); +exports.CommissionBatchListRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchMaxAggregateInput.schema.js new file mode 100644 index 00000000..858dfd80 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchMaxAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchMaxAggregateInputObjectZodSchema = exports.CommissionBatchMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), + totalCollection: z.literal(true).optional(), + commissionAmount: z.literal(true).optional(), + notes: z.literal(true).optional(), + createdAt: z.literal(true).optional() +}).strict(); +exports.CommissionBatchMaxAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..f8e1dca9 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchMaxOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchMaxOrderByAggregateInputObjectZodSchema = exports.CommissionBatchMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + notes: SortOrder_schema_1.SortOrderSchema.optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchMinAggregateInput.schema.js new file mode 100644 index 00000000..097206f5 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchMinAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchMinAggregateInputObjectZodSchema = exports.CommissionBatchMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), + totalCollection: z.literal(true).optional(), + commissionAmount: z.literal(true).optional(), + notes: z.literal(true).optional(), + createdAt: z.literal(true).optional() +}).strict(); +exports.CommissionBatchMinAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..b9aa5f5f --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchMinOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchMinOrderByAggregateInputObjectZodSchema = exports.CommissionBatchMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + notes: SortOrder_schema_1.SortOrderSchema.optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchOrderByRelationAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchOrderByRelationAggregateInput.schema.js new file mode 100644 index 00000000..d40da2e8 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchOrderByRelationAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchOrderByRelationAggregateInputObjectZodSchema = exports.CommissionBatchOrderByRelationAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + _count: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchOrderByRelationAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchOrderByRelationAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..ac78017d --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchOrderByWithAggregationInput.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchOrderByWithAggregationInputObjectZodSchema = exports.CommissionBatchOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const CommissionBatchCountOrderByAggregateInput_schema_1 = require("./CommissionBatchCountOrderByAggregateInput.schema"); +const CommissionBatchAvgOrderByAggregateInput_schema_1 = require("./CommissionBatchAvgOrderByAggregateInput.schema"); +const CommissionBatchMaxOrderByAggregateInput_schema_1 = require("./CommissionBatchMaxOrderByAggregateInput.schema"); +const CommissionBatchMinOrderByAggregateInput_schema_1 = require("./CommissionBatchMinOrderByAggregateInput.schema"); +const CommissionBatchSumOrderByAggregateInput_schema_1 = require("./CommissionBatchSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + notes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => CommissionBatchCountOrderByAggregateInput_schema_1.CommissionBatchCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => CommissionBatchAvgOrderByAggregateInput_schema_1.CommissionBatchAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => CommissionBatchMaxOrderByAggregateInput_schema_1.CommissionBatchMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => CommissionBatchMinOrderByAggregateInput_schema_1.CommissionBatchMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => CommissionBatchSumOrderByAggregateInput_schema_1.CommissionBatchSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.CommissionBatchOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..3748cf2e --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchOrderByWithRelationInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchOrderByWithRelationInputObjectZodSchema = exports.CommissionBatchOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const NpiProviderOrderByWithRelationInput_schema_1 = require("./NpiProviderOrderByWithRelationInput.schema"); +const CommissionBatchItemOrderByRelationAggregateInput_schema_1 = require("./CommissionBatchItemOrderByRelationAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional(), + notes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + npiProvider: z.lazy(() => NpiProviderOrderByWithRelationInput_schema_1.NpiProviderOrderByWithRelationInputObjectSchema).optional(), + items: z.lazy(() => CommissionBatchItemOrderByRelationAggregateInput_schema_1.CommissionBatchItemOrderByRelationAggregateInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchOrderByWithRelationInputObjectSchema = makeSchema(); +exports.CommissionBatchOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/CommissionBatchScalarRelationFilter.schema.js new file mode 100644 index 00000000..d999162b --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchScalarRelationFilterObjectZodSchema = exports.CommissionBatchScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereInput_schema_1 = require("./CommissionBatchWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional(), + isNot: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchScalarRelationFilterObjectSchema = makeSchema(); +exports.CommissionBatchScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchScalarWhereInput.schema.js new file mode 100644 index 00000000..b326536b --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchScalarWhereInput.schema.js @@ -0,0 +1,76 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchScalarWhereInputObjectZodSchema = exports.CommissionBatchScalarWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const commissionbatchscalarwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.CommissionBatchScalarWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchScalarWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.CommissionBatchScalarWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.CommissionBatchScalarWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchScalarWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + npiProviderId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + totalCollection: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + })]).optional(), + commissionAmount: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + })]).optional(), + notes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() +}).strict(); +exports.CommissionBatchScalarWhereInputObjectSchema = commissionbatchscalarwhereinputSchema; +exports.CommissionBatchScalarWhereInputObjectZodSchema = commissionbatchscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..092c18f7 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,76 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchScalarWhereWithAggregatesInputObjectZodSchema = exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const DecimalWithAggregatesFilter_schema_1 = require("./DecimalWithAggregatesFilter.schema"); +const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); +const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const commissionbatchscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + npiProviderId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + totalCollection: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + })]).optional(), + commissionAmount: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + })]).optional(), + notes: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() +}).strict(); +exports.CommissionBatchScalarWhereWithAggregatesInputObjectSchema = commissionbatchscalarwherewithaggregatesinputSchema; +exports.CommissionBatchScalarWhereWithAggregatesInputObjectZodSchema = commissionbatchscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchSelect.schema.js b/packages/db/shared/schemas/objects/CommissionBatchSelect.schema.js new file mode 100644 index 00000000..43de963f --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchSelect.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchSelectObjectZodSchema = exports.CommissionBatchSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderArgs_schema_1 = require("./NpiProviderArgs.schema"); +const findManyCommissionBatchItem_schema_1 = require("../findManyCommissionBatchItem.schema"); +const CommissionBatchCountOutputTypeArgs_schema_1 = require("./CommissionBatchCountOutputTypeArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + npiProviderId: z.boolean().optional(), + totalCollection: z.boolean().optional(), + commissionAmount: z.boolean().optional(), + notes: z.boolean().optional(), + createdAt: z.boolean().optional(), + npiProvider: z.union([z.boolean(), z.lazy(() => NpiProviderArgs_schema_1.NpiProviderArgsObjectSchema)]).optional(), + items: z.union([z.boolean(), z.lazy(() => findManyCommissionBatchItem_schema_1.CommissionBatchItemFindManySchema)]).optional(), + _count: z.union([z.boolean(), z.lazy(() => CommissionBatchCountOutputTypeArgs_schema_1.CommissionBatchCountOutputTypeArgsObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchSelectObjectSchema = makeSchema(); +exports.CommissionBatchSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchSumAggregateInput.schema.js new file mode 100644 index 00000000..4d090069 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchSumAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchSumAggregateInputObjectZodSchema = exports.CommissionBatchSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), + totalCollection: z.literal(true).optional(), + commissionAmount: z.literal(true).optional() +}).strict(); +exports.CommissionBatchSumAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..6070242f --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchSumOrderByAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchSumOrderByAggregateInputObjectZodSchema = exports.CommissionBatchSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), + totalCollection: SortOrder_schema_1.SortOrderSchema.optional(), + commissionAmount: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.CommissionBatchSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.CommissionBatchSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateInput.schema.js new file mode 100644 index 00000000..a31605f5 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateInput.schema.js @@ -0,0 +1,71 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedCreateInputObjectZodSchema = exports.CommissionBatchUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + npiProviderId: z.number().int(), + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + items: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUncheckedCreateInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..e26b400d --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"); +const CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema"); +const CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1 = require("./CommissionBatchCreateManyNpiProviderInputEnvelope.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateWithoutItemsInput.schema.js new file mode 100644 index 00000000..7ab2b60c --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateWithoutItemsInput.schema.js @@ -0,0 +1,69 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedCreateWithoutItemsInputObjectZodSchema = exports.CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + npiProviderId: z.number().int(), + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedCreateWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..55256b14 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema.js @@ -0,0 +1,70 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + totalCollection: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), + commissionAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), + notes: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + items: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..12b9d235 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateInput.schema.js @@ -0,0 +1,75 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedUpdateInputObjectZodSchema = exports.CommissionBatchUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProviderId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + items: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUncheckedUpdateInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..08795379 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyInput.schema.js @@ -0,0 +1,73 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedUpdateManyInputObjectZodSchema = exports.CommissionBatchUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProviderId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..474beb84 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput.schema.js @@ -0,0 +1,72 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.js new file mode 100644 index 00000000..9301e948 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"); +const CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema"); +const CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema"); +const CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1 = require("./CommissionBatchCreateManyNpiProviderInputEnvelope.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema"); +const CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema"); +const CommissionBatchScalarWhereInput_schema_1 = require("./CommissionBatchScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput_schema_1.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput_schema_1.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CommissionBatchScalarWhereInput_schema_1.CommissionBatchScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchScalarWhereInput_schema_1.CommissionBatchScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateWithoutItemsInput.schema.js new file mode 100644 index 00000000..7c799584 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateWithoutItemsInput.schema.js @@ -0,0 +1,73 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedUpdateWithoutItemsInputObjectZodSchema = exports.CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProviderId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedUpdateWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..2b14e2dd --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUncheckedUpdateWithoutNpiProviderInput.schema.js @@ -0,0 +1,74 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUncheckedUpdateWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUncheckedUpdateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + items: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUncheckedUpdateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUncheckedUpdateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateInput.schema.js new file mode 100644 index 00000000..082de4c0 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateInput.schema.js @@ -0,0 +1,74 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateInputObjectZodSchema = exports.CommissionBatchUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput_schema_1 = require("./NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput_schema_1.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectSchema).optional(), + items: z.lazy(() => CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUpdateInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..ad4cd596 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateManyMutationInput.schema.js @@ -0,0 +1,70 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateManyMutationInputObjectZodSchema = exports.CommissionBatchUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchUpdateManyMutationInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..985cc1ce --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchScalarWhereInput_schema_1 = require("./CommissionBatchScalarWhereInput.schema"); +const CommissionBatchUpdateManyMutationInput_schema_1 = require("./CommissionBatchUpdateManyMutationInput.schema"); +const CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchScalarWhereInput_schema_1.CommissionBatchScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => CommissionBatchUpdateManyMutationInput_schema_1.CommissionBatchUpdateManyMutationInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedUpdateManyWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema.js new file mode 100644 index 00000000..22ae0a43 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = exports.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"); +const CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema"); +const CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema"); +const CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1 = require("./CommissionBatchCreateManyNpiProviderInputEnvelope.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema"); +const CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema"); +const CommissionBatchScalarWhereInput_schema_1 = require("./CommissionBatchScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchCreateOrConnectWithoutNpiProviderInput_schema_1.CommissionBatchCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => CommissionBatchCreateManyNpiProviderInputEnvelope_schema_1.CommissionBatchCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput_schema_1.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput_schema_1.CommissionBatchUpdateManyWithWhereWithoutNpiProviderInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => CommissionBatchScalarWhereInput_schema_1.CommissionBatchScalarWhereInputObjectSchema), z.lazy(() => CommissionBatchScalarWhereInput_schema_1.CommissionBatchScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateOneRequiredWithoutItemsNestedInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateOneRequiredWithoutItemsNestedInput.schema.js new file mode 100644 index 00000000..aaba8b81 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateOneRequiredWithoutItemsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectZodSchema = exports.CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchCreateWithoutItemsInput_schema_1 = require("./CommissionBatchCreateWithoutItemsInput.schema"); +const CommissionBatchUncheckedCreateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutItemsInput.schema"); +const CommissionBatchCreateOrConnectWithoutItemsInput_schema_1 = require("./CommissionBatchCreateOrConnectWithoutItemsInput.schema"); +const CommissionBatchUpsertWithoutItemsInput_schema_1 = require("./CommissionBatchUpsertWithoutItemsInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchUpdateToOneWithWhereWithoutItemsInput_schema_1 = require("./CommissionBatchUpdateToOneWithWhereWithoutItemsInput.schema"); +const CommissionBatchUpdateWithoutItemsInput_schema_1 = require("./CommissionBatchUpdateWithoutItemsInput.schema"); +const CommissionBatchUncheckedUpdateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedUpdateWithoutItemsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => CommissionBatchCreateWithoutItemsInput_schema_1.CommissionBatchCreateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutItemsInput_schema_1.CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => CommissionBatchCreateOrConnectWithoutItemsInput_schema_1.CommissionBatchCreateOrConnectWithoutItemsInputObjectSchema).optional(), + upsert: z.lazy(() => CommissionBatchUpsertWithoutItemsInput_schema_1.CommissionBatchUpsertWithoutItemsInputObjectSchema).optional(), + connect: z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => CommissionBatchUpdateToOneWithWhereWithoutItemsInput_schema_1.CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUpdateWithoutItemsInput_schema_1.CommissionBatchUpdateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutItemsInput_schema_1.CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema)]).optional() +}).strict(); +exports.CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateOneRequiredWithoutItemsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateToOneWithWhereWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateToOneWithWhereWithoutItemsInput.schema.js new file mode 100644 index 00000000..2f6fa6b0 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateToOneWithWhereWithoutItemsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectZodSchema = exports.CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereInput_schema_1 = require("./CommissionBatchWhereInput.schema"); +const CommissionBatchUpdateWithoutItemsInput_schema_1 = require("./CommissionBatchUpdateWithoutItemsInput.schema"); +const CommissionBatchUncheckedUpdateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedUpdateWithoutItemsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => CommissionBatchUpdateWithoutItemsInput_schema_1.CommissionBatchUpdateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutItemsInput_schema_1.CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema)]) +}).strict(); +exports.CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateToOneWithWhereWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..8d950a73 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchUpdateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpdateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedUpdateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedUpdateWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => CommissionBatchUpdateWithoutNpiProviderInput_schema_1.CommissionBatchUpdateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedUpdateWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateWithoutItemsInput.schema.js new file mode 100644 index 00000000..82b552ba --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateWithoutItemsInput.schema.js @@ -0,0 +1,72 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateWithoutItemsInputObjectZodSchema = exports.CommissionBatchUpdateWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput_schema_1 = require("./NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput_schema_1.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUpdateWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpdateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpdateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..ddce0ff1 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpdateWithoutNpiProviderInput.schema.js @@ -0,0 +1,72 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUpdateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + totalCollection: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + commissionAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + items: z.lazy(() => CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUpdateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUpdateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..a6037cd6 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = exports.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereUniqueInput_schema_1 = require("./CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchUpdateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUpdateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedUpdateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedUpdateWithoutNpiProviderInput.schema"); +const CommissionBatchCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => CommissionBatchUpdateWithoutNpiProviderInput_schema_1.CommissionBatchUpdateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedUpdateWithoutNpiProviderInputObjectSchema)]), + create: z.union([z.lazy(() => CommissionBatchCreateWithoutNpiProviderInput_schema_1.CommissionBatchCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchUpsertWithoutItemsInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchUpsertWithoutItemsInput.schema.js new file mode 100644 index 00000000..6566da34 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchUpsertWithoutItemsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpsertWithoutItemsInputObjectZodSchema = exports.CommissionBatchUpsertWithoutItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchUpdateWithoutItemsInput_schema_1 = require("./CommissionBatchUpdateWithoutItemsInput.schema"); +const CommissionBatchUncheckedUpdateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedUpdateWithoutItemsInput.schema"); +const CommissionBatchCreateWithoutItemsInput_schema_1 = require("./CommissionBatchCreateWithoutItemsInput.schema"); +const CommissionBatchUncheckedCreateWithoutItemsInput_schema_1 = require("./CommissionBatchUncheckedCreateWithoutItemsInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./CommissionBatchWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => CommissionBatchUpdateWithoutItemsInput_schema_1.CommissionBatchUpdateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedUpdateWithoutItemsInput_schema_1.CommissionBatchUncheckedUpdateWithoutItemsInputObjectSchema)]), + create: z.union([z.lazy(() => CommissionBatchCreateWithoutItemsInput_schema_1.CommissionBatchCreateWithoutItemsInputObjectSchema), z.lazy(() => CommissionBatchUncheckedCreateWithoutItemsInput_schema_1.CommissionBatchUncheckedCreateWithoutItemsInputObjectSchema)]), + where: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional() +}).strict(); +exports.CommissionBatchUpsertWithoutItemsInputObjectSchema = makeSchema(); +exports.CommissionBatchUpsertWithoutItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/CommissionBatchWhereInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchWhereInput.schema.js new file mode 100644 index 00000000..ffda1701 --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchWhereInput.schema.js @@ -0,0 +1,81 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchWhereInputObjectZodSchema = exports.CommissionBatchWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const NpiProviderScalarRelationFilter_schema_1 = require("./NpiProviderScalarRelationFilter.schema"); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const CommissionBatchItemListRelationFilter_schema_1 = require("./CommissionBatchItemListRelationFilter.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const commissionbatchwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.CommissionBatchWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.CommissionBatchWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.CommissionBatchWhereInputObjectSchema), z.lazy(() => exports.CommissionBatchWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + npiProviderId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + totalCollection: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalCollection' must be a Decimal", + })]).optional(), + commissionAmount: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'commissionAmount' must be a Decimal", + })]).optional(), + notes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), + npiProvider: z.union([z.lazy(() => NpiProviderScalarRelationFilter_schema_1.NpiProviderScalarRelationFilterObjectSchema), z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema)]).optional(), + items: z.lazy(() => CommissionBatchItemListRelationFilter_schema_1.CommissionBatchItemListRelationFilterObjectSchema).optional() +}).strict(); +exports.CommissionBatchWhereInputObjectSchema = commissionbatchwhereinputSchema; +exports.CommissionBatchWhereInputObjectZodSchema = commissionbatchwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/CommissionBatchWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/CommissionBatchWhereUniqueInput.schema.js new file mode 100644 index 00000000..adad74cf --- /dev/null +++ b/packages/db/shared/schemas/objects/CommissionBatchWhereUniqueInput.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchWhereUniqueInputObjectZodSchema = exports.CommissionBatchWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional() +}).strict(); +exports.CommissionBatchWhereUniqueInputObjectSchema = makeSchema(); +exports.CommissionBatchWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactArgs.schema.js b/packages/db/shared/schemas/objects/InsuranceContactArgs.schema.js new file mode 100644 index 00000000..9b05e4c6 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactArgsObjectZodSchema = exports.InsuranceContactArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./InsuranceContactInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema).optional(), + include: z.lazy(() => InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema).optional() +}).strict(); +exports.InsuranceContactArgsObjectSchema = makeSchema(); +exports.InsuranceContactArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactAvgAggregateInput.schema.js new file mode 100644 index 00000000..ae0edb94 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactAvgAggregateInputObjectZodSchema = exports.InsuranceContactAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.InsuranceContactAvgAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..b10dd387 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactAvgOrderByAggregateInputObjectZodSchema = exports.InsuranceContactAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.InsuranceContactAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCountAggregateInput.schema.js new file mode 100644 index 00000000..d7cade62 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCountAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCountAggregateInputObjectZodSchema = exports.InsuranceContactCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + name: z.literal(true).optional(), + phoneNumber: z.literal(true).optional(), + createdAt: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.InsuranceContactCountAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..18f54411 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCountOrderByAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCountOrderByAggregateInputObjectZodSchema = exports.InsuranceContactCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + name: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.InsuranceContactCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateInput.schema.js new file mode 100644 index 00000000..3435bba6 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateInputObjectZodSchema = exports.InsuranceContactCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutInsuranceContactsInput_schema_1 = require("./UserCreateNestedOneWithoutInsuranceContactsInput.schema"); +const makeSchema = () => z.object({ + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutInsuranceContactsInput_schema_1.UserCreateNestedOneWithoutInsuranceContactsInputObjectSchema) +}).strict(); +exports.InsuranceContactCreateInputObjectSchema = makeSchema(); +exports.InsuranceContactCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateManyInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateManyInput.schema.js new file mode 100644 index 00000000..344e2418 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateManyInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateManyInputObjectZodSchema = exports.InsuranceContactCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.InsuranceContactCreateManyInputObjectSchema = makeSchema(); +exports.InsuranceContactCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateManyUserInput.schema.js new file mode 100644 index 00000000..18851e24 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateManyUserInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateManyUserInputObjectZodSchema = exports.InsuranceContactCreateManyUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.InsuranceContactCreateManyUserInputObjectSchema = makeSchema(); +exports.InsuranceContactCreateManyUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateManyUserInputEnvelope.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateManyUserInputEnvelope.schema.js new file mode 100644 index 00000000..e98f86d7 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateManyUserInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateManyUserInputEnvelopeObjectZodSchema = exports.InsuranceContactCreateManyUserInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactCreateManyUserInput_schema_1 = require("./InsuranceContactCreateManyUserInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => InsuranceContactCreateManyUserInput_schema_1.InsuranceContactCreateManyUserInputObjectSchema), z.lazy(() => InsuranceContactCreateManyUserInput_schema_1.InsuranceContactCreateManyUserInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.InsuranceContactCreateManyUserInputEnvelopeObjectSchema = makeSchema(); +exports.InsuranceContactCreateManyUserInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateNestedManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateNestedManyWithoutUserInput.schema.js new file mode 100644 index 00000000..c25d0fb4 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateNestedManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateNestedManyWithoutUserInputObjectZodSchema = exports.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactCreateWithoutUserInput_schema_1 = require("./InsuranceContactCreateWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"); +const InsuranceContactCreateOrConnectWithoutUserInput_schema_1 = require("./InsuranceContactCreateOrConnectWithoutUserInput.schema"); +const InsuranceContactCreateManyUserInputEnvelope_schema_1 = require("./InsuranceContactCreateManyUserInputEnvelope.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema).array(), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => InsuranceContactCreateManyUserInputEnvelope_schema_1.InsuranceContactCreateManyUserInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..5f418117 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateOrConnectWithoutUserInputObjectZodSchema = exports.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactCreateWithoutUserInput_schema_1 = require("./InsuranceContactCreateWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..617b965e --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactCreateWithoutUserInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateWithoutUserInputObjectZodSchema = exports.InsuranceContactCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.InsuranceContactCreateWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactInclude.schema.js b/packages/db/shared/schemas/objects/InsuranceContactInclude.schema.js new file mode 100644 index 00000000..fd9d182e --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactIncludeObjectZodSchema = exports.InsuranceContactIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactIncludeObjectSchema = makeSchema(); +exports.InsuranceContactIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactListRelationFilter.schema.js b/packages/db/shared/schemas/objects/InsuranceContactListRelationFilter.schema.js new file mode 100644 index 00000000..adb6a4a1 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactListRelationFilter.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactListRelationFilterObjectZodSchema = exports.InsuranceContactListRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereInput_schema_1 = require("./InsuranceContactWhereInput.schema"); +const makeSchema = () => z.object({ + every: z.lazy(() => InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema).optional(), + some: z.lazy(() => InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema).optional(), + none: z.lazy(() => InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema).optional() +}).strict(); +exports.InsuranceContactListRelationFilterObjectSchema = makeSchema(); +exports.InsuranceContactListRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactMaxAggregateInput.schema.js new file mode 100644 index 00000000..16f2fd64 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactMaxAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactMaxAggregateInputObjectZodSchema = exports.InsuranceContactMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + name: z.literal(true).optional(), + phoneNumber: z.literal(true).optional(), + createdAt: z.literal(true).optional() +}).strict(); +exports.InsuranceContactMaxAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..c1667dbc --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactMaxOrderByAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactMaxOrderByAggregateInputObjectZodSchema = exports.InsuranceContactMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + name: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.InsuranceContactMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactMinAggregateInput.schema.js new file mode 100644 index 00000000..da2e6f3b --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactMinAggregateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactMinAggregateInputObjectZodSchema = exports.InsuranceContactMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + name: z.literal(true).optional(), + phoneNumber: z.literal(true).optional(), + createdAt: z.literal(true).optional() +}).strict(); +exports.InsuranceContactMinAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..53f9481a --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactMinOrderByAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactMinOrderByAggregateInputObjectZodSchema = exports.InsuranceContactMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + name: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.InsuranceContactMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactOrderByRelationAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactOrderByRelationAggregateInput.schema.js new file mode 100644 index 00000000..a46b4ca8 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactOrderByRelationAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactOrderByRelationAggregateInputObjectZodSchema = exports.InsuranceContactOrderByRelationAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + _count: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.InsuranceContactOrderByRelationAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactOrderByRelationAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..311bea98 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactOrderByWithAggregationInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactOrderByWithAggregationInputObjectZodSchema = exports.InsuranceContactOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const InsuranceContactCountOrderByAggregateInput_schema_1 = require("./InsuranceContactCountOrderByAggregateInput.schema"); +const InsuranceContactAvgOrderByAggregateInput_schema_1 = require("./InsuranceContactAvgOrderByAggregateInput.schema"); +const InsuranceContactMaxOrderByAggregateInput_schema_1 = require("./InsuranceContactMaxOrderByAggregateInput.schema"); +const InsuranceContactMinOrderByAggregateInput_schema_1 = require("./InsuranceContactMinOrderByAggregateInput.schema"); +const InsuranceContactSumOrderByAggregateInput_schema_1 = require("./InsuranceContactSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + name: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => InsuranceContactCountOrderByAggregateInput_schema_1.InsuranceContactCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => InsuranceContactAvgOrderByAggregateInput_schema_1.InsuranceContactAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => InsuranceContactMaxOrderByAggregateInput_schema_1.InsuranceContactMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => InsuranceContactMinOrderByAggregateInput_schema_1.InsuranceContactMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => InsuranceContactSumOrderByAggregateInput_schema_1.InsuranceContactSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.InsuranceContactOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.InsuranceContactOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..c930ec50 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactOrderByWithRelationInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactOrderByWithRelationInputObjectZodSchema = exports.InsuranceContactOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + name: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.InsuranceContactOrderByWithRelationInputObjectSchema = makeSchema(); +exports.InsuranceContactOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactScalarWhereInput.schema.js new file mode 100644 index 00000000..8163ca5f --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactScalarWhereInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactScalarWhereInputObjectZodSchema = exports.InsuranceContactScalarWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const insurancecontactscalarwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.InsuranceContactScalarWhereInputObjectSchema), z.lazy(() => exports.InsuranceContactScalarWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.InsuranceContactScalarWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.InsuranceContactScalarWhereInputObjectSchema), z.lazy(() => exports.InsuranceContactScalarWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + name: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + phoneNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() +}).strict(); +exports.InsuranceContactScalarWhereInputObjectSchema = insurancecontactscalarwhereinputSchema; +exports.InsuranceContactScalarWhereInputObjectZodSchema = insurancecontactscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/InsuranceContactScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..202fda53 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactScalarWhereWithAggregatesInputObjectZodSchema = exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); +const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); +const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema"); +const insurancecontactscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + name: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + phoneNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() +}).strict(); +exports.InsuranceContactScalarWhereWithAggregatesInputObjectSchema = insurancecontactscalarwherewithaggregatesinputSchema; +exports.InsuranceContactScalarWhereWithAggregatesInputObjectZodSchema = insurancecontactscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/InsuranceContactSelect.schema.js b/packages/db/shared/schemas/objects/InsuranceContactSelect.schema.js new file mode 100644 index 00000000..4363d1bf --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactSelect.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactSelectObjectZodSchema = exports.InsuranceContactSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + name: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + createdAt: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactSelectObjectSchema = makeSchema(); +exports.InsuranceContactSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactSumAggregateInput.schema.js new file mode 100644 index 00000000..a3bf1757 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactSumAggregateInputObjectZodSchema = exports.InsuranceContactSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.InsuranceContactSumAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..f9f1e9ef --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactSumOrderByAggregateInputObjectZodSchema = exports.InsuranceContactSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.InsuranceContactSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.InsuranceContactSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateInput.schema.js new file mode 100644 index 00000000..c607461c --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedCreateInputObjectZodSchema = exports.InsuranceContactUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.InsuranceContactUncheckedCreateInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema.js new file mode 100644 index 00000000..20b64d97 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = exports.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactCreateWithoutUserInput_schema_1 = require("./InsuranceContactCreateWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"); +const InsuranceContactCreateOrConnectWithoutUserInput_schema_1 = require("./InsuranceContactCreateOrConnectWithoutUserInput.schema"); +const InsuranceContactCreateManyUserInputEnvelope_schema_1 = require("./InsuranceContactCreateManyUserInputEnvelope.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema).array(), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => InsuranceContactCreateManyUserInputEnvelope_schema_1.InsuranceContactCreateManyUserInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..76c8546b --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedCreateWithoutUserInputObjectZodSchema = exports.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.coerce.date().optional() +}).strict(); +exports.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..7816a9ec --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedUpdateInputObjectZodSchema = exports.InsuranceContactUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactUncheckedUpdateInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..07c62570 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedUpdateManyInputObjectZodSchema = exports.InsuranceContactUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserInput.schema.js new file mode 100644 index 00000000..19c2b966 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedUpdateManyWithoutUserInputObjectZodSchema = exports.InsuranceContactUncheckedUpdateManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactUncheckedUpdateManyWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedUpdateManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..c7b68d19 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = exports.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactCreateWithoutUserInput_schema_1 = require("./InsuranceContactCreateWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"); +const InsuranceContactCreateOrConnectWithoutUserInput_schema_1 = require("./InsuranceContactCreateOrConnectWithoutUserInput.schema"); +const InsuranceContactUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./InsuranceContactUpsertWithWhereUniqueWithoutUserInput.schema"); +const InsuranceContactCreateManyUserInputEnvelope_schema_1 = require("./InsuranceContactCreateManyUserInputEnvelope.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./InsuranceContactUpdateWithWhereUniqueWithoutUserInput.schema"); +const InsuranceContactUpdateManyWithWhereWithoutUserInput_schema_1 = require("./InsuranceContactUpdateManyWithWhereWithoutUserInput.schema"); +const InsuranceContactScalarWhereInput_schema_1 = require("./InsuranceContactScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema).array(), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => InsuranceContactUpsertWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUpsertWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => InsuranceContactCreateManyUserInputEnvelope_schema_1.InsuranceContactCreateManyUserInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => InsuranceContactUpdateWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUpdateWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => InsuranceContactUpdateManyWithWhereWithoutUserInput_schema_1.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUpdateManyWithWhereWithoutUserInput_schema_1.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => InsuranceContactScalarWhereInput_schema_1.InsuranceContactScalarWhereInputObjectSchema), z.lazy(() => InsuranceContactScalarWhereInput_schema_1.InsuranceContactScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..ea320b8a --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUncheckedUpdateWithoutUserInputObjectZodSchema = exports.InsuranceContactUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpdateInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpdateInput.schema.js new file mode 100644 index 00000000..a76fac65 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpdateInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateInputObjectZodSchema = exports.InsuranceContactUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutInsuranceContactsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutInsuranceContactsNestedInput.schema"); +const makeSchema = () => z.object({ + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutInsuranceContactsNestedInput_schema_1.UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectSchema).optional() +}).strict(); +exports.InsuranceContactUpdateInputObjectSchema = makeSchema(); +exports.InsuranceContactUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..be20e9d2 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpdateManyMutationInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateManyMutationInputObjectZodSchema = exports.InsuranceContactUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactUpdateManyMutationInputObjectSchema = makeSchema(); +exports.InsuranceContactUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpdateManyWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpdateManyWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..326081a1 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpdateManyWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectZodSchema = exports.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactScalarWhereInput_schema_1 = require("./InsuranceContactScalarWhereInput.schema"); +const InsuranceContactUpdateManyMutationInput_schema_1 = require("./InsuranceContactUpdateManyMutationInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => InsuranceContactScalarWhereInput_schema_1.InsuranceContactScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => InsuranceContactUpdateManyMutationInput_schema_1.InsuranceContactUpdateManyMutationInputObjectSchema), z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserInputObjectSchema)]) +}).strict(); +exports.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpdateManyWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpdateManyWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..41c6909d --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpdateManyWithoutUserNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateManyWithoutUserNestedInputObjectZodSchema = exports.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactCreateWithoutUserInput_schema_1 = require("./InsuranceContactCreateWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"); +const InsuranceContactCreateOrConnectWithoutUserInput_schema_1 = require("./InsuranceContactCreateOrConnectWithoutUserInput.schema"); +const InsuranceContactUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./InsuranceContactUpsertWithWhereUniqueWithoutUserInput.schema"); +const InsuranceContactCreateManyUserInputEnvelope_schema_1 = require("./InsuranceContactCreateManyUserInputEnvelope.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./InsuranceContactUpdateWithWhereUniqueWithoutUserInput.schema"); +const InsuranceContactUpdateManyWithWhereWithoutUserInput_schema_1 = require("./InsuranceContactUpdateManyWithWhereWithoutUserInput.schema"); +const InsuranceContactScalarWhereInput_schema_1 = require("./InsuranceContactScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema).array(), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactCreateOrConnectWithoutUserInput_schema_1.InsuranceContactCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => InsuranceContactUpsertWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUpsertWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => InsuranceContactCreateManyUserInputEnvelope_schema_1.InsuranceContactCreateManyUserInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => InsuranceContactUpdateWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUpdateWithWhereUniqueWithoutUserInput_schema_1.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => InsuranceContactUpdateManyWithWhereWithoutUserInput_schema_1.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUpdateManyWithWhereWithoutUserInput_schema_1.InsuranceContactUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => InsuranceContactScalarWhereInput_schema_1.InsuranceContactScalarWhereInputObjectSchema), z.lazy(() => InsuranceContactScalarWhereInput_schema_1.InsuranceContactScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema = makeSchema(); +exports.InsuranceContactUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpdateWithWhereUniqueWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpdateWithWhereUniqueWithoutUserInput.schema.js new file mode 100644 index 00000000..ddcc353d --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpdateWithWhereUniqueWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = exports.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactUpdateWithoutUserInput_schema_1 = require("./InsuranceContactUpdateWithoutUserInput.schema"); +const InsuranceContactUncheckedUpdateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => InsuranceContactUpdateWithoutUserInput_schema_1.InsuranceContactUpdateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedUpdateWithoutUserInput_schema_1.InsuranceContactUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..fc5643c6 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpdateWithoutUserInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateWithoutUserInputObjectZodSchema = exports.InsuranceContactUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactUpsertWithWhereUniqueWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactUpsertWithWhereUniqueWithoutUserInput.schema.js new file mode 100644 index 00000000..1c21984c --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactUpsertWithWhereUniqueWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = exports.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereUniqueInput_schema_1 = require("./InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactUpdateWithoutUserInput_schema_1 = require("./InsuranceContactUpdateWithoutUserInput.schema"); +const InsuranceContactUncheckedUpdateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedUpdateWithoutUserInput.schema"); +const InsuranceContactCreateWithoutUserInput_schema_1 = require("./InsuranceContactCreateWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => InsuranceContactUpdateWithoutUserInput_schema_1.InsuranceContactUpdateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedUpdateWithoutUserInput_schema_1.InsuranceContactUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => InsuranceContactCreateWithoutUserInput_schema_1.InsuranceContactCreateWithoutUserInputObjectSchema), z.lazy(() => InsuranceContactUncheckedCreateWithoutUserInput_schema_1.InsuranceContactUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectSchema = makeSchema(); +exports.InsuranceContactUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/InsuranceContactWhereInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactWhereInput.schema.js new file mode 100644 index 00000000..7593acd0 --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactWhereInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactWhereInputObjectZodSchema = exports.InsuranceContactWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const insurancecontactwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.InsuranceContactWhereInputObjectSchema), z.lazy(() => exports.InsuranceContactWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.InsuranceContactWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.InsuranceContactWhereInputObjectSchema), z.lazy(() => exports.InsuranceContactWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + name: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + phoneNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.InsuranceContactWhereInputObjectSchema = insurancecontactwhereinputSchema; +exports.InsuranceContactWhereInputObjectZodSchema = insurancecontactwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/InsuranceContactWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/InsuranceContactWhereUniqueInput.schema.js new file mode 100644 index 00000000..65bcbc7e --- /dev/null +++ b/packages/db/shared/schemas/objects/InsuranceContactWhereUniqueInput.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactWhereUniqueInputObjectZodSchema = exports.InsuranceContactWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional() +}).strict(); +exports.InsuranceContactWhereUniqueInputObjectSchema = makeSchema(); +exports.InsuranceContactWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/JsonFilter.schema.js b/packages/db/shared/schemas/objects/JsonFilter.schema.js new file mode 100644 index 00000000..533fda30 --- /dev/null +++ b/packages/db/shared/schemas/objects/JsonFilter.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.JsonFilterObjectZodSchema = exports.JsonFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const QueryMode_schema_1 = require("../enums/QueryMode.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + equals: json_helpers_1.JsonValueSchema.optional(), + path: z.string().array().optional(), + mode: QueryMode_schema_1.QueryModeSchema.optional(), + string_contains: z.string().optional(), + string_starts_with: z.string().optional(), + string_ends_with: z.string().optional(), + array_starts_with: json_helpers_1.JsonValueSchema.optional().nullable(), + array_ends_with: json_helpers_1.JsonValueSchema.optional().nullable(), + array_contains: json_helpers_1.JsonValueSchema.optional().nullable(), + lt: json_helpers_1.JsonValueSchema.optional(), + lte: json_helpers_1.JsonValueSchema.optional(), + gt: json_helpers_1.JsonValueSchema.optional(), + gte: json_helpers_1.JsonValueSchema.optional(), + not: json_helpers_1.JsonValueSchema.optional() +}).strict(); +exports.JsonFilterObjectSchema = makeSchema(); +exports.JsonFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/JsonWithAggregatesFilter.schema.js b/packages/db/shared/schemas/objects/JsonWithAggregatesFilter.schema.js new file mode 100644 index 00000000..d44556fd --- /dev/null +++ b/packages/db/shared/schemas/objects/JsonWithAggregatesFilter.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.JsonWithAggregatesFilterObjectZodSchema = exports.JsonWithAggregatesFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const QueryMode_schema_1 = require("../enums/QueryMode.schema"); +const NestedIntFilter_schema_1 = require("./NestedIntFilter.schema"); +const NestedJsonFilter_schema_1 = require("./NestedJsonFilter.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + equals: json_helpers_1.JsonValueSchema.optional(), + path: z.string().array().optional(), + mode: QueryMode_schema_1.QueryModeSchema.optional(), + string_contains: z.string().optional(), + string_starts_with: z.string().optional(), + string_ends_with: z.string().optional(), + array_starts_with: json_helpers_1.JsonValueSchema.optional().nullable(), + array_ends_with: json_helpers_1.JsonValueSchema.optional().nullable(), + array_contains: json_helpers_1.JsonValueSchema.optional().nullable(), + lt: json_helpers_1.JsonValueSchema.optional(), + lte: json_helpers_1.JsonValueSchema.optional(), + gt: json_helpers_1.JsonValueSchema.optional(), + gte: json_helpers_1.JsonValueSchema.optional(), + not: json_helpers_1.JsonValueSchema.optional(), + _count: z.lazy(() => NestedIntFilter_schema_1.NestedIntFilterObjectSchema).optional(), + _min: z.lazy(() => NestedJsonFilter_schema_1.NestedJsonFilterObjectSchema).optional(), + _max: z.lazy(() => NestedJsonFilter_schema_1.NestedJsonFilterObjectSchema).optional() +}).strict(); +exports.JsonWithAggregatesFilterObjectSchema = makeSchema(); +exports.JsonWithAggregatesFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NestedJsonFilter.schema.js b/packages/db/shared/schemas/objects/NestedJsonFilter.schema.js new file mode 100644 index 00000000..96e9c0ba --- /dev/null +++ b/packages/db/shared/schemas/objects/NestedJsonFilter.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NestedJsonFilterObjectZodSchema = exports.NestedJsonFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const QueryMode_schema_1 = require("../enums/QueryMode.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + equals: json_helpers_1.JsonValueSchema.optional(), + path: z.string().array().optional(), + mode: QueryMode_schema_1.QueryModeSchema.optional(), + string_contains: z.string().optional(), + string_starts_with: z.string().optional(), + string_ends_with: z.string().optional(), + array_starts_with: json_helpers_1.JsonValueSchema.optional().nullable(), + array_ends_with: json_helpers_1.JsonValueSchema.optional().nullable(), + array_contains: json_helpers_1.JsonValueSchema.optional().nullable(), + lt: json_helpers_1.JsonValueSchema.optional(), + lte: json_helpers_1.JsonValueSchema.optional(), + gt: json_helpers_1.JsonValueSchema.optional(), + gte: json_helpers_1.JsonValueSchema.optional(), + not: json_helpers_1.JsonValueSchema.optional() +}).strict(); +exports.NestedJsonFilterObjectSchema = makeSchema(); +exports.NestedJsonFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderAvgAggregateInput.schema.js index 660301d2..6258590a 100644 --- a/packages/db/shared/schemas/objects/NpiProviderAvgAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderAvgAggregateInput.schema.js @@ -37,7 +37,8 @@ exports.NpiProviderAvgAggregateInputObjectZodSchema = exports.NpiProviderAvgAggr const z = __importStar(require("zod")); const makeSchema = () => z.object({ id: z.literal(true).optional(), - userId: z.literal(true).optional() + userId: z.literal(true).optional(), + sortOrder: z.literal(true).optional() }).strict(); exports.NpiProviderAvgAggregateInputObjectSchema = makeSchema(); exports.NpiProviderAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderAvgOrderByAggregateInput.schema.js index 8862fdf5..0e996c81 100644 --- a/packages/db/shared/schemas/objects/NpiProviderAvgOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderAvgOrderByAggregateInput.schema.js @@ -38,7 +38,8 @@ const z = __importStar(require("zod")); const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), - userId: SortOrder_schema_1.SortOrderSchema.optional() + userId: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.NpiProviderAvgOrderByAggregateInputObjectSchema = makeSchema(); exports.NpiProviderAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCountAggregateInput.schema.js index bbabb3d1..a81f0e7b 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCountAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.literal(true).optional(), npiNumber: z.literal(true).optional(), providerName: z.literal(true).optional(), + sortOrder: z.literal(true).optional(), createdAt: z.literal(true).optional(), _all: z.literal(true).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCountOrderByAggregateInput.schema.js index c8856013..67e084b9 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCountOrderByAggregateInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), npiNumber: SortOrder_schema_1.SortOrderSchema.optional(), providerName: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.NpiProviderCountOrderByAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeCountCommissionBatchesArgs.schema.js b/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeCountCommissionBatchesArgs.schema.js new file mode 100644 index 00000000..326679c3 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeCountCommissionBatchesArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCountOutputTypeCountCommissionBatchesArgsObjectZodSchema = exports.NpiProviderCountOutputTypeCountCommissionBatchesArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchWhereInput_schema_1 = require("./CommissionBatchWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema).optional() +}).strict(); +exports.NpiProviderCountOutputTypeCountCommissionBatchesArgsObjectSchema = makeSchema(); +exports.NpiProviderCountOutputTypeCountCommissionBatchesArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeCountPaymentsArgs.schema.js b/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeCountPaymentsArgs.schema.js new file mode 100644 index 00000000..d84d46e7 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeCountPaymentsArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCountOutputTypeCountPaymentsArgsObjectZodSchema = exports.NpiProviderCountOutputTypeCountPaymentsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentWhereInput_schema_1 = require("./PaymentWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema).optional() +}).strict(); +exports.NpiProviderCountOutputTypeCountPaymentsArgsObjectSchema = makeSchema(); +exports.NpiProviderCountOutputTypeCountPaymentsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeSelect.schema.js b/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeSelect.schema.js index 975680fe..69d8d482 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeSelect.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCountOutputTypeSelect.schema.js @@ -36,9 +36,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderCountOutputTypeSelectObjectZodSchema = exports.NpiProviderCountOutputTypeSelectObjectSchema = void 0; const z = __importStar(require("zod")); const NpiProviderCountOutputTypeCountClaimsArgs_schema_1 = require("./NpiProviderCountOutputTypeCountClaimsArgs.schema"); +const NpiProviderCountOutputTypeCountPaymentsArgs_schema_1 = require("./NpiProviderCountOutputTypeCountPaymentsArgs.schema"); +const NpiProviderCountOutputTypeCountCommissionBatchesArgs_schema_1 = require("./NpiProviderCountOutputTypeCountCommissionBatchesArgs.schema"); const NpiProviderCountOutputTypeCountAppointmentProceduresArgs_schema_1 = require("./NpiProviderCountOutputTypeCountAppointmentProceduresArgs.schema"); const makeSchema = () => z.object({ claims: z.union([z.boolean(), z.lazy(() => NpiProviderCountOutputTypeCountClaimsArgs_schema_1.NpiProviderCountOutputTypeCountClaimsArgsObjectSchema)]).optional(), + payments: z.union([z.boolean(), z.lazy(() => NpiProviderCountOutputTypeCountPaymentsArgs_schema_1.NpiProviderCountOutputTypeCountPaymentsArgsObjectSchema)]).optional(), + commissionBatches: z.union([z.boolean(), z.lazy(() => NpiProviderCountOutputTypeCountCommissionBatchesArgs_schema_1.NpiProviderCountOutputTypeCountCommissionBatchesArgsObjectSchema)]).optional(), appointmentProcedures: z.union([z.boolean(), z.lazy(() => NpiProviderCountOutputTypeCountAppointmentProceduresArgs_schema_1.NpiProviderCountOutputTypeCountAppointmentProceduresArgsObjectSchema)]).optional() }).strict(); exports.NpiProviderCountOutputTypeSelectObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateInput.schema.js index b4f0f7d0..f13deec8 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCreateInput.schema.js @@ -37,13 +37,18 @@ exports.NpiProviderCreateInputObjectZodSchema = exports.NpiProviderCreateInputOb const z = __importStar(require("zod")); const UserCreateNestedOneWithoutNpiProvidersInput_schema_1 = require("./UserCreateNestedOneWithoutNpiProvidersInput.schema"); const ClaimCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema"); const AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutNpiProvidersInput_schema_1.UserCreateNestedOneWithoutNpiProvidersInputObjectSchema), claims: z.lazy(() => ClaimCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderCreateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateManyInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateManyInput.schema.js index e35bc1d9..46809505 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCreateManyInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional() }).strict(); exports.NpiProviderCreateManyInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateManyUserInput.schema.js index 31686583..2a388ddc 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCreateManyUserInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCreateManyUserInput.schema.js @@ -39,6 +39,7 @@ const makeSchema = () => z.object({ id: z.number().int().optional(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional() }).strict(); exports.NpiProviderCreateManyUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..8b33cfb9 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderCreateOrConnectWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema"); +const NpiProviderWhereUniqueInput_schema_1 = require("./NpiProviderWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => NpiProviderCreateWithoutCommissionBatchesInput_schema_1.NpiProviderCreateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutCommissionBatchesInput_schema_1.NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema).optional(), + connect: z.lazy(() => NpiProviderWhereUniqueInput_schema_1.NpiProviderWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderCreateNestedOneWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateNestedOneWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateNestedOneWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..daef58c2 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCreateNestedOneWithoutPaymentsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCreateNestedOneWithoutPaymentsInputObjectZodSchema = exports.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutPaymentsInput.schema"); +const NpiProviderCreateOrConnectWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateOrConnectWithoutPaymentsInput.schema"); +const NpiProviderWhereUniqueInput_schema_1 = require("./NpiProviderWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => NpiProviderCreateWithoutPaymentsInput_schema_1.NpiProviderCreateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1.NpiProviderUncheckedCreateWithoutPaymentsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutPaymentsInput_schema_1.NpiProviderCreateOrConnectWithoutPaymentsInputObjectSchema).optional(), + connect: z.lazy(() => NpiProviderWhereUniqueInput_schema_1.NpiProviderWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderCreateNestedOneWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..f57f8ab7 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderWhereUniqueInput_schema_1 = require("./NpiProviderWhereUniqueInput.schema"); +const NpiProviderCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => NpiProviderWhereUniqueInput_schema_1.NpiProviderWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => NpiProviderCreateWithoutCommissionBatchesInput_schema_1.NpiProviderCreateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema)]) +}).strict(); +exports.NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateOrConnectWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateOrConnectWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..2bbe3ded --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCreateOrConnectWithoutPaymentsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCreateOrConnectWithoutPaymentsInputObjectZodSchema = exports.NpiProviderCreateOrConnectWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderWhereUniqueInput_schema_1 = require("./NpiProviderWhereUniqueInput.schema"); +const NpiProviderCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutPaymentsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => NpiProviderWhereUniqueInput_schema_1.NpiProviderWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => NpiProviderCreateWithoutPaymentsInput_schema_1.NpiProviderCreateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1.NpiProviderUncheckedCreateWithoutPaymentsInputObjectSchema)]) +}).strict(); +exports.NpiProviderCreateOrConnectWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderCreateOrConnectWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutAppointmentProceduresInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutAppointmentProceduresInput.schema.js index c68c971b..941fdc0d 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutAppointmentProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutAppointmentProceduresInput.schema.js @@ -37,12 +37,17 @@ exports.NpiProviderCreateWithoutAppointmentProceduresInputObjectZodSchema = expo const z = __importStar(require("zod")); const UserCreateNestedOneWithoutNpiProvidersInput_schema_1 = require("./UserCreateNestedOneWithoutNpiProvidersInput.schema"); const ClaimCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutNpiProvidersInput_schema_1.UserCreateNestedOneWithoutNpiProvidersInputObjectSchema), - claims: z.lazy(() => ClaimCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() + claims: z.lazy(() => ClaimCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderCreateWithoutAppointmentProceduresInputObjectSchema = makeSchema(); exports.NpiProviderCreateWithoutAppointmentProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutClaimsInput.schema.js index f677d9ca..cd803d3d 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutClaimsInput.schema.js @@ -36,12 +36,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderCreateWithoutClaimsInputObjectZodSchema = exports.NpiProviderCreateWithoutClaimsInputObjectSchema = void 0; const z = __importStar(require("zod")); const UserCreateNestedOneWithoutNpiProvidersInput_schema_1 = require("./UserCreateNestedOneWithoutNpiProvidersInput.schema"); +const PaymentCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema"); const AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutNpiProvidersInput_schema_1.UserCreateNestedOneWithoutNpiProvidersInputObjectSchema), + payments: z.lazy(() => PaymentCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderCreateWithoutClaimsInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..ae4c4a6e --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCreateWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderCreateWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutNpiProvidersInput_schema_1 = require("./UserCreateNestedOneWithoutNpiProvidersInput.schema"); +const ClaimCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentCreateNestedManyWithoutNpiProviderInput.schema"); +const AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + npiNumber: z.string(), + providerName: z.string(), + sortOrder: z.number().int().optional(), + createdAt: z.coerce.date().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutNpiProvidersInput_schema_1.UserCreateNestedOneWithoutNpiProvidersInputObjectSchema), + claims: z.lazy(() => ClaimCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() +}).strict(); +exports.NpiProviderCreateWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderCreateWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..a23d6d92 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutPaymentsInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderCreateWithoutPaymentsInputObjectZodSchema = exports.NpiProviderCreateWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutNpiProvidersInput_schema_1 = require("./UserCreateNestedOneWithoutNpiProvidersInput.schema"); +const ClaimCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema"); +const AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + npiNumber: z.string(), + providerName: z.string(), + sortOrder: z.number().int().optional(), + createdAt: z.coerce.date().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutNpiProvidersInput_schema_1.UserCreateNestedOneWithoutNpiProvidersInputObjectSchema), + claims: z.lazy(() => ClaimCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() +}).strict(); +exports.NpiProviderCreateWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderCreateWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutUserInput.schema.js index c1ba4713..5e070f63 100644 --- a/packages/db/shared/schemas/objects/NpiProviderCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderCreateWithoutUserInput.schema.js @@ -36,12 +36,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderCreateWithoutUserInputObjectZodSchema = exports.NpiProviderCreateWithoutUserInputObjectSchema = void 0; const z = __importStar(require("zod")); const ClaimCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema"); const AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderCreateWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderInclude.schema.js b/packages/db/shared/schemas/objects/NpiProviderInclude.schema.js index f8c7192c..8cc234f1 100644 --- a/packages/db/shared/schemas/objects/NpiProviderInclude.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderInclude.schema.js @@ -37,11 +37,15 @@ exports.NpiProviderIncludeObjectZodSchema = exports.NpiProviderIncludeObjectSche const z = __importStar(require("zod")); const UserArgs_schema_1 = require("./UserArgs.schema"); const findManyClaim_schema_1 = require("../findManyClaim.schema"); +const findManyPayment_schema_1 = require("../findManyPayment.schema"); +const findManyCommissionBatch_schema_1 = require("../findManyCommissionBatch.schema"); const findManyAppointmentProcedure_schema_1 = require("../findManyAppointmentProcedure.schema"); const NpiProviderCountOutputTypeArgs_schema_1 = require("./NpiProviderCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(), + payments: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(), + commissionBatches: z.union([z.boolean(), z.lazy(() => findManyCommissionBatch_schema_1.CommissionBatchFindManySchema)]).optional(), appointmentProcedures: z.union([z.boolean(), z.lazy(() => findManyAppointmentProcedure_schema_1.AppointmentProcedureFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => NpiProviderCountOutputTypeArgs_schema_1.NpiProviderCountOutputTypeArgsObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/NpiProviderMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderMaxAggregateInput.schema.js index c8323ee5..386d0b8c 100644 --- a/packages/db/shared/schemas/objects/NpiProviderMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderMaxAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.literal(true).optional(), npiNumber: z.literal(true).optional(), providerName: z.literal(true).optional(), + sortOrder: z.literal(true).optional(), createdAt: z.literal(true).optional() }).strict(); exports.NpiProviderMaxAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderMaxOrderByAggregateInput.schema.js index 810000fa..4dc26dec 100644 --- a/packages/db/shared/schemas/objects/NpiProviderMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderMaxOrderByAggregateInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), npiNumber: SortOrder_schema_1.SortOrderSchema.optional(), providerName: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.NpiProviderMaxOrderByAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderMinAggregateInput.schema.js index 1245afe3..06828960 100644 --- a/packages/db/shared/schemas/objects/NpiProviderMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderMinAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ userId: z.literal(true).optional(), npiNumber: z.literal(true).optional(), providerName: z.literal(true).optional(), + sortOrder: z.literal(true).optional(), createdAt: z.literal(true).optional() }).strict(); exports.NpiProviderMinAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderMinOrderByAggregateInput.schema.js index 4b1f0792..10a19f82 100644 --- a/packages/db/shared/schemas/objects/NpiProviderMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderMinOrderByAggregateInput.schema.js @@ -41,6 +41,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), npiNumber: SortOrder_schema_1.SortOrderSchema.optional(), providerName: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.NpiProviderMinOrderByAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderOrderByWithAggregationInput.schema.js index 13fec584..5a7e0376 100644 --- a/packages/db/shared/schemas/objects/NpiProviderOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderOrderByWithAggregationInput.schema.js @@ -46,6 +46,7 @@ const makeSchema = () => z.object({ userId: SortOrder_schema_1.SortOrderSchema.optional(), npiNumber: SortOrder_schema_1.SortOrderSchema.optional(), providerName: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), _count: z.lazy(() => NpiProviderCountOrderByAggregateInput_schema_1.NpiProviderCountOrderByAggregateInputObjectSchema).optional(), _avg: z.lazy(() => NpiProviderAvgOrderByAggregateInput_schema_1.NpiProviderAvgOrderByAggregateInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/NpiProviderOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderOrderByWithRelationInput.schema.js index 195c6de5..c1507828 100644 --- a/packages/db/shared/schemas/objects/NpiProviderOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderOrderByWithRelationInput.schema.js @@ -38,15 +38,20 @@ const z = __importStar(require("zod")); const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); const ClaimOrderByRelationAggregateInput_schema_1 = require("./ClaimOrderByRelationAggregateInput.schema"); +const PaymentOrderByRelationAggregateInput_schema_1 = require("./PaymentOrderByRelationAggregateInput.schema"); +const CommissionBatchOrderByRelationAggregateInput_schema_1 = require("./CommissionBatchOrderByRelationAggregateInput.schema"); const AppointmentProcedureOrderByRelationAggregateInput_schema_1 = require("./AppointmentProcedureOrderByRelationAggregateInput.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), npiNumber: SortOrder_schema_1.SortOrderSchema.optional(), providerName: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional(), claims: z.lazy(() => ClaimOrderByRelationAggregateInput_schema_1.ClaimOrderByRelationAggregateInputObjectSchema).optional(), + payments: z.lazy(() => PaymentOrderByRelationAggregateInput_schema_1.PaymentOrderByRelationAggregateInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchOrderByRelationAggregateInput_schema_1.CommissionBatchOrderByRelationAggregateInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureOrderByRelationAggregateInput_schema_1.AppointmentProcedureOrderByRelationAggregateInputObjectSchema).optional() }).strict(); exports.NpiProviderOrderByWithRelationInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/NpiProviderScalarRelationFilter.schema.js new file mode 100644 index 00000000..570fbce9 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderScalarRelationFilterObjectZodSchema = exports.NpiProviderScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema).optional(), + isNot: z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema).optional() +}).strict(); +exports.NpiProviderScalarRelationFilterObjectSchema = makeSchema(); +exports.NpiProviderScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderScalarWhereInput.schema.js index bcc225f9..dd7806ae 100644 --- a/packages/db/shared/schemas/objects/NpiProviderScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderScalarWhereInput.schema.js @@ -46,6 +46,7 @@ const npiproviderscalarwhereinputSchema = z.object({ userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), npiNumber: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), providerName: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + sortOrder: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() }).strict(); exports.NpiProviderScalarWhereInputObjectSchema = npiproviderscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/NpiProviderScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderScalarWhereWithAggregatesInput.schema.js index aeccb366..f888ccbd 100644 --- a/packages/db/shared/schemas/objects/NpiProviderScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderScalarWhereWithAggregatesInput.schema.js @@ -46,6 +46,7 @@ const npiproviderscalarwherewithaggregatesinputSchema = z.object({ userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), npiNumber: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), providerName: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + sortOrder: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() }).strict(); exports.NpiProviderScalarWhereWithAggregatesInputObjectSchema = npiproviderscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/NpiProviderSelect.schema.js b/packages/db/shared/schemas/objects/NpiProviderSelect.schema.js index f2257d2a..6663047b 100644 --- a/packages/db/shared/schemas/objects/NpiProviderSelect.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderSelect.schema.js @@ -37,6 +37,8 @@ exports.NpiProviderSelectObjectZodSchema = exports.NpiProviderSelectObjectSchema const z = __importStar(require("zod")); const UserArgs_schema_1 = require("./UserArgs.schema"); const findManyClaim_schema_1 = require("../findManyClaim.schema"); +const findManyPayment_schema_1 = require("../findManyPayment.schema"); +const findManyCommissionBatch_schema_1 = require("../findManyCommissionBatch.schema"); const findManyAppointmentProcedure_schema_1 = require("../findManyAppointmentProcedure.schema"); const NpiProviderCountOutputTypeArgs_schema_1 = require("./NpiProviderCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ @@ -44,9 +46,12 @@ const makeSchema = () => z.object({ userId: z.boolean().optional(), npiNumber: z.boolean().optional(), providerName: z.boolean().optional(), + sortOrder: z.boolean().optional(), createdAt: z.boolean().optional(), user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(), + payments: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(), + commissionBatches: z.union([z.boolean(), z.lazy(() => findManyCommissionBatch_schema_1.CommissionBatchFindManySchema)]).optional(), appointmentProcedures: z.union([z.boolean(), z.lazy(() => findManyAppointmentProcedure_schema_1.AppointmentProcedureFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => NpiProviderCountOutputTypeArgs_schema_1.NpiProviderCountOutputTypeArgsObjectSchema)]).optional() }).strict(); diff --git a/packages/db/shared/schemas/objects/NpiProviderSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderSumAggregateInput.schema.js index 2afb10f5..1d63858d 100644 --- a/packages/db/shared/schemas/objects/NpiProviderSumAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderSumAggregateInput.schema.js @@ -37,7 +37,8 @@ exports.NpiProviderSumAggregateInputObjectZodSchema = exports.NpiProviderSumAggr const z = __importStar(require("zod")); const makeSchema = () => z.object({ id: z.literal(true).optional(), - userId: z.literal(true).optional() + userId: z.literal(true).optional(), + sortOrder: z.literal(true).optional() }).strict(); exports.NpiProviderSumAggregateInputObjectSchema = makeSchema(); exports.NpiProviderSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderSumOrderByAggregateInput.schema.js index df36600e..85c154de 100644 --- a/packages/db/shared/schemas/objects/NpiProviderSumOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderSumOrderByAggregateInput.schema.js @@ -38,7 +38,8 @@ const z = __importStar(require("zod")); const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), - userId: SortOrder_schema_1.SortOrderSchema.optional() + userId: SortOrder_schema_1.SortOrderSchema.optional(), + sortOrder: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.NpiProviderSumOrderByAggregateInputObjectSchema = makeSchema(); exports.NpiProviderSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateInput.schema.js index bb0bd85e..f9df353e 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateInput.schema.js @@ -36,14 +36,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUncheckedCreateInputObjectZodSchema = exports.NpiProviderUncheckedCreateInputObjectSchema = void 0; const z = __importStar(require("zod")); const ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedCreateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutAppointmentProceduresInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutAppointmentProceduresInput.schema.js index 053aee4c..70ac9950 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutAppointmentProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutAppointmentProceduresInput.schema.js @@ -36,13 +36,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUncheckedCreateWithoutAppointmentProceduresInputObjectZodSchema = exports.NpiProviderUncheckedCreateWithoutAppointmentProceduresInputObjectSchema = void 0; const z = __importStar(require("zod")); const ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), - claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedCreateWithoutAppointmentProceduresInputObjectSchema = makeSchema(); exports.NpiProviderUncheckedCreateWithoutAppointmentProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutClaimsInput.schema.js index 5a76e5ef..bf4f789a 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutClaimsInput.schema.js @@ -35,13 +35,18 @@ var __importStar = (this && this.__importStar) || (function () { Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUncheckedCreateWithoutClaimsInputObjectZodSchema = exports.NpiProviderUncheckedCreateWithoutClaimsInputObjectSchema = void 0; const z = __importStar(require("zod")); +const PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), + payments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedCreateWithoutClaimsInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..6642332e --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + npiNumber: z.string(), + providerName: z.string(), + sortOrder: z.number().int().optional(), + createdAt: z.coerce.date().optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..0105f867 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutPaymentsInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUncheckedCreateWithoutPaymentsInputObjectZodSchema = exports.NpiProviderUncheckedCreateWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + npiNumber: z.string(), + providerName: z.string(), + sortOrder: z.number().int().optional(), + createdAt: z.coerce.date().optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUncheckedCreateWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderUncheckedCreateWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutUserInput.schema.js index ac031f23..2766c8ac 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedCreateWithoutUserInput.schema.js @@ -36,13 +36,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUncheckedCreateWithoutUserInputObjectZodSchema = exports.NpiProviderUncheckedCreateWithoutUserInputObjectSchema = void 0; const z = __importStar(require("zod")); const ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); +const CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int().optional(), createdAt: z.coerce.date().optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.ClaimUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateInput.schema.js index 858960c4..f42c8e88 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateInput.schema.js @@ -39,14 +39,19 @@ const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperatio const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedUpdateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyInput.schema.js index 4fbdeb17..e0938f76 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyInput.schema.js @@ -43,6 +43,7 @@ const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.NpiProviderUncheckedUpdateManyInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyWithoutUserInput.schema.js index dbb704d7..1bda9792 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateManyWithoutUserInput.schema.js @@ -42,6 +42,7 @@ const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.NpiProviderUncheckedUpdateManyWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutAppointmentProceduresInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutAppointmentProceduresInput.schema.js index 7c5e1991..63d0d3da 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutAppointmentProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutAppointmentProceduresInput.schema.js @@ -39,13 +39,18 @@ const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperatio const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), - claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedUpdateWithoutAppointmentProceduresInputObjectSchema = makeSchema(); exports.NpiProviderUncheckedUpdateWithoutAppointmentProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutClaimsInput.schema.js index 991e5e04..2198024c 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutClaimsInput.schema.js @@ -38,13 +38,18 @@ const z = __importStar(require("zod")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + payments: z.lazy(() => PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedUpdateWithoutClaimsInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..ce22f14a --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..1653b987 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutPaymentsInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectZodSchema = exports.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutUserInput.schema.js index 8b612348..8570c904 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUncheckedUpdateWithoutUserInput.schema.js @@ -39,13 +39,18 @@ const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperatio const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateInput.schema.js index c2a85e00..0dd88b6f 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateInput.schema.js @@ -36,16 +36,22 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUpdateInputObjectZodSchema = exports.NpiProviderUpdateInputObjectSchema = void 0; const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema"); const ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1.UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUpdateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateManyMutationInput.schema.js index 4dec0cf5..ba2a00ea 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateManyMutationInput.schema.js @@ -36,10 +36,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUpdateManyMutationInputObjectZodSchema = exports.NpiProviderUpdateManyMutationInputObjectSchema = void 0; const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const makeSchema = () => z.object({ npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.NpiProviderUpdateManyMutationInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput.schema.js new file mode 100644 index 00000000..b88ceae7 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectZodSchema = exports.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderCreateOrConnectWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema"); +const NpiProviderUpsertWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUpsertWithoutCommissionBatchesInput.schema"); +const NpiProviderWhereUniqueInput_schema_1 = require("./NpiProviderWhereUniqueInput.schema"); +const NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput.schema"); +const NpiProviderUpdateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUpdateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedUpdateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => NpiProviderCreateWithoutCommissionBatchesInput_schema_1.NpiProviderCreateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutCommissionBatchesInput_schema_1.NpiProviderCreateOrConnectWithoutCommissionBatchesInputObjectSchema).optional(), + upsert: z.lazy(() => NpiProviderUpsertWithoutCommissionBatchesInput_schema_1.NpiProviderUpsertWithoutCommissionBatchesInputObjectSchema).optional(), + connect: z.lazy(() => NpiProviderWhereUniqueInput_schema_1.NpiProviderWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput_schema_1.NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUpdateWithoutCommissionBatchesInput_schema_1.NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema)]).optional() +}).strict(); +exports.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectSchema = makeSchema(); +exports.NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateOneWithoutPaymentsNestedInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateOneWithoutPaymentsNestedInput.schema.js new file mode 100644 index 00000000..f0109be4 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateOneWithoutPaymentsNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectZodSchema = exports.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutPaymentsInput.schema"); +const NpiProviderCreateOrConnectWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateOrConnectWithoutPaymentsInput.schema"); +const NpiProviderUpsertWithoutPaymentsInput_schema_1 = require("./NpiProviderUpsertWithoutPaymentsInput.schema"); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const NpiProviderWhereUniqueInput_schema_1 = require("./NpiProviderWhereUniqueInput.schema"); +const NpiProviderUpdateToOneWithWhereWithoutPaymentsInput_schema_1 = require("./NpiProviderUpdateToOneWithWhereWithoutPaymentsInput.schema"); +const NpiProviderUpdateWithoutPaymentsInput_schema_1 = require("./NpiProviderUpdateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedUpdateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedUpdateWithoutPaymentsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => NpiProviderCreateWithoutPaymentsInput_schema_1.NpiProviderCreateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1.NpiProviderUncheckedCreateWithoutPaymentsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => NpiProviderCreateOrConnectWithoutPaymentsInput_schema_1.NpiProviderCreateOrConnectWithoutPaymentsInputObjectSchema).optional(), + upsert: z.lazy(() => NpiProviderUpsertWithoutPaymentsInput_schema_1.NpiProviderUpsertWithoutPaymentsInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => NpiProviderWhereUniqueInput_schema_1.NpiProviderWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => NpiProviderUpdateToOneWithWhereWithoutPaymentsInput_schema_1.NpiProviderUpdateToOneWithWhereWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUpdateWithoutPaymentsInput_schema_1.NpiProviderUpdateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutPaymentsInput_schema_1.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectSchema)]).optional() +}).strict(); +exports.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema = makeSchema(); +exports.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..7b7c2972 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const NpiProviderUpdateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUpdateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedUpdateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => NpiProviderUpdateWithoutCommissionBatchesInput_schema_1.NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema)]) +}).strict(); +exports.NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateToOneWithWhereWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateToOneWithWhereWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..b2487014 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateToOneWithWhereWithoutPaymentsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpdateToOneWithWhereWithoutPaymentsInputObjectZodSchema = exports.NpiProviderUpdateToOneWithWhereWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const NpiProviderUpdateWithoutPaymentsInput_schema_1 = require("./NpiProviderUpdateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedUpdateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedUpdateWithoutPaymentsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => NpiProviderUpdateWithoutPaymentsInput_schema_1.NpiProviderUpdateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutPaymentsInput_schema_1.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectSchema)]) +}).strict(); +exports.NpiProviderUpdateToOneWithWhereWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderUpdateToOneWithWhereWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutAppointmentProceduresInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutAppointmentProceduresInput.schema.js index 57e87e7c..c04a2c6c 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutAppointmentProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutAppointmentProceduresInput.schema.js @@ -36,15 +36,21 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUpdateWithoutAppointmentProceduresInputObjectZodSchema = exports.NpiProviderUpdateWithoutAppointmentProceduresInputObjectSchema = void 0; const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema"); const ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1.UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectSchema).optional(), - claims: z.lazy(() => ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() + claims: z.lazy(() => ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUpdateWithoutAppointmentProceduresInputObjectSchema = makeSchema(); exports.NpiProviderUpdateWithoutAppointmentProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutClaimsInput.schema.js index efb2b959..b58b484f 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutClaimsInput.schema.js @@ -36,14 +36,20 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUpdateWithoutClaimsInputObjectZodSchema = exports.NpiProviderUpdateWithoutClaimsInputObjectSchema = void 0; const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema"); +const PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1.UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUpdateWithoutClaimsInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..8a209dbb --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpdateWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema"); +const ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUpdateManyWithoutNpiProviderNestedInput.schema"); +const AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema"); +const makeSchema = () => z.object({ + npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1.UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderUpdateWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..9ecca3ee --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutPaymentsInput.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpdateWithoutPaymentsInputObjectZodSchema = exports.NpiProviderUpdateWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema"); +const ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema"); +const AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema"); +const makeSchema = () => z.object({ + npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutNpiProvidersNestedInput_schema_1.UserUpdateOneRequiredWithoutNpiProvidersNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + appointmentProcedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUpdateWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderUpdateWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutUserInput.schema.js index 86a8df54..a45571ae 100644 --- a/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderUpdateWithoutUserInput.schema.js @@ -36,14 +36,20 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.NpiProviderUpdateWithoutUserInputObjectZodSchema = exports.NpiProviderUpdateWithoutUserInputObjectSchema = void 0; const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema"); +const PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./PaymentUpdateManyWithoutNpiProviderNestedInput.schema"); +const CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema"); const AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema"); const makeSchema = () => z.object({ npiNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), providerName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + sortOrder: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutNpiProviderNestedInput_schema_1.ClaimUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + payments: z.lazy(() => PaymentUpdateManyWithoutNpiProviderNestedInput_schema_1.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchUpdateManyWithoutNpiProviderNestedInput_schema_1.CommissionBatchUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutNpiProviderNestedInputObjectSchema).optional() }).strict(); exports.NpiProviderUpdateWithoutUserInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpsertWithoutCommissionBatchesInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpsertWithoutCommissionBatchesInput.schema.js new file mode 100644 index 00000000..58cee1b9 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpsertWithoutCommissionBatchesInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpsertWithoutCommissionBatchesInputObjectZodSchema = exports.NpiProviderUpsertWithoutCommissionBatchesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderUpdateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUpdateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedUpdateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema"); +const NpiProviderCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema"); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => NpiProviderUpdateWithoutCommissionBatchesInput_schema_1.NpiProviderUpdateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedUpdateWithoutCommissionBatchesInputObjectSchema)]), + create: z.union([z.lazy(() => NpiProviderCreateWithoutCommissionBatchesInput_schema_1.NpiProviderCreateWithoutCommissionBatchesInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutCommissionBatchesInput_schema_1.NpiProviderUncheckedCreateWithoutCommissionBatchesInputObjectSchema)]), + where: z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUpsertWithoutCommissionBatchesInputObjectSchema = makeSchema(); +exports.NpiProviderUpsertWithoutCommissionBatchesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderUpsertWithoutPaymentsInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderUpsertWithoutPaymentsInput.schema.js new file mode 100644 index 00000000..c2ee5740 --- /dev/null +++ b/packages/db/shared/schemas/objects/NpiProviderUpsertWithoutPaymentsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NpiProviderUpsertWithoutPaymentsInputObjectZodSchema = exports.NpiProviderUpsertWithoutPaymentsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NpiProviderUpdateWithoutPaymentsInput_schema_1 = require("./NpiProviderUpdateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedUpdateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedUpdateWithoutPaymentsInput.schema"); +const NpiProviderCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateWithoutPaymentsInput.schema"); +const NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1 = require("./NpiProviderUncheckedCreateWithoutPaymentsInput.schema"); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => NpiProviderUpdateWithoutPaymentsInput_schema_1.NpiProviderUpdateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedUpdateWithoutPaymentsInput_schema_1.NpiProviderUncheckedUpdateWithoutPaymentsInputObjectSchema)]), + create: z.union([z.lazy(() => NpiProviderCreateWithoutPaymentsInput_schema_1.NpiProviderCreateWithoutPaymentsInputObjectSchema), z.lazy(() => NpiProviderUncheckedCreateWithoutPaymentsInput_schema_1.NpiProviderUncheckedCreateWithoutPaymentsInputObjectSchema)]), + where: z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema).optional() +}).strict(); +exports.NpiProviderUpsertWithoutPaymentsInputObjectSchema = makeSchema(); +exports.NpiProviderUpsertWithoutPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/NpiProviderWhereInput.schema.js b/packages/db/shared/schemas/objects/NpiProviderWhereInput.schema.js index 545a83a0..2936e188 100644 --- a/packages/db/shared/schemas/objects/NpiProviderWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/NpiProviderWhereInput.schema.js @@ -41,6 +41,8 @@ const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); const ClaimListRelationFilter_schema_1 = require("./ClaimListRelationFilter.schema"); +const PaymentListRelationFilter_schema_1 = require("./PaymentListRelationFilter.schema"); +const CommissionBatchListRelationFilter_schema_1 = require("./CommissionBatchListRelationFilter.schema"); const AppointmentProcedureListRelationFilter_schema_1 = require("./AppointmentProcedureListRelationFilter.schema"); const npiproviderwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.NpiProviderWhereInputObjectSchema), z.lazy(() => exports.NpiProviderWhereInputObjectSchema).array()]).optional(), @@ -50,9 +52,12 @@ const npiproviderwhereinputSchema = z.object({ userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), npiNumber: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), providerName: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + sortOrder: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional(), claims: z.lazy(() => ClaimListRelationFilter_schema_1.ClaimListRelationFilterObjectSchema).optional(), + payments: z.lazy(() => PaymentListRelationFilter_schema_1.PaymentListRelationFilterObjectSchema).optional(), + commissionBatches: z.lazy(() => CommissionBatchListRelationFilter_schema_1.CommissionBatchListRelationFilterObjectSchema).optional(), appointmentProcedures: z.lazy(() => AppointmentProcedureListRelationFilter_schema_1.AppointmentProcedureListRelationFilterObjectSchema).optional() }).strict(); exports.NpiProviderWhereInputObjectSchema = npiproviderwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/OfficeContactArgs.schema.js b/packages/db/shared/schemas/objects/OfficeContactArgs.schema.js new file mode 100644 index 00000000..4d879c1c --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactArgsObjectZodSchema = exports.OfficeContactArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./OfficeContactInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema).optional(), + include: z.lazy(() => OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema).optional() +}).strict(); +exports.OfficeContactArgsObjectSchema = makeSchema(); +exports.OfficeContactArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactAvgAggregateInput.schema.js new file mode 100644 index 00000000..1346d1ed --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactAvgAggregateInputObjectZodSchema = exports.OfficeContactAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.OfficeContactAvgAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..47e2e446 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactAvgOrderByAggregateInputObjectZodSchema = exports.OfficeContactAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeContactAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCountAggregateInput.schema.js new file mode 100644 index 00000000..45a8017b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCountAggregateInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCountAggregateInputObjectZodSchema = exports.OfficeContactCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + officeName: 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(), + streetAddress: z.literal(true).optional(), + city: z.literal(true).optional(), + state: z.literal(true).optional(), + zipCode: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.OfficeContactCountAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..e7019f19 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCountOrderByAggregateInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCountOrderByAggregateInputObjectZodSchema = exports.OfficeContactCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + officeName: SortOrder_schema_1.SortOrderSchema.optional(), + receptionistName: SortOrder_schema_1.SortOrderSchema.optional(), + dentistName: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + email: SortOrder_schema_1.SortOrderSchema.optional(), + fax: SortOrder_schema_1.SortOrderSchema.optional(), + streetAddress: SortOrder_schema_1.SortOrderSchema.optional(), + city: SortOrder_schema_1.SortOrderSchema.optional(), + state: SortOrder_schema_1.SortOrderSchema.optional(), + zipCode: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeContactCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCreateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCreateInput.schema.js new file mode 100644 index 00000000..e464d970 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCreateInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateInputObjectZodSchema = exports.OfficeContactCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutOfficeContactInput_schema_1 = require("./UserCreateNestedOneWithoutOfficeContactInput.schema"); +const makeSchema = () => z.object({ + officeName: z.string().optional().nullable(), + 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(), + streetAddress: z.string().optional().nullable(), + city: z.string().optional().nullable(), + state: z.string().optional().nullable(), + zipCode: z.string().optional().nullable(), + user: z.lazy(() => UserCreateNestedOneWithoutOfficeContactInput_schema_1.UserCreateNestedOneWithoutOfficeContactInputObjectSchema) +}).strict(); +exports.OfficeContactCreateInputObjectSchema = makeSchema(); +exports.OfficeContactCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCreateManyInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCreateManyInput.schema.js new file mode 100644 index 00000000..062f4117 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCreateManyInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateManyInputObjectZodSchema = exports.OfficeContactCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + officeName: z.string().optional().nullable(), + 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(), + streetAddress: z.string().optional().nullable(), + city: z.string().optional().nullable(), + state: z.string().optional().nullable(), + zipCode: z.string().optional().nullable() +}).strict(); +exports.OfficeContactCreateManyInputObjectSchema = makeSchema(); +exports.OfficeContactCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..44eb0d20 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateNestedOneWithoutUserInputObjectZodSchema = exports.OfficeContactCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactCreateWithoutUserInput_schema_1 = require("./OfficeContactCreateWithoutUserInput.schema"); +const OfficeContactUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateWithoutUserInput.schema"); +const OfficeContactCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeContactCreateOrConnectWithoutUserInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./OfficeContactWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInput_schema_1.OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInput_schema_1.OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInput_schema_1.OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.OfficeContactCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..c59b99d9 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateOrConnectWithoutUserInputObjectZodSchema = exports.OfficeContactCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactWhereUniqueInput_schema_1 = require("./OfficeContactWhereUniqueInput.schema"); +const OfficeContactCreateWithoutUserInput_schema_1 = require("./OfficeContactCreateWithoutUserInput.schema"); +const OfficeContactUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInput_schema_1.OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInput_schema_1.OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.OfficeContactCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..5f5236cc --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactCreateWithoutUserInput.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateWithoutUserInputObjectZodSchema = exports.OfficeContactCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + officeName: z.string().optional().nullable(), + 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(), + streetAddress: z.string().optional().nullable(), + city: z.string().optional().nullable(), + state: z.string().optional().nullable(), + zipCode: z.string().optional().nullable() +}).strict(); +exports.OfficeContactCreateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactInclude.schema.js b/packages/db/shared/schemas/objects/OfficeContactInclude.schema.js new file mode 100644 index 00000000..5fe2285b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactIncludeObjectZodSchema = exports.OfficeContactIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.OfficeContactIncludeObjectSchema = makeSchema(); +exports.OfficeContactIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactMaxAggregateInput.schema.js new file mode 100644 index 00000000..7b88e341 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactMaxAggregateInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactMaxAggregateInputObjectZodSchema = exports.OfficeContactMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + officeName: 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(), + streetAddress: z.literal(true).optional(), + city: z.literal(true).optional(), + state: z.literal(true).optional(), + zipCode: z.literal(true).optional() +}).strict(); +exports.OfficeContactMaxAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..63385f47 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactMaxOrderByAggregateInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactMaxOrderByAggregateInputObjectZodSchema = exports.OfficeContactMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + officeName: SortOrder_schema_1.SortOrderSchema.optional(), + receptionistName: SortOrder_schema_1.SortOrderSchema.optional(), + dentistName: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + email: SortOrder_schema_1.SortOrderSchema.optional(), + fax: SortOrder_schema_1.SortOrderSchema.optional(), + streetAddress: SortOrder_schema_1.SortOrderSchema.optional(), + city: SortOrder_schema_1.SortOrderSchema.optional(), + state: SortOrder_schema_1.SortOrderSchema.optional(), + zipCode: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeContactMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactMinAggregateInput.schema.js new file mode 100644 index 00000000..66a1c9e1 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactMinAggregateInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactMinAggregateInputObjectZodSchema = exports.OfficeContactMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + officeName: 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(), + streetAddress: z.literal(true).optional(), + city: z.literal(true).optional(), + state: z.literal(true).optional(), + zipCode: z.literal(true).optional() +}).strict(); +exports.OfficeContactMinAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..1b9df4d6 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactMinOrderByAggregateInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactMinOrderByAggregateInputObjectZodSchema = exports.OfficeContactMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + officeName: SortOrder_schema_1.SortOrderSchema.optional(), + receptionistName: SortOrder_schema_1.SortOrderSchema.optional(), + dentistName: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + email: SortOrder_schema_1.SortOrderSchema.optional(), + fax: SortOrder_schema_1.SortOrderSchema.optional(), + streetAddress: SortOrder_schema_1.SortOrderSchema.optional(), + city: SortOrder_schema_1.SortOrderSchema.optional(), + state: SortOrder_schema_1.SortOrderSchema.optional(), + zipCode: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeContactMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/OfficeContactNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..25264967 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactNullableScalarRelationFilterObjectZodSchema = exports.OfficeContactNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactWhereInput_schema_1 = require("./OfficeContactWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.OfficeContactNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.OfficeContactNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..8239bb5a --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactOrderByWithAggregationInput.schema.js @@ -0,0 +1,65 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactOrderByWithAggregationInputObjectZodSchema = exports.OfficeContactOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const OfficeContactCountOrderByAggregateInput_schema_1 = require("./OfficeContactCountOrderByAggregateInput.schema"); +const OfficeContactAvgOrderByAggregateInput_schema_1 = require("./OfficeContactAvgOrderByAggregateInput.schema"); +const OfficeContactMaxOrderByAggregateInput_schema_1 = require("./OfficeContactMaxOrderByAggregateInput.schema"); +const OfficeContactMinOrderByAggregateInput_schema_1 = require("./OfficeContactMinOrderByAggregateInput.schema"); +const OfficeContactSumOrderByAggregateInput_schema_1 = require("./OfficeContactSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + officeName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + receptionistName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + dentistName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + phoneNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + email: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + fax: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + streetAddress: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + city: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + state: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + zipCode: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + _count: z.lazy(() => OfficeContactCountOrderByAggregateInput_schema_1.OfficeContactCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => OfficeContactAvgOrderByAggregateInput_schema_1.OfficeContactAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => OfficeContactMaxOrderByAggregateInput_schema_1.OfficeContactMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => OfficeContactMinOrderByAggregateInput_schema_1.OfficeContactMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => OfficeContactSumOrderByAggregateInput_schema_1.OfficeContactSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.OfficeContactOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.OfficeContactOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..5c7c15dd --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactOrderByWithRelationInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactOrderByWithRelationInputObjectZodSchema = exports.OfficeContactOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + officeName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + receptionistName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + dentistName: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + phoneNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + email: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + fax: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + streetAddress: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + city: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + state: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + zipCode: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.OfficeContactOrderByWithRelationInputObjectSchema = makeSchema(); +exports.OfficeContactOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..cefa714b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactScalarWhereWithAggregatesInputObjectZodSchema = exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); +const officecontactscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + officeName: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + receptionistName: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + dentistName: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + phoneNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + email: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + fax: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + streetAddress: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + city: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + state: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + zipCode: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable() +}).strict(); +exports.OfficeContactScalarWhereWithAggregatesInputObjectSchema = officecontactscalarwherewithaggregatesinputSchema; +exports.OfficeContactScalarWhereWithAggregatesInputObjectZodSchema = officecontactscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/OfficeContactSelect.schema.js b/packages/db/shared/schemas/objects/OfficeContactSelect.schema.js new file mode 100644 index 00000000..3afd72fc --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactSelect.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactSelectObjectZodSchema = exports.OfficeContactSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + officeName: z.boolean().optional(), + receptionistName: z.boolean().optional(), + dentistName: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + email: z.boolean().optional(), + fax: z.boolean().optional(), + streetAddress: z.boolean().optional(), + city: z.boolean().optional(), + state: z.boolean().optional(), + zipCode: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.OfficeContactSelectObjectSchema = makeSchema(); +exports.OfficeContactSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactSumAggregateInput.schema.js new file mode 100644 index 00000000..b308933b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactSumAggregateInputObjectZodSchema = exports.OfficeContactSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.OfficeContactSumAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..0927092c --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactSumOrderByAggregateInputObjectZodSchema = exports.OfficeContactSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeContactSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeContactSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateInput.schema.js new file mode 100644 index 00000000..f52fd37a --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedCreateInputObjectZodSchema = exports.OfficeContactUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + officeName: z.string().optional().nullable(), + 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(), + streetAddress: z.string().optional().nullable(), + city: z.string().optional().nullable(), + state: z.string().optional().nullable(), + zipCode: z.string().optional().nullable() +}).strict(); +exports.OfficeContactUncheckedCreateInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..4a20e2c4 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = exports.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactCreateWithoutUserInput_schema_1 = require("./OfficeContactCreateWithoutUserInput.schema"); +const OfficeContactUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateWithoutUserInput.schema"); +const OfficeContactCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeContactCreateOrConnectWithoutUserInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./OfficeContactWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInput_schema_1.OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInput_schema_1.OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInput_schema_1.OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..8beb5878 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedCreateWithoutUserInputObjectZodSchema = exports.OfficeContactUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + officeName: z.string().optional().nullable(), + 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(), + streetAddress: z.string().optional().nullable(), + city: z.string().optional().nullable(), + state: z.string().optional().nullable(), + zipCode: z.string().optional().nullable() +}).strict(); +exports.OfficeContactUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..9aabd5ac --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedUpdateInputObjectZodSchema = exports.OfficeContactUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + officeName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.OfficeContactUncheckedUpdateInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..55ecaa8f --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateManyInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedUpdateManyInputObjectZodSchema = exports.OfficeContactUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + officeName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.OfficeContactUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..b51b2e0c --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = exports.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactCreateWithoutUserInput_schema_1 = require("./OfficeContactCreateWithoutUserInput.schema"); +const OfficeContactUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateWithoutUserInput.schema"); +const OfficeContactCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeContactCreateOrConnectWithoutUserInput.schema"); +const OfficeContactUpsertWithoutUserInput_schema_1 = require("./OfficeContactUpsertWithoutUserInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./OfficeContactWhereUniqueInput.schema"); +const OfficeContactUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./OfficeContactUpdateToOneWithWhereWithoutUserInput.schema"); +const OfficeContactUpdateWithoutUserInput_schema_1 = require("./OfficeContactUpdateWithoutUserInput.schema"); +const OfficeContactUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInput_schema_1.OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInput_schema_1.OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInput_schema_1.OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => OfficeContactUpsertWithoutUserInput_schema_1.OfficeContactUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => OfficeContactUpdateToOneWithWhereWithoutUserInput_schema_1.OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUpdateWithoutUserInput_schema_1.OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInput_schema_1.OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..d04f1afc --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUncheckedUpdateWithoutUserInputObjectZodSchema = exports.OfficeContactUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + officeName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.OfficeContactUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUpdateInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUpdateInput.schema.js new file mode 100644 index 00000000..0eeb5b29 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUpdateInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateInputObjectZodSchema = exports.OfficeContactUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutOfficeContactNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema"); +const makeSchema = () => z.object({ + officeName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + user: z.lazy(() => UserUpdateOneRequiredWithoutOfficeContactNestedInput_schema_1.UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema).optional() +}).strict(); +exports.OfficeContactUpdateInputObjectSchema = makeSchema(); +exports.OfficeContactUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..adfda143 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUpdateManyMutationInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateManyMutationInputObjectZodSchema = exports.OfficeContactUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + officeName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.OfficeContactUpdateManyMutationInputObjectSchema = makeSchema(); +exports.OfficeContactUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..ce7d47a8 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateOneWithoutUserNestedInputObjectZodSchema = exports.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactCreateWithoutUserInput_schema_1 = require("./OfficeContactCreateWithoutUserInput.schema"); +const OfficeContactUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateWithoutUserInput.schema"); +const OfficeContactCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeContactCreateOrConnectWithoutUserInput.schema"); +const OfficeContactUpsertWithoutUserInput_schema_1 = require("./OfficeContactUpsertWithoutUserInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./OfficeContactWhereInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./OfficeContactWhereUniqueInput.schema"); +const OfficeContactUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./OfficeContactUpdateToOneWithWhereWithoutUserInput.schema"); +const OfficeContactUpdateWithoutUserInput_schema_1 = require("./OfficeContactUpdateWithoutUserInput.schema"); +const OfficeContactUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInput_schema_1.OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInput_schema_1.OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeContactCreateOrConnectWithoutUserInput_schema_1.OfficeContactCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => OfficeContactUpsertWithoutUserInput_schema_1.OfficeContactUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => OfficeContactUpdateToOneWithWhereWithoutUserInput_schema_1.OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUpdateWithoutUserInput_schema_1.OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInput_schema_1.OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.OfficeContactUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUpdateToOneWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUpdateToOneWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..2b1a1a13 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUpdateToOneWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateToOneWithWhereWithoutUserInputObjectZodSchema = exports.OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactWhereInput_schema_1 = require("./OfficeContactWhereInput.schema"); +const OfficeContactUpdateWithoutUserInput_schema_1 = require("./OfficeContactUpdateWithoutUserInput.schema"); +const OfficeContactUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => OfficeContactUpdateWithoutUserInput_schema_1.OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInput_schema_1.OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.OfficeContactUpdateToOneWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactUpdateToOneWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..5aaf77f0 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUpdateWithoutUserInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateWithoutUserInputObjectZodSchema = exports.OfficeContactUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + officeName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + receptionistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + dentistName: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + phoneNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + fax: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + streetAddress: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + state: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable() +}).strict(); +exports.OfficeContactUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactUpsertWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactUpsertWithoutUserInput.schema.js new file mode 100644 index 00000000..01cc0b43 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactUpsertWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpsertWithoutUserInputObjectZodSchema = exports.OfficeContactUpsertWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactUpdateWithoutUserInput_schema_1 = require("./OfficeContactUpdateWithoutUserInput.schema"); +const OfficeContactUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedUpdateWithoutUserInput.schema"); +const OfficeContactCreateWithoutUserInput_schema_1 = require("./OfficeContactCreateWithoutUserInput.schema"); +const OfficeContactUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateWithoutUserInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./OfficeContactWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => OfficeContactUpdateWithoutUserInput_schema_1.OfficeContactUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedUpdateWithoutUserInput_schema_1.OfficeContactUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => OfficeContactCreateWithoutUserInput_schema_1.OfficeContactCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeContactUncheckedCreateWithoutUserInput_schema_1.OfficeContactUncheckedCreateWithoutUserInputObjectSchema)]), + where: z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema).optional() +}).strict(); +exports.OfficeContactUpsertWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeContactUpsertWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeContactWhereInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactWhereInput.schema.js new file mode 100644 index 00000000..86565597 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactWhereInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactWhereInputObjectZodSchema = exports.OfficeContactWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const officecontactwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.OfficeContactWhereInputObjectSchema), z.lazy(() => exports.OfficeContactWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.OfficeContactWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.OfficeContactWhereInputObjectSchema), z.lazy(() => exports.OfficeContactWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + officeName: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + receptionistName: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + dentistName: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + phoneNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + email: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + fax: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + streetAddress: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + city: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + state: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + zipCode: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.OfficeContactWhereInputObjectSchema = officecontactwhereinputSchema; +exports.OfficeContactWhereInputObjectZodSchema = officecontactwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/OfficeContactWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/OfficeContactWhereUniqueInput.schema.js new file mode 100644 index 00000000..b8903b74 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeContactWhereUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactWhereUniqueInputObjectZodSchema = exports.OfficeContactWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int().optional() +}).strict(); +exports.OfficeContactWhereUniqueInputObjectSchema = makeSchema(); +exports.OfficeContactWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursArgs.schema.js b/packages/db/shared/schemas/objects/OfficeHoursArgs.schema.js new file mode 100644 index 00000000..bdd1ea6a --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursArgsObjectZodSchema = exports.OfficeHoursArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./OfficeHoursInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema).optional(), + include: z.lazy(() => OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema).optional() +}).strict(); +exports.OfficeHoursArgsObjectSchema = makeSchema(); +exports.OfficeHoursArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursAvgAggregateInput.schema.js new file mode 100644 index 00000000..f57f52fa --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursAvgAggregateInputObjectZodSchema = exports.OfficeHoursAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.OfficeHoursAvgAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..c0f35ef1 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursAvgOrderByAggregateInputObjectZodSchema = exports.OfficeHoursAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeHoursAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCountAggregateInput.schema.js new file mode 100644 index 00000000..7ad7aa0f --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCountAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCountAggregateInputObjectZodSchema = exports.OfficeHoursCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + data: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.OfficeHoursCountAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..adae9509 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCountOrderByAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCountOrderByAggregateInputObjectZodSchema = exports.OfficeHoursCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + data: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeHoursCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCreateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCreateInput.schema.js new file mode 100644 index 00000000..75dc2d88 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateInputObjectZodSchema = exports.OfficeHoursCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const UserCreateNestedOneWithoutOfficeHoursInput_schema_1 = require("./UserCreateNestedOneWithoutOfficeHoursInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]), + user: z.lazy(() => UserCreateNestedOneWithoutOfficeHoursInput_schema_1.UserCreateNestedOneWithoutOfficeHoursInputObjectSchema) +}).strict(); +exports.OfficeHoursCreateInputObjectSchema = makeSchema(); +exports.OfficeHoursCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCreateManyInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCreateManyInput.schema.js new file mode 100644 index 00000000..398b985a --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCreateManyInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateManyInputObjectZodSchema = exports.OfficeHoursCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.OfficeHoursCreateManyInputObjectSchema = makeSchema(); +exports.OfficeHoursCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..14fab401 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateNestedOneWithoutUserInputObjectZodSchema = exports.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursCreateWithoutUserInput_schema_1 = require("./OfficeHoursCreateWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"); +const OfficeHoursCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeHoursCreateOrConnectWithoutUserInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./OfficeHoursWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInput_schema_1.OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInput_schema_1.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeHoursCreateOrConnectWithoutUserInput_schema_1.OfficeHoursCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..d27602c6 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateOrConnectWithoutUserInputObjectZodSchema = exports.OfficeHoursCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursWhereUniqueInput_schema_1 = require("./OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursCreateWithoutUserInput_schema_1 = require("./OfficeHoursCreateWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInput_schema_1.OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInput_schema_1.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.OfficeHoursCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..f52d67d3 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursCreateWithoutUserInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateWithoutUserInputObjectZodSchema = exports.OfficeHoursCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.OfficeHoursCreateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursInclude.schema.js b/packages/db/shared/schemas/objects/OfficeHoursInclude.schema.js new file mode 100644 index 00000000..beb58fce --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursIncludeObjectZodSchema = exports.OfficeHoursIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.OfficeHoursIncludeObjectSchema = makeSchema(); +exports.OfficeHoursIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursMaxAggregateInput.schema.js new file mode 100644 index 00000000..de19f1fd --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursMaxAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursMaxAggregateInputObjectZodSchema = exports.OfficeHoursMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.OfficeHoursMaxAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..b92b4a35 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursMaxOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursMaxOrderByAggregateInputObjectZodSchema = exports.OfficeHoursMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeHoursMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursMinAggregateInput.schema.js new file mode 100644 index 00000000..0eda203b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursMinAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursMinAggregateInputObjectZodSchema = exports.OfficeHoursMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.OfficeHoursMinAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..96d77785 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursMinOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursMinOrderByAggregateInputObjectZodSchema = exports.OfficeHoursMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeHoursMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/OfficeHoursNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..3fef53fd --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursNullableScalarRelationFilterObjectZodSchema = exports.OfficeHoursNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursWhereInput_schema_1 = require("./OfficeHoursWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.OfficeHoursNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.OfficeHoursNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..67a92ed0 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursOrderByWithAggregationInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursOrderByWithAggregationInputObjectZodSchema = exports.OfficeHoursOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const OfficeHoursCountOrderByAggregateInput_schema_1 = require("./OfficeHoursCountOrderByAggregateInput.schema"); +const OfficeHoursAvgOrderByAggregateInput_schema_1 = require("./OfficeHoursAvgOrderByAggregateInput.schema"); +const OfficeHoursMaxOrderByAggregateInput_schema_1 = require("./OfficeHoursMaxOrderByAggregateInput.schema"); +const OfficeHoursMinOrderByAggregateInput_schema_1 = require("./OfficeHoursMinOrderByAggregateInput.schema"); +const OfficeHoursSumOrderByAggregateInput_schema_1 = require("./OfficeHoursSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + data: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => OfficeHoursCountOrderByAggregateInput_schema_1.OfficeHoursCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => OfficeHoursAvgOrderByAggregateInput_schema_1.OfficeHoursAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => OfficeHoursMaxOrderByAggregateInput_schema_1.OfficeHoursMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => OfficeHoursMinOrderByAggregateInput_schema_1.OfficeHoursMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => OfficeHoursSumOrderByAggregateInput_schema_1.OfficeHoursSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.OfficeHoursOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.OfficeHoursOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..96557373 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursOrderByWithRelationInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursOrderByWithRelationInputObjectZodSchema = exports.OfficeHoursOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + data: SortOrder_schema_1.SortOrderSchema.optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.OfficeHoursOrderByWithRelationInputObjectSchema = makeSchema(); +exports.OfficeHoursOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..a4c1125b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursScalarWhereWithAggregatesInputObjectZodSchema = exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const JsonWithAggregatesFilter_schema_1 = require("./JsonWithAggregatesFilter.schema"); +const officehoursscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + data: z.lazy(() => JsonWithAggregatesFilter_schema_1.JsonWithAggregatesFilterObjectSchema).optional() +}).strict(); +exports.OfficeHoursScalarWhereWithAggregatesInputObjectSchema = officehoursscalarwherewithaggregatesinputSchema; +exports.OfficeHoursScalarWhereWithAggregatesInputObjectZodSchema = officehoursscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/OfficeHoursSelect.schema.js b/packages/db/shared/schemas/objects/OfficeHoursSelect.schema.js new file mode 100644 index 00000000..ad3ce2ff --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursSelect.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursSelectObjectZodSchema = exports.OfficeHoursSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.OfficeHoursSelectObjectSchema = makeSchema(); +exports.OfficeHoursSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursSumAggregateInput.schema.js new file mode 100644 index 00000000..5caee4c1 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursSumAggregateInputObjectZodSchema = exports.OfficeHoursSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.OfficeHoursSumAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..9c5c2589 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursSumOrderByAggregateInputObjectZodSchema = exports.OfficeHoursSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.OfficeHoursSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.OfficeHoursSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateInput.schema.js new file mode 100644 index 00000000..6363d947 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedCreateInputObjectZodSchema = exports.OfficeHoursUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.OfficeHoursUncheckedCreateInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..ebfb440b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = exports.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursCreateWithoutUserInput_schema_1 = require("./OfficeHoursCreateWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"); +const OfficeHoursCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeHoursCreateOrConnectWithoutUserInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./OfficeHoursWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInput_schema_1.OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInput_schema_1.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeHoursCreateOrConnectWithoutUserInput_schema_1.OfficeHoursCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..4e31d5f5 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedCreateWithoutUserInputObjectZodSchema = exports.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..78abb507 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedUpdateInputObjectZodSchema = exports.OfficeHoursUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.OfficeHoursUncheckedUpdateInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..28f5a4b5 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateManyInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedUpdateManyInputObjectZodSchema = exports.OfficeHoursUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.OfficeHoursUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..e5a5e845 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = exports.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursCreateWithoutUserInput_schema_1 = require("./OfficeHoursCreateWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"); +const OfficeHoursCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeHoursCreateOrConnectWithoutUserInput.schema"); +const OfficeHoursUpsertWithoutUserInput_schema_1 = require("./OfficeHoursUpsertWithoutUserInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema"); +const OfficeHoursUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUpdateWithoutUserInput.schema"); +const OfficeHoursUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInput_schema_1.OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInput_schema_1.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeHoursCreateOrConnectWithoutUserInput_schema_1.OfficeHoursCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => OfficeHoursUpsertWithoutUserInput_schema_1.OfficeHoursUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => OfficeHoursUpdateToOneWithWhereWithoutUserInput_schema_1.OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUpdateWithoutUserInput_schema_1.OfficeHoursUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedUpdateWithoutUserInput_schema_1.OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..fee3e48b --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUncheckedUpdateWithoutUserInputObjectZodSchema = exports.OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUpdateInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUpdateInput.schema.js new file mode 100644 index 00000000..eba7c9f7 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUpdateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateInputObjectZodSchema = exports.OfficeHoursUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const UserUpdateOneRequiredWithoutOfficeHoursNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutOfficeHoursNestedInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutOfficeHoursNestedInput_schema_1.UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectSchema).optional() +}).strict(); +exports.OfficeHoursUpdateInputObjectSchema = makeSchema(); +exports.OfficeHoursUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..c3e05832 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUpdateManyMutationInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateManyMutationInputObjectZodSchema = exports.OfficeHoursUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.OfficeHoursUpdateManyMutationInputObjectSchema = makeSchema(); +exports.OfficeHoursUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..a4c57bbc --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateOneWithoutUserNestedInputObjectZodSchema = exports.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursCreateWithoutUserInput_schema_1 = require("./OfficeHoursCreateWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"); +const OfficeHoursCreateOrConnectWithoutUserInput_schema_1 = require("./OfficeHoursCreateOrConnectWithoutUserInput.schema"); +const OfficeHoursUpsertWithoutUserInput_schema_1 = require("./OfficeHoursUpsertWithoutUserInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./OfficeHoursWhereInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema"); +const OfficeHoursUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUpdateWithoutUserInput.schema"); +const OfficeHoursUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInput_schema_1.OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInput_schema_1.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => OfficeHoursCreateOrConnectWithoutUserInput_schema_1.OfficeHoursCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => OfficeHoursUpsertWithoutUserInput_schema_1.OfficeHoursUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => OfficeHoursUpdateToOneWithWhereWithoutUserInput_schema_1.OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUpdateWithoutUserInput_schema_1.OfficeHoursUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedUpdateWithoutUserInput_schema_1.OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.OfficeHoursUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..1a05b6ac --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectZodSchema = exports.OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursWhereInput_schema_1 = require("./OfficeHoursWhereInput.schema"); +const OfficeHoursUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUpdateWithoutUserInput.schema"); +const OfficeHoursUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => OfficeHoursUpdateWithoutUserInput_schema_1.OfficeHoursUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedUpdateWithoutUserInput_schema_1.OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursUpdateToOneWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..428697a1 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUpdateWithoutUserInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateWithoutUserInputObjectZodSchema = exports.OfficeHoursUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.OfficeHoursUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursUpsertWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursUpsertWithoutUserInput.schema.js new file mode 100644 index 00000000..fd50889e --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursUpsertWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpsertWithoutUserInputObjectZodSchema = exports.OfficeHoursUpsertWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUpdateWithoutUserInput.schema"); +const OfficeHoursUncheckedUpdateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedUpdateWithoutUserInput.schema"); +const OfficeHoursCreateWithoutUserInput_schema_1 = require("./OfficeHoursCreateWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./OfficeHoursWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => OfficeHoursUpdateWithoutUserInput_schema_1.OfficeHoursUpdateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedUpdateWithoutUserInput_schema_1.OfficeHoursUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => OfficeHoursCreateWithoutUserInput_schema_1.OfficeHoursCreateWithoutUserInputObjectSchema), z.lazy(() => OfficeHoursUncheckedCreateWithoutUserInput_schema_1.OfficeHoursUncheckedCreateWithoutUserInputObjectSchema)]), + where: z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema).optional() +}).strict(); +exports.OfficeHoursUpsertWithoutUserInputObjectSchema = makeSchema(); +exports.OfficeHoursUpsertWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/OfficeHoursWhereInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursWhereInput.schema.js new file mode 100644 index 00000000..9e7ba4e3 --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursWhereInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursWhereInputObjectZodSchema = exports.OfficeHoursWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const JsonFilter_schema_1 = require("./JsonFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const officehourswhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.OfficeHoursWhereInputObjectSchema), z.lazy(() => exports.OfficeHoursWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.OfficeHoursWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.OfficeHoursWhereInputObjectSchema), z.lazy(() => exports.OfficeHoursWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + data: z.lazy(() => JsonFilter_schema_1.JsonFilterObjectSchema).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.OfficeHoursWhereInputObjectSchema = officehourswhereinputSchema; +exports.OfficeHoursWhereInputObjectZodSchema = officehourswhereinputSchema; diff --git a/packages/db/shared/schemas/objects/OfficeHoursWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/OfficeHoursWhereUniqueInput.schema.js new file mode 100644 index 00000000..0a56b4ee --- /dev/null +++ b/packages/db/shared/schemas/objects/OfficeHoursWhereUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursWhereUniqueInputObjectZodSchema = exports.OfficeHoursWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int().optional() +}).strict(); +exports.OfficeHoursWhereUniqueInputObjectSchema = makeSchema(); +exports.OfficeHoursWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationArgs.schema.js b/packages/db/shared/schemas/objects/PatientConversationArgs.schema.js new file mode 100644 index 00000000..502878ab --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationArgsObjectZodSchema = exports.PatientConversationArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./PatientConversationInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema).optional(), + include: z.lazy(() => PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema).optional() +}).strict(); +exports.PatientConversationArgsObjectSchema = makeSchema(); +exports.PatientConversationArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationAvgAggregateInput.schema.js new file mode 100644 index 00000000..8395d25c --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationAvgAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationAvgAggregateInputObjectZodSchema = exports.PatientConversationAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + patientId: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.PatientConversationAvgAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..862689dc --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationAvgOrderByAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationAvgOrderByAggregateInputObjectZodSchema = exports.PatientConversationAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.PatientConversationAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCountAggregateInput.schema.js new file mode 100644 index 00000000..9d9be7e0 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCountAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCountAggregateInputObjectZodSchema = exports.PatientConversationCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + patientId: z.literal(true).optional(), + userId: z.literal(true).optional(), + stage: z.literal(true).optional(), + aiHandoff: z.literal(true).optional(), + updatedAt: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.PatientConversationCountAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..dbc45b2b --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCountOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCountOrderByAggregateInputObjectZodSchema = exports.PatientConversationCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + stage: SortOrder_schema_1.SortOrderSchema.optional(), + aiHandoff: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.PatientConversationCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateInput.schema.js new file mode 100644 index 00000000..404c5d88 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateInputObjectZodSchema = exports.PatientConversationCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedOneWithoutConversationInput_schema_1 = require("./PatientCreateNestedOneWithoutConversationInput.schema"); +const UserCreateNestedOneWithoutPatientConversationsInput_schema_1 = require("./UserCreateNestedOneWithoutPatientConversationsInput.schema"); +const makeSchema = () => z.object({ + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + patient: z.lazy(() => PatientCreateNestedOneWithoutConversationInput_schema_1.PatientCreateNestedOneWithoutConversationInputObjectSchema), + user: z.lazy(() => UserCreateNestedOneWithoutPatientConversationsInput_schema_1.UserCreateNestedOneWithoutPatientConversationsInputObjectSchema) +}).strict(); +exports.PatientConversationCreateInputObjectSchema = makeSchema(); +exports.PatientConversationCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateManyInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateManyInput.schema.js new file mode 100644 index 00000000..c5f4d71d --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateManyInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateManyInputObjectZodSchema = exports.PatientConversationCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.coerce.date().optional() +}).strict(); +exports.PatientConversationCreateManyInputObjectSchema = makeSchema(); +exports.PatientConversationCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateManyUserInput.schema.js new file mode 100644 index 00000000..f0c441f9 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateManyUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateManyUserInputObjectZodSchema = exports.PatientConversationCreateManyUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + patientId: z.number().int(), + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.coerce.date().optional() +}).strict(); +exports.PatientConversationCreateManyUserInputObjectSchema = makeSchema(); +exports.PatientConversationCreateManyUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateManyUserInputEnvelope.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateManyUserInputEnvelope.schema.js new file mode 100644 index 00000000..279013a6 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateManyUserInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateManyUserInputEnvelopeObjectZodSchema = exports.PatientConversationCreateManyUserInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateManyUserInput_schema_1 = require("./PatientConversationCreateManyUserInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => PatientConversationCreateManyUserInput_schema_1.PatientConversationCreateManyUserInputObjectSchema), z.lazy(() => PatientConversationCreateManyUserInput_schema_1.PatientConversationCreateManyUserInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.PatientConversationCreateManyUserInputEnvelopeObjectSchema = makeSchema(); +exports.PatientConversationCreateManyUserInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateNestedManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateNestedManyWithoutUserInput.schema.js new file mode 100644 index 00000000..9430cdb1 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateNestedManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateNestedManyWithoutUserInputObjectZodSchema = exports.PatientConversationCreateNestedManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutUserInput_schema_1 = require("./PatientConversationCreateWithoutUserInput.schema"); +const PatientConversationUncheckedCreateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutUserInput.schema"); +const PatientConversationCreateOrConnectWithoutUserInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutUserInput.schema"); +const PatientConversationCreateManyUserInputEnvelope_schema_1 = require("./PatientConversationCreateManyUserInputEnvelope.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PatientConversationCreateManyUserInputEnvelope_schema_1.PatientConversationCreateManyUserInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.PatientConversationCreateNestedManyWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateNestedOneWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateNestedOneWithoutPatientInput.schema.js new file mode 100644 index 00000000..9f92c147 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateNestedOneWithoutPatientInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateNestedOneWithoutPatientInputObjectZodSchema = exports.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutPatientInput_schema_1 = require("./PatientConversationCreateWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"); +const PatientConversationCreateOrConnectWithoutPatientInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutPatientInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInput_schema_1.PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInput_schema_1.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientConversationCreateOrConnectWithoutPatientInput_schema_1.PatientConversationCreateOrConnectWithoutPatientInputObjectSchema).optional(), + connect: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationCreateNestedOneWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateOrConnectWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateOrConnectWithoutPatientInput.schema.js new file mode 100644 index 00000000..92652c8a --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateOrConnectWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateOrConnectWithoutPatientInputObjectZodSchema = exports.PatientConversationCreateOrConnectWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationCreateWithoutPatientInput_schema_1 = require("./PatientConversationCreateWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInput_schema_1.PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInput_schema_1.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]) +}).strict(); +exports.PatientConversationCreateOrConnectWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationCreateOrConnectWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..b829c6ff --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateOrConnectWithoutUserInputObjectZodSchema = exports.PatientConversationCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationCreateWithoutUserInput_schema_1 = require("./PatientConversationCreateWithoutUserInput.schema"); +const PatientConversationUncheckedCreateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.PatientConversationCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateWithoutPatientInput.schema.js new file mode 100644 index 00000000..7018afd8 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateWithoutPatientInputObjectZodSchema = exports.PatientConversationCreateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutPatientConversationsInput_schema_1 = require("./UserCreateNestedOneWithoutPatientConversationsInput.schema"); +const makeSchema = () => z.object({ + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.coerce.date().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutPatientConversationsInput_schema_1.UserCreateNestedOneWithoutPatientConversationsInputObjectSchema) +}).strict(); +exports.PatientConversationCreateWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..f618a7ff --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationCreateWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateWithoutUserInputObjectZodSchema = exports.PatientConversationCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedOneWithoutConversationInput_schema_1 = require("./PatientCreateNestedOneWithoutConversationInput.schema"); +const makeSchema = () => z.object({ + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.coerce.date().optional(), + patient: z.lazy(() => PatientCreateNestedOneWithoutConversationInput_schema_1.PatientCreateNestedOneWithoutConversationInputObjectSchema) +}).strict(); +exports.PatientConversationCreateWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationInclude.schema.js b/packages/db/shared/schemas/objects/PatientConversationInclude.schema.js new file mode 100644 index 00000000..a1f8742e --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationInclude.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationIncludeObjectZodSchema = exports.PatientConversationIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientArgs_schema_1 = require("./PatientArgs.schema"); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.PatientConversationIncludeObjectSchema = makeSchema(); +exports.PatientConversationIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationListRelationFilter.schema.js b/packages/db/shared/schemas/objects/PatientConversationListRelationFilter.schema.js new file mode 100644 index 00000000..e75f3549 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationListRelationFilter.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationListRelationFilterObjectZodSchema = exports.PatientConversationListRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const makeSchema = () => z.object({ + every: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional(), + some: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional(), + none: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional() +}).strict(); +exports.PatientConversationListRelationFilterObjectSchema = makeSchema(); +exports.PatientConversationListRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationMaxAggregateInput.schema.js new file mode 100644 index 00000000..e21f8314 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationMaxAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationMaxAggregateInputObjectZodSchema = exports.PatientConversationMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + patientId: z.literal(true).optional(), + userId: z.literal(true).optional(), + stage: z.literal(true).optional(), + aiHandoff: z.literal(true).optional(), + updatedAt: z.literal(true).optional() +}).strict(); +exports.PatientConversationMaxAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..1c38eaad --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationMaxOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationMaxOrderByAggregateInputObjectZodSchema = exports.PatientConversationMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + stage: SortOrder_schema_1.SortOrderSchema.optional(), + aiHandoff: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.PatientConversationMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationMinAggregateInput.schema.js new file mode 100644 index 00000000..2f53a5bc --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationMinAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationMinAggregateInputObjectZodSchema = exports.PatientConversationMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + patientId: z.literal(true).optional(), + userId: z.literal(true).optional(), + stage: z.literal(true).optional(), + aiHandoff: z.literal(true).optional(), + updatedAt: z.literal(true).optional() +}).strict(); +exports.PatientConversationMinAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..619f642b --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationMinOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationMinOrderByAggregateInputObjectZodSchema = exports.PatientConversationMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + stage: SortOrder_schema_1.SortOrderSchema.optional(), + aiHandoff: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.PatientConversationMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/PatientConversationNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..3758cb54 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationNullableScalarRelationFilterObjectZodSchema = exports.PatientConversationNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.PatientConversationNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.PatientConversationNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationOrderByRelationAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationOrderByRelationAggregateInput.schema.js new file mode 100644 index 00000000..b5b75b33 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationOrderByRelationAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationOrderByRelationAggregateInputObjectZodSchema = exports.PatientConversationOrderByRelationAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + _count: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.PatientConversationOrderByRelationAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationOrderByRelationAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..a9c042b6 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationOrderByWithAggregationInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationOrderByWithAggregationInputObjectZodSchema = exports.PatientConversationOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const PatientConversationCountOrderByAggregateInput_schema_1 = require("./PatientConversationCountOrderByAggregateInput.schema"); +const PatientConversationAvgOrderByAggregateInput_schema_1 = require("./PatientConversationAvgOrderByAggregateInput.schema"); +const PatientConversationMaxOrderByAggregateInput_schema_1 = require("./PatientConversationMaxOrderByAggregateInput.schema"); +const PatientConversationMinOrderByAggregateInput_schema_1 = require("./PatientConversationMinOrderByAggregateInput.schema"); +const PatientConversationSumOrderByAggregateInput_schema_1 = require("./PatientConversationSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + stage: SortOrder_schema_1.SortOrderSchema.optional(), + aiHandoff: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => PatientConversationCountOrderByAggregateInput_schema_1.PatientConversationCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => PatientConversationAvgOrderByAggregateInput_schema_1.PatientConversationAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => PatientConversationMaxOrderByAggregateInput_schema_1.PatientConversationMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => PatientConversationMinOrderByAggregateInput_schema_1.PatientConversationMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => PatientConversationSumOrderByAggregateInput_schema_1.PatientConversationSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.PatientConversationOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.PatientConversationOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..55111444 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationOrderByWithRelationInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationOrderByWithRelationInputObjectZodSchema = exports.PatientConversationOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const PatientOrderByWithRelationInput_schema_1 = require("./PatientOrderByWithRelationInput.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + stage: SortOrder_schema_1.SortOrderSchema.optional(), + aiHandoff: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), + patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.PatientConversationOrderByWithRelationInputObjectSchema = makeSchema(); +exports.PatientConversationOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationScalarWhereInput.schema.js new file mode 100644 index 00000000..78c745ae --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationScalarWhereInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationScalarWhereInputObjectZodSchema = exports.PatientConversationScalarWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const BoolFilter_schema_1 = require("./BoolFilter.schema"); +const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const patientconversationscalarwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.PatientConversationScalarWhereInputObjectSchema), z.lazy(() => exports.PatientConversationScalarWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.PatientConversationScalarWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.PatientConversationScalarWhereInputObjectSchema), z.lazy(() => exports.PatientConversationScalarWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + stage: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + aiHandoff: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() +}).strict(); +exports.PatientConversationScalarWhereInputObjectSchema = patientconversationscalarwhereinputSchema; +exports.PatientConversationScalarWhereInputObjectZodSchema = patientconversationscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/PatientConversationScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..bdf01dfd --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationScalarWhereWithAggregatesInputObjectZodSchema = exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); +const BoolWithAggregatesFilter_schema_1 = require("./BoolWithAggregatesFilter.schema"); +const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema"); +const patientconversationscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + patientId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + stage: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + aiHandoff: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + updatedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() +}).strict(); +exports.PatientConversationScalarWhereWithAggregatesInputObjectSchema = patientconversationscalarwherewithaggregatesinputSchema; +exports.PatientConversationScalarWhereWithAggregatesInputObjectZodSchema = patientconversationscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/PatientConversationSelect.schema.js b/packages/db/shared/schemas/objects/PatientConversationSelect.schema.js new file mode 100644 index 00000000..8456b97b --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationSelect.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationSelectObjectZodSchema = exports.PatientConversationSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientArgs_schema_1 = require("./PatientArgs.schema"); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + patientId: z.boolean().optional(), + userId: z.boolean().optional(), + stage: z.boolean().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.boolean().optional(), + patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.PatientConversationSelectObjectSchema = makeSchema(); +exports.PatientConversationSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationSumAggregateInput.schema.js new file mode 100644 index 00000000..9d0bb836 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationSumAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationSumAggregateInputObjectZodSchema = exports.PatientConversationSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + patientId: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.PatientConversationSumAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..87a60f03 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationSumOrderByAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationSumOrderByAggregateInputObjectZodSchema = exports.PatientConversationSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + patientId: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.PatientConversationSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.PatientConversationSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateInput.schema.js new file mode 100644 index 00000000..19762469 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedCreateInputObjectZodSchema = exports.PatientConversationUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string().optional(), + aiHandoff: z.boolean().optional() +}).strict(); +exports.PatientConversationUncheckedCreateInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema.js new file mode 100644 index 00000000..07a7e40c --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = exports.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutUserInput_schema_1 = require("./PatientConversationCreateWithoutUserInput.schema"); +const PatientConversationUncheckedCreateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutUserInput.schema"); +const PatientConversationCreateOrConnectWithoutUserInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutUserInput.schema"); +const PatientConversationCreateManyUserInputEnvelope_schema_1 = require("./PatientConversationCreateManyUserInputEnvelope.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PatientConversationCreateManyUserInputEnvelope_schema_1.PatientConversationCreateManyUserInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema.js new file mode 100644 index 00000000..4395a01e --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectZodSchema = exports.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutPatientInput_schema_1 = require("./PatientConversationCreateWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"); +const PatientConversationCreateOrConnectWithoutPatientInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutPatientInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInput_schema_1.PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInput_schema_1.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientConversationCreateOrConnectWithoutPatientInput_schema_1.PatientConversationCreateOrConnectWithoutPatientInputObjectSchema).optional(), + connect: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateWithoutPatientInput.schema.js new file mode 100644 index 00000000..d985cd11 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedCreateWithoutPatientInputObjectZodSchema = exports.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.coerce.date().optional() +}).strict(); +exports.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..c00c8227 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedCreateWithoutUserInputObjectZodSchema = exports.PatientConversationUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + patientId: z.number().int(), + stage: z.string().optional(), + aiHandoff: z.boolean().optional(), + updatedAt: z.coerce.date().optional() +}).strict(); +exports.PatientConversationUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..4977643c --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateInput.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateInputObjectZodSchema = exports.PatientConversationUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..d3217982 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyInput.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateManyInputObjectZodSchema = exports.PatientConversationUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserInput.schema.js new file mode 100644 index 00000000..5c7be3c5 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateManyWithoutUserInputObjectZodSchema = exports.PatientConversationUncheckedUpdateManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateManyWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..7652800e --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = exports.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutUserInput_schema_1 = require("./PatientConversationCreateWithoutUserInput.schema"); +const PatientConversationUncheckedCreateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutUserInput.schema"); +const PatientConversationCreateOrConnectWithoutUserInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutUserInput.schema"); +const PatientConversationUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema"); +const PatientConversationCreateManyUserInputEnvelope_schema_1 = require("./PatientConversationCreateManyUserInputEnvelope.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema"); +const PatientConversationUpdateManyWithWhereWithoutUserInput_schema_1 = require("./PatientConversationUpdateManyWithWhereWithoutUserInput.schema"); +const PatientConversationScalarWhereInput_schema_1 = require("./PatientConversationScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => PatientConversationUpsertWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpsertWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PatientConversationCreateManyUserInputEnvelope_schema_1.PatientConversationCreateManyUserInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => PatientConversationUpdateWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpdateWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => PatientConversationUpdateManyWithWhereWithoutUserInput_schema_1.PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpdateManyWithWhereWithoutUserInput_schema_1.PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => PatientConversationScalarWhereInput_schema_1.PatientConversationScalarWhereInputObjectSchema), z.lazy(() => PatientConversationScalarWhereInput_schema_1.PatientConversationScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema.js new file mode 100644 index 00000000..0cf2c92d --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectZodSchema = exports.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutPatientInput_schema_1 = require("./PatientConversationCreateWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"); +const PatientConversationCreateOrConnectWithoutPatientInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutPatientInput.schema"); +const PatientConversationUpsertWithoutPatientInput_schema_1 = require("./PatientConversationUpsertWithoutPatientInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationUpdateToOneWithWhereWithoutPatientInput_schema_1 = require("./PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema"); +const PatientConversationUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUpdateWithoutPatientInput.schema"); +const PatientConversationUncheckedUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedUpdateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInput_schema_1.PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInput_schema_1.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientConversationCreateOrConnectWithoutPatientInput_schema_1.PatientConversationCreateOrConnectWithoutPatientInputObjectSchema).optional(), + upsert: z.lazy(() => PatientConversationUpsertWithoutPatientInput_schema_1.PatientConversationUpsertWithoutPatientInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => PatientConversationUpdateToOneWithWhereWithoutPatientInput_schema_1.PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUpdateWithoutPatientInput_schema_1.PatientConversationUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutPatientInput_schema_1.PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateWithoutPatientInput.schema.js new file mode 100644 index 00000000..bf5c20c8 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateWithoutPatientInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateWithoutPatientInputObjectZodSchema = exports.PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..ff901ed6 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUncheckedUpdateWithoutUserInputObjectZodSchema = exports.PatientConversationUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateInput.schema.js new file mode 100644 index 00000000..28af9f99 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateInput.schema.js @@ -0,0 +1,51 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateInputObjectZodSchema = exports.PatientConversationUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const PatientUpdateOneRequiredWithoutConversationNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutConversationNestedInput.schema"); +const UserUpdateOneRequiredWithoutPatientConversationsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema"); +const makeSchema = () => z.object({ + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + patient: z.lazy(() => PatientUpdateOneRequiredWithoutConversationNestedInput_schema_1.PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutPatientConversationsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema).optional() +}).strict(); +exports.PatientConversationUpdateInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..b32010c7 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateManyMutationInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateManyMutationInputObjectZodSchema = exports.PatientConversationUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUpdateManyMutationInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateManyWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateManyWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..f010fba4 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateManyWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateManyWithWhereWithoutUserInputObjectZodSchema = exports.PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationScalarWhereInput_schema_1 = require("./PatientConversationScalarWhereInput.schema"); +const PatientConversationUpdateManyMutationInput_schema_1 = require("./PatientConversationUpdateManyMutationInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationScalarWhereInput_schema_1.PatientConversationScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => PatientConversationUpdateManyMutationInput_schema_1.PatientConversationUpdateManyMutationInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserInputObjectSchema)]) +}).strict(); +exports.PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateManyWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateManyWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..0762e372 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateManyWithoutUserNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateManyWithoutUserNestedInputObjectZodSchema = exports.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutUserInput_schema_1 = require("./PatientConversationCreateWithoutUserInput.schema"); +const PatientConversationUncheckedCreateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutUserInput.schema"); +const PatientConversationCreateOrConnectWithoutUserInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutUserInput.schema"); +const PatientConversationUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema"); +const PatientConversationCreateManyUserInputEnvelope_schema_1 = require("./PatientConversationCreateManyUserInputEnvelope.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema"); +const PatientConversationUpdateManyWithWhereWithoutUserInput_schema_1 = require("./PatientConversationUpdateManyWithWhereWithoutUserInput.schema"); +const PatientConversationScalarWhereInput_schema_1 = require("./PatientConversationScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => PatientConversationCreateOrConnectWithoutUserInput_schema_1.PatientConversationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => PatientConversationUpsertWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpsertWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PatientConversationCreateManyUserInputEnvelope_schema_1.PatientConversationCreateManyUserInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => PatientConversationUpdateWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpdateWithWhereUniqueWithoutUserInput_schema_1.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => PatientConversationUpdateManyWithWhereWithoutUserInput_schema_1.PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUpdateManyWithWhereWithoutUserInput_schema_1.PatientConversationUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => PatientConversationScalarWhereInput_schema_1.PatientConversationScalarWhereInputObjectSchema), z.lazy(() => PatientConversationScalarWhereInput_schema_1.PatientConversationScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateOneWithoutPatientNestedInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateOneWithoutPatientNestedInput.schema.js new file mode 100644 index 00000000..c811b6ba --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateOneWithoutPatientNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateOneWithoutPatientNestedInputObjectZodSchema = exports.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationCreateWithoutPatientInput_schema_1 = require("./PatientConversationCreateWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"); +const PatientConversationCreateOrConnectWithoutPatientInput_schema_1 = require("./PatientConversationCreateOrConnectWithoutPatientInput.schema"); +const PatientConversationUpsertWithoutPatientInput_schema_1 = require("./PatientConversationUpsertWithoutPatientInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationUpdateToOneWithWhereWithoutPatientInput_schema_1 = require("./PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema"); +const PatientConversationUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUpdateWithoutPatientInput.schema"); +const PatientConversationUncheckedUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedUpdateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInput_schema_1.PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInput_schema_1.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientConversationCreateOrConnectWithoutPatientInput_schema_1.PatientConversationCreateOrConnectWithoutPatientInputObjectSchema).optional(), + upsert: z.lazy(() => PatientConversationUpsertWithoutPatientInput_schema_1.PatientConversationUpsertWithoutPatientInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => PatientConversationUpdateToOneWithWhereWithoutPatientInput_schema_1.PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUpdateWithoutPatientInput_schema_1.PatientConversationUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutPatientInput_schema_1.PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateOneWithoutPatientNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema.js new file mode 100644 index 00000000..0a415cf7 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectZodSchema = exports.PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const PatientConversationUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUpdateWithoutPatientInput.schema"); +const PatientConversationUncheckedUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedUpdateWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => PatientConversationUpdateWithoutPatientInput_schema_1.PatientConversationUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutPatientInput_schema_1.PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema)]) +}).strict(); +exports.PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateToOneWithWhereWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema.js new file mode 100644 index 00000000..cf436ea4 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = exports.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationUpdateWithoutUserInput_schema_1 = require("./PatientConversationUpdateWithoutUserInput.schema"); +const PatientConversationUncheckedUpdateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => PatientConversationUpdateWithoutUserInput_schema_1.PatientConversationUpdateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutUserInput_schema_1.PatientConversationUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateWithoutPatientInput.schema.js new file mode 100644 index 00000000..4961ce50 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateWithoutPatientInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateWithoutPatientInputObjectZodSchema = exports.PatientConversationUpdateWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutPatientConversationsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema"); +const makeSchema = () => z.object({ + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutPatientConversationsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema).optional() +}).strict(); +exports.PatientConversationUpdateWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..98f8b2a1 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpdateWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateWithoutUserInputObjectZodSchema = exports.PatientConversationUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const PatientUpdateOneRequiredWithoutConversationNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutConversationNestedInput.schema"); +const makeSchema = () => z.object({ + stage: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + aiHandoff: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + patient: z.lazy(() => PatientUpdateOneRequiredWithoutConversationNestedInput_schema_1.PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema).optional() +}).strict(); +exports.PatientConversationUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema.js new file mode 100644 index 00000000..808d7c2c --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = exports.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereUniqueInput_schema_1 = require("./PatientConversationWhereUniqueInput.schema"); +const PatientConversationUpdateWithoutUserInput_schema_1 = require("./PatientConversationUpdateWithoutUserInput.schema"); +const PatientConversationUncheckedUpdateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedUpdateWithoutUserInput.schema"); +const PatientConversationCreateWithoutUserInput_schema_1 = require("./PatientConversationCreateWithoutUserInput.schema"); +const PatientConversationUncheckedCreateWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => PatientConversationUpdateWithoutUserInput_schema_1.PatientConversationUpdateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutUserInput_schema_1.PatientConversationUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => PatientConversationCreateWithoutUserInput_schema_1.PatientConversationCreateWithoutUserInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutUserInput_schema_1.PatientConversationUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectSchema = makeSchema(); +exports.PatientConversationUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationUpsertWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationUpsertWithoutPatientInput.schema.js new file mode 100644 index 00000000..ce8bc222 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationUpsertWithoutPatientInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpsertWithoutPatientInputObjectZodSchema = exports.PatientConversationUpsertWithoutPatientInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUpdateWithoutPatientInput.schema"); +const PatientConversationUncheckedUpdateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedUpdateWithoutPatientInput.schema"); +const PatientConversationCreateWithoutPatientInput_schema_1 = require("./PatientConversationCreateWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => PatientConversationUpdateWithoutPatientInput_schema_1.PatientConversationUpdateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedUpdateWithoutPatientInput_schema_1.PatientConversationUncheckedUpdateWithoutPatientInputObjectSchema)]), + create: z.union([z.lazy(() => PatientConversationCreateWithoutPatientInput_schema_1.PatientConversationCreateWithoutPatientInputObjectSchema), z.lazy(() => PatientConversationUncheckedCreateWithoutPatientInput_schema_1.PatientConversationUncheckedCreateWithoutPatientInputObjectSchema)]), + where: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional() +}).strict(); +exports.PatientConversationUpsertWithoutPatientInputObjectSchema = makeSchema(); +exports.PatientConversationUpsertWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientConversationWhereInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationWhereInput.schema.js new file mode 100644 index 00000000..62fdcdf0 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationWhereInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationWhereInputObjectZodSchema = exports.PatientConversationWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const BoolFilter_schema_1 = require("./BoolFilter.schema"); +const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); +const PatientScalarRelationFilter_schema_1 = require("./PatientScalarRelationFilter.schema"); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const patientconversationwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.PatientConversationWhereInputObjectSchema), z.lazy(() => exports.PatientConversationWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.PatientConversationWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.PatientConversationWhereInputObjectSchema), z.lazy(() => exports.PatientConversationWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + stage: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + aiHandoff: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), + patient: z.union([z.lazy(() => PatientScalarRelationFilter_schema_1.PatientScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.PatientConversationWhereInputObjectSchema = patientconversationwhereinputSchema; +exports.PatientConversationWhereInputObjectZodSchema = patientconversationwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/PatientConversationWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/PatientConversationWhereUniqueInput.schema.js new file mode 100644 index 00000000..964450c7 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientConversationWhereUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationWhereUniqueInputObjectZodSchema = exports.PatientConversationWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + patientId: z.number().int().optional() +}).strict(); +exports.PatientConversationWhereUniqueInputObjectSchema = makeSchema(); +exports.PatientConversationWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.js index cf828301..596da691 100644 --- a/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCountAggregateInput.schema.js @@ -52,9 +52,11 @@ const makeSchema = () => z.object({ policyHolder: z.literal(true).optional(), allergies: z.literal(true).optional(), medicalConditions: z.literal(true).optional(), + preferredLanguage: z.literal(true).optional(), status: z.literal(true).optional(), userId: z.literal(true).optional(), createdAt: z.literal(true).optional(), + updatedAt: z.literal(true).optional(), _all: z.literal(true).optional() }).strict(); exports.PatientCountAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.js index 67380efd..b60e7b6d 100644 --- a/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCountOrderByAggregateInput.schema.js @@ -53,9 +53,11 @@ const makeSchema = () => z.object({ policyHolder: SortOrder_schema_1.SortOrderSchema.optional(), allergies: SortOrder_schema_1.SortOrderSchema.optional(), medicalConditions: SortOrder_schema_1.SortOrderSchema.optional(), + preferredLanguage: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), - createdAt: SortOrder_schema_1.SortOrderSchema.optional() + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.PatientCountOrderByAggregateInputObjectSchema = makeSchema(); exports.PatientCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCountOutputTypeCountCloudFoldersArgs.schema.js b/packages/db/shared/schemas/objects/PatientCountOutputTypeCountCloudFoldersArgs.schema.js new file mode 100644 index 00000000..4b74008c --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCountOutputTypeCountCloudFoldersArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCountOutputTypeCountCloudFoldersArgsObjectZodSchema = exports.PatientCountOutputTypeCountCloudFoldersArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CloudFolderWhereInput_schema_1 = require("./CloudFolderWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CloudFolderWhereInput_schema_1.CloudFolderWhereInputObjectSchema).optional() +}).strict(); +exports.PatientCountOutputTypeCountCloudFoldersArgsObjectSchema = makeSchema(); +exports.PatientCountOutputTypeCountCloudFoldersArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCountOutputTypeSelect.schema.js b/packages/db/shared/schemas/objects/PatientCountOutputTypeSelect.schema.js index bdce0300..af8b4987 100644 --- a/packages/db/shared/schemas/objects/PatientCountOutputTypeSelect.schema.js +++ b/packages/db/shared/schemas/objects/PatientCountOutputTypeSelect.schema.js @@ -42,6 +42,7 @@ const PatientCountOutputTypeCountGroupsArgs_schema_1 = require("./PatientCountOu const PatientCountOutputTypeCountPaymentArgs_schema_1 = require("./PatientCountOutputTypeCountPaymentArgs.schema"); const PatientCountOutputTypeCountCommunicationsArgs_schema_1 = require("./PatientCountOutputTypeCountCommunicationsArgs.schema"); const PatientCountOutputTypeCountDocumentsArgs_schema_1 = require("./PatientCountOutputTypeCountDocumentsArgs.schema"); +const PatientCountOutputTypeCountCloudFoldersArgs_schema_1 = require("./PatientCountOutputTypeCountCloudFoldersArgs.schema"); const makeSchema = () => z.object({ appointments: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountAppointmentsArgs_schema_1.PatientCountOutputTypeCountAppointmentsArgsObjectSchema)]).optional(), procedures: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountProceduresArgs_schema_1.PatientCountOutputTypeCountProceduresArgsObjectSchema)]).optional(), @@ -49,7 +50,8 @@ const makeSchema = () => z.object({ groups: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountGroupsArgs_schema_1.PatientCountOutputTypeCountGroupsArgsObjectSchema)]).optional(), payment: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountPaymentArgs_schema_1.PatientCountOutputTypeCountPaymentArgsObjectSchema)]).optional(), communications: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCommunicationsArgs_schema_1.PatientCountOutputTypeCountCommunicationsArgsObjectSchema)]).optional(), - documents: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountDocumentsArgs_schema_1.PatientCountOutputTypeCountDocumentsArgsObjectSchema)]).optional() + documents: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountDocumentsArgs_schema_1.PatientCountOutputTypeCountDocumentsArgsObjectSchema)]).optional(), + cloudFolders: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCloudFoldersArgs_schema_1.PatientCountOutputTypeCountCloudFoldersArgsObjectSchema)]).optional() }).strict(); exports.PatientCountOutputTypeSelectObjectSchema = makeSchema(); exports.PatientCountOutputTypeSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateInput.schema.js index dc94a224..c38d610d 100644 --- a/packages/db/shared/schemas/objects/PatientCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateInput.schema.js @@ -44,6 +44,8 @@ const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroup const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -60,6 +62,7 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), @@ -69,7 +72,9 @@ const makeSchema = () => z.object({ groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateInputObjectSchema = makeSchema(); exports.PatientCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.js index 8661792f..f07f39c4 100644 --- a/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateManyInput.schema.js @@ -53,9 +53,11 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), - createdAt: z.coerce.date().optional() + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional() }).strict(); exports.PatientCreateManyInputObjectSchema = makeSchema(); exports.PatientCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.js index 6b356b67..a42f572a 100644 --- a/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateManyUserInput.schema.js @@ -53,8 +53,10 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), - createdAt: z.coerce.date().optional() + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional() }).strict(); exports.PatientCreateManyUserInputObjectSchema = makeSchema(); exports.PatientCreateManyUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..4fe32f7a --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutCloudFoldersInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCreateNestedOneWithoutCloudFoldersInputObjectZodSchema = exports.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateWithoutCloudFoldersInput_schema_1 = require("./PatientCreateWithoutCloudFoldersInput.schema"); +const PatientUncheckedCreateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedCreateWithoutCloudFoldersInput.schema"); +const PatientCreateOrConnectWithoutCloudFoldersInput_schema_1 = require("./PatientCreateOrConnectWithoutCloudFoldersInput.schema"); +const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInput_schema_1.PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInput_schema_1.PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutCloudFoldersInput_schema_1.PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema).optional(), + connect: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientCreateNestedOneWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutConversationInput.schema.js new file mode 100644 index 00000000..d647e6c9 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCreateNestedOneWithoutConversationInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCreateNestedOneWithoutConversationInputObjectZodSchema = exports.PatientCreateNestedOneWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateWithoutConversationInput_schema_1 = require("./PatientCreateWithoutConversationInput.schema"); +const PatientUncheckedCreateWithoutConversationInput_schema_1 = require("./PatientUncheckedCreateWithoutConversationInput.schema"); +const PatientCreateOrConnectWithoutConversationInput_schema_1 = require("./PatientCreateOrConnectWithoutConversationInput.schema"); +const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientCreateWithoutConversationInput_schema_1.PatientCreateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutConversationInput_schema_1.PatientUncheckedCreateWithoutConversationInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutConversationInput_schema_1.PatientCreateOrConnectWithoutConversationInputObjectSchema).optional(), + connect: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.PatientCreateNestedOneWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientCreateNestedOneWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..8549ca2d --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutCloudFoldersInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCreateOrConnectWithoutCloudFoldersInputObjectZodSchema = exports.PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema"); +const PatientCreateWithoutCloudFoldersInput_schema_1 = require("./PatientCreateWithoutCloudFoldersInput.schema"); +const PatientUncheckedCreateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedCreateWithoutCloudFoldersInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInput_schema_1.PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInput_schema_1.PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]) +}).strict(); +exports.PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientCreateOrConnectWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutConversationInput.schema.js new file mode 100644 index 00000000..452d150b --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCreateOrConnectWithoutConversationInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCreateOrConnectWithoutConversationInputObjectZodSchema = exports.PatientCreateOrConnectWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema"); +const PatientCreateWithoutConversationInput_schema_1 = require("./PatientCreateWithoutConversationInput.schema"); +const PatientUncheckedCreateWithoutConversationInput_schema_1 = require("./PatientUncheckedCreateWithoutConversationInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => PatientCreateWithoutConversationInput_schema_1.PatientCreateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutConversationInput_schema_1.PatientUncheckedCreateWithoutConversationInputObjectSchema)]) +}).strict(); +exports.PatientCreateOrConnectWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientCreateOrConnectWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.js index 7a67b36a..5ac84626 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutAppointmentsInput.schema.js @@ -43,6 +43,8 @@ const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroup const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.PatientCreateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutClaimsInput.schema.js index 1221903d..e52b3ab6 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutClaimsInput.schema.js @@ -43,6 +43,8 @@ const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroup const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutClaimsInputObjectSchema = makeSchema(); exports.PatientCreateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..14d2795d --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutCloudFoldersInput.schema.js @@ -0,0 +1,79 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCreateWithoutCloudFoldersInputObjectZodSchema = exports.PatientCreateWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const UserCreateNestedOneWithoutPatientsInput_schema_1 = require("./UserCreateNestedOneWithoutPatientsInput.schema"); +const AppointmentCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentCreateNestedManyWithoutPatientInput.schema"); +const AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutPatientInput.schema"); +const ClaimCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimCreateNestedManyWithoutPatientInput.schema"); +const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupCreateNestedManyWithoutPatientInput.schema"); +const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); +const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); +const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + firstName: z.string(), + lastName: z.string(), + dateOfBirth: z.coerce.date().optional().nullable(), + gender: z.string(), + phone: z.string(), + email: z.string().optional().nullable(), + address: z.string().optional().nullable(), + city: z.string().optional().nullable(), + zipCode: z.string().optional().nullable(), + insuranceProvider: z.string().optional().nullable(), + insuranceId: z.string().optional().nullable(), + groupNumber: z.string().optional().nullable(), + policyHolder: z.string().optional().nullable(), + allergies: z.string().optional().nullable(), + medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), + status: PatientStatus_schema_1.PatientStatusSchema.optional(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), + payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional() +}).strict(); +exports.PatientCreateWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutCommunicationsInput.schema.js index a1532d43..85b216b0 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutCommunicationsInput.schema.js @@ -43,6 +43,8 @@ const ClaimCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimCreate const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupCreateNestedManyWithoutPatientInput.schema"); const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.PatientCreateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutConversationInput.schema.js new file mode 100644 index 00000000..63fc2223 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutConversationInput.schema.js @@ -0,0 +1,79 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientCreateWithoutConversationInputObjectZodSchema = exports.PatientCreateWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const UserCreateNestedOneWithoutPatientsInput_schema_1 = require("./UserCreateNestedOneWithoutPatientsInput.schema"); +const AppointmentCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentCreateNestedManyWithoutPatientInput.schema"); +const AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentProcedureCreateNestedManyWithoutPatientInput.schema"); +const ClaimCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimCreateNestedManyWithoutPatientInput.schema"); +const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupCreateNestedManyWithoutPatientInput.schema"); +const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); +const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); +const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + firstName: z.string(), + lastName: z.string(), + dateOfBirth: z.coerce.date().optional().nullable(), + gender: z.string(), + phone: z.string(), + email: z.string().optional().nullable(), + address: z.string().optional().nullable(), + city: z.string().optional().nullable(), + zipCode: z.string().optional().nullable(), + insuranceProvider: z.string().optional().nullable(), + insuranceId: z.string().optional().nullable(), + groupNumber: z.string().optional().nullable(), + policyHolder: z.string().optional().nullable(), + allergies: z.string().optional().nullable(), + medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), + status: PatientStatus_schema_1.PatientStatusSchema.optional(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), + payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() +}).strict(); +exports.PatientCreateWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientCreateWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutDocumentsInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutDocumentsInput.schema.js index a4f817bf..305f1ff3 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutDocumentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutDocumentsInput.schema.js @@ -43,6 +43,8 @@ const ClaimCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimCreate const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupCreateNestedManyWithoutPatientInput.schema"); const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutDocumentsInputObjectSchema = makeSchema(); exports.PatientCreateWithoutDocumentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutGroupsInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutGroupsInput.schema.js index b93e3dff..7fa8518e 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutGroupsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutGroupsInput.schema.js @@ -43,6 +43,8 @@ const ClaimCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimCreate const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutGroupsInputObjectSchema = makeSchema(); exports.PatientCreateWithoutGroupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutPaymentInput.schema.js index a374bd13..3f945d33 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutPaymentInput.schema.js @@ -43,6 +43,8 @@ const ClaimCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimCreate const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutPaymentInputObjectSchema = makeSchema(); exports.PatientCreateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutProceduresInput.schema.js index 9feb17d8..a46c3e8e 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutProceduresInput.schema.js @@ -43,6 +43,8 @@ const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroup const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), user: z.lazy(() => UserCreateNestedOneWithoutPatientsInput_schema_1.UserCreateNestedOneWithoutPatientsInputObjectSchema), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutProceduresInputObjectSchema = makeSchema(); exports.PatientCreateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.js index 94f0345b..e5048914 100644 --- a/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientCreateWithoutUserInput.schema.js @@ -43,6 +43,8 @@ const PdfGroupCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroup const PaymentCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentCreateNestedManyWithoutPatientInput.schema"); const CommunicationCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ firstName: z.string(), lastName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInput_schema_1.AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInput_schema_1.ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInput_schema_1.PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInput_schema_1.PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInput_schema_1.CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInput_schema_1.PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInput_schema_1.CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientCreateWithoutUserInputObjectSchema = makeSchema(); exports.PatientCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientInclude.schema.js b/packages/db/shared/schemas/objects/PatientInclude.schema.js index 42c6ecd6..33ef3859 100644 --- a/packages/db/shared/schemas/objects/PatientInclude.schema.js +++ b/packages/db/shared/schemas/objects/PatientInclude.schema.js @@ -43,6 +43,8 @@ const findManyPdfGroup_schema_1 = require("../findManyPdfGroup.schema"); const findManyPayment_schema_1 = require("../findManyPayment.schema"); const findManyCommunication_schema_1 = require("../findManyCommunication.schema"); const findManyPatientDocument_schema_1 = require("../findManyPatientDocument.schema"); +const PatientConversationArgs_schema_1 = require("./PatientConversationArgs.schema"); +const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema"); const PatientCountOutputTypeArgs_schema_1 = require("./PatientCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), @@ -53,6 +55,8 @@ const makeSchema = () => z.object({ payment: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(), communications: z.union([z.boolean(), z.lazy(() => findManyCommunication_schema_1.CommunicationFindManySchema)]).optional(), documents: z.union([z.boolean(), z.lazy(() => findManyPatientDocument_schema_1.PatientDocumentFindManySchema)]).optional(), + conversation: z.union([z.boolean(), z.lazy(() => PatientConversationArgs_schema_1.PatientConversationArgsObjectSchema)]).optional(), + cloudFolders: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeArgs_schema_1.PatientCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.PatientIncludeObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.js index a592272a..3b82f193 100644 --- a/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientMaxAggregateInput.schema.js @@ -52,9 +52,11 @@ const makeSchema = () => z.object({ policyHolder: z.literal(true).optional(), allergies: z.literal(true).optional(), medicalConditions: z.literal(true).optional(), + preferredLanguage: z.literal(true).optional(), status: z.literal(true).optional(), userId: z.literal(true).optional(), - createdAt: z.literal(true).optional() + createdAt: z.literal(true).optional(), + updatedAt: z.literal(true).optional() }).strict(); exports.PatientMaxAggregateInputObjectSchema = makeSchema(); exports.PatientMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.js index 66b2aa57..0ed0c4bd 100644 --- a/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientMaxOrderByAggregateInput.schema.js @@ -53,9 +53,11 @@ const makeSchema = () => z.object({ policyHolder: SortOrder_schema_1.SortOrderSchema.optional(), allergies: SortOrder_schema_1.SortOrderSchema.optional(), medicalConditions: SortOrder_schema_1.SortOrderSchema.optional(), + preferredLanguage: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), - createdAt: SortOrder_schema_1.SortOrderSchema.optional() + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.PatientMaxOrderByAggregateInputObjectSchema = makeSchema(); exports.PatientMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.js index b98a028e..97e1ad5c 100644 --- a/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientMinAggregateInput.schema.js @@ -52,9 +52,11 @@ const makeSchema = () => z.object({ policyHolder: z.literal(true).optional(), allergies: z.literal(true).optional(), medicalConditions: z.literal(true).optional(), + preferredLanguage: z.literal(true).optional(), status: z.literal(true).optional(), userId: z.literal(true).optional(), - createdAt: z.literal(true).optional() + createdAt: z.literal(true).optional(), + updatedAt: z.literal(true).optional() }).strict(); exports.PatientMinAggregateInputObjectSchema = makeSchema(); exports.PatientMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.js index 4ea8a2da..e2d89e4e 100644 --- a/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientMinOrderByAggregateInput.schema.js @@ -53,9 +53,11 @@ const makeSchema = () => z.object({ policyHolder: SortOrder_schema_1.SortOrderSchema.optional(), allergies: SortOrder_schema_1.SortOrderSchema.optional(), medicalConditions: SortOrder_schema_1.SortOrderSchema.optional(), + preferredLanguage: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), - createdAt: SortOrder_schema_1.SortOrderSchema.optional() + createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.PatientMinOrderByAggregateInputObjectSchema = makeSchema(); exports.PatientMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/PatientNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..86c2c15d --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientNullableScalarRelationFilterObjectZodSchema = exports.PatientNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.PatientNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.PatientNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.js index fde6d1ac..4caa8152 100644 --- a/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientOrderByWithAggregationInput.schema.js @@ -59,9 +59,11 @@ const makeSchema = () => z.object({ policyHolder: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), allergies: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), medicalConditions: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + preferredLanguage: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), _count: z.lazy(() => PatientCountOrderByAggregateInput_schema_1.PatientCountOrderByAggregateInputObjectSchema).optional(), _avg: z.lazy(() => PatientAvgOrderByAggregateInput_schema_1.PatientAvgOrderByAggregateInputObjectSchema).optional(), _max: z.lazy(() => PatientMaxOrderByAggregateInput_schema_1.PatientMaxOrderByAggregateInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.js index 801633c4..bb16f137 100644 --- a/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientOrderByWithRelationInput.schema.js @@ -45,6 +45,8 @@ const PdfGroupOrderByRelationAggregateInput_schema_1 = require("./PdfGroupOrderB const PaymentOrderByRelationAggregateInput_schema_1 = require("./PaymentOrderByRelationAggregateInput.schema"); const CommunicationOrderByRelationAggregateInput_schema_1 = require("./CommunicationOrderByRelationAggregateInput.schema"); const PatientDocumentOrderByRelationAggregateInput_schema_1 = require("./PatientDocumentOrderByRelationAggregateInput.schema"); +const PatientConversationOrderByWithRelationInput_schema_1 = require("./PatientConversationOrderByWithRelationInput.schema"); +const CloudFolderOrderByRelationAggregateInput_schema_1 = require("./CloudFolderOrderByRelationAggregateInput.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), firstName: SortOrder_schema_1.SortOrderSchema.optional(), @@ -62,9 +64,11 @@ const makeSchema = () => z.object({ policyHolder: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), allergies: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), medicalConditions: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + preferredLanguage: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), createdAt: SortOrder_schema_1.SortOrderSchema.optional(), + updatedAt: SortOrder_schema_1.SortOrderSchema.optional(), user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentOrderByRelationAggregateInput_schema_1.AppointmentOrderByRelationAggregateInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureOrderByRelationAggregateInput_schema_1.AppointmentProcedureOrderByRelationAggregateInputObjectSchema).optional(), @@ -72,7 +76,9 @@ const makeSchema = () => z.object({ groups: z.lazy(() => PdfGroupOrderByRelationAggregateInput_schema_1.PdfGroupOrderByRelationAggregateInputObjectSchema).optional(), payment: z.lazy(() => PaymentOrderByRelationAggregateInput_schema_1.PaymentOrderByRelationAggregateInputObjectSchema).optional(), communications: z.lazy(() => CommunicationOrderByRelationAggregateInput_schema_1.CommunicationOrderByRelationAggregateInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentOrderByRelationAggregateInput_schema_1.PatientDocumentOrderByRelationAggregateInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentOrderByRelationAggregateInput_schema_1.PatientDocumentOrderByRelationAggregateInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationOrderByWithRelationInput_schema_1.PatientConversationOrderByWithRelationInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInput_schema_1.CloudFolderOrderByRelationAggregateInputObjectSchema).optional() }).strict(); exports.PatientOrderByWithRelationInputObjectSchema = makeSchema(); exports.PatientOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.js index 981a11d5..e9dc6a74 100644 --- a/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientScalarWhereInput.schema.js @@ -62,9 +62,11 @@ const patientscalarwhereinputSchema = z.object({ policyHolder: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), allergies: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), medicalConditions: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + preferredLanguage: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => EnumPatientStatusFilter_schema_1.EnumPatientStatusFilterObjectSchema), PatientStatus_schema_1.PatientStatusSchema]).optional(), userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), - createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() + createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), + updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional() }).strict(); exports.PatientScalarWhereInputObjectSchema = patientscalarwhereinputSchema; exports.PatientScalarWhereInputObjectZodSchema = patientscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.js index 4b89637b..20ec8868 100644 --- a/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientScalarWhereWithAggregatesInput.schema.js @@ -62,9 +62,11 @@ const patientscalarwherewithaggregatesinputSchema = z.object({ policyHolder: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), allergies: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), medicalConditions: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + preferredLanguage: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => EnumPatientStatusWithAggregatesFilter_schema_1.EnumPatientStatusWithAggregatesFilterObjectSchema), PatientStatus_schema_1.PatientStatusSchema]).optional(), userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), - createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() + createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(), + updatedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilter_schema_1.DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional() }).strict(); exports.PatientScalarWhereWithAggregatesInputObjectSchema = patientscalarwherewithaggregatesinputSchema; exports.PatientScalarWhereWithAggregatesInputObjectZodSchema = patientscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/PatientSelect.schema.js b/packages/db/shared/schemas/objects/PatientSelect.schema.js index 9d35b68b..4669f0ec 100644 --- a/packages/db/shared/schemas/objects/PatientSelect.schema.js +++ b/packages/db/shared/schemas/objects/PatientSelect.schema.js @@ -43,6 +43,8 @@ const findManyPdfGroup_schema_1 = require("../findManyPdfGroup.schema"); const findManyPayment_schema_1 = require("../findManyPayment.schema"); const findManyCommunication_schema_1 = require("../findManyCommunication.schema"); const findManyPatientDocument_schema_1 = require("../findManyPatientDocument.schema"); +const PatientConversationArgs_schema_1 = require("./PatientConversationArgs.schema"); +const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema"); const PatientCountOutputTypeArgs_schema_1 = require("./PatientCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ id: z.boolean().optional(), @@ -61,9 +63,11 @@ const makeSchema = () => z.object({ policyHolder: z.boolean().optional(), allergies: z.boolean().optional(), medicalConditions: z.boolean().optional(), + preferredLanguage: z.boolean().optional(), status: z.boolean().optional(), userId: z.boolean().optional(), createdAt: z.boolean().optional(), + updatedAt: z.boolean().optional(), user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), appointments: z.union([z.boolean(), z.lazy(() => findManyAppointment_schema_1.AppointmentFindManySchema)]).optional(), procedures: z.union([z.boolean(), z.lazy(() => findManyAppointmentProcedure_schema_1.AppointmentProcedureFindManySchema)]).optional(), @@ -72,6 +76,8 @@ const makeSchema = () => z.object({ payment: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(), communications: z.union([z.boolean(), z.lazy(() => findManyCommunication_schema_1.CommunicationFindManySchema)]).optional(), documents: z.union([z.boolean(), z.lazy(() => findManyPatientDocument_schema_1.PatientDocumentFindManySchema)]).optional(), + conversation: z.union([z.boolean(), z.lazy(() => PatientConversationArgs_schema_1.PatientConversationArgsObjectSchema)]).optional(), + cloudFolders: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeArgs_schema_1.PatientCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.PatientSelectObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.js index ae6b417f..a4b5cc64 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateInput.schema.js @@ -43,6 +43,8 @@ const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require(". const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -60,6 +62,7 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), @@ -69,7 +72,9 @@ const makeSchema = () => z.object({ groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.js index c1f7696d..ba2c738f 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutAppointmentsInput.schema.js @@ -42,6 +42,8 @@ const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require(". const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutClaimsInput.schema.js index dff98f22..40fbefd7 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutClaimsInput.schema.js @@ -42,6 +42,8 @@ const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require(". const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutClaimsInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..8e963f5b --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCloudFoldersInput.schema.js @@ -0,0 +1,79 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUncheckedCreateWithoutCloudFoldersInputObjectZodSchema = exports.PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + firstName: z.string(), + lastName: z.string(), + dateOfBirth: z.coerce.date().optional().nullable(), + gender: z.string(), + phone: z.string(), + email: z.string().optional().nullable(), + address: z.string().optional().nullable(), + city: z.string().optional().nullable(), + zipCode: z.string().optional().nullable(), + insuranceProvider: z.string().optional().nullable(), + insuranceId: z.string().optional().nullable(), + groupNumber: z.string().optional().nullable(), + policyHolder: z.string().optional().nullable(), + allergies: z.string().optional().nullable(), + medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), + status: PatientStatus_schema_1.PatientStatusSchema.optional(), + userId: z.number().int(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional() +}).strict(); +exports.PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientUncheckedCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCommunicationsInput.schema.js index 2350a021..de14246a 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutCommunicationsInput.schema.js @@ -42,6 +42,8 @@ const ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./Cl const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema"); const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutConversationInput.schema.js new file mode 100644 index 00000000..379c5879 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutConversationInput.schema.js @@ -0,0 +1,79 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUncheckedCreateWithoutConversationInputObjectZodSchema = exports.PatientUncheckedCreateWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + firstName: z.string(), + lastName: z.string(), + dateOfBirth: z.coerce.date().optional().nullable(), + gender: z.string(), + phone: z.string(), + email: z.string().optional().nullable(), + address: z.string().optional().nullable(), + city: z.string().optional().nullable(), + zipCode: z.string().optional().nullable(), + insuranceProvider: z.string().optional().nullable(), + insuranceId: z.string().optional().nullable(), + groupNumber: z.string().optional().nullable(), + policyHolder: z.string().optional().nullable(), + allergies: z.string().optional().nullable(), + medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), + status: PatientStatus_schema_1.PatientStatusSchema.optional(), + userId: z.number().int(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() +}).strict(); +exports.PatientUncheckedCreateWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientUncheckedCreateWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutDocumentsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutDocumentsInput.schema.js index c185f6d7..5e82d895 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutDocumentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutDocumentsInput.schema.js @@ -42,6 +42,8 @@ const ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./Cl const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema"); const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutDocumentsInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutDocumentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutGroupsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutGroupsInput.schema.js index d908df21..5798533a 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutGroupsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutGroupsInput.schema.js @@ -42,6 +42,8 @@ const ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./Cl const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutGroupsInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutGroupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutPaymentInput.schema.js index a3af0abf..e674756b 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutPaymentInput.schema.js @@ -42,6 +42,8 @@ const ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./Cl const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutPaymentInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutProceduresInput.schema.js index 3e19d9cb..a7380db2 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutProceduresInput.schema.js @@ -42,6 +42,8 @@ const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require(". const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -59,15 +61,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), userId: z.number().int(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutProceduresInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.js index ce551e41..4b9e0dff 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedCreateWithoutUserInput.schema.js @@ -43,6 +43,8 @@ const PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require(". const PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema"); const PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema"); +const PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1 = require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), firstName: z.string(), @@ -60,15 +62,19 @@ const makeSchema = () => z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema.optional(), createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput_schema_1.AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInput_schema_1.ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInput_schema_1.PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInput_schema_1.PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInput_schema_1.PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional() }).strict(); exports.PatientUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); exports.PatientUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.js index a83bd41e..18632606 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateInput.schema.js @@ -49,6 +49,8 @@ const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require(". const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,16 +68,20 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.js index e9eca86f..2211ea15 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyInput.schema.js @@ -59,9 +59,11 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), - createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.PatientUncheckedUpdateManyInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserInput.schema.js index 84392525..a645149a 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateManyWithoutUserInput.schema.js @@ -59,8 +59,10 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), - createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.PatientUncheckedUpdateManyWithoutUserInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.js index 06de5c01..87245e4a 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutAppointmentsInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require(". const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutClaimsInput.schema.js index a0783823..1aafd13b 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutClaimsInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require(". const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutClaimsInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..939a0bb5 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCloudFoldersInput.schema.js @@ -0,0 +1,85 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUncheckedUpdateWithoutCloudFoldersInputObjectZodSchema = exports.PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableDateTimeFieldUpdateOperationsInput_schema_1 = require("./NullableDateTimeFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dateOfBirth: z.union([z.coerce.date(), z.lazy(() => NullableDateTimeFieldUpdateOperationsInput_schema_1.NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + gender: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phone: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + address: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceProvider: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceId: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + groupNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional() +}).strict(); +exports.PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientUncheckedUpdateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCommunicationsInput.schema.js index ac131b3b..e85e642a 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutCommunicationsInput.schema.js @@ -48,6 +48,8 @@ const ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./Cl const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutConversationInput.schema.js new file mode 100644 index 00000000..d591e28b --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutConversationInput.schema.js @@ -0,0 +1,85 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUncheckedUpdateWithoutConversationInputObjectZodSchema = exports.PatientUncheckedUpdateWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableDateTimeFieldUpdateOperationsInput_schema_1 = require("./NullableDateTimeFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dateOfBirth: z.union([z.coerce.date(), z.lazy(() => NullableDateTimeFieldUpdateOperationsInput_schema_1.NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + gender: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phone: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + address: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceProvider: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceId: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + groupNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() +}).strict(); +exports.PatientUncheckedUpdateWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientUncheckedUpdateWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutDocumentsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutDocumentsInput.schema.js index 019fb47a..5972dbc8 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutDocumentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutDocumentsInput.schema.js @@ -48,6 +48,8 @@ const ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./Cl const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutDocumentsInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutDocumentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutGroupsInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutGroupsInput.schema.js index 9cd11552..5b322ffa 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutGroupsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutGroupsInput.schema.js @@ -48,6 +48,8 @@ const ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./Cl const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutGroupsInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutGroupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutPaymentInput.schema.js index 8642f1df..3d8fd8e6 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutPaymentInput.schema.js @@ -48,6 +48,8 @@ const ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./Cl const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutPaymentInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutProceduresInput.schema.js index 80ec785b..bc13abdf 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutProceduresInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require(". const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,15 +67,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutProceduresInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.js index 0e618663..88a1fb87 100644 --- a/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUncheckedUpdateWithoutUserInput.schema.js @@ -49,6 +49,8 @@ const PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require(". const PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -66,15 +68,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); exports.PatientUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateInput.schema.js index 8414b1a2..6c2212a0 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateInput.schema.js @@ -49,6 +49,8 @@ const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroup const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -65,8 +67,10 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), @@ -74,7 +78,9 @@ const makeSchema = () => z.object({ groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateInputObjectSchema = makeSchema(); exports.PatientUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.js index e2f6bbef..5d1c902f 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateManyMutationInput.schema.js @@ -57,8 +57,10 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), - createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.PatientUpdateManyMutationInputObjectSchema = makeSchema(); exports.PatientUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutConversationNestedInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutConversationNestedInput.schema.js new file mode 100644 index 00000000..facc9671 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpdateOneRequiredWithoutConversationNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpdateOneRequiredWithoutConversationNestedInputObjectZodSchema = exports.PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateWithoutConversationInput_schema_1 = require("./PatientCreateWithoutConversationInput.schema"); +const PatientUncheckedCreateWithoutConversationInput_schema_1 = require("./PatientUncheckedCreateWithoutConversationInput.schema"); +const PatientCreateOrConnectWithoutConversationInput_schema_1 = require("./PatientCreateOrConnectWithoutConversationInput.schema"); +const PatientUpsertWithoutConversationInput_schema_1 = require("./PatientUpsertWithoutConversationInput.schema"); +const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema"); +const PatientUpdateToOneWithWhereWithoutConversationInput_schema_1 = require("./PatientUpdateToOneWithWhereWithoutConversationInput.schema"); +const PatientUpdateWithoutConversationInput_schema_1 = require("./PatientUpdateWithoutConversationInput.schema"); +const PatientUncheckedUpdateWithoutConversationInput_schema_1 = require("./PatientUncheckedUpdateWithoutConversationInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientCreateWithoutConversationInput_schema_1.PatientCreateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutConversationInput_schema_1.PatientUncheckedCreateWithoutConversationInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutConversationInput_schema_1.PatientCreateOrConnectWithoutConversationInputObjectSchema).optional(), + upsert: z.lazy(() => PatientUpsertWithoutConversationInput_schema_1.PatientUpsertWithoutConversationInputObjectSchema).optional(), + connect: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => PatientUpdateToOneWithWhereWithoutConversationInput_schema_1.PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema), z.lazy(() => PatientUpdateWithoutConversationInput_schema_1.PatientUpdateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutConversationInput_schema_1.PatientUncheckedUpdateWithoutConversationInputObjectSchema)]).optional() +}).strict(); +exports.PatientUpdateOneRequiredWithoutConversationNestedInputObjectSchema = makeSchema(); +exports.PatientUpdateOneRequiredWithoutConversationNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateOneWithoutCloudFoldersNestedInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateOneWithoutCloudFoldersNestedInput.schema.js new file mode 100644 index 00000000..853a55e9 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpdateOneWithoutCloudFoldersNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpdateOneWithoutCloudFoldersNestedInputObjectZodSchema = exports.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateWithoutCloudFoldersInput_schema_1 = require("./PatientCreateWithoutCloudFoldersInput.schema"); +const PatientUncheckedCreateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedCreateWithoutCloudFoldersInput.schema"); +const PatientCreateOrConnectWithoutCloudFoldersInput_schema_1 = require("./PatientCreateOrConnectWithoutCloudFoldersInput.schema"); +const PatientUpsertWithoutCloudFoldersInput_schema_1 = require("./PatientUpsertWithoutCloudFoldersInput.schema"); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema"); +const PatientUpdateToOneWithWhereWithoutCloudFoldersInput_schema_1 = require("./PatientUpdateToOneWithWhereWithoutCloudFoldersInput.schema"); +const PatientUpdateWithoutCloudFoldersInput_schema_1 = require("./PatientUpdateWithoutCloudFoldersInput.schema"); +const PatientUncheckedUpdateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedUpdateWithoutCloudFoldersInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInput_schema_1.PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInput_schema_1.PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutCloudFoldersInput_schema_1.PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema).optional(), + upsert: z.lazy(() => PatientUpsertWithoutCloudFoldersInput_schema_1.PatientUpsertWithoutCloudFoldersInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => PatientUpdateToOneWithWhereWithoutCloudFoldersInput_schema_1.PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUpdateWithoutCloudFoldersInput_schema_1.PatientUpdateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutCloudFoldersInput_schema_1.PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema)]).optional() +}).strict(); +exports.PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema = makeSchema(); +exports.PatientUpdateOneWithoutCloudFoldersNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateToOneWithWhereWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateToOneWithWhereWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..b2de3520 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpdateToOneWithWhereWithoutCloudFoldersInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectZodSchema = exports.PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const PatientUpdateWithoutCloudFoldersInput_schema_1 = require("./PatientUpdateWithoutCloudFoldersInput.schema"); +const PatientUncheckedUpdateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedUpdateWithoutCloudFoldersInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => PatientUpdateWithoutCloudFoldersInput_schema_1.PatientUpdateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutCloudFoldersInput_schema_1.PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema)]) +}).strict(); +exports.PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientUpdateToOneWithWhereWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateToOneWithWhereWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateToOneWithWhereWithoutConversationInput.schema.js new file mode 100644 index 00000000..d729ca84 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpdateToOneWithWhereWithoutConversationInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpdateToOneWithWhereWithoutConversationInputObjectZodSchema = exports.PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const PatientUpdateWithoutConversationInput_schema_1 = require("./PatientUpdateWithoutConversationInput.schema"); +const PatientUncheckedUpdateWithoutConversationInput_schema_1 = require("./PatientUncheckedUpdateWithoutConversationInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => PatientUpdateWithoutConversationInput_schema_1.PatientUpdateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutConversationInput_schema_1.PatientUncheckedUpdateWithoutConversationInputObjectSchema)]) +}).strict(); +exports.PatientUpdateToOneWithWhereWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientUpdateToOneWithWhereWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.js index 4a11e8f2..820fa8bc 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutAppointmentsInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroup const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutClaimsInput.schema.js index 898ef47b..094562bc 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutClaimsInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroup const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutClaimsInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..2f503666 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutCloudFoldersInput.schema.js @@ -0,0 +1,84 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpdateWithoutCloudFoldersInputObjectZodSchema = exports.PatientUpdateWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableDateTimeFieldUpdateOperationsInput_schema_1 = require("./NullableDateTimeFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutPatientsNestedInput.schema"); +const AppointmentUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutPatientNestedInput.schema"); +const AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutPatientNestedInput.schema"); +const ClaimUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUpdateManyWithoutPatientNestedInput.schema"); +const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUpdateManyWithoutPatientNestedInput.schema"); +const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); +const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); +const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const makeSchema = () => z.object({ + firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dateOfBirth: z.union([z.coerce.date(), z.lazy(() => NullableDateTimeFieldUpdateOperationsInput_schema_1.NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + gender: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phone: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + address: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceProvider: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceId: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + groupNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional() +}).strict(); +exports.PatientUpdateWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientUpdateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutCommunicationsInput.schema.js index eb78b649..e11db4e1 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutCommunicationsInput.schema.js @@ -48,6 +48,8 @@ const ClaimUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUpdate const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUpdateManyWithoutPatientNestedInput.schema"); const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutConversationInput.schema.js new file mode 100644 index 00000000..4c2c6792 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutConversationInput.schema.js @@ -0,0 +1,84 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpdateWithoutConversationInputObjectZodSchema = exports.PatientUpdateWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableDateTimeFieldUpdateOperationsInput_schema_1 = require("./NullableDateTimeFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const PatientStatus_schema_1 = require("../enums/PatientStatus.schema"); +const EnumPatientStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPatientStatusFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutPatientsNestedInput.schema"); +const AppointmentUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutPatientNestedInput.schema"); +const AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1 = require("./AppointmentProcedureUpdateManyWithoutPatientNestedInput.schema"); +const ClaimUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUpdateManyWithoutPatientNestedInput.schema"); +const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUpdateManyWithoutPatientNestedInput.schema"); +const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); +const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); +const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); +const makeSchema = () => z.object({ + firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + dateOfBirth: z.union([z.coerce.date(), z.lazy(() => NullableDateTimeFieldUpdateOperationsInput_schema_1.NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + gender: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phone: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + address: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceProvider: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + insuranceId: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + groupNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() +}).strict(); +exports.PatientUpdateWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientUpdateWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutDocumentsInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutDocumentsInput.schema.js index 9f0ec855..694675e3 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutDocumentsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutDocumentsInput.schema.js @@ -48,6 +48,8 @@ const ClaimUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUpdate const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUpdateManyWithoutPatientNestedInput.schema"); const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutDocumentsInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutDocumentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutGroupsInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutGroupsInput.schema.js index 8fc04044..df871351 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutGroupsInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutGroupsInput.schema.js @@ -48,6 +48,8 @@ const ClaimUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUpdate const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutGroupsInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutGroupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutPaymentInput.schema.js index d636d32f..9a40858c 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutPaymentInput.schema.js @@ -48,6 +48,8 @@ const ClaimUpdateManyWithoutPatientNestedInput_schema_1 = require("./ClaimUpdate const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroupUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutPaymentInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutPaymentInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutProceduresInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutProceduresInput.schema.js index 8a0a751b..c87a7a9b 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutProceduresInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutProceduresInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroup const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), user: z.lazy(() => UserUpdateOneRequiredWithoutPatientsNestedInput_schema_1.UserUpdateOneRequiredWithoutPatientsNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutProceduresInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutProceduresInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.js index 99177847..ed8d5773 100644 --- a/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientUpdateWithoutUserInput.schema.js @@ -48,6 +48,8 @@ const PdfGroupUpdateManyWithoutPatientNestedInput_schema_1 = require("./PdfGroup const PaymentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PaymentUpdateManyWithoutPatientNestedInput.schema"); const CommunicationUpdateManyWithoutPatientNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutPatientNestedInput.schema"); const PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1 = require("./PatientDocumentUpdateManyWithoutPatientNestedInput.schema"); +const PatientConversationUpdateOneWithoutPatientNestedInput_schema_1 = require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"); +const CloudFolderUpdateManyWithoutPatientNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"); const makeSchema = () => z.object({ firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -64,15 +66,19 @@ const makeSchema = () => z.object({ policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), status: z.union([PatientStatus_schema_1.PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInput_schema_1.EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutPatientNestedInput_schema_1.AppointmentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureUpdateManyWithoutPatientNestedInput_schema_1.AppointmentProcedureUpdateManyWithoutPatientNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutPatientNestedInput_schema_1.ClaimUpdateManyWithoutPatientNestedInputObjectSchema).optional(), groups: z.lazy(() => PdfGroupUpdateManyWithoutPatientNestedInput_schema_1.PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema).optional(), payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInput_schema_1.PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInput_schema_1.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional() + documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInput_schema_1.PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(), + conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInput_schema_1.PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInput_schema_1.CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional() }).strict(); exports.PatientUpdateWithoutUserInputObjectSchema = makeSchema(); exports.PatientUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpsertWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/PatientUpsertWithoutCloudFoldersInput.schema.js new file mode 100644 index 00000000..e9237c39 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpsertWithoutCloudFoldersInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpsertWithoutCloudFoldersInputObjectZodSchema = exports.PatientUpsertWithoutCloudFoldersInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUpdateWithoutCloudFoldersInput_schema_1 = require("./PatientUpdateWithoutCloudFoldersInput.schema"); +const PatientUncheckedUpdateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedUpdateWithoutCloudFoldersInput.schema"); +const PatientCreateWithoutCloudFoldersInput_schema_1 = require("./PatientCreateWithoutCloudFoldersInput.schema"); +const PatientUncheckedCreateWithoutCloudFoldersInput_schema_1 = require("./PatientUncheckedCreateWithoutCloudFoldersInput.schema"); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => PatientUpdateWithoutCloudFoldersInput_schema_1.PatientUpdateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutCloudFoldersInput_schema_1.PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema)]), + create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInput_schema_1.PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInput_schema_1.PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]), + where: z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema).optional() +}).strict(); +exports.PatientUpsertWithoutCloudFoldersInputObjectSchema = makeSchema(); +exports.PatientUpsertWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientUpsertWithoutConversationInput.schema.js b/packages/db/shared/schemas/objects/PatientUpsertWithoutConversationInput.schema.js new file mode 100644 index 00000000..5c75adb5 --- /dev/null +++ b/packages/db/shared/schemas/objects/PatientUpsertWithoutConversationInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientUpsertWithoutConversationInputObjectZodSchema = exports.PatientUpsertWithoutConversationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUpdateWithoutConversationInput_schema_1 = require("./PatientUpdateWithoutConversationInput.schema"); +const PatientUncheckedUpdateWithoutConversationInput_schema_1 = require("./PatientUncheckedUpdateWithoutConversationInput.schema"); +const PatientCreateWithoutConversationInput_schema_1 = require("./PatientCreateWithoutConversationInput.schema"); +const PatientUncheckedCreateWithoutConversationInput_schema_1 = require("./PatientUncheckedCreateWithoutConversationInput.schema"); +const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => PatientUpdateWithoutConversationInput_schema_1.PatientUpdateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutConversationInput_schema_1.PatientUncheckedUpdateWithoutConversationInputObjectSchema)]), + create: z.union([z.lazy(() => PatientCreateWithoutConversationInput_schema_1.PatientCreateWithoutConversationInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutConversationInput_schema_1.PatientUncheckedCreateWithoutConversationInputObjectSchema)]), + where: z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema).optional() +}).strict(); +exports.PatientUpsertWithoutConversationInputObjectSchema = makeSchema(); +exports.PatientUpsertWithoutConversationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PatientWhereInput.schema.js b/packages/db/shared/schemas/objects/PatientWhereInput.schema.js index bec2a748..a8d25152 100644 --- a/packages/db/shared/schemas/objects/PatientWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/PatientWhereInput.schema.js @@ -51,6 +51,9 @@ const PdfGroupListRelationFilter_schema_1 = require("./PdfGroupListRelationFilte const PaymentListRelationFilter_schema_1 = require("./PaymentListRelationFilter.schema"); const CommunicationListRelationFilter_schema_1 = require("./CommunicationListRelationFilter.schema"); const PatientDocumentListRelationFilter_schema_1 = require("./PatientDocumentListRelationFilter.schema"); +const PatientConversationNullableScalarRelationFilter_schema_1 = require("./PatientConversationNullableScalarRelationFilter.schema"); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const CloudFolderListRelationFilter_schema_1 = require("./CloudFolderListRelationFilter.schema"); const patientwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.PatientWhereInputObjectSchema), z.lazy(() => exports.PatientWhereInputObjectSchema).array()]).optional(), OR: z.lazy(() => exports.PatientWhereInputObjectSchema).array().optional(), @@ -71,9 +74,11 @@ const patientwhereinputSchema = z.object({ policyHolder: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), allergies: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), medicalConditions: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + preferredLanguage: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), status: z.union([z.lazy(() => EnumPatientStatusFilter_schema_1.EnumPatientStatusFilterObjectSchema), PatientStatus_schema_1.PatientStatusSchema]).optional(), userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), createdAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), + updatedAt: z.union([z.lazy(() => DateTimeFilter_schema_1.DateTimeFilterObjectSchema), z.coerce.date()]).optional(), user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentListRelationFilter_schema_1.AppointmentListRelationFilterObjectSchema).optional(), procedures: z.lazy(() => AppointmentProcedureListRelationFilter_schema_1.AppointmentProcedureListRelationFilterObjectSchema).optional(), @@ -81,7 +86,9 @@ const patientwhereinputSchema = z.object({ groups: z.lazy(() => PdfGroupListRelationFilter_schema_1.PdfGroupListRelationFilterObjectSchema).optional(), payment: z.lazy(() => PaymentListRelationFilter_schema_1.PaymentListRelationFilterObjectSchema).optional(), communications: z.lazy(() => CommunicationListRelationFilter_schema_1.CommunicationListRelationFilterObjectSchema).optional(), - documents: z.lazy(() => PatientDocumentListRelationFilter_schema_1.PatientDocumentListRelationFilterObjectSchema).optional() + documents: z.lazy(() => PatientDocumentListRelationFilter_schema_1.PatientDocumentListRelationFilterObjectSchema).optional(), + conversation: z.union([z.lazy(() => PatientConversationNullableScalarRelationFilter_schema_1.PatientConversationNullableScalarRelationFilterObjectSchema), z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema)]).optional(), + cloudFolders: z.lazy(() => CloudFolderListRelationFilter_schema_1.CloudFolderListRelationFilterObjectSchema).optional() }).strict(); exports.PatientWhereInputObjectSchema = patientwhereinputSchema; exports.PatientWhereInputObjectZodSchema = patientwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/PaymentAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentAvgAggregateInput.schema.js index 338cea8d..37b2646c 100644 --- a/packages/db/shared/schemas/objects/PaymentAvgAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentAvgAggregateInput.schema.js @@ -41,10 +41,14 @@ const makeSchema = () => z.object({ patientId: z.literal(true).optional(), userId: z.literal(true).optional(), updatedById: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), - totalDue: z.literal(true).optional() + totalDue: z.literal(true).optional(), + mhPaidAmount: z.literal(true).optional(), + copayment: z.literal(true).optional(), + adjustment: z.literal(true).optional() }).strict(); exports.PaymentAvgAggregateInputObjectSchema = makeSchema(); exports.PaymentAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentAvgOrderByAggregateInput.schema.js index 065a0d1b..82629399 100644 --- a/packages/db/shared/schemas/objects/PaymentAvgOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentAvgOrderByAggregateInput.schema.js @@ -42,10 +42,14 @@ const makeSchema = () => z.object({ patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), - totalDue: SortOrder_schema_1.SortOrderSchema.optional() + totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: SortOrder_schema_1.SortOrderSchema.optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.PaymentAvgOrderByAggregateInputObjectSchema = makeSchema(); exports.PaymentAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentCountAggregateInput.schema.js index a18bace8..7d1c616e 100644 --- a/packages/db/shared/schemas/objects/PaymentCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCountAggregateInput.schema.js @@ -41,10 +41,14 @@ const makeSchema = () => z.object({ patientId: z.literal(true).optional(), userId: z.literal(true).optional(), updatedById: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), totalDue: z.literal(true).optional(), + mhPaidAmount: z.literal(true).optional(), + copayment: z.literal(true).optional(), + adjustment: z.literal(true).optional(), status: z.literal(true).optional(), notes: z.literal(true).optional(), icn: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/PaymentCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentCountOrderByAggregateInput.schema.js index d7353e6e..630a4339 100644 --- a/packages/db/shared/schemas/objects/PaymentCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCountOrderByAggregateInput.schema.js @@ -42,10 +42,14 @@ const makeSchema = () => z.object({ patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: SortOrder_schema_1.SortOrderSchema.optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), notes: SortOrder_schema_1.SortOrderSchema.optional(), icn: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/PaymentCountOutputTypeCountCommissionBatchItemsArgs.schema.js b/packages/db/shared/schemas/objects/PaymentCountOutputTypeCountCommissionBatchItemsArgs.schema.js new file mode 100644 index 00000000..16d9dd33 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCountOutputTypeCountCommissionBatchItemsArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCountOutputTypeCountCommissionBatchItemsArgsObjectZodSchema = exports.PaymentCountOutputTypeCountCommissionBatchItemsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemWhereInput_schema_1 = require("./CommissionBatchItemWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema).optional() +}).strict(); +exports.PaymentCountOutputTypeCountCommissionBatchItemsArgsObjectSchema = makeSchema(); +exports.PaymentCountOutputTypeCountCommissionBatchItemsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCountOutputTypeSelect.schema.js b/packages/db/shared/schemas/objects/PaymentCountOutputTypeSelect.schema.js index 8b481626..003a1817 100644 --- a/packages/db/shared/schemas/objects/PaymentCountOutputTypeSelect.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCountOutputTypeSelect.schema.js @@ -37,9 +37,11 @@ exports.PaymentCountOutputTypeSelectObjectZodSchema = exports.PaymentCountOutput const z = __importStar(require("zod")); const PaymentCountOutputTypeCountServiceLineTransactionsArgs_schema_1 = require("./PaymentCountOutputTypeCountServiceLineTransactionsArgs.schema"); const PaymentCountOutputTypeCountServiceLinesArgs_schema_1 = require("./PaymentCountOutputTypeCountServiceLinesArgs.schema"); +const PaymentCountOutputTypeCountCommissionBatchItemsArgs_schema_1 = require("./PaymentCountOutputTypeCountCommissionBatchItemsArgs.schema"); const makeSchema = () => z.object({ serviceLineTransactions: z.union([z.boolean(), z.lazy(() => PaymentCountOutputTypeCountServiceLineTransactionsArgs_schema_1.PaymentCountOutputTypeCountServiceLineTransactionsArgsObjectSchema)]).optional(), - serviceLines: z.union([z.boolean(), z.lazy(() => PaymentCountOutputTypeCountServiceLinesArgs_schema_1.PaymentCountOutputTypeCountServiceLinesArgsObjectSchema)]).optional() + serviceLines: z.union([z.boolean(), z.lazy(() => PaymentCountOutputTypeCountServiceLinesArgs_schema_1.PaymentCountOutputTypeCountServiceLinesArgsObjectSchema)]).optional(), + commissionBatchItems: z.union([z.boolean(), z.lazy(() => PaymentCountOutputTypeCountCommissionBatchItemsArgs_schema_1.PaymentCountOutputTypeCountCommissionBatchItemsArgsObjectSchema)]).optional() }).strict(); exports.PaymentCountOutputTypeSelectObjectSchema = makeSchema(); exports.PaymentCountOutputTypeSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateInput.schema.js index ad6085ae..e5995495 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateInput.schema.js @@ -44,8 +44,10 @@ const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.number().int(), @@ -85,6 +87,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -92,8 +121,10 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentCreateInputObjectSchema = makeSchema(); exports.PaymentCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateManyInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateManyInput.schema.js index 6e7d33a2..eb7684db 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateManyInput.schema.js @@ -48,6 +48,7 @@ const makeSchema = () => z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -84,6 +85,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentCreateManyNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateManyNpiProviderInput.schema.js new file mode 100644 index 00000000..178bd5cf --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateManyNpiProviderInput.schema.js @@ -0,0 +1,121 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateManyNpiProviderInputObjectZodSchema = exports.PaymentCreateManyNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + claimId: z.number().int().optional().nullable(), + patientId: z.number().int(), + userId: z.number().int(), + updatedById: z.number().int().optional().nullable(), + totalBilled: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), + totalPaid: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }).optional(), + totalAdjusted: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }).optional(), + totalDue: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), + status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), + notes: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional() +}).strict(); +exports.PaymentCreateManyNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentCreateManyNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateManyNpiProviderInputEnvelope.schema.js b/packages/db/shared/schemas/objects/PaymentCreateManyNpiProviderInputEnvelope.schema.js new file mode 100644 index 00000000..20fa825f --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateManyNpiProviderInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateManyNpiProviderInputEnvelopeObjectZodSchema = exports.PaymentCreateManyNpiProviderInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateManyNpiProviderInput_schema_1 = require("./PaymentCreateManyNpiProviderInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => PaymentCreateManyNpiProviderInput_schema_1.PaymentCreateManyNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateManyNpiProviderInput_schema_1.PaymentCreateManyNpiProviderInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.PaymentCreateManyNpiProviderInputEnvelopeObjectSchema = makeSchema(); +exports.PaymentCreateManyNpiProviderInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateManyPatientInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateManyPatientInput.schema.js index 96ca74b9..7c072b27 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateManyPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateManyPatientInput.schema.js @@ -47,6 +47,7 @@ const makeSchema = () => z.object({ claimId: z.number().int().optional().nullable(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -83,6 +84,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentCreateManyUpdatedByInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateManyUpdatedByInput.schema.js index 6433497c..feaf6bdc 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateManyUpdatedByInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateManyUpdatedByInput.schema.js @@ -47,6 +47,7 @@ const makeSchema = () => z.object({ claimId: z.number().int().optional().nullable(), patientId: z.number().int(), userId: z.number().int(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -83,6 +84,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentCreateNestedManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateNestedManyWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..7c08aac8 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateNestedManyWithoutNpiProviderInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateNestedManyWithoutNpiProviderInputObjectZodSchema = exports.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateWithoutNpiProviderInput_schema_1 = require("./PaymentCreateWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"); +const PaymentCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./PaymentCreateOrConnectWithoutNpiProviderInput.schema"); +const PaymentCreateManyNpiProviderInputEnvelope_schema_1 = require("./PaymentCreateManyNpiProviderInputEnvelope.schema"); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PaymentCreateManyNpiProviderInputEnvelope_schema_1.PaymentCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.PaymentCreateNestedManyWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateNestedOneWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateNestedOneWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..d9478b36 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateNestedOneWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentCreateOrConnectWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema"); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PaymentCreateWithoutCommissionBatchItemsInput_schema_1.PaymentCreateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutCommissionBatchItemsInput_schema_1.PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema).optional(), + connect: z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentCreateNestedOneWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..d68c000e --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => PaymentCreateWithoutCommissionBatchItemsInput_schema_1.PaymentCreateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema)]) +}).strict(); +exports.PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..010a17d2 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateOrConnectWithoutNpiProviderInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateOrConnectWithoutNpiProviderInputObjectZodSchema = exports.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentCreateWithoutNpiProviderInput_schema_1 = require("./PaymentCreateWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentCreateOrConnectWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutClaimInput.schema.js index 3efaf752..637d305c 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutClaimInput.schema.js @@ -43,8 +43,10 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.number().int(), @@ -84,6 +86,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -91,8 +120,10 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentCreateWithoutClaimInputObjectSchema = makeSchema(); exports.PaymentCreateWithoutClaimInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..417efe15 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,129 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentCreateWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); +const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); +const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); +const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); +const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + userId: z.number().int(), + totalBilled: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), + totalPaid: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }).optional(), + totalAdjusted: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }).optional(), + totalDue: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), + status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), + notes: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), + patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), + updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional() +}).strict(); +exports.PaymentCreateWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentCreateWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..b08a558e --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutNpiProviderInput.schema.js @@ -0,0 +1,129 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentCreateWithoutNpiProviderInputObjectZodSchema = exports.PaymentCreateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); +const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); +const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); +const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + userId: z.number().int(), + totalBilled: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), + totalPaid: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }).optional(), + totalAdjusted: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }).optional(), + totalDue: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), + status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), + notes: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), + patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), + updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() +}).strict(); +exports.PaymentCreateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentCreateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutPatientInput.schema.js index b7552ec3..27b29648 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutPatientInput.schema.js @@ -43,8 +43,10 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.number().int(), @@ -84,6 +86,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -91,8 +120,10 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentCreateWithoutPatientInputObjectSchema = makeSchema(); exports.PaymentCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLineTransactionsInput.schema.js index e0b41c88..3a5a256b 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLineTransactionsInput.schema.js @@ -44,7 +44,9 @@ const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.number().int(), @@ -84,6 +86,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -92,7 +121,9 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional() + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentCreateWithoutServiceLineTransactionsInputObjectSchema = makeSchema(); exports.PaymentCreateWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLinesInput.schema.js index 2fbe0bfd..b7df33ae 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutServiceLinesInput.schema.js @@ -44,7 +44,9 @@ const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); const UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1 = require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.number().int(), @@ -84,6 +86,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -92,7 +121,9 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), updatedBy: z.lazy(() => UserCreateNestedOneWithoutUpdatedPaymentsInput_schema_1.UserCreateNestedOneWithoutUpdatedPaymentsInputObjectSchema).optional(), - serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional() + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentCreateWithoutServiceLinesInputObjectSchema = makeSchema(); exports.PaymentCreateWithoutServiceLinesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentCreateWithoutUpdatedByInput.schema.js b/packages/db/shared/schemas/objects/PaymentCreateWithoutUpdatedByInput.schema.js index dc64af3d..a0eadb2a 100644 --- a/packages/db/shared/schemas/objects/PaymentCreateWithoutUpdatedByInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentCreateWithoutUpdatedByInput.schema.js @@ -43,8 +43,10 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ClaimCreateNestedOneWithoutPaymentInput_schema_1 = require("./ClaimCreateNestedOneWithoutPaymentInput.schema"); const PatientCreateNestedOneWithoutPaymentInput_schema_1 = require("./PatientCreateNestedOneWithoutPaymentInput.schema"); +const NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"); const ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.number().int(), @@ -84,6 +86,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -91,8 +120,10 @@ const makeSchema = () => z.object({ updatedAt: z.coerce.date().optional(), claim: z.lazy(() => ClaimCreateNestedOneWithoutPaymentInput_schema_1.ClaimCreateNestedOneWithoutPaymentInputObjectSchema).optional(), patient: z.lazy(() => PatientCreateNestedOneWithoutPaymentInput_schema_1.PatientCreateNestedOneWithoutPaymentInputObjectSchema), + npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutPaymentsInput_schema_1.NpiProviderCreateNestedOneWithoutPaymentsInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentCreateWithoutUpdatedByInputObjectSchema = makeSchema(); exports.PaymentCreateWithoutUpdatedByInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentInclude.schema.js b/packages/db/shared/schemas/objects/PaymentInclude.schema.js index d24f0377..daa7c165 100644 --- a/packages/db/shared/schemas/objects/PaymentInclude.schema.js +++ b/packages/db/shared/schemas/objects/PaymentInclude.schema.js @@ -38,15 +38,19 @@ const z = __importStar(require("zod")); const ClaimArgs_schema_1 = require("./ClaimArgs.schema"); const PatientArgs_schema_1 = require("./PatientArgs.schema"); const UserArgs_schema_1 = require("./UserArgs.schema"); +const NpiProviderArgs_schema_1 = require("./NpiProviderArgs.schema"); const findManyServiceLineTransaction_schema_1 = require("../findManyServiceLineTransaction.schema"); const findManyServiceLine_schema_1 = require("../findManyServiceLine.schema"); +const findManyCommissionBatchItem_schema_1 = require("../findManyCommissionBatchItem.schema"); const PaymentCountOutputTypeArgs_schema_1 = require("./PaymentCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ claim: z.union([z.boolean(), z.lazy(() => ClaimArgs_schema_1.ClaimArgsObjectSchema)]).optional(), patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), updatedBy: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), + npiProvider: z.union([z.boolean(), z.lazy(() => NpiProviderArgs_schema_1.NpiProviderArgsObjectSchema)]).optional(), serviceLineTransactions: z.union([z.boolean(), z.lazy(() => findManyServiceLineTransaction_schema_1.ServiceLineTransactionFindManySchema)]).optional(), serviceLines: z.union([z.boolean(), z.lazy(() => findManyServiceLine_schema_1.ServiceLineFindManySchema)]).optional(), + commissionBatchItems: z.union([z.boolean(), z.lazy(() => findManyCommissionBatchItem_schema_1.CommissionBatchItemFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => PaymentCountOutputTypeArgs_schema_1.PaymentCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.PaymentIncludeObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentMaxAggregateInput.schema.js index 58146d72..29480dca 100644 --- a/packages/db/shared/schemas/objects/PaymentMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentMaxAggregateInput.schema.js @@ -41,10 +41,14 @@ const makeSchema = () => z.object({ patientId: z.literal(true).optional(), userId: z.literal(true).optional(), updatedById: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), totalDue: z.literal(true).optional(), + mhPaidAmount: z.literal(true).optional(), + copayment: z.literal(true).optional(), + adjustment: z.literal(true).optional(), status: z.literal(true).optional(), notes: z.literal(true).optional(), icn: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/PaymentMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentMaxOrderByAggregateInput.schema.js index a141fce3..8953602c 100644 --- a/packages/db/shared/schemas/objects/PaymentMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentMaxOrderByAggregateInput.schema.js @@ -42,10 +42,14 @@ const makeSchema = () => z.object({ patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: SortOrder_schema_1.SortOrderSchema.optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), notes: SortOrder_schema_1.SortOrderSchema.optional(), icn: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/PaymentMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentMinAggregateInput.schema.js index ab42ecbc..6fc8bfde 100644 --- a/packages/db/shared/schemas/objects/PaymentMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentMinAggregateInput.schema.js @@ -41,10 +41,14 @@ const makeSchema = () => z.object({ patientId: z.literal(true).optional(), userId: z.literal(true).optional(), updatedById: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), totalDue: z.literal(true).optional(), + mhPaidAmount: z.literal(true).optional(), + copayment: z.literal(true).optional(), + adjustment: z.literal(true).optional(), status: z.literal(true).optional(), notes: z.literal(true).optional(), icn: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/PaymentMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentMinOrderByAggregateInput.schema.js index 6b1465b9..4a262443 100644 --- a/packages/db/shared/schemas/objects/PaymentMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentMinOrderByAggregateInput.schema.js @@ -42,10 +42,14 @@ const makeSchema = () => z.object({ patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: SortOrder_schema_1.SortOrderSchema.optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), notes: SortOrder_schema_1.SortOrderSchema.optional(), icn: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/PaymentOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/PaymentOrderByWithAggregationInput.schema.js index 89baf2bd..a201a739 100644 --- a/packages/db/shared/schemas/objects/PaymentOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentOrderByWithAggregationInput.schema.js @@ -48,10 +48,14 @@ const makeSchema = () => z.object({ patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + npiProviderId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), notes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), icn: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), diff --git a/packages/db/shared/schemas/objects/PaymentOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/PaymentOrderByWithRelationInput.schema.js index b66bc4fc..4ade0209 100644 --- a/packages/db/shared/schemas/objects/PaymentOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentOrderByWithRelationInput.schema.js @@ -40,18 +40,24 @@ const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); const ClaimOrderByWithRelationInput_schema_1 = require("./ClaimOrderByWithRelationInput.schema"); const PatientOrderByWithRelationInput_schema_1 = require("./PatientOrderByWithRelationInput.schema"); const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const NpiProviderOrderByWithRelationInput_schema_1 = require("./NpiProviderOrderByWithRelationInput.schema"); const ServiceLineTransactionOrderByRelationAggregateInput_schema_1 = require("./ServiceLineTransactionOrderByRelationAggregateInput.schema"); const ServiceLineOrderByRelationAggregateInput_schema_1 = require("./ServiceLineOrderByRelationAggregateInput.schema"); +const CommissionBatchItemOrderByRelationAggregateInput_schema_1 = require("./CommissionBatchItemOrderByRelationAggregateInput.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), claimId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + npiProviderId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional(), status: SortOrder_schema_1.SortOrderSchema.optional(), notes: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), icn: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), @@ -60,8 +66,10 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimOrderByWithRelationInput_schema_1.ClaimOrderByWithRelationInputObjectSchema).optional(), patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional(), updatedBy: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderOrderByWithRelationInput_schema_1.NpiProviderOrderByWithRelationInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionOrderByRelationAggregateInput_schema_1.ServiceLineTransactionOrderByRelationAggregateInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineOrderByRelationAggregateInput_schema_1.ServiceLineOrderByRelationAggregateInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineOrderByRelationAggregateInput_schema_1.ServiceLineOrderByRelationAggregateInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemOrderByRelationAggregateInput_schema_1.CommissionBatchItemOrderByRelationAggregateInputObjectSchema).optional() }).strict(); exports.PaymentOrderByWithRelationInputObjectSchema = makeSchema(); exports.PaymentOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/PaymentScalarWhereInput.schema.js index aa47a979..3f9f0ff4 100644 --- a/packages/db/shared/schemas/objects/PaymentScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentScalarWhereInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFilter_schema_1 = require("./IntFilter.schema"); const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); +const DecimalNullableFilter_schema_1 = require("./DecimalNullableFilter.schema"); const EnumPaymentStatusFilter_schema_1 = require("./EnumPaymentStatusFilter.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); @@ -57,6 +58,7 @@ const paymentscalarwhereinputSchema = z.object({ patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), updatedById: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), + npiProviderId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), totalBilled: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ z.number(), z.string(), @@ -93,6 +95,33 @@ const paymentscalarwhereinputSchema = z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", })]).optional(), + mhPaidAmount: z.union([z.lazy(() => DecimalNullableFilter_schema_1.DecimalNullableFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + })]).optional().nullable(), + copayment: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + })]).optional(), + adjustment: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + })]).optional(), status: z.union([z.lazy(() => EnumPaymentStatusFilter_schema_1.EnumPaymentStatusFilterObjectSchema), PaymentStatus_schema_1.PaymentStatusSchema]).optional(), notes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), icn: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/PaymentScalarWhereWithAggregatesInput.schema.js index d42eecdf..924ed165 100644 --- a/packages/db/shared/schemas/objects/PaymentScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentScalarWhereWithAggregatesInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); const IntNullableWithAggregatesFilter_schema_1 = require("./IntNullableWithAggregatesFilter.schema"); const DecimalWithAggregatesFilter_schema_1 = require("./DecimalWithAggregatesFilter.schema"); +const DecimalNullableWithAggregatesFilter_schema_1 = require("./DecimalNullableWithAggregatesFilter.schema"); const EnumPaymentStatusWithAggregatesFilter_schema_1 = require("./EnumPaymentStatusWithAggregatesFilter.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); @@ -57,6 +58,7 @@ const paymentscalarwherewithaggregatesinputSchema = z.object({ patientId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), updatedById: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(), + npiProviderId: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(), totalBilled: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ z.number(), z.string(), @@ -93,6 +95,33 @@ const paymentscalarwherewithaggregatesinputSchema = z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", })]).optional(), + mhPaidAmount: z.union([z.lazy(() => DecimalNullableWithAggregatesFilter_schema_1.DecimalNullableWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + })]).optional().nullable(), + copayment: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + })]).optional(), + adjustment: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + })]).optional(), status: z.union([z.lazy(() => EnumPaymentStatusWithAggregatesFilter_schema_1.EnumPaymentStatusWithAggregatesFilterObjectSchema), PaymentStatus_schema_1.PaymentStatusSchema]).optional(), notes: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), icn: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentSelect.schema.js b/packages/db/shared/schemas/objects/PaymentSelect.schema.js index 0aca80e1..52d6a375 100644 --- a/packages/db/shared/schemas/objects/PaymentSelect.schema.js +++ b/packages/db/shared/schemas/objects/PaymentSelect.schema.js @@ -38,8 +38,10 @@ const z = __importStar(require("zod")); const ClaimArgs_schema_1 = require("./ClaimArgs.schema"); const PatientArgs_schema_1 = require("./PatientArgs.schema"); const UserArgs_schema_1 = require("./UserArgs.schema"); +const NpiProviderArgs_schema_1 = require("./NpiProviderArgs.schema"); const findManyServiceLineTransaction_schema_1 = require("../findManyServiceLineTransaction.schema"); const findManyServiceLine_schema_1 = require("../findManyServiceLine.schema"); +const findManyCommissionBatchItem_schema_1 = require("../findManyCommissionBatchItem.schema"); const PaymentCountOutputTypeArgs_schema_1 = require("./PaymentCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ id: z.boolean().optional(), @@ -47,10 +49,14 @@ const makeSchema = () => z.object({ patientId: z.boolean().optional(), userId: z.boolean().optional(), updatedById: z.boolean().optional(), + npiProviderId: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), totalDue: z.boolean().optional(), + mhPaidAmount: z.boolean().optional(), + copayment: z.boolean().optional(), + adjustment: z.boolean().optional(), status: z.boolean().optional(), notes: z.boolean().optional(), icn: z.boolean().optional(), @@ -59,8 +65,10 @@ const makeSchema = () => z.object({ claim: z.union([z.boolean(), z.lazy(() => ClaimArgs_schema_1.ClaimArgsObjectSchema)]).optional(), patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(), updatedBy: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional(), + npiProvider: z.union([z.boolean(), z.lazy(() => NpiProviderArgs_schema_1.NpiProviderArgsObjectSchema)]).optional(), serviceLineTransactions: z.union([z.boolean(), z.lazy(() => findManyServiceLineTransaction_schema_1.ServiceLineTransactionFindManySchema)]).optional(), serviceLines: z.union([z.boolean(), z.lazy(() => findManyServiceLine_schema_1.ServiceLineFindManySchema)]).optional(), + commissionBatchItems: z.union([z.boolean(), z.lazy(() => findManyCommissionBatchItem_schema_1.CommissionBatchItemFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => PaymentCountOutputTypeArgs_schema_1.PaymentCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.PaymentSelectObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentSumAggregateInput.schema.js index 066a1c66..a84dff93 100644 --- a/packages/db/shared/schemas/objects/PaymentSumAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentSumAggregateInput.schema.js @@ -41,10 +41,14 @@ const makeSchema = () => z.object({ patientId: z.literal(true).optional(), userId: z.literal(true).optional(), updatedById: z.literal(true).optional(), + npiProviderId: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), - totalDue: z.literal(true).optional() + totalDue: z.literal(true).optional(), + mhPaidAmount: z.literal(true).optional(), + copayment: z.literal(true).optional(), + adjustment: z.literal(true).optional() }).strict(); exports.PaymentSumAggregateInputObjectSchema = makeSchema(); exports.PaymentSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/PaymentSumOrderByAggregateInput.schema.js index 3bf2e92f..042800de 100644 --- a/packages/db/shared/schemas/objects/PaymentSumOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentSumOrderByAggregateInput.schema.js @@ -42,10 +42,14 @@ const makeSchema = () => z.object({ patientId: SortOrder_schema_1.SortOrderSchema.optional(), userId: SortOrder_schema_1.SortOrderSchema.optional(), updatedById: SortOrder_schema_1.SortOrderSchema.optional(), + npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), - totalDue: SortOrder_schema_1.SortOrderSchema.optional() + totalDue: SortOrder_schema_1.SortOrderSchema.optional(), + mhPaidAmount: SortOrder_schema_1.SortOrderSchema.optional(), + copayment: SortOrder_schema_1.SortOrderSchema.optional(), + adjustment: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.PaymentSumOrderByAggregateInputObjectSchema = makeSchema(); exports.PaymentSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateInput.schema.js index f1b91b66..51a9de9d 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), @@ -50,6 +51,7 @@ const makeSchema = () => z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -86,12 +88,40 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedCreateInputObjectSchema = makeSchema(); exports.PaymentUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..1f6a47e0 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema = exports.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateWithoutNpiProviderInput_schema_1 = require("./PaymentCreateWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"); +const PaymentCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./PaymentCreateOrConnectWithoutNpiProviderInput.schema"); +const PaymentCreateManyNpiProviderInputEnvelope_schema_1 = require("./PaymentCreateManyNpiProviderInputEnvelope.schema"); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PaymentCreateManyNpiProviderInputEnvelope_schema_1.PaymentCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutClaimInput.schema.js index b35e9465..1136e58d 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutClaimInput.schema.js @@ -43,12 +43,14 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -85,13 +87,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedCreateWithoutClaimInputObjectSchema = makeSchema(); exports.PaymentUncheckedCreateWithoutClaimInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..bdf16765 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,126 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + claimId: z.number().int().optional().nullable(), + patientId: z.number().int(), + userId: z.number().int(), + updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), + totalBilled: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), + totalPaid: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }).optional(), + totalAdjusted: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }).optional(), + totalDue: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), + status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), + notes: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() +}).strict(); +exports.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..4741cba4 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutNpiProviderInput.schema.js @@ -0,0 +1,127 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedCreateWithoutNpiProviderInputObjectZodSchema = exports.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + claimId: z.number().int().optional().nullable(), + patientId: z.number().int(), + userId: z.number().int(), + updatedById: z.number().int().optional().nullable(), + totalBilled: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), + totalPaid: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }).optional(), + totalAdjusted: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }).optional(), + totalDue: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), + status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), + notes: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + createdAt: z.coerce.date().optional(), + updatedAt: z.coerce.date().optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() +}).strict(); +exports.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUncheckedCreateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutPatientInput.schema.js index f163e709..d0a2ecb6 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutPatientInput.schema.js @@ -43,12 +43,14 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), claimId: z.number().int().optional().nullable(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -85,13 +87,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedCreateWithoutPatientInputObjectSchema = makeSchema(); exports.PaymentUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema.js index 5637ca04..dd8a68e3 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema.js @@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), @@ -49,6 +50,7 @@ const makeSchema = () => z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -85,12 +87,40 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema = makeSchema(); exports.PaymentUncheckedCreateWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLinesInput.schema.js index ebdd65c5..425dd9b9 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutServiceLinesInput.schema.js @@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), @@ -49,6 +50,7 @@ const makeSchema = () => z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -85,12 +87,40 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), - serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema = makeSchema(); exports.PaymentUncheckedCreateWithoutServiceLinesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutUpdatedByInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutUpdatedByInput.schema.js index 4af8e905..e2274b0a 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutUpdatedByInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedCreateWithoutUpdatedByInput.schema.js @@ -43,12 +43,14 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput.schema"); const ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./ServiceLineUncheckedCreateNestedManyWithoutPaymentInput.schema"); +const CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1 = require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.number().int().optional(), claimId: z.number().int().optional().nullable(), patientId: z.number().int(), userId: z.number().int(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.union([ z.number(), z.string(), @@ -85,13 +87,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), + mhPaidAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }).optional().nullable(), + copayment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }).optional(), + adjustment: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }).optional(), status: PaymentStatus_schema_1.PaymentStatusSchema.optional(), notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), updatedAt: z.coerce.date().optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedCreateNestedManyWithoutPaymentInput_schema_1.ServiceLineUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput_schema_1.CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedCreateWithoutUpdatedByInputObjectSchema = makeSchema(); exports.PaymentUncheckedCreateWithoutUpdatedByInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateInput.schema.js index 7f4c9fd2..26278453 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateInput.schema.js @@ -43,12 +43,14 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -56,6 +58,7 @@ const makeSchema = () => z.object({ patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -92,13 +95,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedUpdateInputObjectSchema = makeSchema(); exports.PaymentUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyInput.schema.js index 9355a23f..42406c23 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -54,6 +55,7 @@ const makeSchema = () => z.object({ patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -90,6 +92,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..9c6b77f3 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutNpiProviderInput.schema.js @@ -0,0 +1,128 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedUpdateManyWithoutNpiProviderInputObjectZodSchema = exports.PaymentUncheckedUpdateManyWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + totalBilled: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalPaid: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalAdjusted: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalDue: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.PaymentUncheckedUpdateManyWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUncheckedUpdateManyWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.js new file mode 100644 index 00000000..93350188 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = exports.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateWithoutNpiProviderInput_schema_1 = require("./PaymentCreateWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"); +const PaymentCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./PaymentCreateOrConnectWithoutNpiProviderInput.schema"); +const PaymentUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./PaymentUpsertWithWhereUniqueWithoutNpiProviderInput.schema"); +const PaymentCreateManyNpiProviderInputEnvelope_schema_1 = require("./PaymentCreateManyNpiProviderInputEnvelope.schema"); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./PaymentUpdateWithWhereUniqueWithoutNpiProviderInput.schema"); +const PaymentUpdateManyWithWhereWithoutNpiProviderInput_schema_1 = require("./PaymentUpdateManyWithWhereWithoutNpiProviderInput.schema"); +const PaymentScalarWhereInput_schema_1 = require("./PaymentScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => PaymentUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PaymentCreateManyNpiProviderInputEnvelope_schema_1.PaymentCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => PaymentUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => PaymentUpdateManyWithWhereWithoutNpiProviderInput_schema_1.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUpdateManyWithWhereWithoutNpiProviderInput_schema_1.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => PaymentScalarWhereInput_schema_1.PaymentScalarWhereInputObjectSchema), z.lazy(() => PaymentScalarWhereInput_schema_1.PaymentScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectSchema = makeSchema(); +exports.PaymentUncheckedUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutPatientInput.schema.js index 5adb419d..775de67d 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutPatientInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -53,6 +54,7 @@ const makeSchema = () => z.object({ claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -89,6 +91,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutUpdatedByInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutUpdatedByInput.schema.js index 698c14c1..4d899212 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutUpdatedByInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateManyWithoutUpdatedByInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -53,6 +54,7 @@ const makeSchema = () => z.object({ claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -89,6 +91,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutClaimInput.schema.js index cff6f479..66fe52ba 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutClaimInput.schema.js @@ -43,18 +43,21 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -91,13 +94,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedUpdateWithoutClaimInputObjectSchema = makeSchema(); exports.PaymentUncheckedUpdateWithoutClaimInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..9aecf69e --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,133 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + totalBilled: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalPaid: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalAdjusted: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalDue: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() +}).strict(); +exports.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..d6938dd2 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutNpiProviderInput.schema.js @@ -0,0 +1,134 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUncheckedUpdateWithoutNpiProviderInputObjectZodSchema = exports.PaymentUncheckedUpdateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + totalBilled: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalPaid: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalAdjusted: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalDue: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() +}).strict(); +exports.PaymentUncheckedUpdateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUncheckedUpdateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutPatientInput.schema.js index 909ed033..35f763f7 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutPatientInput.schema.js @@ -43,18 +43,21 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -91,13 +94,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedUpdateWithoutPatientInputObjectSchema = makeSchema(); exports.PaymentUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js index 6da59613..e6962ef2 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js @@ -43,11 +43,13 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -55,6 +57,7 @@ const makeSchema = () => z.object({ patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -91,12 +94,40 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema = makeSchema(); exports.PaymentUncheckedUpdateWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLinesInput.schema.js index 4ebaff95..1b17bff0 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutServiceLinesInput.schema.js @@ -43,11 +43,13 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -55,6 +57,7 @@ const makeSchema = () => z.object({ patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), updatedById: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -91,12 +94,40 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), - serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedUpdateWithoutServiceLinesInputObjectSchema = makeSchema(); exports.PaymentUncheckedUpdateWithoutServiceLinesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutUpdatedByInput.schema.js b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutUpdatedByInput.schema.js index 5344a078..697eba25 100644 --- a/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutUpdatedByInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUncheckedUpdateWithoutUpdatedByInput.schema.js @@ -43,18 +43,21 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), claimId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), patientId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + npiProviderId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), @@ -91,13 +94,41 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUncheckedUpdateWithoutUpdatedByInputObjectSchema = makeSchema(); exports.PaymentUncheckedUpdateWithoutUpdatedByInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateInput.schema.js index 3e9e59df..52787682 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateInput.schema.js @@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -49,8 +50,10 @@ const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpda const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -90,6 +93,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), @@ -98,8 +128,10 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUpdateInputObjectSchema = makeSchema(); exports.PaymentUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateManyMutationInput.schema.js index d6cfde03..e2eb7261 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateManyMutationInput.schema.js @@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -85,6 +86,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), diff --git a/packages/db/shared/schemas/objects/PaymentUpdateManyWithWhereWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateManyWithWhereWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..70961941 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateManyWithWhereWithoutNpiProviderInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectZodSchema = exports.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentScalarWhereInput_schema_1 = require("./PaymentScalarWhereInput.schema"); +const PaymentUpdateManyMutationInput_schema_1 = require("./PaymentUpdateManyMutationInput.schema"); +const PaymentUncheckedUpdateManyWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentScalarWhereInput_schema_1.PaymentScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => PaymentUpdateManyMutationInput_schema_1.PaymentUpdateManyMutationInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateManyWithoutNpiProviderInput_schema_1.PaymentUncheckedUpdateManyWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateManyWithoutNpiProviderNestedInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateManyWithoutNpiProviderNestedInput.schema.js new file mode 100644 index 00000000..56e5f38d --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateManyWithoutNpiProviderNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = exports.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateWithoutNpiProviderInput_schema_1 = require("./PaymentCreateWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"); +const PaymentCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./PaymentCreateOrConnectWithoutNpiProviderInput.schema"); +const PaymentUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./PaymentUpsertWithWhereUniqueWithoutNpiProviderInput.schema"); +const PaymentCreateManyNpiProviderInputEnvelope_schema_1 = require("./PaymentCreateManyNpiProviderInputEnvelope.schema"); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1 = require("./PaymentUpdateWithWhereUniqueWithoutNpiProviderInput.schema"); +const PaymentUpdateManyWithWhereWithoutNpiProviderInput_schema_1 = require("./PaymentUpdateManyWithWhereWithoutNpiProviderInput.schema"); +const PaymentScalarWhereInput_schema_1 = require("./PaymentScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentCreateOrConnectWithoutNpiProviderInput_schema_1.PaymentCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => PaymentUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUpsertWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => PaymentCreateManyNpiProviderInputEnvelope_schema_1.PaymentCreateManyNpiProviderInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => PaymentUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUpdateWithWhereUniqueWithoutNpiProviderInput_schema_1.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => PaymentUpdateManyWithWhereWithoutNpiProviderInput_schema_1.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUpdateManyWithWhereWithoutNpiProviderInput_schema_1.PaymentUpdateManyWithWhereWithoutNpiProviderInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => PaymentScalarWhereInput_schema_1.PaymentScalarWhereInputObjectSchema), z.lazy(() => PaymentScalarWhereInput_schema_1.PaymentScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.PaymentUpdateManyWithoutNpiProviderNestedInputObjectSchema = makeSchema(); +exports.PaymentUpdateManyWithoutNpiProviderNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput.schema.js new file mode 100644 index 00000000..7353b216 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInputObjectZodSchema = exports.PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentCreateOrConnectWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema"); +const PaymentUpsertWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUpsertWithoutCommissionBatchItemsInput.schema"); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput.schema"); +const PaymentUpdateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUpdateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedUpdateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => PaymentCreateWithoutCommissionBatchItemsInput_schema_1.PaymentCreateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => PaymentCreateOrConnectWithoutCommissionBatchItemsInput_schema_1.PaymentCreateOrConnectWithoutCommissionBatchItemsInputObjectSchema).optional(), + upsert: z.lazy(() => PaymentUpsertWithoutCommissionBatchItemsInput_schema_1.PaymentUpsertWithoutCommissionBatchItemsInputObjectSchema).optional(), + connect: z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput_schema_1.PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUpdateWithoutCommissionBatchItemsInput_schema_1.PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema)]).optional() +}).strict(); +exports.PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInputObjectSchema = makeSchema(); +exports.PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..13e19837 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentWhereInput_schema_1 = require("./PaymentWhereInput.schema"); +const PaymentUpdateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUpdateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedUpdateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => PaymentUpdateWithoutCommissionBatchItemsInput_schema_1.PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema)]) +}).strict(); +exports.PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithWhereUniqueWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithWhereUniqueWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..71d0c2ed --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithWhereUniqueWithoutNpiProviderInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = exports.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentUpdateWithoutNpiProviderInput_schema_1 = require("./PaymentUpdateWithoutNpiProviderInput.schema"); +const PaymentUncheckedUpdateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedUpdateWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => PaymentUpdateWithoutNpiProviderInput_schema_1.PaymentUpdateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutNpiProviderInput_schema_1.PaymentUncheckedUpdateWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUpdateWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutClaimInput.schema.js index 152be092..3ece897c 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutClaimInput.schema.js @@ -42,14 +42,17 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -89,6 +92,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), @@ -96,8 +126,10 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUpdateWithoutClaimInputObjectSchema = makeSchema(); exports.PaymentUpdateWithoutClaimInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..f9370540 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,135 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); +const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); +const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); +const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); +const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalBilled: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalPaid: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalAdjusted: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalDue: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), + updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional() +}).strict(); +exports.PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentUpdateWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..e434bb3a --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutNpiProviderInput.schema.js @@ -0,0 +1,135 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpdateWithoutNpiProviderInputObjectZodSchema = exports.PaymentUpdateWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const prisma_1 = require("../../../generated/prisma"); +const decimal_js_1 = __importDefault(require("decimal.js")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); +const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); +const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); +const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); +const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); +const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); +const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); +const decimal_helpers_1 = require("../../helpers/decimal-helpers"); +const makeSchema = () => z.object({ + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + totalBilled: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalBilled' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalPaid: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalPaid' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalAdjusted: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalAdjusted' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + totalDue: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'totalDue' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), + notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), + claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), + patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), + updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() +}).strict(); +exports.PaymentUpdateWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUpdateWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutPatientInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutPatientInput.schema.js index 44a1af02..0ed184fe 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateWithoutPatientInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutPatientInput.schema.js @@ -42,14 +42,17 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -89,6 +92,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), @@ -96,8 +126,10 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUpdateWithoutPatientInputObjectSchema = makeSchema(); exports.PaymentUpdateWithoutPatientInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLineTransactionsInput.schema.js index ad73519c..699f95da 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLineTransactionsInput.schema.js @@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -49,7 +50,9 @@ const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpda const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -89,6 +92,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), @@ -97,7 +127,9 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUpdateWithoutServiceLineTransactionsInputObjectSchema = makeSchema(); exports.PaymentUpdateWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLinesInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLinesInput.schema.js index bcb2f1b7..0dde0d13 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLinesInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutServiceLinesInput.schema.js @@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); @@ -49,7 +50,9 @@ const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpda const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); const UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1 = require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -89,6 +92,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), @@ -97,7 +127,9 @@ const makeSchema = () => z.object({ claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), updatedBy: z.lazy(() => UserUpdateOneWithoutUpdatedPaymentsNestedInput_schema_1.UserUpdateOneWithoutUpdatedPaymentsNestedInputObjectSchema).optional(), - serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), + serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUpdateWithoutServiceLinesInputObjectSchema = makeSchema(); exports.PaymentUpdateWithoutServiceLinesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpdateWithoutUpdatedByInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpdateWithoutUpdatedByInput.schema.js index 0b89464f..a4221e8f 100644 --- a/packages/db/shared/schemas/objects/PaymentUpdateWithoutUpdatedByInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentUpdateWithoutUpdatedByInput.schema.js @@ -42,14 +42,17 @@ const prisma_1 = require("../../../generated/prisma"); const decimal_js_1 = __importDefault(require("decimal.js")); const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const EnumPaymentStatusFieldUpdateOperationsInput_schema_1 = require("./EnumPaymentStatusFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const ClaimUpdateOneWithoutPaymentNestedInput_schema_1 = require("./ClaimUpdateOneWithoutPaymentNestedInput.schema"); const PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1 = require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"); +const NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1 = require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"); const ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineTransactionUpdateManyWithoutPaymentNestedInput.schema"); const ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1 = require("./ServiceLineUpdateManyWithoutPaymentNestedInput.schema"); +const CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1 = require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const makeSchema = () => z.object({ userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), @@ -89,6 +92,33 @@ const makeSchema = () => z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + mhPaidAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + copayment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), + adjustment: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + }), z.lazy(() => DecimalFieldUpdateOperationsInput_schema_1.DecimalFieldUpdateOperationsInputObjectSchema)]).optional(), status: z.union([PaymentStatus_schema_1.PaymentStatusSchema, z.lazy(() => EnumPaymentStatusFieldUpdateOperationsInput_schema_1.EnumPaymentStatusFieldUpdateOperationsInputObjectSchema)]).optional(), notes: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), @@ -96,8 +126,10 @@ const makeSchema = () => z.object({ updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(), claim: z.lazy(() => ClaimUpdateOneWithoutPaymentNestedInput_schema_1.ClaimUpdateOneWithoutPaymentNestedInputObjectSchema).optional(), patient: z.lazy(() => PatientUpdateOneRequiredWithoutPaymentNestedInput_schema_1.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema).optional(), + npiProvider: z.lazy(() => NpiProviderUpdateOneWithoutPaymentsNestedInput_schema_1.NpiProviderUpdateOneWithoutPaymentsNestedInputObjectSchema).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineTransactionUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineUpdateManyWithoutPaymentNestedInput_schema_1.ServiceLineUpdateManyWithoutPaymentNestedInputObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemUpdateManyWithoutPaymentNestedInput_schema_1.CommissionBatchItemUpdateManyWithoutPaymentNestedInputObjectSchema).optional() }).strict(); exports.PaymentUpdateWithoutUpdatedByInputObjectSchema = makeSchema(); exports.PaymentUpdateWithoutUpdatedByInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpsertWithWhereUniqueWithoutNpiProviderInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpsertWithWhereUniqueWithoutNpiProviderInput.schema.js new file mode 100644 index 00000000..71097899 --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpsertWithWhereUniqueWithoutNpiProviderInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = exports.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentWhereUniqueInput_schema_1 = require("./PaymentWhereUniqueInput.schema"); +const PaymentUpdateWithoutNpiProviderInput_schema_1 = require("./PaymentUpdateWithoutNpiProviderInput.schema"); +const PaymentUncheckedUpdateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedUpdateWithoutNpiProviderInput.schema"); +const PaymentCreateWithoutNpiProviderInput_schema_1 = require("./PaymentCreateWithoutNpiProviderInput.schema"); +const PaymentUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PaymentWhereUniqueInput_schema_1.PaymentWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => PaymentUpdateWithoutNpiProviderInput_schema_1.PaymentUpdateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutNpiProviderInput_schema_1.PaymentUncheckedUpdateWithoutNpiProviderInputObjectSchema)]), + create: z.union([z.lazy(() => PaymentCreateWithoutNpiProviderInput_schema_1.PaymentCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutNpiProviderInput_schema_1.PaymentUncheckedCreateWithoutNpiProviderInputObjectSchema)]) +}).strict(); +exports.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectSchema = makeSchema(); +exports.PaymentUpsertWithWhereUniqueWithoutNpiProviderInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentUpsertWithoutCommissionBatchItemsInput.schema.js b/packages/db/shared/schemas/objects/PaymentUpsertWithoutCommissionBatchItemsInput.schema.js new file mode 100644 index 00000000..6c1d283b --- /dev/null +++ b/packages/db/shared/schemas/objects/PaymentUpsertWithoutCommissionBatchItemsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PaymentUpsertWithoutCommissionBatchItemsInputObjectZodSchema = exports.PaymentUpsertWithoutCommissionBatchItemsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PaymentUpdateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUpdateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedUpdateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema"); +const PaymentCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1 = require("./PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema"); +const PaymentWhereInput_schema_1 = require("./PaymentWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => PaymentUpdateWithoutCommissionBatchItemsInput_schema_1.PaymentUpdateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedUpdateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedUpdateWithoutCommissionBatchItemsInputObjectSchema)]), + create: z.union([z.lazy(() => PaymentCreateWithoutCommissionBatchItemsInput_schema_1.PaymentCreateWithoutCommissionBatchItemsInputObjectSchema), z.lazy(() => PaymentUncheckedCreateWithoutCommissionBatchItemsInput_schema_1.PaymentUncheckedCreateWithoutCommissionBatchItemsInputObjectSchema)]), + where: z.lazy(() => PaymentWhereInput_schema_1.PaymentWhereInputObjectSchema).optional() +}).strict(); +exports.PaymentUpsertWithoutCommissionBatchItemsInputObjectSchema = makeSchema(); +exports.PaymentUpsertWithoutCommissionBatchItemsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/PaymentWhereInput.schema.js b/packages/db/shared/schemas/objects/PaymentWhereInput.schema.js index 15a44d6f..65d773c3 100644 --- a/packages/db/shared/schemas/objects/PaymentWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/PaymentWhereInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const IntFilter_schema_1 = require("./IntFilter.schema"); const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); +const DecimalNullableFilter_schema_1 = require("./DecimalNullableFilter.schema"); const EnumPaymentStatusFilter_schema_1 = require("./EnumPaymentStatusFilter.schema"); const PaymentStatus_schema_1 = require("../enums/PaymentStatus.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); @@ -53,8 +54,11 @@ const PatientScalarRelationFilter_schema_1 = require("./PatientScalarRelationFil const PatientWhereInput_schema_1 = require("./PatientWhereInput.schema"); const UserNullableScalarRelationFilter_schema_1 = require("./UserNullableScalarRelationFilter.schema"); const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const NpiProviderNullableScalarRelationFilter_schema_1 = require("./NpiProviderNullableScalarRelationFilter.schema"); +const NpiProviderWhereInput_schema_1 = require("./NpiProviderWhereInput.schema"); const ServiceLineTransactionListRelationFilter_schema_1 = require("./ServiceLineTransactionListRelationFilter.schema"); const ServiceLineListRelationFilter_schema_1 = require("./ServiceLineListRelationFilter.schema"); +const CommissionBatchItemListRelationFilter_schema_1 = require("./CommissionBatchItemListRelationFilter.schema"); const decimal_helpers_1 = require("../../helpers/decimal-helpers"); const paymentwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.PaymentWhereInputObjectSchema), z.lazy(() => exports.PaymentWhereInputObjectSchema).array()]).optional(), @@ -65,6 +69,7 @@ const paymentwhereinputSchema = z.object({ patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), updatedById: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), + npiProviderId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(), totalBilled: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ z.number(), z.string(), @@ -101,6 +106,33 @@ const paymentwhereinputSchema = z.object({ ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { message: "Field 'totalDue' must be a Decimal", })]).optional(), + mhPaidAmount: z.union([z.lazy(() => DecimalNullableFilter_schema_1.DecimalNullableFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'mhPaidAmount' must be a Decimal", + })]).optional().nullable(), + copayment: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'copayment' must be a Decimal", + })]).optional(), + adjustment: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'adjustment' must be a Decimal", + })]).optional(), status: z.union([z.lazy(() => EnumPaymentStatusFilter_schema_1.EnumPaymentStatusFilterObjectSchema), PaymentStatus_schema_1.PaymentStatusSchema]).optional(), notes: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), icn: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), @@ -109,8 +141,10 @@ const paymentwhereinputSchema = z.object({ claim: z.union([z.lazy(() => ClaimNullableScalarRelationFilter_schema_1.ClaimNullableScalarRelationFilterObjectSchema), z.lazy(() => ClaimWhereInput_schema_1.ClaimWhereInputObjectSchema)]).optional(), patient: z.union([z.lazy(() => PatientScalarRelationFilter_schema_1.PatientScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInput_schema_1.PatientWhereInputObjectSchema)]).optional(), updatedBy: z.union([z.lazy(() => UserNullableScalarRelationFilter_schema_1.UserNullableScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional(), + npiProvider: z.union([z.lazy(() => NpiProviderNullableScalarRelationFilter_schema_1.NpiProviderNullableScalarRelationFilterObjectSchema), z.lazy(() => NpiProviderWhereInput_schema_1.NpiProviderWhereInputObjectSchema)]).optional(), serviceLineTransactions: z.lazy(() => ServiceLineTransactionListRelationFilter_schema_1.ServiceLineTransactionListRelationFilterObjectSchema).optional(), - serviceLines: z.lazy(() => ServiceLineListRelationFilter_schema_1.ServiceLineListRelationFilterObjectSchema).optional() + serviceLines: z.lazy(() => ServiceLineListRelationFilter_schema_1.ServiceLineListRelationFilterObjectSchema).optional(), + commissionBatchItems: z.lazy(() => CommissionBatchItemListRelationFilter_schema_1.CommissionBatchItemListRelationFilterObjectSchema).optional() }).strict(); exports.PaymentWhereInputObjectSchema = paymentwhereinputSchema; exports.PaymentWhereInputObjectZodSchema = paymentwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotArgs.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotArgs.schema.js new file mode 100644 index 00000000..502bd0dd --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotArgsObjectZodSchema = exports.ProcedureTimeslotArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./ProcedureTimeslotInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema).optional(), + include: z.lazy(() => ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotArgsObjectSchema = makeSchema(); +exports.ProcedureTimeslotArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotAvgAggregateInput.schema.js new file mode 100644 index 00000000..1cb70f52 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotAvgAggregateInputObjectZodSchema = exports.ProcedureTimeslotAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.ProcedureTimeslotAvgAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..20c4ba1c --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotAvgOrderByAggregateInputObjectZodSchema = exports.ProcedureTimeslotAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ProcedureTimeslotAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCountAggregateInput.schema.js new file mode 100644 index 00000000..040bd9cb --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCountAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCountAggregateInputObjectZodSchema = exports.ProcedureTimeslotCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + data: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.ProcedureTimeslotCountAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..f7685eed --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCountOrderByAggregateInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCountOrderByAggregateInputObjectZodSchema = exports.ProcedureTimeslotCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + data: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ProcedureTimeslotCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCreateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateInput.schema.js new file mode 100644 index 00000000..cbf4dacb --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateInputObjectZodSchema = exports.ProcedureTimeslotCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const UserCreateNestedOneWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateNestedOneWithoutProcedureTimeslotInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]), + user: z.lazy(() => UserCreateNestedOneWithoutProcedureTimeslotInput_schema_1.UserCreateNestedOneWithoutProcedureTimeslotInputObjectSchema) +}).strict(); +exports.ProcedureTimeslotCreateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCreateManyInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateManyInput.schema.js new file mode 100644 index 00000000..90e421f5 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateManyInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateManyInputObjectZodSchema = exports.ProcedureTimeslotCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.ProcedureTimeslotCreateManyInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..010004a9 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"); +const ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateOrConnectWithoutUserInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./ProcedureTimeslotWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ProcedureTimeslotCreateWithoutUserInput_schema_1.ProcedureTimeslotCreateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..1b88adbe --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => ProcedureTimeslotCreateWithoutUserInput_schema_1.ProcedureTimeslotCreateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..117945ce --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotCreateWithoutUserInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.ProcedureTimeslotCreateWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotInclude.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotInclude.schema.js new file mode 100644 index 00000000..b2783ffd --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotIncludeObjectZodSchema = exports.ProcedureTimeslotIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.ProcedureTimeslotIncludeObjectSchema = makeSchema(); +exports.ProcedureTimeslotIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotMaxAggregateInput.schema.js new file mode 100644 index 00000000..5266e205 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotMaxAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotMaxAggregateInputObjectZodSchema = exports.ProcedureTimeslotMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.ProcedureTimeslotMaxAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..93319f99 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotMaxOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotMaxOrderByAggregateInputObjectZodSchema = exports.ProcedureTimeslotMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ProcedureTimeslotMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotMinAggregateInput.schema.js new file mode 100644 index 00000000..a28183e5 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotMinAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotMinAggregateInputObjectZodSchema = exports.ProcedureTimeslotMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.ProcedureTimeslotMinAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..7099abf6 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotMinOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotMinOrderByAggregateInputObjectZodSchema = exports.ProcedureTimeslotMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ProcedureTimeslotMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..0d5b89a6 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotNullableScalarRelationFilterObjectZodSchema = exports.ProcedureTimeslotNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotWhereInput_schema_1 = require("./ProcedureTimeslotWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.ProcedureTimeslotNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.ProcedureTimeslotNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..9ea0680e --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotOrderByWithAggregationInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotOrderByWithAggregationInputObjectZodSchema = exports.ProcedureTimeslotOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const ProcedureTimeslotCountOrderByAggregateInput_schema_1 = require("./ProcedureTimeslotCountOrderByAggregateInput.schema"); +const ProcedureTimeslotAvgOrderByAggregateInput_schema_1 = require("./ProcedureTimeslotAvgOrderByAggregateInput.schema"); +const ProcedureTimeslotMaxOrderByAggregateInput_schema_1 = require("./ProcedureTimeslotMaxOrderByAggregateInput.schema"); +const ProcedureTimeslotMinOrderByAggregateInput_schema_1 = require("./ProcedureTimeslotMinOrderByAggregateInput.schema"); +const ProcedureTimeslotSumOrderByAggregateInput_schema_1 = require("./ProcedureTimeslotSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + data: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => ProcedureTimeslotCountOrderByAggregateInput_schema_1.ProcedureTimeslotCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => ProcedureTimeslotAvgOrderByAggregateInput_schema_1.ProcedureTimeslotAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => ProcedureTimeslotMaxOrderByAggregateInput_schema_1.ProcedureTimeslotMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => ProcedureTimeslotMinOrderByAggregateInput_schema_1.ProcedureTimeslotMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => ProcedureTimeslotSumOrderByAggregateInput_schema_1.ProcedureTimeslotSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..f437b75a --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotOrderByWithRelationInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotOrderByWithRelationInputObjectZodSchema = exports.ProcedureTimeslotOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + data: SortOrder_schema_1.SortOrderSchema.optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotOrderByWithRelationInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..d3b62a76 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectZodSchema = exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const JsonWithAggregatesFilter_schema_1 = require("./JsonWithAggregatesFilter.schema"); +const proceduretimeslotscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + data: z.lazy(() => JsonWithAggregatesFilter_schema_1.JsonWithAggregatesFilterObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectSchema = proceduretimeslotscalarwherewithaggregatesinputSchema; +exports.ProcedureTimeslotScalarWhereWithAggregatesInputObjectZodSchema = proceduretimeslotscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotSelect.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotSelect.schema.js new file mode 100644 index 00000000..759f1c76 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotSelect.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotSelectObjectZodSchema = exports.ProcedureTimeslotSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + data: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.ProcedureTimeslotSelectObjectSchema = makeSchema(); +exports.ProcedureTimeslotSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotSumAggregateInput.schema.js new file mode 100644 index 00000000..ff003e14 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotSumAggregateInputObjectZodSchema = exports.ProcedureTimeslotSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.ProcedureTimeslotSumAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..c81984a0 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotSumOrderByAggregateInputObjectZodSchema = exports.ProcedureTimeslotSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ProcedureTimeslotSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateInput.schema.js new file mode 100644 index 00000000..082193d2 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedCreateInputObjectZodSchema = exports.ProcedureTimeslotUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.ProcedureTimeslotUncheckedCreateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..be7e6e01 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"); +const ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateOrConnectWithoutUserInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./ProcedureTimeslotWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ProcedureTimeslotCreateWithoutUserInput_schema_1.ProcedureTimeslotCreateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..dd134f3c --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]) +}).strict(); +exports.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..930cb1d1 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedUpdateInputObjectZodSchema = exports.ProcedureTimeslotUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.ProcedureTimeslotUncheckedUpdateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..65e0b8a3 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateManyInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedUpdateManyInputObjectZodSchema = exports.ProcedureTimeslotUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.ProcedureTimeslotUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..38aac214 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = exports.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"); +const ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateOrConnectWithoutUserInput.schema"); +const ProcedureTimeslotUpsertWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpsertWithoutUserInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput.schema"); +const ProcedureTimeslotUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpdateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ProcedureTimeslotCreateWithoutUserInput_schema_1.ProcedureTimeslotCreateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => ProcedureTimeslotUpsertWithoutUserInput_schema_1.ProcedureTimeslotUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput_schema_1.ProcedureTimeslotUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUpdateWithoutUserInput_schema_1.ProcedureTimeslotUpdateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..8bdb0d53 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateInput.schema.js new file mode 100644 index 00000000..89100da7 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateInputObjectZodSchema = exports.ProcedureTimeslotUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput_schema_1.UserUpdateOneRequiredWithoutProcedureTimeslotNestedInputObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotUpdateInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..7f056780 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateManyMutationInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateManyMutationInputObjectZodSchema = exports.ProcedureTimeslotUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.ProcedureTimeslotUpdateManyMutationInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..73d3a4bd --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectZodSchema = exports.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"); +const ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateOrConnectWithoutUserInput.schema"); +const ProcedureTimeslotUpsertWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpsertWithoutUserInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput.schema"); +const ProcedureTimeslotUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpdateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ProcedureTimeslotCreateWithoutUserInput_schema_1.ProcedureTimeslotCreateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => ProcedureTimeslotCreateOrConnectWithoutUserInput_schema_1.ProcedureTimeslotCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => ProcedureTimeslotUpsertWithoutUserInput_schema_1.ProcedureTimeslotUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput_schema_1.ProcedureTimeslotUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUpdateWithoutUserInput_schema_1.ProcedureTimeslotUpdateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..775ecb1c --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateToOneWithWhereWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotUpdateToOneWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotWhereInput_schema_1 = require("./ProcedureTimeslotWhereInput.schema"); +const ProcedureTimeslotUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpdateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => ProcedureTimeslotUpdateWithoutUserInput_schema_1.ProcedureTimeslotUpdateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.ProcedureTimeslotUpdateToOneWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUpdateToOneWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..606b78c4 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUpdateWithoutUserInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const JsonNullValueInput_schema_1 = require("../enums/JsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + data: z.union([JsonNullValueInput_schema_1.JsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.ProcedureTimeslotUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotUpsertWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotUpsertWithoutUserInput.schema.js new file mode 100644 index 00000000..a93268f0 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotUpsertWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpsertWithoutUserInputObjectZodSchema = exports.ProcedureTimeslotUpsertWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUpdateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema"); +const ProcedureTimeslotCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./ProcedureTimeslotWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => ProcedureTimeslotUpdateWithoutUserInput_schema_1.ProcedureTimeslotUpdateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedUpdateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => ProcedureTimeslotCreateWithoutUserInput_schema_1.ProcedureTimeslotCreateWithoutUserInputObjectSchema), z.lazy(() => ProcedureTimeslotUncheckedCreateWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateWithoutUserInputObjectSchema)]), + where: z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema).optional() +}).strict(); +exports.ProcedureTimeslotUpsertWithoutUserInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotUpsertWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotWhereInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotWhereInput.schema.js new file mode 100644 index 00000000..27bf26b3 --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotWhereInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotWhereInputObjectZodSchema = exports.ProcedureTimeslotWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const JsonFilter_schema_1 = require("./JsonFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const proceduretimeslotwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.ProcedureTimeslotWhereInputObjectSchema), z.lazy(() => exports.ProcedureTimeslotWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.ProcedureTimeslotWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.ProcedureTimeslotWhereInputObjectSchema), z.lazy(() => exports.ProcedureTimeslotWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + data: z.lazy(() => JsonFilter_schema_1.JsonFilterObjectSchema).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.ProcedureTimeslotWhereInputObjectSchema = proceduretimeslotwhereinputSchema; +exports.ProcedureTimeslotWhereInputObjectZodSchema = proceduretimeslotwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/ProcedureTimeslotWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/ProcedureTimeslotWhereUniqueInput.schema.js new file mode 100644 index 00000000..0cb425ad --- /dev/null +++ b/packages/db/shared/schemas/objects/ProcedureTimeslotWhereUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotWhereUniqueInputObjectZodSchema = exports.ProcedureTimeslotWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int().optional() +}).strict(); +exports.ProcedureTimeslotWhereUniqueInputObjectSchema = makeSchema(); +exports.ProcedureTimeslotWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ServiceLineAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineAvgAggregateInput.schema.js index 63577cfb..1ae66612 100644 --- a/packages/db/shared/schemas/objects/ServiceLineAvgAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineAvgAggregateInput.schema.js @@ -39,6 +39,7 @@ const makeSchema = () => z.object({ id: z.literal(true).optional(), claimId: z.literal(true).optional(), paymentId: z.literal(true).optional(), + allowedAmount: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineAvgOrderByAggregateInput.schema.js index 9abc7247..e8ad4653 100644 --- a/packages/db/shared/schemas/objects/ServiceLineAvgOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineAvgOrderByAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), claimId: SortOrder_schema_1.SortOrderSchema.optional(), paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + allowedAmount: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCountAggregateInput.schema.js index 4a07fe05..4d7a67f6 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCountAggregateInput.schema.js @@ -45,6 +45,9 @@ const makeSchema = () => z.object({ arch: z.literal(true).optional(), toothNumber: z.literal(true).optional(), toothSurface: z.literal(true).optional(), + icn: z.literal(true).optional(), + paidCode: z.literal(true).optional(), + allowedAmount: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCountOrderByAggregateInput.schema.js index 71c6cf71..2eb6aac4 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCountOrderByAggregateInput.schema.js @@ -46,6 +46,9 @@ const makeSchema = () => z.object({ arch: SortOrder_schema_1.SortOrderSchema.optional(), toothNumber: SortOrder_schema_1.SortOrderSchema.optional(), toothSurface: SortOrder_schema_1.SortOrderSchema.optional(), + icn: SortOrder_schema_1.SortOrderSchema.optional(), + paidCode: SortOrder_schema_1.SortOrderSchema.optional(), + allowedAmount: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateInput.schema.js index 7911eac9..e751ca3f 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateInput.schema.js @@ -52,6 +52,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateManyClaimInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateManyClaimInput.schema.js index 68e4fa84..0b1b458f 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateManyClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateManyClaimInput.schema.js @@ -51,6 +51,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateManyInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateManyInput.schema.js index 5058d631..14c7abec 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateManyInput.schema.js @@ -52,6 +52,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateManyPaymentInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateManyPaymentInput.schema.js index e979ba27..8382f7c3 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateManyPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateManyPaymentInput.schema.js @@ -51,6 +51,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateWithoutClaimInput.schema.js index 2dcf03dd..663ebfbd 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateWithoutClaimInput.schema.js @@ -51,6 +51,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateWithoutPaymentInput.schema.js index 64b3ca05..2338dcf1 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateWithoutPaymentInput.schema.js @@ -51,6 +51,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineCreateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineCreateWithoutServiceLineTransactionsInput.schema.js index 0703d521..e0e80da5 100644 --- a/packages/db/shared/schemas/objects/ServiceLineCreateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineCreateWithoutServiceLineTransactionsInput.schema.js @@ -51,6 +51,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineMaxAggregateInput.schema.js index f52d546c..b8d5b400 100644 --- a/packages/db/shared/schemas/objects/ServiceLineMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineMaxAggregateInput.schema.js @@ -45,6 +45,9 @@ const makeSchema = () => z.object({ arch: z.literal(true).optional(), toothNumber: z.literal(true).optional(), toothSurface: z.literal(true).optional(), + icn: z.literal(true).optional(), + paidCode: z.literal(true).optional(), + allowedAmount: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineMaxOrderByAggregateInput.schema.js index 6e4c5118..42ba5cbb 100644 --- a/packages/db/shared/schemas/objects/ServiceLineMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineMaxOrderByAggregateInput.schema.js @@ -46,6 +46,9 @@ const makeSchema = () => z.object({ arch: SortOrder_schema_1.SortOrderSchema.optional(), toothNumber: SortOrder_schema_1.SortOrderSchema.optional(), toothSurface: SortOrder_schema_1.SortOrderSchema.optional(), + icn: SortOrder_schema_1.SortOrderSchema.optional(), + paidCode: SortOrder_schema_1.SortOrderSchema.optional(), + allowedAmount: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineMinAggregateInput.schema.js index 365388c4..9fc778d7 100644 --- a/packages/db/shared/schemas/objects/ServiceLineMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineMinAggregateInput.schema.js @@ -45,6 +45,9 @@ const makeSchema = () => z.object({ arch: z.literal(true).optional(), toothNumber: z.literal(true).optional(), toothSurface: z.literal(true).optional(), + icn: z.literal(true).optional(), + paidCode: z.literal(true).optional(), + allowedAmount: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineMinOrderByAggregateInput.schema.js index b8758905..e24fb940 100644 --- a/packages/db/shared/schemas/objects/ServiceLineMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineMinOrderByAggregateInput.schema.js @@ -46,6 +46,9 @@ const makeSchema = () => z.object({ arch: SortOrder_schema_1.SortOrderSchema.optional(), toothNumber: SortOrder_schema_1.SortOrderSchema.optional(), toothSurface: SortOrder_schema_1.SortOrderSchema.optional(), + icn: SortOrder_schema_1.SortOrderSchema.optional(), + paidCode: SortOrder_schema_1.SortOrderSchema.optional(), + allowedAmount: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineOrderByWithAggregationInput.schema.js index 92d7f0b5..5ee1aa74 100644 --- a/packages/db/shared/schemas/objects/ServiceLineOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineOrderByWithAggregationInput.schema.js @@ -52,6 +52,9 @@ const makeSchema = () => z.object({ arch: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), toothNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), toothSurface: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + icn: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + paidCode: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + allowedAmount: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineOrderByWithRelationInput.schema.js index 0ed4d86a..053e3250 100644 --- a/packages/db/shared/schemas/objects/ServiceLineOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineOrderByWithRelationInput.schema.js @@ -50,6 +50,9 @@ const makeSchema = () => z.object({ arch: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), toothNumber: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), toothSurface: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + icn: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + paidCode: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + allowedAmount: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineScalarWhereInput.schema.js index d914426d..7b95b176 100644 --- a/packages/db/shared/schemas/objects/ServiceLineScalarWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineScalarWhereInput.schema.js @@ -45,6 +45,7 @@ const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const StringFilter_schema_1 = require("./StringFilter.schema"); const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const DecimalNullableFilter_schema_1 = require("./DecimalNullableFilter.schema"); const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); const EnumServiceLineStatusFilter_schema_1 = require("./EnumServiceLineStatusFilter.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); @@ -62,6 +63,17 @@ const servicelinescalarwhereinputSchema = z.object({ arch: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), toothNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), toothSurface: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + icn: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + paidCode: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + allowedAmount: z.union([z.lazy(() => DecimalNullableFilter_schema_1.DecimalNullableFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + })]).optional().nullable(), totalBilled: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineScalarWhereWithAggregatesInput.schema.js index 1a8ab994..4c1679f5 100644 --- a/packages/db/shared/schemas/objects/ServiceLineScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineScalarWhereWithAggregatesInput.schema.js @@ -45,6 +45,7 @@ const IntNullableWithAggregatesFilter_schema_1 = require("./IntNullableWithAggre const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); const DateTimeWithAggregatesFilter_schema_1 = require("./DateTimeWithAggregatesFilter.schema"); const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); +const DecimalNullableWithAggregatesFilter_schema_1 = require("./DecimalNullableWithAggregatesFilter.schema"); const DecimalWithAggregatesFilter_schema_1 = require("./DecimalWithAggregatesFilter.schema"); const EnumServiceLineStatusWithAggregatesFilter_schema_1 = require("./EnumServiceLineStatusWithAggregatesFilter.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); @@ -62,6 +63,17 @@ const servicelinescalarwherewithaggregatesinputSchema = z.object({ arch: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), toothNumber: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), toothSurface: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + icn: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + paidCode: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + allowedAmount: z.union([z.lazy(() => DecimalNullableWithAggregatesFilter_schema_1.DecimalNullableWithAggregatesFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + })]).optional().nullable(), totalBilled: z.union([z.lazy(() => DecimalWithAggregatesFilter_schema_1.DecimalWithAggregatesFilterObjectSchema), z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineSelect.schema.js b/packages/db/shared/schemas/objects/ServiceLineSelect.schema.js index 94e20dff..251741c8 100644 --- a/packages/db/shared/schemas/objects/ServiceLineSelect.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineSelect.schema.js @@ -49,6 +49,9 @@ const makeSchema = () => z.object({ arch: z.boolean().optional(), toothNumber: z.boolean().optional(), toothSurface: z.boolean().optional(), + icn: z.boolean().optional(), + paidCode: z.boolean().optional(), + allowedAmount: z.boolean().optional(), totalBilled: z.boolean().optional(), totalPaid: z.boolean().optional(), totalAdjusted: z.boolean().optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineSumAggregateInput.schema.js index 81199501..5f5f69dc 100644 --- a/packages/db/shared/schemas/objects/ServiceLineSumAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineSumAggregateInput.schema.js @@ -39,6 +39,7 @@ const makeSchema = () => z.object({ id: z.literal(true).optional(), claimId: z.literal(true).optional(), paymentId: z.literal(true).optional(), + allowedAmount: z.literal(true).optional(), totalBilled: z.literal(true).optional(), totalPaid: z.literal(true).optional(), totalAdjusted: z.literal(true).optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineSumOrderByAggregateInput.schema.js index 9440e57c..d33f4bc3 100644 --- a/packages/db/shared/schemas/objects/ServiceLineSumOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineSumOrderByAggregateInput.schema.js @@ -40,6 +40,7 @@ const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), claimId: SortOrder_schema_1.SortOrderSchema.optional(), paymentId: SortOrder_schema_1.SortOrderSchema.optional(), + allowedAmount: SortOrder_schema_1.SortOrderSchema.optional(), totalBilled: SortOrder_schema_1.SortOrderSchema.optional(), totalPaid: SortOrder_schema_1.SortOrderSchema.optional(), totalAdjusted: SortOrder_schema_1.SortOrderSchema.optional(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateInput.schema.js index 0aa3edd3..1b40090e 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateInput.schema.js @@ -53,6 +53,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutClaimInput.schema.js index 56793fdc..d737548d 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutClaimInput.schema.js @@ -52,6 +52,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutPaymentInput.schema.js index c7c88e4a..e4e9974f 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutPaymentInput.schema.js @@ -52,6 +52,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema.js index b56fafdd..6d613a23 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema.js @@ -52,6 +52,17 @@ const makeSchema = () => z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }).optional().nullable(), totalBilled: z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateInput.schema.js index 3054918a..8471a587 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -60,6 +61,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyInput.schema.js index b5586e72..85f26725 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -59,6 +60,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutClaimInput.schema.js index 46920c4b..fea382ea 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutClaimInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -58,6 +59,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutPaymentInput.schema.js index a8f8672c..a23cc935 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateManyWithoutPaymentInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -58,6 +59,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutClaimInput.schema.js index 6f988379..92ea54f3 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutClaimInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -59,6 +60,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutPaymentInput.schema.js index 314f6618..39463403 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutPaymentInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -59,6 +60,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js index 8372124b..a6c235db 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema.js @@ -45,6 +45,7 @@ const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFie const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -59,6 +60,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUpdateInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUpdateInput.schema.js index 2d586597..344daf05 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUpdateInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -57,6 +58,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUpdateManyMutationInput.schema.js index 334a4f78..eb3bdf07 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUpdateManyMutationInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -54,6 +55,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutClaimInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutClaimInput.schema.js index f5838f94..0ddf42e6 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutClaimInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutClaimInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -56,6 +57,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutPaymentInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutPaymentInput.schema.js index 8725aaa0..18529513 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutPaymentInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutPaymentInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -56,6 +57,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutServiceLineTransactionsInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutServiceLineTransactionsInput.schema.js index 1a80bb70..0c6ee592 100644 --- a/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutServiceLineTransactionsInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineUpdateWithoutServiceLineTransactionsInput.schema.js @@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema"); const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableDecimalFieldUpdateOperationsInput_schema_1 = require("./NullableDecimalFieldUpdateOperationsInput.schema"); const DecimalFieldUpdateOperationsInput_schema_1 = require("./DecimalFieldUpdateOperationsInput.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); const EnumServiceLineStatusFieldUpdateOperationsInput_schema_1 = require("./EnumServiceLineStatusFieldUpdateOperationsInput.schema"); @@ -56,6 +57,17 @@ const makeSchema = () => z.object({ arch: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), toothSurface: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + icn: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + paidCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + allowedAmount: z.union([z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + }), z.lazy(() => NullableDecimalFieldUpdateOperationsInput_schema_1.NullableDecimalFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), totalBilled: z.union([z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ServiceLineWhereInput.schema.js b/packages/db/shared/schemas/objects/ServiceLineWhereInput.schema.js index 05cbe7ea..79b2cf4e 100644 --- a/packages/db/shared/schemas/objects/ServiceLineWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/ServiceLineWhereInput.schema.js @@ -45,6 +45,7 @@ const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema"); const StringFilter_schema_1 = require("./StringFilter.schema"); const DateTimeFilter_schema_1 = require("./DateTimeFilter.schema"); const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const DecimalNullableFilter_schema_1 = require("./DecimalNullableFilter.schema"); const DecimalFilter_schema_1 = require("./DecimalFilter.schema"); const EnumServiceLineStatusFilter_schema_1 = require("./EnumServiceLineStatusFilter.schema"); const ServiceLineStatus_schema_1 = require("../enums/ServiceLineStatus.schema"); @@ -67,6 +68,17 @@ const servicelinewhereinputSchema = z.object({ arch: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), toothNumber: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), toothSurface: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + icn: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + paidCode: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + allowedAmount: z.union([z.lazy(() => DecimalNullableFilter_schema_1.DecimalNullableFilterObjectSchema), z.union([ + z.number(), + z.string(), + z.instanceof(decimal_js_1.default), + z.instanceof(prisma_1.Prisma.Decimal), + decimal_helpers_1.DecimalJSLikeSchema, + ]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), { + message: "Field 'allowedAmount' must be a Decimal", + })]).optional().nullable(), totalBilled: z.union([z.lazy(() => DecimalFilter_schema_1.DecimalFilterObjectSchema), z.union([ z.number(), z.string(), diff --git a/packages/db/shared/schemas/objects/ShoppingVendorArgs.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorArgs.schema.js new file mode 100644 index 00000000..44796c70 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorArgsObjectZodSchema = exports.ShoppingVendorArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./ShoppingVendorInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema).optional(), + include: z.lazy(() => ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema).optional() +}).strict(); +exports.ShoppingVendorArgsObjectSchema = makeSchema(); +exports.ShoppingVendorArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorAvgAggregateInput.schema.js new file mode 100644 index 00000000..aacc3293 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorAvgAggregateInputObjectZodSchema = exports.ShoppingVendorAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.ShoppingVendorAvgAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..e908672d --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorAvgOrderByAggregateInputObjectZodSchema = exports.ShoppingVendorAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ShoppingVendorAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCountAggregateInput.schema.js new file mode 100644 index 00000000..669d79cb --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCountAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCountAggregateInputObjectZodSchema = exports.ShoppingVendorCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + vendorName: z.literal(true).optional(), + websiteUrl: z.literal(true).optional(), + loginUsername: z.literal(true).optional(), + loginPassword: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.ShoppingVendorCountAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..78e91e25 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCountOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCountOrderByAggregateInputObjectZodSchema = exports.ShoppingVendorCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + vendorName: SortOrder_schema_1.SortOrderSchema.optional(), + websiteUrl: SortOrder_schema_1.SortOrderSchema.optional(), + loginUsername: SortOrder_schema_1.SortOrderSchema.optional(), + loginPassword: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ShoppingVendorCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateInput.schema.js new file mode 100644 index 00000000..613a94da --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateInputObjectZodSchema = exports.ShoppingVendorCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateNestedOneWithoutShoppingVendorsInput_schema_1 = require("./UserCreateNestedOneWithoutShoppingVendorsInput.schema"); +const makeSchema = () => z.object({ + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.lazy(() => UserCreateNestedOneWithoutShoppingVendorsInput_schema_1.UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema) +}).strict(); +exports.ShoppingVendorCreateInputObjectSchema = makeSchema(); +exports.ShoppingVendorCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateManyInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateManyInput.schema.js new file mode 100644 index 00000000..93f98bd0 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateManyInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateManyInputObjectZodSchema = exports.ShoppingVendorCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string() +}).strict(); +exports.ShoppingVendorCreateManyInputObjectSchema = makeSchema(); +exports.ShoppingVendorCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateManyUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateManyUserInput.schema.js new file mode 100644 index 00000000..941d6826 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateManyUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateManyUserInputObjectZodSchema = exports.ShoppingVendorCreateManyUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string() +}).strict(); +exports.ShoppingVendorCreateManyUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorCreateManyUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateManyUserInputEnvelope.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateManyUserInputEnvelope.schema.js new file mode 100644 index 00000000..68e11917 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateManyUserInputEnvelope.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateManyUserInputEnvelopeObjectZodSchema = exports.ShoppingVendorCreateManyUserInputEnvelopeObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorCreateManyUserInput_schema_1 = require("./ShoppingVendorCreateManyUserInput.schema"); +const makeSchema = () => z.object({ + data: z.union([z.lazy(() => ShoppingVendorCreateManyUserInput_schema_1.ShoppingVendorCreateManyUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateManyUserInput_schema_1.ShoppingVendorCreateManyUserInputObjectSchema).array()]), + skipDuplicates: z.boolean().optional() +}).strict(); +exports.ShoppingVendorCreateManyUserInputEnvelopeObjectSchema = makeSchema(); +exports.ShoppingVendorCreateManyUserInputEnvelopeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateNestedManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateNestedManyWithoutUserInput.schema.js new file mode 100644 index 00000000..7ff1df01 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateNestedManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateNestedManyWithoutUserInputObjectZodSchema = exports.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorCreateWithoutUserInput_schema_1 = require("./ShoppingVendorCreateWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"); +const ShoppingVendorCreateOrConnectWithoutUserInput_schema_1 = require("./ShoppingVendorCreateOrConnectWithoutUserInput.schema"); +const ShoppingVendorCreateManyUserInputEnvelope_schema_1 = require("./ShoppingVendorCreateManyUserInputEnvelope.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelope_schema_1.ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..a4d57e20 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateOrConnectWithoutUserInputObjectZodSchema = exports.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorCreateWithoutUserInput_schema_1 = require("./ShoppingVendorCreateWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..1d1ca18a --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorCreateWithoutUserInput.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateWithoutUserInputObjectZodSchema = exports.ShoppingVendorCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string() +}).strict(); +exports.ShoppingVendorCreateWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorInclude.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorInclude.schema.js new file mode 100644 index 00000000..04c75542 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorIncludeObjectZodSchema = exports.ShoppingVendorIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorIncludeObjectSchema = makeSchema(); +exports.ShoppingVendorIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorListRelationFilter.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorListRelationFilter.schema.js new file mode 100644 index 00000000..aac45d5b --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorListRelationFilter.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorListRelationFilterObjectZodSchema = exports.ShoppingVendorListRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereInput_schema_1 = require("./ShoppingVendorWhereInput.schema"); +const makeSchema = () => z.object({ + every: z.lazy(() => ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema).optional(), + some: z.lazy(() => ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema).optional(), + none: z.lazy(() => ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema).optional() +}).strict(); +exports.ShoppingVendorListRelationFilterObjectSchema = makeSchema(); +exports.ShoppingVendorListRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorMaxAggregateInput.schema.js new file mode 100644 index 00000000..6198405a --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorMaxAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorMaxAggregateInputObjectZodSchema = exports.ShoppingVendorMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + vendorName: z.literal(true).optional(), + websiteUrl: z.literal(true).optional(), + loginUsername: z.literal(true).optional(), + loginPassword: z.literal(true).optional() +}).strict(); +exports.ShoppingVendorMaxAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..76a8f74d --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorMaxOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorMaxOrderByAggregateInputObjectZodSchema = exports.ShoppingVendorMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + vendorName: SortOrder_schema_1.SortOrderSchema.optional(), + websiteUrl: SortOrder_schema_1.SortOrderSchema.optional(), + loginUsername: SortOrder_schema_1.SortOrderSchema.optional(), + loginPassword: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ShoppingVendorMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorMinAggregateInput.schema.js new file mode 100644 index 00000000..7e806304 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorMinAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorMinAggregateInputObjectZodSchema = exports.ShoppingVendorMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + vendorName: z.literal(true).optional(), + websiteUrl: z.literal(true).optional(), + loginUsername: z.literal(true).optional(), + loginPassword: z.literal(true).optional() +}).strict(); +exports.ShoppingVendorMinAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..9b98ae8e --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorMinOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorMinOrderByAggregateInputObjectZodSchema = exports.ShoppingVendorMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + vendorName: SortOrder_schema_1.SortOrderSchema.optional(), + websiteUrl: SortOrder_schema_1.SortOrderSchema.optional(), + loginUsername: SortOrder_schema_1.SortOrderSchema.optional(), + loginPassword: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ShoppingVendorMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorOrderByRelationAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorOrderByRelationAggregateInput.schema.js new file mode 100644 index 00000000..63dd2638 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorOrderByRelationAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorOrderByRelationAggregateInputObjectZodSchema = exports.ShoppingVendorOrderByRelationAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + _count: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ShoppingVendorOrderByRelationAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorOrderByRelationAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..df6bfa87 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorOrderByWithAggregationInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorOrderByWithAggregationInputObjectZodSchema = exports.ShoppingVendorOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const ShoppingVendorCountOrderByAggregateInput_schema_1 = require("./ShoppingVendorCountOrderByAggregateInput.schema"); +const ShoppingVendorAvgOrderByAggregateInput_schema_1 = require("./ShoppingVendorAvgOrderByAggregateInput.schema"); +const ShoppingVendorMaxOrderByAggregateInput_schema_1 = require("./ShoppingVendorMaxOrderByAggregateInput.schema"); +const ShoppingVendorMinOrderByAggregateInput_schema_1 = require("./ShoppingVendorMinOrderByAggregateInput.schema"); +const ShoppingVendorSumOrderByAggregateInput_schema_1 = require("./ShoppingVendorSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + vendorName: SortOrder_schema_1.SortOrderSchema.optional(), + websiteUrl: SortOrder_schema_1.SortOrderSchema.optional(), + loginUsername: SortOrder_schema_1.SortOrderSchema.optional(), + loginPassword: SortOrder_schema_1.SortOrderSchema.optional(), + _count: z.lazy(() => ShoppingVendorCountOrderByAggregateInput_schema_1.ShoppingVendorCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => ShoppingVendorAvgOrderByAggregateInput_schema_1.ShoppingVendorAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => ShoppingVendorMaxOrderByAggregateInput_schema_1.ShoppingVendorMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => ShoppingVendorMinOrderByAggregateInput_schema_1.ShoppingVendorMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => ShoppingVendorSumOrderByAggregateInput_schema_1.ShoppingVendorSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.ShoppingVendorOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.ShoppingVendorOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..bcf28d16 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorOrderByWithRelationInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorOrderByWithRelationInputObjectZodSchema = exports.ShoppingVendorOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + vendorName: SortOrder_schema_1.SortOrderSchema.optional(), + websiteUrl: SortOrder_schema_1.SortOrderSchema.optional(), + loginUsername: SortOrder_schema_1.SortOrderSchema.optional(), + loginPassword: SortOrder_schema_1.SortOrderSchema.optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.ShoppingVendorOrderByWithRelationInputObjectSchema = makeSchema(); +exports.ShoppingVendorOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorScalarWhereInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorScalarWhereInput.schema.js new file mode 100644 index 00000000..c92a7bb0 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorScalarWhereInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorScalarWhereInputObjectZodSchema = exports.ShoppingVendorScalarWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const shoppingvendorscalarwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => exports.ShoppingVendorScalarWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.ShoppingVendorScalarWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => exports.ShoppingVendorScalarWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + vendorName: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + websiteUrl: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + loginUsername: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + loginPassword: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional() +}).strict(); +exports.ShoppingVendorScalarWhereInputObjectSchema = shoppingvendorscalarwhereinputSchema; +exports.ShoppingVendorScalarWhereInputObjectZodSchema = shoppingvendorscalarwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/ShoppingVendorScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..f66edce0 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorScalarWhereWithAggregatesInputObjectZodSchema = exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); +const shoppingvendorscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + vendorName: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + websiteUrl: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + loginUsername: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + loginPassword: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional() +}).strict(); +exports.ShoppingVendorScalarWhereWithAggregatesInputObjectSchema = shoppingvendorscalarwherewithaggregatesinputSchema; +exports.ShoppingVendorScalarWhereWithAggregatesInputObjectZodSchema = shoppingvendorscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/ShoppingVendorSelect.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorSelect.schema.js new file mode 100644 index 00000000..d3a86179 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorSelect.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorSelectObjectZodSchema = exports.ShoppingVendorSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + vendorName: z.boolean().optional(), + websiteUrl: z.boolean().optional(), + loginUsername: z.boolean().optional(), + loginPassword: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorSelectObjectSchema = makeSchema(); +exports.ShoppingVendorSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorSumAggregateInput.schema.js new file mode 100644 index 00000000..f09c1d73 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorSumAggregateInputObjectZodSchema = exports.ShoppingVendorSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.ShoppingVendorSumAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..d1137141 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorSumOrderByAggregateInputObjectZodSchema = exports.ShoppingVendorSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.ShoppingVendorSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.ShoppingVendorSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateInput.schema.js new file mode 100644 index 00000000..fdb15d91 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedCreateInputObjectZodSchema = exports.ShoppingVendorUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string() +}).strict(); +exports.ShoppingVendorUncheckedCreateInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema.js new file mode 100644 index 00000000..d5019b09 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = exports.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorCreateWithoutUserInput_schema_1 = require("./ShoppingVendorCreateWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"); +const ShoppingVendorCreateOrConnectWithoutUserInput_schema_1 = require("./ShoppingVendorCreateOrConnectWithoutUserInput.schema"); +const ShoppingVendorCreateManyUserInputEnvelope_schema_1 = require("./ShoppingVendorCreateManyUserInputEnvelope.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelope_schema_1.ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(), + connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional() +}).strict(); +exports.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..53684aa0 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedCreateWithoutUserInputObjectZodSchema = exports.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string() +}).strict(); +exports.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..f3a1d59b --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedUpdateInputObjectZodSchema = exports.ShoppingVendorUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorUncheckedUpdateInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..d28fd377 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedUpdateManyInputObjectZodSchema = exports.ShoppingVendorUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema.js new file mode 100644 index 00000000..54d09628 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectZodSchema = exports.ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..bca9e971 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = exports.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorCreateWithoutUserInput_schema_1 = require("./ShoppingVendorCreateWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"); +const ShoppingVendorCreateOrConnectWithoutUserInput_schema_1 = require("./ShoppingVendorCreateOrConnectWithoutUserInput.schema"); +const ShoppingVendorUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema"); +const ShoppingVendorCreateManyUserInputEnvelope_schema_1 = require("./ShoppingVendorCreateManyUserInputEnvelope.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema"); +const ShoppingVendorUpdateManyWithWhereWithoutUserInput_schema_1 = require("./ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema"); +const ShoppingVendorScalarWhereInput_schema_1 = require("./ShoppingVendorScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelope_schema_1.ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInput_schema_1.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInput_schema_1.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => ShoppingVendorScalarWhereInput_schema_1.ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereInput_schema_1.ShoppingVendorScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..945977a2 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUncheckedUpdateWithoutUserInputObjectZodSchema = exports.ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpdateInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpdateInput.schema.js new file mode 100644 index 00000000..8405cb25 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpdateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateInputObjectZodSchema = exports.ShoppingVendorUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const UserUpdateOneRequiredWithoutShoppingVendorsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema"); +const makeSchema = () => z.object({ + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutShoppingVendorsNestedInput_schema_1.UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema).optional() +}).strict(); +exports.ShoppingVendorUpdateInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..218c52b5 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyMutationInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateManyMutationInputObjectZodSchema = exports.ShoppingVendorUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorUpdateManyMutationInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..2b186f34 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectZodSchema = exports.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorScalarWhereInput_schema_1 = require("./ShoppingVendorScalarWhereInput.schema"); +const ShoppingVendorUpdateManyMutationInput_schema_1 = require("./ShoppingVendorUpdateManyMutationInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ShoppingVendorScalarWhereInput_schema_1.ShoppingVendorScalarWhereInputObjectSchema), + data: z.union([z.lazy(() => ShoppingVendorUpdateManyMutationInput_schema_1.ShoppingVendorUpdateManyMutationInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserInputObjectSchema)]) +}).strict(); +exports.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..f0d896db --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpdateManyWithoutUserNestedInput.schema.js @@ -0,0 +1,61 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateManyWithoutUserNestedInputObjectZodSchema = exports.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorCreateWithoutUserInput_schema_1 = require("./ShoppingVendorCreateWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"); +const ShoppingVendorCreateOrConnectWithoutUserInput_schema_1 = require("./ShoppingVendorCreateOrConnectWithoutUserInput.schema"); +const ShoppingVendorUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema"); +const ShoppingVendorCreateManyUserInputEnvelope_schema_1 = require("./ShoppingVendorCreateManyUserInputEnvelope.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema"); +const ShoppingVendorUpdateManyWithWhereWithoutUserInput_schema_1 = require("./ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema"); +const ShoppingVendorScalarWhereInput_schema_1 = require("./ShoppingVendorScalarWhereInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema).array(), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(), + connectOrCreate: z.union([z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorCreateOrConnectWithoutUserInput_schema_1.ShoppingVendorCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(), + upsert: z.union([z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpsertWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + createMany: z.lazy(() => ShoppingVendorCreateManyUserInputEnvelope_schema_1.ShoppingVendorCreateManyUserInputEnvelopeObjectSchema).optional(), + set: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + disconnect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + delete: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + connect: z.union([z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema).array()]).optional(), + update: z.union([z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateWithWhereUniqueWithoutUserInput_schema_1.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(), + updateMany: z.union([z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInput_schema_1.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUpdateManyWithWhereWithoutUserInput_schema_1.ShoppingVendorUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(), + deleteMany: z.union([z.lazy(() => ShoppingVendorScalarWhereInput_schema_1.ShoppingVendorScalarWhereInputObjectSchema), z.lazy(() => ShoppingVendorScalarWhereInput_schema_1.ShoppingVendorScalarWhereInputObjectSchema).array()]).optional() +}).strict(); +exports.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema.js new file mode 100644 index 00000000..5b9c9d6b --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = exports.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorUpdateWithoutUserInput_schema_1 = require("./ShoppingVendorUpdateWithoutUserInput.schema"); +const ShoppingVendorUncheckedUpdateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), + data: z.union([z.lazy(() => ShoppingVendorUpdateWithoutUserInput_schema_1.ShoppingVendorUpdateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedUpdateWithoutUserInput_schema_1.ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpdateWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..c4e7432f --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpdateWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateWithoutUserInputObjectZodSchema = exports.ShoppingVendorUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const makeSchema = () => z.object({ + vendorName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + websiteUrl: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginUsername: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + loginPassword: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema.js new file mode 100644 index 00000000..08d3ed22 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = exports.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorUpdateWithoutUserInput_schema_1 = require("./ShoppingVendorUpdateWithoutUserInput.schema"); +const ShoppingVendorUncheckedUpdateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedUpdateWithoutUserInput.schema"); +const ShoppingVendorCreateWithoutUserInput_schema_1 = require("./ShoppingVendorCreateWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema), + update: z.union([z.lazy(() => ShoppingVendorUpdateWithoutUserInput_schema_1.ShoppingVendorUpdateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedUpdateWithoutUserInput_schema_1.ShoppingVendorUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => ShoppingVendorCreateWithoutUserInput_schema_1.ShoppingVendorCreateWithoutUserInputObjectSchema), z.lazy(() => ShoppingVendorUncheckedCreateWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectSchema = makeSchema(); +exports.ShoppingVendorUpsertWithWhereUniqueWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/ShoppingVendorWhereInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorWhereInput.schema.js new file mode 100644 index 00000000..2ef18fc4 --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorWhereInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorWhereInputObjectZodSchema = exports.ShoppingVendorWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const shoppingvendorwhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.ShoppingVendorWhereInputObjectSchema), z.lazy(() => exports.ShoppingVendorWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.ShoppingVendorWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.ShoppingVendorWhereInputObjectSchema), z.lazy(() => exports.ShoppingVendorWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + vendorName: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + websiteUrl: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + loginUsername: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + loginPassword: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.ShoppingVendorWhereInputObjectSchema = shoppingvendorwhereinputSchema; +exports.ShoppingVendorWhereInputObjectZodSchema = shoppingvendorwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/ShoppingVendorWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/ShoppingVendorWhereUniqueInput.schema.js new file mode 100644 index 00000000..86d4954d --- /dev/null +++ b/packages/db/shared/schemas/objects/ShoppingVendorWhereUniqueInput.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorWhereUniqueInputObjectZodSchema = exports.ShoppingVendorWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional() +}).strict(); +exports.ShoppingVendorWhereUniqueInputObjectSchema = makeSchema(); +exports.ShoppingVendorWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsArgs.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsArgs.schema.js new file mode 100644 index 00000000..df67ac87 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsArgs.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsArgsObjectZodSchema = exports.TwilioSettingsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./TwilioSettingsInclude.schema"); +const makeSchema = () => z.object({ + select: z.lazy(() => TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema).optional(), + include: z.lazy(() => TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema).optional() +}).strict(); +exports.TwilioSettingsArgsObjectSchema = makeSchema(); +exports.TwilioSettingsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsAvgAggregateInput.schema.js new file mode 100644 index 00000000..e7dc28e5 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsAvgAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsAvgAggregateInputObjectZodSchema = exports.TwilioSettingsAvgAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.TwilioSettingsAvgAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsAvgOrderByAggregateInput.schema.js new file mode 100644 index 00000000..74ec916b --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsAvgOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsAvgOrderByAggregateInputObjectZodSchema = exports.TwilioSettingsAvgOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.TwilioSettingsAvgOrderByAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCountAggregateInput.schema.js new file mode 100644 index 00000000..4b609d4e --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCountAggregateInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCountAggregateInputObjectZodSchema = exports.TwilioSettingsCountAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + accountSid: z.literal(true).optional(), + authToken: z.literal(true).optional(), + phoneNumber: z.literal(true).optional(), + greetingMessage: z.literal(true).optional(), + templates: z.literal(true).optional(), + _all: z.literal(true).optional() +}).strict(); +exports.TwilioSettingsCountAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsCountAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCountOrderByAggregateInput.schema.js new file mode 100644 index 00000000..32a6e313 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCountOrderByAggregateInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCountOrderByAggregateInputObjectZodSchema = exports.TwilioSettingsCountOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + accountSid: SortOrder_schema_1.SortOrderSchema.optional(), + authToken: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + greetingMessage: SortOrder_schema_1.SortOrderSchema.optional(), + templates: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.TwilioSettingsCountOrderByAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCreateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCreateInput.schema.js new file mode 100644 index 00000000..17d9c376 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCreateInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateInputObjectZodSchema = exports.TwilioSettingsCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const UserCreateNestedOneWithoutTwilioSettingsInput_schema_1 = require("./UserCreateNestedOneWithoutTwilioSettingsInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional(), + user: z.lazy(() => UserCreateNestedOneWithoutTwilioSettingsInput_schema_1.UserCreateNestedOneWithoutTwilioSettingsInputObjectSchema) +}).strict(); +exports.TwilioSettingsCreateInputObjectSchema = makeSchema(); +exports.TwilioSettingsCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCreateManyInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCreateManyInput.schema.js new file mode 100644 index 00000000..239717f6 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCreateManyInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateManyInputObjectZodSchema = exports.TwilioSettingsCreateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsCreateManyInputObjectSchema = makeSchema(); +exports.TwilioSettingsCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..4c91b173 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateNestedOneWithoutUserInputObjectZodSchema = exports.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsCreateWithoutUserInput_schema_1 = require("./TwilioSettingsCreateWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"); +const TwilioSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./TwilioSettingsCreateOrConnectWithoutUserInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./TwilioSettingsWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInput_schema_1.TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => TwilioSettingsCreateOrConnectWithoutUserInput_schema_1.TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCreateOrConnectWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCreateOrConnectWithoutUserInput.schema.js new file mode 100644 index 00000000..36b2ecf5 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCreateOrConnectWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateOrConnectWithoutUserInputObjectZodSchema = exports.TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsCreateWithoutUserInput_schema_1 = require("./TwilioSettingsCreateWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInput_schema_1.TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]) +}).strict(); +exports.TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsCreateOrConnectWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..c8032a6d --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsCreateWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateWithoutUserInputObjectZodSchema = exports.TwilioSettingsCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsCreateWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsInclude.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsInclude.schema.js new file mode 100644 index 00000000..5ebffc69 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsInclude.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsIncludeObjectZodSchema = exports.TwilioSettingsIncludeObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.TwilioSettingsIncludeObjectSchema = makeSchema(); +exports.TwilioSettingsIncludeObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsMaxAggregateInput.schema.js new file mode 100644 index 00000000..2d80fcb1 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsMaxAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsMaxAggregateInputObjectZodSchema = exports.TwilioSettingsMaxAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + accountSid: z.literal(true).optional(), + authToken: z.literal(true).optional(), + phoneNumber: z.literal(true).optional(), + greetingMessage: z.literal(true).optional() +}).strict(); +exports.TwilioSettingsMaxAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsMaxOrderByAggregateInput.schema.js new file mode 100644 index 00000000..f9d218aa --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsMaxOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsMaxOrderByAggregateInputObjectZodSchema = exports.TwilioSettingsMaxOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + accountSid: SortOrder_schema_1.SortOrderSchema.optional(), + authToken: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + greetingMessage: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.TwilioSettingsMaxOrderByAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsMinAggregateInput.schema.js new file mode 100644 index 00000000..06c66cad --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsMinAggregateInput.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsMinAggregateInputObjectZodSchema = exports.TwilioSettingsMinAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional(), + accountSid: z.literal(true).optional(), + authToken: z.literal(true).optional(), + phoneNumber: z.literal(true).optional(), + greetingMessage: z.literal(true).optional() +}).strict(); +exports.TwilioSettingsMinAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsMinOrderByAggregateInput.schema.js new file mode 100644 index 00000000..4268b07a --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsMinOrderByAggregateInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsMinOrderByAggregateInputObjectZodSchema = exports.TwilioSettingsMinOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + accountSid: SortOrder_schema_1.SortOrderSchema.optional(), + authToken: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + greetingMessage: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.TwilioSettingsMinOrderByAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsNullableScalarRelationFilter.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsNullableScalarRelationFilter.schema.js new file mode 100644 index 00000000..38aed453 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsNullableScalarRelationFilter.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsNullableScalarRelationFilterObjectZodSchema = exports.TwilioSettingsNullableScalarRelationFilterObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsWhereInput_schema_1 = require("./TwilioSettingsWhereInput.schema"); +const makeSchema = () => z.object({ + is: z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema).optional().nullable(), + isNot: z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema).optional().nullable() +}).strict(); +exports.TwilioSettingsNullableScalarRelationFilterObjectSchema = makeSchema(); +exports.TwilioSettingsNullableScalarRelationFilterObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsOrderByWithAggregationInput.schema.js new file mode 100644 index 00000000..8c64aaef --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsOrderByWithAggregationInput.schema.js @@ -0,0 +1,60 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsOrderByWithAggregationInputObjectZodSchema = exports.TwilioSettingsOrderByWithAggregationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const TwilioSettingsCountOrderByAggregateInput_schema_1 = require("./TwilioSettingsCountOrderByAggregateInput.schema"); +const TwilioSettingsAvgOrderByAggregateInput_schema_1 = require("./TwilioSettingsAvgOrderByAggregateInput.schema"); +const TwilioSettingsMaxOrderByAggregateInput_schema_1 = require("./TwilioSettingsMaxOrderByAggregateInput.schema"); +const TwilioSettingsMinOrderByAggregateInput_schema_1 = require("./TwilioSettingsMinOrderByAggregateInput.schema"); +const TwilioSettingsSumOrderByAggregateInput_schema_1 = require("./TwilioSettingsSumOrderByAggregateInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + accountSid: SortOrder_schema_1.SortOrderSchema.optional(), + authToken: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + greetingMessage: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + templates: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + _count: z.lazy(() => TwilioSettingsCountOrderByAggregateInput_schema_1.TwilioSettingsCountOrderByAggregateInputObjectSchema).optional(), + _avg: z.lazy(() => TwilioSettingsAvgOrderByAggregateInput_schema_1.TwilioSettingsAvgOrderByAggregateInputObjectSchema).optional(), + _max: z.lazy(() => TwilioSettingsMaxOrderByAggregateInput_schema_1.TwilioSettingsMaxOrderByAggregateInputObjectSchema).optional(), + _min: z.lazy(() => TwilioSettingsMinOrderByAggregateInput_schema_1.TwilioSettingsMinOrderByAggregateInputObjectSchema).optional(), + _sum: z.lazy(() => TwilioSettingsSumOrderByAggregateInput_schema_1.TwilioSettingsSumOrderByAggregateInputObjectSchema).optional() +}).strict(); +exports.TwilioSettingsOrderByWithAggregationInputObjectSchema = makeSchema(); +exports.TwilioSettingsOrderByWithAggregationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsOrderByWithRelationInput.schema.js new file mode 100644 index 00000000..5cbcdfe1 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsOrderByWithRelationInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsOrderByWithRelationInputObjectZodSchema = exports.TwilioSettingsOrderByWithRelationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const SortOrderInput_schema_1 = require("./SortOrderInput.schema"); +const UserOrderByWithRelationInput_schema_1 = require("./UserOrderByWithRelationInput.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional(), + accountSid: SortOrder_schema_1.SortOrderSchema.optional(), + authToken: SortOrder_schema_1.SortOrderSchema.optional(), + phoneNumber: SortOrder_schema_1.SortOrderSchema.optional(), + greetingMessage: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + templates: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(), + user: z.lazy(() => UserOrderByWithRelationInput_schema_1.UserOrderByWithRelationInputObjectSchema).optional() +}).strict(); +exports.TwilioSettingsOrderByWithRelationInputObjectSchema = makeSchema(); +exports.TwilioSettingsOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsScalarWhereWithAggregatesInput.schema.js new file mode 100644 index 00000000..48a89ecc --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsScalarWhereWithAggregatesInput.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsScalarWhereWithAggregatesInputObjectZodSchema = exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema"); +const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema"); +const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema"); +const JsonNullableWithAggregatesFilter_schema_1 = require("./JsonNullableWithAggregatesFilter.schema"); +const twiliosettingsscalarwherewithaggregatesinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + accountSid: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + authToken: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + phoneNumber: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), + greetingMessage: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(), + templates: z.lazy(() => JsonNullableWithAggregatesFilter_schema_1.JsonNullableWithAggregatesFilterObjectSchema).optional() +}).strict(); +exports.TwilioSettingsScalarWhereWithAggregatesInputObjectSchema = twiliosettingsscalarwherewithaggregatesinputSchema; +exports.TwilioSettingsScalarWhereWithAggregatesInputObjectZodSchema = twiliosettingsscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/TwilioSettingsSelect.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsSelect.schema.js new file mode 100644 index 00000000..5813797a --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsSelect.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsSelectObjectZodSchema = exports.TwilioSettingsSelectObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserArgs_schema_1 = require("./UserArgs.schema"); +const makeSchema = () => z.object({ + id: z.boolean().optional(), + userId: z.boolean().optional(), + accountSid: z.boolean().optional(), + authToken: z.boolean().optional(), + phoneNumber: z.boolean().optional(), + greetingMessage: z.boolean().optional(), + templates: z.boolean().optional(), + user: z.union([z.boolean(), z.lazy(() => UserArgs_schema_1.UserArgsObjectSchema)]).optional() +}).strict(); +exports.TwilioSettingsSelectObjectSchema = makeSchema(); +exports.TwilioSettingsSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsSumAggregateInput.schema.js new file mode 100644 index 00000000..47a49333 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsSumAggregateInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsSumAggregateInputObjectZodSchema = exports.TwilioSettingsSumAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.literal(true).optional(), + userId: z.literal(true).optional() +}).strict(); +exports.TwilioSettingsSumAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsSumOrderByAggregateInput.schema.js new file mode 100644 index 00000000..50db02cc --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsSumOrderByAggregateInput.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsSumOrderByAggregateInputObjectZodSchema = exports.TwilioSettingsSumOrderByAggregateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const SortOrder_schema_1 = require("../enums/SortOrder.schema"); +const makeSchema = () => z.object({ + id: SortOrder_schema_1.SortOrderSchema.optional(), + userId: SortOrder_schema_1.SortOrderSchema.optional() +}).strict(); +exports.TwilioSettingsSumOrderByAggregateInputObjectSchema = makeSchema(); +exports.TwilioSettingsSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateInput.schema.js new file mode 100644 index 00000000..b57f15d4 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedCreateInputObjectZodSchema = exports.TwilioSettingsUncheckedCreateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUncheckedCreateInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema.js new file mode 100644 index 00000000..f8452661 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = exports.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsCreateWithoutUserInput_schema_1 = require("./TwilioSettingsCreateWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"); +const TwilioSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./TwilioSettingsCreateOrConnectWithoutUserInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./TwilioSettingsWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInput_schema_1.TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => TwilioSettingsCreateOrConnectWithoutUserInput_schema_1.TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + connect: z.lazy(() => TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateWithoutUserInput.schema.js new file mode 100644 index 00000000..f489a975 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedCreateWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedCreateWithoutUserInputObjectZodSchema = exports.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateInput.schema.js new file mode 100644 index 00000000..ae86f717 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedUpdateInputObjectZodSchema = exports.TwilioSettingsUncheckedUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + accountSid: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + authToken: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + greetingMessage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUncheckedUpdateInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateManyInput.schema.js new file mode 100644 index 00000000..4ebac542 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateManyInput.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedUpdateManyInputObjectZodSchema = exports.TwilioSettingsUncheckedUpdateManyInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + accountSid: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + authToken: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + greetingMessage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUncheckedUpdateManyInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..60e3de55 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = exports.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsCreateWithoutUserInput_schema_1 = require("./TwilioSettingsCreateWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"); +const TwilioSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./TwilioSettingsCreateOrConnectWithoutUserInput.schema"); +const TwilioSettingsUpsertWithoutUserInput_schema_1 = require("./TwilioSettingsUpsertWithoutUserInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema"); +const TwilioSettingsUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUpdateWithoutUserInput.schema"); +const TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInput_schema_1.TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => TwilioSettingsCreateOrConnectWithoutUserInput_schema_1.TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => TwilioSettingsUpsertWithoutUserInput_schema_1.TwilioSettingsUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => TwilioSettingsUpdateToOneWithWhereWithoutUserInput_schema_1.TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUpdateWithoutUserInput_schema_1.TwilioSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1.TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..009c95ff --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUncheckedUpdateWithoutUserInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUncheckedUpdateWithoutUserInputObjectZodSchema = exports.TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + accountSid: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + authToken: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + greetingMessage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUpdateInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUpdateInput.schema.js new file mode 100644 index 00000000..381f6864 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUpdateInput.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateInputObjectZodSchema = exports.TwilioSettingsUpdateInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const UserUpdateOneRequiredWithoutTwilioSettingsNestedInput_schema_1 = require("./UserUpdateOneRequiredWithoutTwilioSettingsNestedInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + accountSid: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + authToken: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + greetingMessage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional(), + user: z.lazy(() => UserUpdateOneRequiredWithoutTwilioSettingsNestedInput_schema_1.UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectSchema).optional() +}).strict(); +exports.TwilioSettingsUpdateInputObjectSchema = makeSchema(); +exports.TwilioSettingsUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUpdateManyMutationInput.schema.js new file mode 100644 index 00000000..fb4f9b72 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUpdateManyMutationInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateManyMutationInputObjectZodSchema = exports.TwilioSettingsUpdateManyMutationInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + accountSid: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + authToken: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + greetingMessage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUpdateManyMutationInputObjectSchema = makeSchema(); +exports.TwilioSettingsUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUpdateOneWithoutUserNestedInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUpdateOneWithoutUserNestedInput.schema.js new file mode 100644 index 00000000..8fb5fab2 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUpdateOneWithoutUserNestedInput.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateOneWithoutUserNestedInputObjectZodSchema = exports.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsCreateWithoutUserInput_schema_1 = require("./TwilioSettingsCreateWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"); +const TwilioSettingsCreateOrConnectWithoutUserInput_schema_1 = require("./TwilioSettingsCreateOrConnectWithoutUserInput.schema"); +const TwilioSettingsUpsertWithoutUserInput_schema_1 = require("./TwilioSettingsUpsertWithoutUserInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./TwilioSettingsWhereInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsUpdateToOneWithWhereWithoutUserInput_schema_1 = require("./TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema"); +const TwilioSettingsUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUpdateWithoutUserInput.schema"); +const TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInput_schema_1.TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => TwilioSettingsCreateOrConnectWithoutUserInput_schema_1.TwilioSettingsCreateOrConnectWithoutUserInputObjectSchema).optional(), + upsert: z.lazy(() => TwilioSettingsUpsertWithoutUserInput_schema_1.TwilioSettingsUpsertWithoutUserInputObjectSchema).optional(), + disconnect: z.union([z.boolean(), z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema)]).optional(), + delete: z.union([z.boolean(), z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema)]).optional(), + connect: z.lazy(() => TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => TwilioSettingsUpdateToOneWithWhereWithoutUserInput_schema_1.TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUpdateWithoutUserInput_schema_1.TwilioSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1.TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema)]).optional() +}).strict(); +exports.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema = makeSchema(); +exports.TwilioSettingsUpdateOneWithoutUserNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema.js new file mode 100644 index 00000000..25cc3f62 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectZodSchema = exports.TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsWhereInput_schema_1 = require("./TwilioSettingsWhereInput.schema"); +const TwilioSettingsUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUpdateWithoutUserInput.schema"); +const TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedUpdateWithoutUserInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => TwilioSettingsUpdateWithoutUserInput_schema_1.TwilioSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1.TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema)]) +}).strict(); +exports.TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsUpdateToOneWithWhereWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUpdateWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUpdateWithoutUserInput.schema.js new file mode 100644 index 00000000..e5b0b237 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUpdateWithoutUserInput.schema.js @@ -0,0 +1,50 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateWithoutUserInputObjectZodSchema = exports.TwilioSettingsUpdateWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema"); +const NullableJsonNullValueInput_schema_1 = require("../enums/NullableJsonNullValueInput.schema"); +const json_helpers_1 = require("../../helpers/json-helpers"); +const makeSchema = () => z.object({ + accountSid: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + authToken: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + phoneNumber: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + greetingMessage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(), + templates: z.union([NullableJsonNullValueInput_schema_1.NullableJsonNullValueInputSchema, json_helpers_1.JsonValueSchema]).optional() +}).strict(); +exports.TwilioSettingsUpdateWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsUpdateWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsUpsertWithoutUserInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsUpsertWithoutUserInput.schema.js new file mode 100644 index 00000000..4c0d5ddd --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsUpsertWithoutUserInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpsertWithoutUserInputObjectZodSchema = exports.TwilioSettingsUpsertWithoutUserInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUpdateWithoutUserInput.schema"); +const TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedUpdateWithoutUserInput.schema"); +const TwilioSettingsCreateWithoutUserInput_schema_1 = require("./TwilioSettingsCreateWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./TwilioSettingsWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => TwilioSettingsUpdateWithoutUserInput_schema_1.TwilioSettingsUpdateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedUpdateWithoutUserInput_schema_1.TwilioSettingsUncheckedUpdateWithoutUserInputObjectSchema)]), + create: z.union([z.lazy(() => TwilioSettingsCreateWithoutUserInput_schema_1.TwilioSettingsCreateWithoutUserInputObjectSchema), z.lazy(() => TwilioSettingsUncheckedCreateWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateWithoutUserInputObjectSchema)]), + where: z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema).optional() +}).strict(); +exports.TwilioSettingsUpsertWithoutUserInputObjectSchema = makeSchema(); +exports.TwilioSettingsUpsertWithoutUserInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/TwilioSettingsWhereInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsWhereInput.schema.js new file mode 100644 index 00000000..4019d754 --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsWhereInput.schema.js @@ -0,0 +1,58 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsWhereInputObjectZodSchema = exports.TwilioSettingsWhereInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFilter_schema_1 = require("./IntFilter.schema"); +const StringFilter_schema_1 = require("./StringFilter.schema"); +const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema"); +const JsonNullableFilter_schema_1 = require("./JsonNullableFilter.schema"); +const UserScalarRelationFilter_schema_1 = require("./UserScalarRelationFilter.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const twiliosettingswhereinputSchema = z.object({ + AND: z.union([z.lazy(() => exports.TwilioSettingsWhereInputObjectSchema), z.lazy(() => exports.TwilioSettingsWhereInputObjectSchema).array()]).optional(), + OR: z.lazy(() => exports.TwilioSettingsWhereInputObjectSchema).array().optional(), + NOT: z.union([z.lazy(() => exports.TwilioSettingsWhereInputObjectSchema), z.lazy(() => exports.TwilioSettingsWhereInputObjectSchema).array()]).optional(), + id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + userId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + accountSid: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + authToken: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + phoneNumber: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), + greetingMessage: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(), + templates: z.lazy(() => JsonNullableFilter_schema_1.JsonNullableFilterObjectSchema).optional(), + user: z.union([z.lazy(() => UserScalarRelationFilter_schema_1.UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema)]).optional() +}).strict(); +exports.TwilioSettingsWhereInputObjectSchema = twiliosettingswhereinputSchema; +exports.TwilioSettingsWhereInputObjectZodSchema = twiliosettingswhereinputSchema; diff --git a/packages/db/shared/schemas/objects/TwilioSettingsWhereUniqueInput.schema.js b/packages/db/shared/schemas/objects/TwilioSettingsWhereUniqueInput.schema.js new file mode 100644 index 00000000..d32452dc --- /dev/null +++ b/packages/db/shared/schemas/objects/TwilioSettingsWhereUniqueInput.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsWhereUniqueInputObjectZodSchema = exports.TwilioSettingsWhereUniqueInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + userId: z.number().int().optional() +}).strict(); +exports.TwilioSettingsWhereUniqueInputObjectSchema = makeSchema(); +exports.TwilioSettingsWhereUniqueInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.js index 97927c2e..261259fb 100644 --- a/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserAvgAggregateInput.schema.js @@ -36,7 +36,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.UserAvgAggregateInputObjectZodSchema = exports.UserAvgAggregateInputObjectSchema = void 0; const z = __importStar(require("zod")); const makeSchema = () => z.object({ - id: z.literal(true).optional() + id: z.literal(true).optional(), + autoBackupHour: z.literal(true).optional(), + usbBackupHour: z.literal(true).optional(), + autoMhCheckDayOfWeek: z.literal(true).optional(), + autoMhCheckHour: z.literal(true).optional() }).strict(); exports.UserAvgAggregateInputObjectSchema = makeSchema(); exports.UserAvgAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.js index 96d86bc3..ee5fb2a5 100644 --- a/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserAvgOrderByAggregateInput.schema.js @@ -37,7 +37,11 @@ exports.UserAvgOrderByAggregateInputObjectZodSchema = exports.UserAvgOrderByAggr const z = __importStar(require("zod")); const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ - id: SortOrder_schema_1.SortOrderSchema.optional() + id: SortOrder_schema_1.SortOrderSchema.optional(), + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.UserAvgOrderByAggregateInputObjectSchema = makeSchema(); exports.UserAvgOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.js index 60001c31..f5d45f31 100644 --- a/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCountAggregateInput.schema.js @@ -40,7 +40,12 @@ const makeSchema = () => z.object({ username: z.literal(true).optional(), password: z.literal(true).optional(), autoBackupEnabled: z.literal(true).optional(), + autoBackupHour: z.literal(true).optional(), usbBackupEnabled: z.literal(true).optional(), + usbBackupHour: z.literal(true).optional(), + autoMhCheckEnabled: z.literal(true).optional(), + autoMhCheckDayOfWeek: z.literal(true).optional(), + autoMhCheckHour: z.literal(true).optional(), _all: z.literal(true).optional() }).strict(); exports.UserCountAggregateInputObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.js index a99b2250..46b50899 100644 --- a/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCountOrderByAggregateInput.schema.js @@ -41,7 +41,12 @@ const makeSchema = () => z.object({ username: SortOrder_schema_1.SortOrderSchema.optional(), password: SortOrder_schema_1.SortOrderSchema.optional(), autoBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), - usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional() + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.UserCountOrderByAggregateInputObjectSchema = makeSchema(); exports.UserCountOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCountOutputTypeCountInsuranceContactsArgs.schema.js b/packages/db/shared/schemas/objects/UserCountOutputTypeCountInsuranceContactsArgs.schema.js new file mode 100644 index 00000000..8a1a1b65 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCountOutputTypeCountInsuranceContactsArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCountOutputTypeCountInsuranceContactsArgsObjectZodSchema = exports.UserCountOutputTypeCountInsuranceContactsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactWhereInput_schema_1 = require("./InsuranceContactWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema).optional() +}).strict(); +exports.UserCountOutputTypeCountInsuranceContactsArgsObjectSchema = makeSchema(); +exports.UserCountOutputTypeCountInsuranceContactsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCountOutputTypeCountPatientConversationsArgs.schema.js b/packages/db/shared/schemas/objects/UserCountOutputTypeCountPatientConversationsArgs.schema.js new file mode 100644 index 00000000..d32c9cef --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCountOutputTypeCountPatientConversationsArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCountOutputTypeCountPatientConversationsArgsObjectZodSchema = exports.UserCountOutputTypeCountPatientConversationsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationWhereInput_schema_1 = require("./PatientConversationWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema).optional() +}).strict(); +exports.UserCountOutputTypeCountPatientConversationsArgsObjectSchema = makeSchema(); +exports.UserCountOutputTypeCountPatientConversationsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCountOutputTypeCountShoppingVendorsArgs.schema.js b/packages/db/shared/schemas/objects/UserCountOutputTypeCountShoppingVendorsArgs.schema.js new file mode 100644 index 00000000..e4b2ca9c --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCountOutputTypeCountShoppingVendorsArgs.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCountOutputTypeCountShoppingVendorsArgsObjectZodSchema = exports.UserCountOutputTypeCountShoppingVendorsArgsObjectSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorWhereInput_schema_1 = require("./ShoppingVendorWhereInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema).optional() +}).strict(); +exports.UserCountOutputTypeCountShoppingVendorsArgsObjectSchema = makeSchema(); +exports.UserCountOutputTypeCountShoppingVendorsArgsObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCountOutputTypeSelect.schema.js b/packages/db/shared/schemas/objects/UserCountOutputTypeSelect.schema.js index 02283c6d..1a4523b9 100644 --- a/packages/db/shared/schemas/objects/UserCountOutputTypeSelect.schema.js +++ b/packages/db/shared/schemas/objects/UserCountOutputTypeSelect.schema.js @@ -41,6 +41,7 @@ const UserCountOutputTypeCountStaffArgs_schema_1 = require("./UserCountOutputTyp const UserCountOutputTypeCountNpiProvidersArgs_schema_1 = require("./UserCountOutputTypeCountNpiProvidersArgs.schema"); const UserCountOutputTypeCountClaimsArgs_schema_1 = require("./UserCountOutputTypeCountClaimsArgs.schema"); const UserCountOutputTypeCountInsuranceCredentialsArgs_schema_1 = require("./UserCountOutputTypeCountInsuranceCredentialsArgs.schema"); +const UserCountOutputTypeCountShoppingVendorsArgs_schema_1 = require("./UserCountOutputTypeCountShoppingVendorsArgs.schema"); const UserCountOutputTypeCountUpdatedPaymentsArgs_schema_1 = require("./UserCountOutputTypeCountUpdatedPaymentsArgs.schema"); const UserCountOutputTypeCountBackupsArgs_schema_1 = require("./UserCountOutputTypeCountBackupsArgs.schema"); const UserCountOutputTypeCountBackupDestinationsArgs_schema_1 = require("./UserCountOutputTypeCountBackupDestinationsArgs.schema"); @@ -48,6 +49,8 @@ const UserCountOutputTypeCountNotificationsArgs_schema_1 = require("./UserCountO const UserCountOutputTypeCountCloudFoldersArgs_schema_1 = require("./UserCountOutputTypeCountCloudFoldersArgs.schema"); const UserCountOutputTypeCountCloudFilesArgs_schema_1 = require("./UserCountOutputTypeCountCloudFilesArgs.schema"); const UserCountOutputTypeCountCommunicationsArgs_schema_1 = require("./UserCountOutputTypeCountCommunicationsArgs.schema"); +const UserCountOutputTypeCountInsuranceContactsArgs_schema_1 = require("./UserCountOutputTypeCountInsuranceContactsArgs.schema"); +const UserCountOutputTypeCountPatientConversationsArgs_schema_1 = require("./UserCountOutputTypeCountPatientConversationsArgs.schema"); const makeSchema = () => z.object({ patients: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountPatientsArgs_schema_1.UserCountOutputTypeCountPatientsArgsObjectSchema)]).optional(), appointments: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountAppointmentsArgs_schema_1.UserCountOutputTypeCountAppointmentsArgsObjectSchema)]).optional(), @@ -55,13 +58,16 @@ const makeSchema = () => z.object({ npiProviders: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountNpiProvidersArgs_schema_1.UserCountOutputTypeCountNpiProvidersArgsObjectSchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountClaimsArgs_schema_1.UserCountOutputTypeCountClaimsArgsObjectSchema)]).optional(), insuranceCredentials: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountInsuranceCredentialsArgs_schema_1.UserCountOutputTypeCountInsuranceCredentialsArgsObjectSchema)]).optional(), + shoppingVendors: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountShoppingVendorsArgs_schema_1.UserCountOutputTypeCountShoppingVendorsArgsObjectSchema)]).optional(), updatedPayments: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountUpdatedPaymentsArgs_schema_1.UserCountOutputTypeCountUpdatedPaymentsArgsObjectSchema)]).optional(), backups: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountBackupsArgs_schema_1.UserCountOutputTypeCountBackupsArgsObjectSchema)]).optional(), backupDestinations: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountBackupDestinationsArgs_schema_1.UserCountOutputTypeCountBackupDestinationsArgsObjectSchema)]).optional(), notifications: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountNotificationsArgs_schema_1.UserCountOutputTypeCountNotificationsArgsObjectSchema)]).optional(), cloudFolders: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountCloudFoldersArgs_schema_1.UserCountOutputTypeCountCloudFoldersArgsObjectSchema)]).optional(), cloudFiles: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountCloudFilesArgs_schema_1.UserCountOutputTypeCountCloudFilesArgsObjectSchema)]).optional(), - communications: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountCommunicationsArgs_schema_1.UserCountOutputTypeCountCommunicationsArgsObjectSchema)]).optional() + communications: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountCommunicationsArgs_schema_1.UserCountOutputTypeCountCommunicationsArgsObjectSchema)]).optional(), + insuranceContacts: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountInsuranceContactsArgs_schema_1.UserCountOutputTypeCountInsuranceContactsArgsObjectSchema)]).optional(), + patientConversations: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeCountPatientConversationsArgs_schema_1.UserCountOutputTypeCountPatientConversationsArgsObjectSchema)]).optional() }).strict(); exports.UserCountOutputTypeSelectObjectSchema = makeSchema(); exports.UserCountOutputTypeSelectObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateInput.schema.js b/packages/db/shared/schemas/objects/UserCreateInput.schema.js index 5fab83e7..6425289f 100644 --- a/packages/db/shared/schemas/objects/UserCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateInput.schema.js @@ -41,6 +41,7 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -48,24 +49,44 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateInputObjectSchema = makeSchema(); exports.UserCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateManyInput.schema.js b/packages/db/shared/schemas/objects/UserCreateManyInput.schema.js index a4ab8dd3..1fcec404 100644 --- a/packages/db/shared/schemas/objects/UserCreateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateManyInput.schema.js @@ -40,7 +40,12 @@ const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), - usbBackupEnabled: z.boolean().optional() + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional() }).strict(); exports.UserCreateManyInputObjectSchema = makeSchema(); exports.UserCreateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..b65d7ed7 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutAiSettingsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutAiSettingsInputObjectZodSchema = exports.UserCreateNestedOneWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutAiSettingsInput_schema_1 = require("./UserCreateWithoutAiSettingsInput.schema"); +const UserUncheckedCreateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutAiSettingsInput.schema"); +const UserCreateOrConnectWithoutAiSettingsInput_schema_1 = require("./UserCreateOrConnectWithoutAiSettingsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutAiSettingsInput_schema_1.UserCreateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutAiSettingsInput_schema_1.UserUncheckedCreateWithoutAiSettingsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutAiSettingsInput_schema_1.UserCreateOrConnectWithoutAiSettingsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..8a46f63a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutInsuranceContactsInputObjectZodSchema = exports.UserCreateNestedOneWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutInsuranceContactsInput_schema_1 = require("./UserCreateWithoutInsuranceContactsInput.schema"); +const UserUncheckedCreateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedCreateWithoutInsuranceContactsInput.schema"); +const UserCreateOrConnectWithoutInsuranceContactsInput_schema_1 = require("./UserCreateOrConnectWithoutInsuranceContactsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutInsuranceContactsInput_schema_1.UserCreateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceContactsInput_schema_1.UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutInsuranceContactsInput_schema_1.UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..4976bbd9 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutOfficeContactInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutOfficeContactInputObjectZodSchema = exports.UserCreateNestedOneWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutOfficeContactInput_schema_1 = require("./UserCreateWithoutOfficeContactInput.schema"); +const UserUncheckedCreateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeContactInput.schema"); +const UserCreateOrConnectWithoutOfficeContactInput_schema_1 = require("./UserCreateOrConnectWithoutOfficeContactInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInput_schema_1.UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInput_schema_1.UserUncheckedCreateWithoutOfficeContactInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutOfficeContactInput_schema_1.UserCreateOrConnectWithoutOfficeContactInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..b1cfaf57 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutOfficeHoursInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutOfficeHoursInputObjectZodSchema = exports.UserCreateNestedOneWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutOfficeHoursInput_schema_1 = require("./UserCreateWithoutOfficeHoursInput.schema"); +const UserUncheckedCreateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeHoursInput.schema"); +const UserCreateOrConnectWithoutOfficeHoursInput_schema_1 = require("./UserCreateOrConnectWithoutOfficeHoursInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutOfficeHoursInput_schema_1.UserCreateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeHoursInput_schema_1.UserUncheckedCreateWithoutOfficeHoursInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutOfficeHoursInput_schema_1.UserCreateOrConnectWithoutOfficeHoursInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..c6c6c853 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutPatientConversationsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutPatientConversationsInputObjectZodSchema = exports.UserCreateNestedOneWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutPatientConversationsInput_schema_1 = require("./UserCreateWithoutPatientConversationsInput.schema"); +const UserUncheckedCreateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedCreateWithoutPatientConversationsInput.schema"); +const UserCreateOrConnectWithoutPatientConversationsInput_schema_1 = require("./UserCreateOrConnectWithoutPatientConversationsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInput_schema_1.UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInput_schema_1.UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutPatientConversationsInput_schema_1.UserCreateOrConnectWithoutPatientConversationsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..c1fd31cf --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutProcedureTimeslotInputObjectZodSchema = exports.UserCreateNestedOneWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedCreateWithoutProcedureTimeslotInput.schema"); +const UserCreateOrConnectWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateOrConnectWithoutProcedureTimeslotInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutProcedureTimeslotInput_schema_1.UserCreateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1.UserUncheckedCreateWithoutProcedureTimeslotInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutProcedureTimeslotInput_schema_1.UserCreateOrConnectWithoutProcedureTimeslotInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..52eeced3 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutShoppingVendorsInputObjectZodSchema = exports.UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutShoppingVendorsInput_schema_1 = require("./UserCreateWithoutShoppingVendorsInput.schema"); +const UserUncheckedCreateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedCreateWithoutShoppingVendorsInput.schema"); +const UserCreateOrConnectWithoutShoppingVendorsInput_schema_1 = require("./UserCreateOrConnectWithoutShoppingVendorsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInput_schema_1.UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInput_schema_1.UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutShoppingVendorsInput_schema_1.UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..966dd899 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateNestedOneWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateNestedOneWithoutTwilioSettingsInputObjectZodSchema = exports.UserCreateNestedOneWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutTwilioSettingsInput_schema_1 = require("./UserCreateWithoutTwilioSettingsInput.schema"); +const UserUncheckedCreateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutTwilioSettingsInput.schema"); +const UserCreateOrConnectWithoutTwilioSettingsInput_schema_1 = require("./UserCreateOrConnectWithoutTwilioSettingsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutTwilioSettingsInput_schema_1.UserCreateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutTwilioSettingsInput_schema_1.UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutTwilioSettingsInput_schema_1.UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional() +}).strict(); +exports.UserCreateNestedOneWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserCreateNestedOneWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..cd9bc17a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutAiSettingsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutAiSettingsInputObjectZodSchema = exports.UserCreateOrConnectWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutAiSettingsInput_schema_1 = require("./UserCreateWithoutAiSettingsInput.schema"); +const UserUncheckedCreateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutAiSettingsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutAiSettingsInput_schema_1.UserCreateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutAiSettingsInput_schema_1.UserUncheckedCreateWithoutAiSettingsInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..ac01b7b3 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutInsuranceContactsInputObjectZodSchema = exports.UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutInsuranceContactsInput_schema_1 = require("./UserCreateWithoutInsuranceContactsInput.schema"); +const UserUncheckedCreateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedCreateWithoutInsuranceContactsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutInsuranceContactsInput_schema_1.UserCreateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceContactsInput_schema_1.UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..193fd4eb --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutOfficeContactInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutOfficeContactInputObjectZodSchema = exports.UserCreateOrConnectWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutOfficeContactInput_schema_1 = require("./UserCreateWithoutOfficeContactInput.schema"); +const UserUncheckedCreateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeContactInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInput_schema_1.UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInput_schema_1.UserUncheckedCreateWithoutOfficeContactInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..034fbdde --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutOfficeHoursInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutOfficeHoursInputObjectZodSchema = exports.UserCreateOrConnectWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutOfficeHoursInput_schema_1 = require("./UserCreateWithoutOfficeHoursInput.schema"); +const UserUncheckedCreateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeHoursInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutOfficeHoursInput_schema_1.UserCreateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeHoursInput_schema_1.UserUncheckedCreateWithoutOfficeHoursInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..d27daa71 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutPatientConversationsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutPatientConversationsInputObjectZodSchema = exports.UserCreateOrConnectWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutPatientConversationsInput_schema_1 = require("./UserCreateWithoutPatientConversationsInput.schema"); +const UserUncheckedCreateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedCreateWithoutPatientConversationsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInput_schema_1.UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInput_schema_1.UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..aa377319 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutProcedureTimeslotInputObjectZodSchema = exports.UserCreateOrConnectWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedCreateWithoutProcedureTimeslotInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutProcedureTimeslotInput_schema_1.UserCreateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1.UserUncheckedCreateWithoutProcedureTimeslotInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..3088e4ca --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutShoppingVendorsInputObjectZodSchema = exports.UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutShoppingVendorsInput_schema_1 = require("./UserCreateWithoutShoppingVendorsInput.schema"); +const UserUncheckedCreateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedCreateWithoutShoppingVendorsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInput_schema_1.UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInput_schema_1.UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..e1de9fd4 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateOrConnectWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateOrConnectWithoutTwilioSettingsInputObjectZodSchema = exports.UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserCreateWithoutTwilioSettingsInput_schema_1 = require("./UserCreateWithoutTwilioSettingsInput.schema"); +const UserUncheckedCreateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutTwilioSettingsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema), + create: z.union([z.lazy(() => UserCreateWithoutTwilioSettingsInput_schema_1.UserCreateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutTwilioSettingsInput_schema_1.UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema)]) +}).strict(); +exports.UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserCreateOrConnectWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..6b34e660 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutAiSettingsInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutAiSettingsInputObjectZodSchema = exports.UserCreateWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserCreateWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.js index ec6b77cf..0eacf184 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutAppointmentsInput.schema.js @@ -40,6 +40,7 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -47,23 +48,43 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.UserCreateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutBackupDestinationsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutBackupDestinationsInput.schema.js index c801a858..8910f0d5 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutBackupDestinationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutBackupDestinationsInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutBackupDestinationsInputObjectSchema = makeSchema(); exports.UserCreateWithoutBackupDestinationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutBackupsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutBackupsInput.schema.js index e1a20e1d..b6efaaa3 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutBackupsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutBackupsInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutBackupsInputObjectSchema = makeSchema(); exports.UserCreateWithoutBackupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutClaimsInput.schema.js index 929cb6f2..b5475243 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutClaimsInput.schema.js @@ -40,6 +40,7 @@ const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./Appointm const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -47,23 +48,43 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutClaimsInputObjectSchema = makeSchema(); exports.UserCreateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutCloudFilesInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutCloudFilesInput.schema.js index ceb6c588..90737e52 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutCloudFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutCloudFilesInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutCloudFilesInputObjectSchema = makeSchema(); exports.UserCreateWithoutCloudFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutCloudFoldersInput.schema.js index 4b39a833..e348f004 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutCloudFoldersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutCloudFoldersInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutCloudFoldersInputObjectSchema = makeSchema(); exports.UserCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutCommunicationsInput.schema.js index 3bc2d186..4bb4afa7 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutCommunicationsInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), - cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional() + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.UserCreateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..71fe7d39 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutInsuranceContactsInputObjectZodSchema = exports.UserCreateWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserCreateWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceCredentialsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceCredentialsInput.schema.js index f4b99f71..3ad8be7e 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceCredentialsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutInsuranceCredentialsInput.schema.js @@ -40,6 +40,7 @@ const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./Appointm const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -47,23 +48,43 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutInsuranceCredentialsInputObjectSchema = makeSchema(); exports.UserCreateWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutNotificationsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutNotificationsInput.schema.js index 3c065c84..41ffd0ab 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutNotificationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutNotificationsInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutNotificationsInputObjectSchema = makeSchema(); exports.UserCreateWithoutNotificationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutNpiProvidersInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutNpiProvidersInput.schema.js index 620855f8..c2e14abe 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutNpiProvidersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutNpiProvidersInput.schema.js @@ -40,6 +40,7 @@ const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./Appointm const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -47,23 +48,43 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutNpiProvidersInputObjectSchema = makeSchema(); exports.UserCreateWithoutNpiProvidersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..3e7d72bd --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutOfficeContactInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutOfficeContactInputObjectZodSchema = exports.UserCreateWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserCreateWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..da988020 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutOfficeHoursInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutOfficeHoursInputObjectZodSchema = exports.UserCreateWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserCreateWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..af38c8b2 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutPatientConversationsInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutPatientConversationsInputObjectZodSchema = exports.UserCreateWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserCreateWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.js index 3163f1a2..3f53489b 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutPatientsInput.schema.js @@ -40,6 +40,7 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -47,23 +48,43 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutPatientsInputObjectSchema = makeSchema(); exports.UserCreateWithoutPatientsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..9a551a82 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutProcedureTimeslotInputObjectZodSchema = exports.UserCreateWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserCreateWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..3245b113 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutShoppingVendorsInputObjectZodSchema = exports.UserCreateWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserCreateWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutStaffInput.schema.js index 86e2c318..0215c24c 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutStaffInput.schema.js @@ -40,6 +40,7 @@ const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./Appointm const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); @@ -47,23 +48,43 @@ const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./Notific const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutStaffInputObjectSchema = makeSchema(); exports.UserCreateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..18c8929b --- /dev/null +++ b/packages/db/shared/schemas/objects/UserCreateWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,90 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserCreateWithoutTwilioSettingsInputObjectZodSchema = exports.UserCreateWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientCreateNestedManyWithoutUserInput_schema_1 = require("./PatientCreateNestedManyWithoutUserInput.schema"); +const AppointmentCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentCreateNestedManyWithoutUserInput.schema"); +const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNestedManyWithoutUserInput.schema"); +const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); +const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); +const PaymentCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); +const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); +const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); +const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); +const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserCreateWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserCreateWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserCreateWithoutUpdatedPaymentsInput.schema.js b/packages/db/shared/schemas/objects/UserCreateWithoutUpdatedPaymentsInput.schema.js index 64c22629..c1851042 100644 --- a/packages/db/shared/schemas/objects/UserCreateWithoutUpdatedPaymentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserCreateWithoutUpdatedPaymentsInput.schema.js @@ -41,29 +41,50 @@ const StaffCreateNestedManyWithoutUserInput_schema_1 = require("./StaffCreateNes const NpiProviderCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderCreateNestedManyWithoutUserInput.schema"); const ClaimCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"); const DatabaseBackupCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupCreateNestedManyWithoutUserInput.schema"); const BackupDestinationCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationCreateNestedManyWithoutUserInput.schema"); const NotificationCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationCreateNestedManyWithoutUserInput.schema"); const CloudFolderCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderCreateNestedManyWithoutUserInput.schema"); const CloudFileCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileCreateNestedManyWithoutUserInput.schema"); const CommunicationCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"); +const AiSettingsCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"); +const OfficeContactCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"); +const PatientConversationCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientCreateNestedManyWithoutUserInput_schema_1.PatientCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentCreateNestedManyWithoutUserInput_schema_1.AppointmentCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffCreateNestedManyWithoutUserInput_schema_1.StaffCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderCreateNestedManyWithoutUserInput_schema_1.NpiProviderCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimCreateNestedManyWithoutUserInput_schema_1.ClaimCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorCreateNestedManyWithoutUserInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationCreateNestedManyWithoutUserInput_schema_1.BackupDestinationCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationCreateNestedManyWithoutUserInput_schema_1.NotificationCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutUserInput_schema_1.CloudFolderCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileCreateNestedManyWithoutUserInput_schema_1.CloudFileCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationCreateNestedManyWithoutUserInput_schema_1.CommunicationCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsCreateNestedOneWithoutUserInput_schema_1.AiSettingsCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursCreateNestedOneWithoutUserInput_schema_1.OfficeHoursCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactCreateNestedOneWithoutUserInput_schema_1.OfficeContactCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactCreateNestedManyWithoutUserInput_schema_1.InsuranceContactCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationCreateNestedManyWithoutUserInput_schema_1.PatientConversationCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserCreateWithoutUpdatedPaymentsInputObjectSchema = makeSchema(); exports.UserCreateWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserInclude.schema.js b/packages/db/shared/schemas/objects/UserInclude.schema.js index be2a4a08..34b56fa5 100644 --- a/packages/db/shared/schemas/objects/UserInclude.schema.js +++ b/packages/db/shared/schemas/objects/UserInclude.schema.js @@ -41,6 +41,7 @@ const findManyStaff_schema_1 = require("../findManyStaff.schema"); const findManyNpiProvider_schema_1 = require("../findManyNpiProvider.schema"); const findManyClaim_schema_1 = require("../findManyClaim.schema"); const findManyInsuranceCredential_schema_1 = require("../findManyInsuranceCredential.schema"); +const findManyShoppingVendor_schema_1 = require("../findManyShoppingVendor.schema"); const findManyPayment_schema_1 = require("../findManyPayment.schema"); const findManyDatabaseBackup_schema_1 = require("../findManyDatabaseBackup.schema"); const findManyBackupDestination_schema_1 = require("../findManyBackupDestination.schema"); @@ -48,6 +49,13 @@ const findManyNotification_schema_1 = require("../findManyNotification.schema"); const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema"); const findManyCloudFile_schema_1 = require("../findManyCloudFile.schema"); const findManyCommunication_schema_1 = require("../findManyCommunication.schema"); +const TwilioSettingsArgs_schema_1 = require("./TwilioSettingsArgs.schema"); +const AiSettingsArgs_schema_1 = require("./AiSettingsArgs.schema"); +const OfficeHoursArgs_schema_1 = require("./OfficeHoursArgs.schema"); +const OfficeContactArgs_schema_1 = require("./OfficeContactArgs.schema"); +const ProcedureTimeslotArgs_schema_1 = require("./ProcedureTimeslotArgs.schema"); +const findManyInsuranceContact_schema_1 = require("../findManyInsuranceContact.schema"); +const findManyPatientConversation_schema_1 = require("../findManyPatientConversation.schema"); const UserCountOutputTypeArgs_schema_1 = require("./UserCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ patients: z.union([z.boolean(), z.lazy(() => findManyPatient_schema_1.PatientFindManySchema)]).optional(), @@ -56,6 +64,7 @@ const makeSchema = () => z.object({ npiProviders: z.union([z.boolean(), z.lazy(() => findManyNpiProvider_schema_1.NpiProviderFindManySchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(), insuranceCredentials: z.union([z.boolean(), z.lazy(() => findManyInsuranceCredential_schema_1.InsuranceCredentialFindManySchema)]).optional(), + shoppingVendors: z.union([z.boolean(), z.lazy(() => findManyShoppingVendor_schema_1.ShoppingVendorFindManySchema)]).optional(), updatedPayments: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(), backups: z.union([z.boolean(), z.lazy(() => findManyDatabaseBackup_schema_1.DatabaseBackupFindManySchema)]).optional(), backupDestinations: z.union([z.boolean(), z.lazy(() => findManyBackupDestination_schema_1.BackupDestinationFindManySchema)]).optional(), @@ -63,6 +72,13 @@ const makeSchema = () => z.object({ cloudFolders: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(), cloudFiles: z.union([z.boolean(), z.lazy(() => findManyCloudFile_schema_1.CloudFileFindManySchema)]).optional(), communications: z.union([z.boolean(), z.lazy(() => findManyCommunication_schema_1.CommunicationFindManySchema)]).optional(), + twilioSettings: z.union([z.boolean(), z.lazy(() => TwilioSettingsArgs_schema_1.TwilioSettingsArgsObjectSchema)]).optional(), + aiSettings: z.union([z.boolean(), z.lazy(() => AiSettingsArgs_schema_1.AiSettingsArgsObjectSchema)]).optional(), + officeHours: z.union([z.boolean(), z.lazy(() => OfficeHoursArgs_schema_1.OfficeHoursArgsObjectSchema)]).optional(), + officeContact: z.union([z.boolean(), z.lazy(() => OfficeContactArgs_schema_1.OfficeContactArgsObjectSchema)]).optional(), + procedureTimeslot: z.union([z.boolean(), z.lazy(() => ProcedureTimeslotArgs_schema_1.ProcedureTimeslotArgsObjectSchema)]).optional(), + insuranceContacts: z.union([z.boolean(), z.lazy(() => findManyInsuranceContact_schema_1.InsuranceContactFindManySchema)]).optional(), + patientConversations: z.union([z.boolean(), z.lazy(() => findManyPatientConversation_schema_1.PatientConversationFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeArgs_schema_1.UserCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.UserIncludeObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.js index 03fddf30..9eccd674 100644 --- a/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserMaxAggregateInput.schema.js @@ -40,7 +40,12 @@ const makeSchema = () => z.object({ username: z.literal(true).optional(), password: z.literal(true).optional(), autoBackupEnabled: z.literal(true).optional(), - usbBackupEnabled: z.literal(true).optional() + autoBackupHour: z.literal(true).optional(), + usbBackupEnabled: z.literal(true).optional(), + usbBackupHour: z.literal(true).optional(), + autoMhCheckEnabled: z.literal(true).optional(), + autoMhCheckDayOfWeek: z.literal(true).optional(), + autoMhCheckHour: z.literal(true).optional() }).strict(); exports.UserMaxAggregateInputObjectSchema = makeSchema(); exports.UserMaxAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.js index 6f2be148..fc7e7a7a 100644 --- a/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserMaxOrderByAggregateInput.schema.js @@ -41,7 +41,12 @@ const makeSchema = () => z.object({ username: SortOrder_schema_1.SortOrderSchema.optional(), password: SortOrder_schema_1.SortOrderSchema.optional(), autoBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), - usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional() + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.UserMaxOrderByAggregateInputObjectSchema = makeSchema(); exports.UserMaxOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.js index 693b2d8f..c1bae897 100644 --- a/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserMinAggregateInput.schema.js @@ -40,7 +40,12 @@ const makeSchema = () => z.object({ username: z.literal(true).optional(), password: z.literal(true).optional(), autoBackupEnabled: z.literal(true).optional(), - usbBackupEnabled: z.literal(true).optional() + autoBackupHour: z.literal(true).optional(), + usbBackupEnabled: z.literal(true).optional(), + usbBackupHour: z.literal(true).optional(), + autoMhCheckEnabled: z.literal(true).optional(), + autoMhCheckDayOfWeek: z.literal(true).optional(), + autoMhCheckHour: z.literal(true).optional() }).strict(); exports.UserMinAggregateInputObjectSchema = makeSchema(); exports.UserMinAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.js index 499b4b89..4603260b 100644 --- a/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserMinOrderByAggregateInput.schema.js @@ -41,7 +41,12 @@ const makeSchema = () => z.object({ username: SortOrder_schema_1.SortOrderSchema.optional(), password: SortOrder_schema_1.SortOrderSchema.optional(), autoBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), - usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional() + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.UserMinOrderByAggregateInputObjectSchema = makeSchema(); exports.UserMinOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.js b/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.js index a4dfce84..d5ac9616 100644 --- a/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.js +++ b/packages/db/shared/schemas/objects/UserOrderByWithAggregationInput.schema.js @@ -46,7 +46,12 @@ const makeSchema = () => z.object({ username: SortOrder_schema_1.SortOrderSchema.optional(), password: SortOrder_schema_1.SortOrderSchema.optional(), autoBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional(), _count: z.lazy(() => UserCountOrderByAggregateInput_schema_1.UserCountOrderByAggregateInputObjectSchema).optional(), _avg: z.lazy(() => UserAvgOrderByAggregateInput_schema_1.UserAvgOrderByAggregateInputObjectSchema).optional(), _max: z.lazy(() => UserMaxOrderByAggregateInput_schema_1.UserMaxOrderByAggregateInputObjectSchema).optional(), diff --git a/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.js b/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.js index 59466abc..495301c0 100644 --- a/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.js +++ b/packages/db/shared/schemas/objects/UserOrderByWithRelationInput.schema.js @@ -42,6 +42,7 @@ const StaffOrderByRelationAggregateInput_schema_1 = require("./StaffOrderByRelat const NpiProviderOrderByRelationAggregateInput_schema_1 = require("./NpiProviderOrderByRelationAggregateInput.schema"); const ClaimOrderByRelationAggregateInput_schema_1 = require("./ClaimOrderByRelationAggregateInput.schema"); const InsuranceCredentialOrderByRelationAggregateInput_schema_1 = require("./InsuranceCredentialOrderByRelationAggregateInput.schema"); +const ShoppingVendorOrderByRelationAggregateInput_schema_1 = require("./ShoppingVendorOrderByRelationAggregateInput.schema"); const PaymentOrderByRelationAggregateInput_schema_1 = require("./PaymentOrderByRelationAggregateInput.schema"); const DatabaseBackupOrderByRelationAggregateInput_schema_1 = require("./DatabaseBackupOrderByRelationAggregateInput.schema"); const BackupDestinationOrderByRelationAggregateInput_schema_1 = require("./BackupDestinationOrderByRelationAggregateInput.schema"); @@ -49,25 +50,45 @@ const NotificationOrderByRelationAggregateInput_schema_1 = require("./Notificati const CloudFolderOrderByRelationAggregateInput_schema_1 = require("./CloudFolderOrderByRelationAggregateInput.schema"); const CloudFileOrderByRelationAggregateInput_schema_1 = require("./CloudFileOrderByRelationAggregateInput.schema"); const CommunicationOrderByRelationAggregateInput_schema_1 = require("./CommunicationOrderByRelationAggregateInput.schema"); +const TwilioSettingsOrderByWithRelationInput_schema_1 = require("./TwilioSettingsOrderByWithRelationInput.schema"); +const AiSettingsOrderByWithRelationInput_schema_1 = require("./AiSettingsOrderByWithRelationInput.schema"); +const OfficeHoursOrderByWithRelationInput_schema_1 = require("./OfficeHoursOrderByWithRelationInput.schema"); +const OfficeContactOrderByWithRelationInput_schema_1 = require("./OfficeContactOrderByWithRelationInput.schema"); +const ProcedureTimeslotOrderByWithRelationInput_schema_1 = require("./ProcedureTimeslotOrderByWithRelationInput.schema"); +const InsuranceContactOrderByRelationAggregateInput_schema_1 = require("./InsuranceContactOrderByRelationAggregateInput.schema"); +const PatientConversationOrderByRelationAggregateInput_schema_1 = require("./PatientConversationOrderByRelationAggregateInput.schema"); const makeSchema = () => z.object({ id: SortOrder_schema_1.SortOrderSchema.optional(), username: SortOrder_schema_1.SortOrderSchema.optional(), password: SortOrder_schema_1.SortOrderSchema.optional(), autoBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), usbBackupEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckEnabled: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional(), patients: z.lazy(() => PatientOrderByRelationAggregateInput_schema_1.PatientOrderByRelationAggregateInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentOrderByRelationAggregateInput_schema_1.AppointmentOrderByRelationAggregateInputObjectSchema).optional(), staff: z.lazy(() => StaffOrderByRelationAggregateInput_schema_1.StaffOrderByRelationAggregateInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderOrderByRelationAggregateInput_schema_1.NpiProviderOrderByRelationAggregateInputObjectSchema).optional(), claims: z.lazy(() => ClaimOrderByRelationAggregateInput_schema_1.ClaimOrderByRelationAggregateInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialOrderByRelationAggregateInput_schema_1.InsuranceCredentialOrderByRelationAggregateInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorOrderByRelationAggregateInput_schema_1.ShoppingVendorOrderByRelationAggregateInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentOrderByRelationAggregateInput_schema_1.PaymentOrderByRelationAggregateInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupOrderByRelationAggregateInput_schema_1.DatabaseBackupOrderByRelationAggregateInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationOrderByRelationAggregateInput_schema_1.BackupDestinationOrderByRelationAggregateInputObjectSchema).optional(), notifications: z.lazy(() => NotificationOrderByRelationAggregateInput_schema_1.NotificationOrderByRelationAggregateInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInput_schema_1.CloudFolderOrderByRelationAggregateInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileOrderByRelationAggregateInput_schema_1.CloudFileOrderByRelationAggregateInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationOrderByRelationAggregateInput_schema_1.CommunicationOrderByRelationAggregateInputObjectSchema).optional() + communications: z.lazy(() => CommunicationOrderByRelationAggregateInput_schema_1.CommunicationOrderByRelationAggregateInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsOrderByWithRelationInput_schema_1.TwilioSettingsOrderByWithRelationInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsOrderByWithRelationInput_schema_1.AiSettingsOrderByWithRelationInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursOrderByWithRelationInput_schema_1.OfficeHoursOrderByWithRelationInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactOrderByWithRelationInput_schema_1.OfficeContactOrderByWithRelationInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotOrderByWithRelationInput_schema_1.ProcedureTimeslotOrderByWithRelationInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactOrderByRelationAggregateInput_schema_1.InsuranceContactOrderByRelationAggregateInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationOrderByRelationAggregateInput_schema_1.PatientConversationOrderByRelationAggregateInputObjectSchema).optional() }).strict(); exports.UserOrderByWithRelationInputObjectSchema = makeSchema(); exports.UserOrderByWithRelationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.js b/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.js index 33e38292..f99ac178 100644 --- a/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.js +++ b/packages/db/shared/schemas/objects/UserScalarWhereWithAggregatesInput.schema.js @@ -46,7 +46,12 @@ const userscalarwherewithaggregatesinputSchema = z.object({ username: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), password: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(), autoBackupEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), - usbBackupEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional() + autoBackupHour: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + usbBackupEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + usbBackupHour: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + autoMhCheckEnabled: z.union([z.lazy(() => BoolWithAggregatesFilter_schema_1.BoolWithAggregatesFilterObjectSchema), z.boolean()]).optional(), + autoMhCheckDayOfWeek: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(), + autoMhCheckHour: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional() }).strict(); exports.UserScalarWhereWithAggregatesInputObjectSchema = userscalarwherewithaggregatesinputSchema; exports.UserScalarWhereWithAggregatesInputObjectZodSchema = userscalarwherewithaggregatesinputSchema; diff --git a/packages/db/shared/schemas/objects/UserSelect.schema.js b/packages/db/shared/schemas/objects/UserSelect.schema.js index 3f0c9f03..3240daf6 100644 --- a/packages/db/shared/schemas/objects/UserSelect.schema.js +++ b/packages/db/shared/schemas/objects/UserSelect.schema.js @@ -41,6 +41,7 @@ const findManyStaff_schema_1 = require("../findManyStaff.schema"); const findManyNpiProvider_schema_1 = require("../findManyNpiProvider.schema"); const findManyClaim_schema_1 = require("../findManyClaim.schema"); const findManyInsuranceCredential_schema_1 = require("../findManyInsuranceCredential.schema"); +const findManyShoppingVendor_schema_1 = require("../findManyShoppingVendor.schema"); const findManyPayment_schema_1 = require("../findManyPayment.schema"); const findManyDatabaseBackup_schema_1 = require("../findManyDatabaseBackup.schema"); const findManyBackupDestination_schema_1 = require("../findManyBackupDestination.schema"); @@ -48,19 +49,32 @@ const findManyNotification_schema_1 = require("../findManyNotification.schema"); const findManyCloudFolder_schema_1 = require("../findManyCloudFolder.schema"); const findManyCloudFile_schema_1 = require("../findManyCloudFile.schema"); const findManyCommunication_schema_1 = require("../findManyCommunication.schema"); +const TwilioSettingsArgs_schema_1 = require("./TwilioSettingsArgs.schema"); +const AiSettingsArgs_schema_1 = require("./AiSettingsArgs.schema"); +const OfficeHoursArgs_schema_1 = require("./OfficeHoursArgs.schema"); +const OfficeContactArgs_schema_1 = require("./OfficeContactArgs.schema"); +const ProcedureTimeslotArgs_schema_1 = require("./ProcedureTimeslotArgs.schema"); +const findManyInsuranceContact_schema_1 = require("../findManyInsuranceContact.schema"); +const findManyPatientConversation_schema_1 = require("../findManyPatientConversation.schema"); const UserCountOutputTypeArgs_schema_1 = require("./UserCountOutputTypeArgs.schema"); const makeSchema = () => z.object({ id: z.boolean().optional(), username: z.boolean().optional(), password: z.boolean().optional(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.boolean().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.boolean().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.boolean().optional(), + autoMhCheckHour: z.boolean().optional(), patients: z.union([z.boolean(), z.lazy(() => findManyPatient_schema_1.PatientFindManySchema)]).optional(), appointments: z.union([z.boolean(), z.lazy(() => findManyAppointment_schema_1.AppointmentFindManySchema)]).optional(), staff: z.union([z.boolean(), z.lazy(() => findManyStaff_schema_1.StaffFindManySchema)]).optional(), npiProviders: z.union([z.boolean(), z.lazy(() => findManyNpiProvider_schema_1.NpiProviderFindManySchema)]).optional(), claims: z.union([z.boolean(), z.lazy(() => findManyClaim_schema_1.ClaimFindManySchema)]).optional(), insuranceCredentials: z.union([z.boolean(), z.lazy(() => findManyInsuranceCredential_schema_1.InsuranceCredentialFindManySchema)]).optional(), + shoppingVendors: z.union([z.boolean(), z.lazy(() => findManyShoppingVendor_schema_1.ShoppingVendorFindManySchema)]).optional(), updatedPayments: z.union([z.boolean(), z.lazy(() => findManyPayment_schema_1.PaymentFindManySchema)]).optional(), backups: z.union([z.boolean(), z.lazy(() => findManyDatabaseBackup_schema_1.DatabaseBackupFindManySchema)]).optional(), backupDestinations: z.union([z.boolean(), z.lazy(() => findManyBackupDestination_schema_1.BackupDestinationFindManySchema)]).optional(), @@ -68,6 +82,13 @@ const makeSchema = () => z.object({ cloudFolders: z.union([z.boolean(), z.lazy(() => findManyCloudFolder_schema_1.CloudFolderFindManySchema)]).optional(), cloudFiles: z.union([z.boolean(), z.lazy(() => findManyCloudFile_schema_1.CloudFileFindManySchema)]).optional(), communications: z.union([z.boolean(), z.lazy(() => findManyCommunication_schema_1.CommunicationFindManySchema)]).optional(), + twilioSettings: z.union([z.boolean(), z.lazy(() => TwilioSettingsArgs_schema_1.TwilioSettingsArgsObjectSchema)]).optional(), + aiSettings: z.union([z.boolean(), z.lazy(() => AiSettingsArgs_schema_1.AiSettingsArgsObjectSchema)]).optional(), + officeHours: z.union([z.boolean(), z.lazy(() => OfficeHoursArgs_schema_1.OfficeHoursArgsObjectSchema)]).optional(), + officeContact: z.union([z.boolean(), z.lazy(() => OfficeContactArgs_schema_1.OfficeContactArgsObjectSchema)]).optional(), + procedureTimeslot: z.union([z.boolean(), z.lazy(() => ProcedureTimeslotArgs_schema_1.ProcedureTimeslotArgsObjectSchema)]).optional(), + insuranceContacts: z.union([z.boolean(), z.lazy(() => findManyInsuranceContact_schema_1.InsuranceContactFindManySchema)]).optional(), + patientConversations: z.union([z.boolean(), z.lazy(() => findManyPatientConversation_schema_1.PatientConversationFindManySchema)]).optional(), _count: z.union([z.boolean(), z.lazy(() => UserCountOutputTypeArgs_schema_1.UserCountOutputTypeArgsObjectSchema)]).optional() }).strict(); exports.UserSelectObjectSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.js index dedc2680..5c3521d3 100644 --- a/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserSumAggregateInput.schema.js @@ -36,7 +36,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.UserSumAggregateInputObjectZodSchema = exports.UserSumAggregateInputObjectSchema = void 0; const z = __importStar(require("zod")); const makeSchema = () => z.object({ - id: z.literal(true).optional() + id: z.literal(true).optional(), + autoBackupHour: z.literal(true).optional(), + usbBackupHour: z.literal(true).optional(), + autoMhCheckDayOfWeek: z.literal(true).optional(), + autoMhCheckHour: z.literal(true).optional() }).strict(); exports.UserSumAggregateInputObjectSchema = makeSchema(); exports.UserSumAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.js b/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.js index fd79155d..d8d3c618 100644 --- a/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserSumOrderByAggregateInput.schema.js @@ -37,7 +37,11 @@ exports.UserSumOrderByAggregateInputObjectZodSchema = exports.UserSumOrderByAggr const z = __importStar(require("zod")); const SortOrder_schema_1 = require("../enums/SortOrder.schema"); const makeSchema = () => z.object({ - id: SortOrder_schema_1.SortOrderSchema.optional() + id: SortOrder_schema_1.SortOrderSchema.optional(), + autoBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + usbBackupHour: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckDayOfWeek: SortOrder_schema_1.SortOrderSchema.optional(), + autoMhCheckHour: SortOrder_schema_1.SortOrderSchema.optional() }).strict(); exports.UserSumOrderByAggregateInputObjectSchema = makeSchema(); exports.UserSumOrderByAggregateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.js index 31d633ae..320374a7 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateInput.schema.js @@ -41,6 +41,7 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -48,25 +49,45 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateInputObjectSchema = makeSchema(); exports.UserUncheckedCreateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..b553d387 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAiSettingsInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutAiSettingsInputObjectZodSchema = exports.UserUncheckedCreateWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.js index 1e9914ff..e70a540e 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutAppointmentsInput.schema.js @@ -40,6 +40,7 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -47,24 +48,44 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupDestinationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupDestinationsInput.schema.js index c89a2ead..cd2ce333 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupDestinationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupDestinationsInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutBackupDestinationsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutBackupDestinationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupsInput.schema.js index ca022d7f..2246ccdb 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutBackupsInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutBackupsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutBackupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutClaimsInput.schema.js index 9e94708f..924c2a88 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutClaimsInput.schema.js @@ -40,6 +40,7 @@ const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(". const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -47,24 +48,44 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutClaimsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFilesInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFilesInput.schema.js index c56f4157..833bd8e7 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFilesInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutCloudFilesInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutCloudFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFoldersInput.schema.js index f39f57c1..12739e9b 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFoldersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCloudFoldersInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutCloudFoldersInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCommunicationsInput.schema.js index 9d2b11df..aa707824 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutCommunicationsInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..24cf464a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutInsuranceContactsInputObjectZodSchema = exports.UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceCredentialsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceCredentialsInput.schema.js index efb9b4d0..089df7bf 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceCredentialsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutInsuranceCredentialsInput.schema.js @@ -40,6 +40,7 @@ const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(". const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -47,24 +48,44 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutInsuranceCredentialsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNotificationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNotificationsInput.schema.js index 695bc40d..87a72b53 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNotificationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNotificationsInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutNotificationsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutNotificationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNpiProvidersInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNpiProvidersInput.schema.js index 7bbf0359..cf0fd3b7 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNpiProvidersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutNpiProvidersInput.schema.js @@ -40,6 +40,7 @@ const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(". const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -47,24 +48,44 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutNpiProvidersInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutNpiProvidersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..f3576db9 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutOfficeContactInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutOfficeContactInputObjectZodSchema = exports.UserUncheckedCreateWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..ecbbeaaa --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutOfficeHoursInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutOfficeHoursInputObjectZodSchema = exports.UserUncheckedCreateWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..68b1fe1a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientConversationsInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutPatientConversationsInputObjectZodSchema = exports.UserUncheckedCreateWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.js index ec935c19..9cf4b52f 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutPatientsInput.schema.js @@ -40,6 +40,7 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -47,24 +48,44 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutPatientsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutPatientsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..7f64491d --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutProcedureTimeslotInputObjectZodSchema = exports.UserUncheckedCreateWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..88f0974f --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutShoppingVendorsInputObjectZodSchema = exports.UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutStaffInput.schema.js index e04215d8..dd3de6ea 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutStaffInput.schema.js @@ -40,6 +40,7 @@ const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(". const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); @@ -47,24 +48,44 @@ const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require(" const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutStaffInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..71bb7e5e --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,91 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedCreateWithoutTwilioSettingsInputObjectZodSchema = exports.UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const PatientUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientUncheckedCreateNestedManyWithoutUserInput.schema"); +const AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"); +const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./StaffUncheckedCreateNestedManyWithoutUserInput.schema"); +const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); +const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); +const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); +const PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1 = require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema"); +const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); +const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); +const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); +const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); +const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); +const makeSchema = () => z.object({ + id: z.number().int().optional(), + username: z.string(), + password: z.string(), + autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), + usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), + patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutUpdatedByInput_schema_1.PaymentUncheckedCreateNestedManyWithoutUpdatedByInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserUncheckedCreateWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutUpdatedPaymentsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutUpdatedPaymentsInput.schema.js index 161b748c..27b7c01e 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutUpdatedPaymentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedCreateWithoutUpdatedPaymentsInput.schema.js @@ -41,30 +41,51 @@ const StaffUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./Staff const NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"); const ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ClaimUncheckedCreateNestedManyWithoutUserInput.schema"); const InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput.schema"); +const ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"); const DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./DatabaseBackupUncheckedCreateNestedManyWithoutUserInput.schema"); const BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateNestedManyWithoutUserInput.schema"); const NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./NotificationUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"); const CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CloudFileUncheckedCreateNestedManyWithoutUserInput.schema"); const CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./CommunicationUncheckedCreateNestedManyWithoutUserInput.schema"); +const TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"); +const OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"); +const ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1 = require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"); +const InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"); +const PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1 = require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"); const makeSchema = () => z.object({ id: z.number().int().optional(), username: z.string(), password: z.string(), autoBackupEnabled: z.boolean().optional(), + autoBackupHour: z.number().int().optional(), usbBackupEnabled: z.boolean().optional(), + usbBackupHour: z.number().int().optional(), + autoMhCheckEnabled: z.boolean().optional(), + autoMhCheckDayOfWeek: z.number().int().optional(), + autoMhCheckHour: z.number().int().optional(), patients: z.lazy(() => PatientUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutUserInput_schema_1.AppointmentUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedCreateNestedManyWithoutUserInput_schema_1.StaffUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedCreateNestedManyWithoutUserInput_schema_1.NpiProviderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutUserInput_schema_1.ClaimUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceCredentialUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedCreateNestedManyWithoutUserInput_schema_1.ShoppingVendorUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedCreateNestedManyWithoutUserInput_schema_1.DatabaseBackupUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedCreateNestedManyWithoutUserInput_schema_1.BackupDestinationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedCreateNestedManyWithoutUserInput_schema_1.NotificationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFolderUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutUserInput_schema_1.CloudFileUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutUserInput_schema_1.CommunicationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.TwilioSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedCreateNestedOneWithoutUserInput_schema_1.AiSettingsUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeHoursUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedCreateNestedOneWithoutUserInput_schema_1.OfficeContactUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput_schema_1.ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedCreateNestedManyWithoutUserInput_schema_1.InsuranceContactUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedCreateNestedManyWithoutUserInput_schema_1.PatientConversationUncheckedCreateNestedManyWithoutUserInputObjectSchema).optional() }).strict(); exports.UserUncheckedCreateWithoutUpdatedPaymentsInputObjectSchema = makeSchema(); exports.UserUncheckedCreateWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.js index 0ab7cbdc..32dc3293 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateInput.schema.js @@ -44,6 +44,7 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -51,25 +52,45 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.js index 2ef1f23e..070fc70c 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateManyInput.schema.js @@ -43,7 +43,12 @@ const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), - usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.UserUncheckedUpdateManyInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateManyInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..c24b4bc5 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAiSettingsInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutAiSettingsInputObjectZodSchema = exports.UserUncheckedUpdateWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.js index 7632b8b4..c063ec34 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutAppointmentsInput.schema.js @@ -43,6 +43,7 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +51,44 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupDestinationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupDestinationsInput.schema.js index d96346bf..034fdfc4 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupDestinationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupDestinationsInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutBackupDestinationsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutBackupDestinationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupsInput.schema.js index 2d66b2ac..5d9592d3 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutBackupsInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutBackupsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutBackupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutClaimsInput.schema.js index e4eaf3ff..86a3b066 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutClaimsInput.schema.js @@ -43,6 +43,7 @@ const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(". const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +51,44 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutClaimsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFilesInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFilesInput.schema.js index b4f54107..846cf40b 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFilesInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutCloudFilesInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutCloudFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFoldersInput.schema.js index 20b372cb..1a9e1a68 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFoldersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCloudFoldersInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutCloudFoldersInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCommunicationsInput.schema.js index c16d3980..7bc28677 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutCommunicationsInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..47e66041 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutInsuranceContactsInputObjectZodSchema = exports.UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema.js index 00b80bf4..f922f570 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema.js @@ -43,6 +43,7 @@ const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(". const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +51,44 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNotificationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNotificationsInput.schema.js index 4b638c91..a2558804 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNotificationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNotificationsInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutNotificationsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutNotificationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNpiProvidersInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNpiProvidersInput.schema.js index ea2567d4..4031c6da 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNpiProvidersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutNpiProvidersInput.schema.js @@ -43,6 +43,7 @@ const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(". const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +51,44 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutNpiProvidersInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutNpiProvidersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..503ec2e9 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutOfficeContactInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutOfficeContactInputObjectZodSchema = exports.UserUncheckedUpdateWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..60ce8a5a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutOfficeHoursInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutOfficeHoursInputObjectZodSchema = exports.UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..aaf4e94b --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientConversationsInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutPatientConversationsInputObjectZodSchema = exports.UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.js index abb799f4..8746fd61 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutPatientsInput.schema.js @@ -43,6 +43,7 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +51,44 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutPatientsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutPatientsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..46abe83c --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectZodSchema = exports.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..08f9a7df --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutShoppingVendorsInputObjectZodSchema = exports.UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutStaffInput.schema.js index db1a1533..65bbd952 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutStaffInput.schema.js @@ -43,6 +43,7 @@ const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(". const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +51,44 @@ const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require(" const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutStaffInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..d8538ceb --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,94 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUncheckedUpdateWithoutTwilioSettingsInputObjectZodSchema = exports.UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"); +const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUncheckedUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUncheckedUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserUncheckedUpdateWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema.js b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema.js index 588034fc..73f02869 100644 --- a/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema.js @@ -44,30 +44,51 @@ const StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./Staff const NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"); const ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUncheckedUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"); const DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUncheckedUpdateManyWithoutUserNestedInput.schema"); const NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema"); const CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUncheckedUpdateManyWithoutUserNestedInput.schema"); const CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUncheckedUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutUserNestedInput_schema_1.AppointmentUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUncheckedUpdateManyWithoutUserNestedInput_schema_1.StaffUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUncheckedUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutUserNestedInput_schema_1.ClaimUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUncheckedUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUncheckedUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUncheckedUpdateManyWithoutUserNestedInput_schema_1.NotificationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUncheckedUpdateManyWithoutUserNestedInput_schema_1.CloudFileUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutUserNestedInput_schema_1.CommunicationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUncheckedUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUncheckedUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUncheckedUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUncheckedUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUncheckedUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectSchema = makeSchema(); exports.UserUncheckedUpdateWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateInput.schema.js index c9245756..f348fe12 100644 --- a/packages/db/shared/schemas/objects/UserUpdateInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateInput.schema.js @@ -37,12 +37,14 @@ exports.UserUpdateInputObjectZodSchema = exports.UserUpdateInputObjectSchema = v const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -50,24 +52,44 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateInputObjectSchema = makeSchema(); exports.UserUpdateInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.js index 969d6766..87d9c6d1 100644 --- a/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateManyMutationInput.schema.js @@ -37,11 +37,17 @@ exports.UserUpdateManyMutationInputObjectZodSchema = exports.UserUpdateManyMutat const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), - usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional() + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional() }).strict(); exports.UserUpdateManyMutationInputObjectSchema = makeSchema(); exports.UserUpdateManyMutationInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAiSettingsNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAiSettingsNestedInput.schema.js new file mode 100644 index 00000000..c1d7d5ca --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutAiSettingsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutAiSettingsNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutAiSettingsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutAiSettingsInput_schema_1 = require("./UserCreateWithoutAiSettingsInput.schema"); +const UserUncheckedCreateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutAiSettingsInput.schema"); +const UserCreateOrConnectWithoutAiSettingsInput_schema_1 = require("./UserCreateOrConnectWithoutAiSettingsInput.schema"); +const UserUpsertWithoutAiSettingsInput_schema_1 = require("./UserUpsertWithoutAiSettingsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutAiSettingsInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutAiSettingsInput.schema"); +const UserUpdateWithoutAiSettingsInput_schema_1 = require("./UserUpdateWithoutAiSettingsInput.schema"); +const UserUncheckedUpdateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedUpdateWithoutAiSettingsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutAiSettingsInput_schema_1.UserCreateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutAiSettingsInput_schema_1.UserUncheckedCreateWithoutAiSettingsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutAiSettingsInput_schema_1.UserCreateOrConnectWithoutAiSettingsInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutAiSettingsInput_schema_1.UserUpsertWithoutAiSettingsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutAiSettingsInput_schema_1.UserUpdateToOneWithWhereWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUpdateWithoutAiSettingsInput_schema_1.UserUpdateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutAiSettingsInput_schema_1.UserUncheckedUpdateWithoutAiSettingsInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutAiSettingsNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutAiSettingsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutInsuranceContactsNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutInsuranceContactsNestedInput.schema.js new file mode 100644 index 00000000..4bf8801b --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutInsuranceContactsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutInsuranceContactsInput_schema_1 = require("./UserCreateWithoutInsuranceContactsInput.schema"); +const UserUncheckedCreateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedCreateWithoutInsuranceContactsInput.schema"); +const UserCreateOrConnectWithoutInsuranceContactsInput_schema_1 = require("./UserCreateOrConnectWithoutInsuranceContactsInput.schema"); +const UserUpsertWithoutInsuranceContactsInput_schema_1 = require("./UserUpsertWithoutInsuranceContactsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutInsuranceContactsInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutInsuranceContactsInput.schema"); +const UserUpdateWithoutInsuranceContactsInput_schema_1 = require("./UserUpdateWithoutInsuranceContactsInput.schema"); +const UserUncheckedUpdateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedUpdateWithoutInsuranceContactsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutInsuranceContactsInput_schema_1.UserCreateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceContactsInput_schema_1.UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutInsuranceContactsInput_schema_1.UserCreateOrConnectWithoutInsuranceContactsInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutInsuranceContactsInput_schema_1.UserUpsertWithoutInsuranceContactsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutInsuranceContactsInput_schema_1.UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUpdateWithoutInsuranceContactsInput_schema_1.UserUpdateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceContactsInput_schema_1.UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutInsuranceContactsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema.js new file mode 100644 index 00000000..0dd22d74 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutOfficeContactInput_schema_1 = require("./UserCreateWithoutOfficeContactInput.schema"); +const UserUncheckedCreateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeContactInput.schema"); +const UserCreateOrConnectWithoutOfficeContactInput_schema_1 = require("./UserCreateOrConnectWithoutOfficeContactInput.schema"); +const UserUpsertWithoutOfficeContactInput_schema_1 = require("./UserUpsertWithoutOfficeContactInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutOfficeContactInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutOfficeContactInput.schema"); +const UserUpdateWithoutOfficeContactInput_schema_1 = require("./UserUpdateWithoutOfficeContactInput.schema"); +const UserUncheckedUpdateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedUpdateWithoutOfficeContactInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInput_schema_1.UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInput_schema_1.UserUncheckedCreateWithoutOfficeContactInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutOfficeContactInput_schema_1.UserCreateOrConnectWithoutOfficeContactInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutOfficeContactInput_schema_1.UserUpsertWithoutOfficeContactInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutOfficeContactInput_schema_1.UserUpdateToOneWithWhereWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUpdateWithoutOfficeContactInput_schema_1.UserUpdateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeContactInput_schema_1.UserUncheckedUpdateWithoutOfficeContactInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutOfficeContactNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutOfficeHoursNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutOfficeHoursNestedInput.schema.js new file mode 100644 index 00000000..81605738 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutOfficeHoursNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutOfficeHoursInput_schema_1 = require("./UserCreateWithoutOfficeHoursInput.schema"); +const UserUncheckedCreateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeHoursInput.schema"); +const UserCreateOrConnectWithoutOfficeHoursInput_schema_1 = require("./UserCreateOrConnectWithoutOfficeHoursInput.schema"); +const UserUpsertWithoutOfficeHoursInput_schema_1 = require("./UserUpsertWithoutOfficeHoursInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutOfficeHoursInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema"); +const UserUpdateWithoutOfficeHoursInput_schema_1 = require("./UserUpdateWithoutOfficeHoursInput.schema"); +const UserUncheckedUpdateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedUpdateWithoutOfficeHoursInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutOfficeHoursInput_schema_1.UserCreateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeHoursInput_schema_1.UserUncheckedCreateWithoutOfficeHoursInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutOfficeHoursInput_schema_1.UserCreateOrConnectWithoutOfficeHoursInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutOfficeHoursInput_schema_1.UserUpsertWithoutOfficeHoursInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutOfficeHoursInput_schema_1.UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUpdateWithoutOfficeHoursInput_schema_1.UserUpdateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeHoursInput_schema_1.UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutOfficeHoursNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema.js new file mode 100644 index 00000000..2df9b2c7 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutPatientConversationsInput_schema_1 = require("./UserCreateWithoutPatientConversationsInput.schema"); +const UserUncheckedCreateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedCreateWithoutPatientConversationsInput.schema"); +const UserCreateOrConnectWithoutPatientConversationsInput_schema_1 = require("./UserCreateOrConnectWithoutPatientConversationsInput.schema"); +const UserUpsertWithoutPatientConversationsInput_schema_1 = require("./UserUpsertWithoutPatientConversationsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutPatientConversationsInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema"); +const UserUpdateWithoutPatientConversationsInput_schema_1 = require("./UserUpdateWithoutPatientConversationsInput.schema"); +const UserUncheckedUpdateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedUpdateWithoutPatientConversationsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInput_schema_1.UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInput_schema_1.UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutPatientConversationsInput_schema_1.UserCreateOrConnectWithoutPatientConversationsInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutPatientConversationsInput_schema_1.UserUpsertWithoutPatientConversationsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutPatientConversationsInput_schema_1.UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUpdateWithoutPatientConversationsInput_schema_1.UserUpdateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientConversationsInput_schema_1.UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutPatientConversationsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput.schema.js new file mode 100644 index 00000000..7de14d11 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutProcedureTimeslotNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutProcedureTimeslotNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedCreateWithoutProcedureTimeslotInput.schema"); +const UserCreateOrConnectWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateOrConnectWithoutProcedureTimeslotInput.schema"); +const UserUpsertWithoutProcedureTimeslotInput_schema_1 = require("./UserUpsertWithoutProcedureTimeslotInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutProcedureTimeslotInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutProcedureTimeslotInput.schema"); +const UserUpdateWithoutProcedureTimeslotInput_schema_1 = require("./UserUpdateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedUpdateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedUpdateWithoutProcedureTimeslotInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutProcedureTimeslotInput_schema_1.UserCreateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1.UserUncheckedCreateWithoutProcedureTimeslotInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutProcedureTimeslotInput_schema_1.UserCreateOrConnectWithoutProcedureTimeslotInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutProcedureTimeslotInput_schema_1.UserUpsertWithoutProcedureTimeslotInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutProcedureTimeslotInput_schema_1.UserUpdateToOneWithWhereWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUpdateWithoutProcedureTimeslotInput_schema_1.UserUpdateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutProcedureTimeslotInput_schema_1.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutProcedureTimeslotNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutProcedureTimeslotNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema.js new file mode 100644 index 00000000..a9d8f481 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutShoppingVendorsInput_schema_1 = require("./UserCreateWithoutShoppingVendorsInput.schema"); +const UserUncheckedCreateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedCreateWithoutShoppingVendorsInput.schema"); +const UserCreateOrConnectWithoutShoppingVendorsInput_schema_1 = require("./UserCreateOrConnectWithoutShoppingVendorsInput.schema"); +const UserUpsertWithoutShoppingVendorsInput_schema_1 = require("./UserUpsertWithoutShoppingVendorsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutShoppingVendorsInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema"); +const UserUpdateWithoutShoppingVendorsInput_schema_1 = require("./UserUpdateWithoutShoppingVendorsInput.schema"); +const UserUncheckedUpdateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedUpdateWithoutShoppingVendorsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInput_schema_1.UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInput_schema_1.UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutShoppingVendorsInput_schema_1.UserCreateOrConnectWithoutShoppingVendorsInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutShoppingVendorsInput_schema_1.UserUpsertWithoutShoppingVendorsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutShoppingVendorsInput_schema_1.UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUpdateWithoutShoppingVendorsInput_schema_1.UserUpdateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutShoppingVendorsInput_schema_1.UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutShoppingVendorsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutTwilioSettingsNestedInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutTwilioSettingsNestedInput.schema.js new file mode 100644 index 00000000..a8e3a7e7 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateOneRequiredWithoutTwilioSettingsNestedInput.schema.js @@ -0,0 +1,54 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectZodSchema = exports.UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserCreateWithoutTwilioSettingsInput_schema_1 = require("./UserCreateWithoutTwilioSettingsInput.schema"); +const UserUncheckedCreateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutTwilioSettingsInput.schema"); +const UserCreateOrConnectWithoutTwilioSettingsInput_schema_1 = require("./UserCreateOrConnectWithoutTwilioSettingsInput.schema"); +const UserUpsertWithoutTwilioSettingsInput_schema_1 = require("./UserUpsertWithoutTwilioSettingsInput.schema"); +const UserWhereUniqueInput_schema_1 = require("./UserWhereUniqueInput.schema"); +const UserUpdateToOneWithWhereWithoutTwilioSettingsInput_schema_1 = require("./UserUpdateToOneWithWhereWithoutTwilioSettingsInput.schema"); +const UserUpdateWithoutTwilioSettingsInput_schema_1 = require("./UserUpdateWithoutTwilioSettingsInput.schema"); +const UserUncheckedUpdateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedUpdateWithoutTwilioSettingsInput.schema"); +const makeSchema = () => z.object({ + create: z.union([z.lazy(() => UserCreateWithoutTwilioSettingsInput_schema_1.UserCreateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutTwilioSettingsInput_schema_1.UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema)]).optional(), + connectOrCreate: z.lazy(() => UserCreateOrConnectWithoutTwilioSettingsInput_schema_1.UserCreateOrConnectWithoutTwilioSettingsInputObjectSchema).optional(), + upsert: z.lazy(() => UserUpsertWithoutTwilioSettingsInput_schema_1.UserUpsertWithoutTwilioSettingsInputObjectSchema).optional(), + connect: z.lazy(() => UserWhereUniqueInput_schema_1.UserWhereUniqueInputObjectSchema).optional(), + update: z.union([z.lazy(() => UserUpdateToOneWithWhereWithoutTwilioSettingsInput_schema_1.UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUpdateWithoutTwilioSettingsInput_schema_1.UserUpdateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutTwilioSettingsInput_schema_1.UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema)]).optional() +}).strict(); +exports.UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectSchema = makeSchema(); +exports.UserUpdateOneRequiredWithoutTwilioSettingsNestedInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..1a4d8411 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutAiSettingsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutAiSettingsInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutAiSettingsInput_schema_1 = require("./UserUpdateWithoutAiSettingsInput.schema"); +const UserUncheckedUpdateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedUpdateWithoutAiSettingsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutAiSettingsInput_schema_1.UserUpdateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutAiSettingsInput_schema_1.UserUncheckedUpdateWithoutAiSettingsInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..0e10049d --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutInsuranceContactsInput_schema_1 = require("./UserUpdateWithoutInsuranceContactsInput.schema"); +const UserUncheckedUpdateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedUpdateWithoutInsuranceContactsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutInsuranceContactsInput_schema_1.UserUpdateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceContactsInput_schema_1.UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..99017f96 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutOfficeContactInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutOfficeContactInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutOfficeContactInput_schema_1 = require("./UserUpdateWithoutOfficeContactInput.schema"); +const UserUncheckedUpdateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedUpdateWithoutOfficeContactInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutOfficeContactInput_schema_1.UserUpdateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeContactInput_schema_1.UserUncheckedUpdateWithoutOfficeContactInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..3245169d --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutOfficeHoursInput_schema_1 = require("./UserUpdateWithoutOfficeHoursInput.schema"); +const UserUncheckedUpdateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedUpdateWithoutOfficeHoursInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutOfficeHoursInput_schema_1.UserUpdateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeHoursInput_schema_1.UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..3fcf4c5b --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutPatientConversationsInput_schema_1 = require("./UserUpdateWithoutPatientConversationsInput.schema"); +const UserUncheckedUpdateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedUpdateWithoutPatientConversationsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutPatientConversationsInput_schema_1.UserUpdateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientConversationsInput_schema_1.UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..2c872d5a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutProcedureTimeslotInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutProcedureTimeslotInput_schema_1 = require("./UserUpdateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedUpdateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedUpdateWithoutProcedureTimeslotInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutProcedureTimeslotInput_schema_1.UserUpdateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutProcedureTimeslotInput_schema_1.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..56c92b78 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutShoppingVendorsInput_schema_1 = require("./UserUpdateWithoutShoppingVendorsInput.schema"); +const UserUncheckedUpdateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedUpdateWithoutShoppingVendorsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutShoppingVendorsInput_schema_1.UserUpdateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutShoppingVendorsInput_schema_1.UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..1f0b4a34 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateToOneWithWhereWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectZodSchema = exports.UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const UserUpdateWithoutTwilioSettingsInput_schema_1 = require("./UserUpdateWithoutTwilioSettingsInput.schema"); +const UserUncheckedUpdateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedUpdateWithoutTwilioSettingsInput.schema"); +const makeSchema = () => z.object({ + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional(), + data: z.union([z.lazy(() => UserUpdateWithoutTwilioSettingsInput_schema_1.UserUpdateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutTwilioSettingsInput_schema_1.UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema)]) +}).strict(); +exports.UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserUpdateToOneWithWhereWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..ecba9e2a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutAiSettingsInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutAiSettingsInputObjectZodSchema = exports.UserUpdateWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.js index 83d5b809..9ef74500 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutAppointmentsInput.schema.js @@ -37,11 +37,13 @@ exports.UserUpdateWithoutAppointmentsInputObjectZodSchema = exports.UserUpdateWi const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -49,23 +51,43 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutAppointmentsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutAppointmentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutBackupDestinationsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutBackupDestinationsInput.schema.js index 8da3ecc5..760ef63c 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutBackupDestinationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutBackupDestinationsInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutBackupDestinationsInputObjectZodSchema = exports.UserUp const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutBackupDestinationsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutBackupDestinationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutBackupsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutBackupsInput.schema.js index dc4431b8..10b4cb02 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutBackupsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutBackupsInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutBackupsInputObjectZodSchema = exports.UserUpdateWithout const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutBackupsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutBackupsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutClaimsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutClaimsInput.schema.js index 16eb94f2..db76535b 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutClaimsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutClaimsInput.schema.js @@ -37,11 +37,13 @@ exports.UserUpdateWithoutClaimsInputObjectZodSchema = exports.UserUpdateWithoutC const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -49,23 +51,43 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutClaimsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutClaimsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFilesInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFilesInput.schema.js index 432b1e67..30451d8f 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFilesInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFilesInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutCloudFilesInputObjectZodSchema = exports.UserUpdateWith const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutCloudFilesInputObjectSchema = makeSchema(); exports.UserUpdateWithoutCloudFilesInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFoldersInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFoldersInput.schema.js index 56b6f02f..fcf41ad4 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFoldersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutCloudFoldersInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutCloudFoldersInputObjectZodSchema = exports.UserUpdateWi const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutCloudFoldersInputObjectSchema = makeSchema(); exports.UserUpdateWithoutCloudFoldersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutCommunicationsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutCommunicationsInput.schema.js index 5b64d4d9..50d4eab4 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutCommunicationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutCommunicationsInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutCommunicationsInputObjectZodSchema = exports.UserUpdate const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), - cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional() + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutCommunicationsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutCommunicationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..fc68c19b --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutInsuranceContactsInputObjectZodSchema = exports.UserUpdateWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceCredentialsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceCredentialsInput.schema.js index f5c8e273..4a3f3f25 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceCredentialsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutInsuranceCredentialsInput.schema.js @@ -37,11 +37,13 @@ exports.UserUpdateWithoutInsuranceCredentialsInputObjectZodSchema = exports.User const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -49,23 +51,43 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutInsuranceCredentialsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutInsuranceCredentialsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutNotificationsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutNotificationsInput.schema.js index f83cf722..d67454dd 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutNotificationsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutNotificationsInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutNotificationsInputObjectZodSchema = exports.UserUpdateW const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutNotificationsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutNotificationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutNpiProvidersInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutNpiProvidersInput.schema.js index 6acaa247..65a0974c 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutNpiProvidersInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutNpiProvidersInput.schema.js @@ -37,11 +37,13 @@ exports.UserUpdateWithoutNpiProvidersInputObjectZodSchema = exports.UserUpdateWi const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -49,23 +51,43 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutNpiProvidersInputObjectSchema = makeSchema(); exports.UserUpdateWithoutNpiProvidersInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..43e41327 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutOfficeContactInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutOfficeContactInputObjectZodSchema = exports.UserUpdateWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..0a7bf852 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutOfficeHoursInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutOfficeHoursInputObjectZodSchema = exports.UserUpdateWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..6da7d479 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutPatientConversationsInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutPatientConversationsInputObjectZodSchema = exports.UserUpdateWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.js index 5ba7147d..ea02fb87 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutPatientsInput.schema.js @@ -37,11 +37,13 @@ exports.UserUpdateWithoutPatientsInputObjectZodSchema = exports.UserUpdateWithou const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -49,23 +51,43 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutPatientsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutPatientsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..e324169a --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutProcedureTimeslotInputObjectZodSchema = exports.UserUpdateWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..290dd598 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutShoppingVendorsInputObjectZodSchema = exports.UserUpdateWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutStaffInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutStaffInput.schema.js index e5891d52..567bf404 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutStaffInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutStaffInput.schema.js @@ -37,11 +37,13 @@ exports.UserUpdateWithoutStaffInputObjectZodSchema = exports.UserUpdateWithoutSt const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); @@ -49,23 +51,43 @@ const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./Notific const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutStaffInputObjectSchema = makeSchema(); exports.UserUpdateWithoutStaffInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..941e1101 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,93 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpdateWithoutTwilioSettingsInputObjectZodSchema = exports.UserUpdateWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); +const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); +const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); +const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); +const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); +const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); +const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); +const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); +const PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1 = require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"); +const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); +const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); +const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); +const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); +const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); +const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); +const makeSchema = () => z.object({ + username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), + appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), + staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), + npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), + insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), + updatedPayments: z.lazy(() => PaymentUpdateManyWithoutUpdatedByNestedInput_schema_1.PaymentUpdateManyWithoutUpdatedByNestedInputObjectSchema).optional(), + backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), + backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), + cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() +}).strict(); +exports.UserUpdateWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserUpdateWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpdateWithoutUpdatedPaymentsInput.schema.js b/packages/db/shared/schemas/objects/UserUpdateWithoutUpdatedPaymentsInput.schema.js index 7be7dc15..2a03c180 100644 --- a/packages/db/shared/schemas/objects/UserUpdateWithoutUpdatedPaymentsInput.schema.js +++ b/packages/db/shared/schemas/objects/UserUpdateWithoutUpdatedPaymentsInput.schema.js @@ -37,35 +37,57 @@ exports.UserUpdateWithoutUpdatedPaymentsInputObjectZodSchema = exports.UserUpdat const z = __importStar(require("zod")); const StringFieldUpdateOperationsInput_schema_1 = require("./StringFieldUpdateOperationsInput.schema"); const BoolFieldUpdateOperationsInput_schema_1 = require("./BoolFieldUpdateOperationsInput.schema"); +const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema"); const PatientUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientUpdateManyWithoutUserNestedInput.schema"); const AppointmentUpdateManyWithoutUserNestedInput_schema_1 = require("./AppointmentUpdateManyWithoutUserNestedInput.schema"); const StaffUpdateManyWithoutUserNestedInput_schema_1 = require("./StaffUpdateManyWithoutUserNestedInput.schema"); const NpiProviderUpdateManyWithoutUserNestedInput_schema_1 = require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"); const ClaimUpdateManyWithoutUserNestedInput_schema_1 = require("./ClaimUpdateManyWithoutUserNestedInput.schema"); const InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceCredentialUpdateManyWithoutUserNestedInput.schema"); +const ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1 = require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"); const DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1 = require("./DatabaseBackupUpdateManyWithoutUserNestedInput.schema"); const BackupDestinationUpdateManyWithoutUserNestedInput_schema_1 = require("./BackupDestinationUpdateManyWithoutUserNestedInput.schema"); const NotificationUpdateManyWithoutUserNestedInput_schema_1 = require("./NotificationUpdateManyWithoutUserNestedInput.schema"); const CloudFolderUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"); const CloudFileUpdateManyWithoutUserNestedInput_schema_1 = require("./CloudFileUpdateManyWithoutUserNestedInput.schema"); const CommunicationUpdateManyWithoutUserNestedInput_schema_1 = require("./CommunicationUpdateManyWithoutUserNestedInput.schema"); +const TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"); +const AiSettingsUpdateOneWithoutUserNestedInput_schema_1 = require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"); +const OfficeHoursUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"); +const OfficeContactUpdateOneWithoutUserNestedInput_schema_1 = require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"); +const ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1 = require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"); +const InsuranceContactUpdateManyWithoutUserNestedInput_schema_1 = require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"); +const PatientConversationUpdateManyWithoutUserNestedInput_schema_1 = require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"); const makeSchema = () => z.object({ username: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), password: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInput_schema_1.StringFieldUpdateOperationsInputObjectSchema)]).optional(), autoBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), usbBackupEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + usbBackupHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckEnabled: z.union([z.boolean(), z.lazy(() => BoolFieldUpdateOperationsInput_schema_1.BoolFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckDayOfWeek: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), + autoMhCheckHour: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(), patients: z.lazy(() => PatientUpdateManyWithoutUserNestedInput_schema_1.PatientUpdateManyWithoutUserNestedInputObjectSchema).optional(), appointments: z.lazy(() => AppointmentUpdateManyWithoutUserNestedInput_schema_1.AppointmentUpdateManyWithoutUserNestedInputObjectSchema).optional(), staff: z.lazy(() => StaffUpdateManyWithoutUserNestedInput_schema_1.StaffUpdateManyWithoutUserNestedInputObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderUpdateManyWithoutUserNestedInput_schema_1.NpiProviderUpdateManyWithoutUserNestedInputObjectSchema).optional(), claims: z.lazy(() => ClaimUpdateManyWithoutUserNestedInput_schema_1.ClaimUpdateManyWithoutUserNestedInputObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialUpdateManyWithoutUserNestedInput_schema_1.InsuranceCredentialUpdateManyWithoutUserNestedInputObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorUpdateManyWithoutUserNestedInput_schema_1.ShoppingVendorUpdateManyWithoutUserNestedInputObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupUpdateManyWithoutUserNestedInput_schema_1.DatabaseBackupUpdateManyWithoutUserNestedInputObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationUpdateManyWithoutUserNestedInput_schema_1.BackupDestinationUpdateManyWithoutUserNestedInputObjectSchema).optional(), notifications: z.lazy(() => NotificationUpdateManyWithoutUserNestedInput_schema_1.NotificationUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutUserNestedInput_schema_1.CloudFolderUpdateManyWithoutUserNestedInputObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileUpdateManyWithoutUserNestedInput_schema_1.CloudFileUpdateManyWithoutUserNestedInputObjectSchema).optional(), - communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional() + communications: z.lazy(() => CommunicationUpdateManyWithoutUserNestedInput_schema_1.CommunicationUpdateManyWithoutUserNestedInputObjectSchema).optional(), + twilioSettings: z.lazy(() => TwilioSettingsUpdateOneWithoutUserNestedInput_schema_1.TwilioSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + aiSettings: z.lazy(() => AiSettingsUpdateOneWithoutUserNestedInput_schema_1.AiSettingsUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeHours: z.lazy(() => OfficeHoursUpdateOneWithoutUserNestedInput_schema_1.OfficeHoursUpdateOneWithoutUserNestedInputObjectSchema).optional(), + officeContact: z.lazy(() => OfficeContactUpdateOneWithoutUserNestedInput_schema_1.OfficeContactUpdateOneWithoutUserNestedInputObjectSchema).optional(), + procedureTimeslot: z.lazy(() => ProcedureTimeslotUpdateOneWithoutUserNestedInput_schema_1.ProcedureTimeslotUpdateOneWithoutUserNestedInputObjectSchema).optional(), + insuranceContacts: z.lazy(() => InsuranceContactUpdateManyWithoutUserNestedInput_schema_1.InsuranceContactUpdateManyWithoutUserNestedInputObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationUpdateManyWithoutUserNestedInput_schema_1.PatientConversationUpdateManyWithoutUserNestedInputObjectSchema).optional() }).strict(); exports.UserUpdateWithoutUpdatedPaymentsInputObjectSchema = makeSchema(); exports.UserUpdateWithoutUpdatedPaymentsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutAiSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutAiSettingsInput.schema.js new file mode 100644 index 00000000..fbf7ccbc --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutAiSettingsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutAiSettingsInputObjectZodSchema = exports.UserUpsertWithoutAiSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutAiSettingsInput_schema_1 = require("./UserUpdateWithoutAiSettingsInput.schema"); +const UserUncheckedUpdateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedUpdateWithoutAiSettingsInput.schema"); +const UserCreateWithoutAiSettingsInput_schema_1 = require("./UserCreateWithoutAiSettingsInput.schema"); +const UserUncheckedCreateWithoutAiSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutAiSettingsInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutAiSettingsInput_schema_1.UserUpdateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutAiSettingsInput_schema_1.UserUncheckedUpdateWithoutAiSettingsInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutAiSettingsInput_schema_1.UserCreateWithoutAiSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutAiSettingsInput_schema_1.UserUncheckedCreateWithoutAiSettingsInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutAiSettingsInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutAiSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutInsuranceContactsInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutInsuranceContactsInput.schema.js new file mode 100644 index 00000000..5965c4ee --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutInsuranceContactsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutInsuranceContactsInputObjectZodSchema = exports.UserUpsertWithoutInsuranceContactsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutInsuranceContactsInput_schema_1 = require("./UserUpdateWithoutInsuranceContactsInput.schema"); +const UserUncheckedUpdateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedUpdateWithoutInsuranceContactsInput.schema"); +const UserCreateWithoutInsuranceContactsInput_schema_1 = require("./UserCreateWithoutInsuranceContactsInput.schema"); +const UserUncheckedCreateWithoutInsuranceContactsInput_schema_1 = require("./UserUncheckedCreateWithoutInsuranceContactsInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutInsuranceContactsInput_schema_1.UserUpdateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutInsuranceContactsInput_schema_1.UserUncheckedUpdateWithoutInsuranceContactsInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutInsuranceContactsInput_schema_1.UserCreateWithoutInsuranceContactsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutInsuranceContactsInput_schema_1.UserUncheckedCreateWithoutInsuranceContactsInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutInsuranceContactsInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutInsuranceContactsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutOfficeContactInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutOfficeContactInput.schema.js new file mode 100644 index 00000000..70f29d76 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutOfficeContactInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutOfficeContactInputObjectZodSchema = exports.UserUpsertWithoutOfficeContactInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutOfficeContactInput_schema_1 = require("./UserUpdateWithoutOfficeContactInput.schema"); +const UserUncheckedUpdateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedUpdateWithoutOfficeContactInput.schema"); +const UserCreateWithoutOfficeContactInput_schema_1 = require("./UserCreateWithoutOfficeContactInput.schema"); +const UserUncheckedCreateWithoutOfficeContactInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeContactInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutOfficeContactInput_schema_1.UserUpdateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeContactInput_schema_1.UserUncheckedUpdateWithoutOfficeContactInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutOfficeContactInput_schema_1.UserCreateWithoutOfficeContactInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeContactInput_schema_1.UserUncheckedCreateWithoutOfficeContactInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutOfficeContactInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutOfficeContactInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutOfficeHoursInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutOfficeHoursInput.schema.js new file mode 100644 index 00000000..49641b42 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutOfficeHoursInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutOfficeHoursInputObjectZodSchema = exports.UserUpsertWithoutOfficeHoursInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutOfficeHoursInput_schema_1 = require("./UserUpdateWithoutOfficeHoursInput.schema"); +const UserUncheckedUpdateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedUpdateWithoutOfficeHoursInput.schema"); +const UserCreateWithoutOfficeHoursInput_schema_1 = require("./UserCreateWithoutOfficeHoursInput.schema"); +const UserUncheckedCreateWithoutOfficeHoursInput_schema_1 = require("./UserUncheckedCreateWithoutOfficeHoursInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutOfficeHoursInput_schema_1.UserUpdateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutOfficeHoursInput_schema_1.UserUncheckedUpdateWithoutOfficeHoursInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutOfficeHoursInput_schema_1.UserCreateWithoutOfficeHoursInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutOfficeHoursInput_schema_1.UserUncheckedCreateWithoutOfficeHoursInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutOfficeHoursInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutOfficeHoursInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutPatientConversationsInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutPatientConversationsInput.schema.js new file mode 100644 index 00000000..33fff403 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutPatientConversationsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutPatientConversationsInputObjectZodSchema = exports.UserUpsertWithoutPatientConversationsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutPatientConversationsInput_schema_1 = require("./UserUpdateWithoutPatientConversationsInput.schema"); +const UserUncheckedUpdateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedUpdateWithoutPatientConversationsInput.schema"); +const UserCreateWithoutPatientConversationsInput_schema_1 = require("./UserCreateWithoutPatientConversationsInput.schema"); +const UserUncheckedCreateWithoutPatientConversationsInput_schema_1 = require("./UserUncheckedCreateWithoutPatientConversationsInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutPatientConversationsInput_schema_1.UserUpdateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutPatientConversationsInput_schema_1.UserUncheckedUpdateWithoutPatientConversationsInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutPatientConversationsInput_schema_1.UserCreateWithoutPatientConversationsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutPatientConversationsInput_schema_1.UserUncheckedCreateWithoutPatientConversationsInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutPatientConversationsInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutPatientConversationsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutProcedureTimeslotInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutProcedureTimeslotInput.schema.js new file mode 100644 index 00000000..517156e1 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutProcedureTimeslotInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutProcedureTimeslotInputObjectZodSchema = exports.UserUpsertWithoutProcedureTimeslotInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutProcedureTimeslotInput_schema_1 = require("./UserUpdateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedUpdateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedUpdateWithoutProcedureTimeslotInput.schema"); +const UserCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserCreateWithoutProcedureTimeslotInput.schema"); +const UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1 = require("./UserUncheckedCreateWithoutProcedureTimeslotInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutProcedureTimeslotInput_schema_1.UserUpdateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutProcedureTimeslotInput_schema_1.UserUncheckedUpdateWithoutProcedureTimeslotInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutProcedureTimeslotInput_schema_1.UserCreateWithoutProcedureTimeslotInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutProcedureTimeslotInput_schema_1.UserUncheckedCreateWithoutProcedureTimeslotInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutProcedureTimeslotInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutProcedureTimeslotInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutShoppingVendorsInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutShoppingVendorsInput.schema.js new file mode 100644 index 00000000..137eb6f9 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutShoppingVendorsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutShoppingVendorsInputObjectZodSchema = exports.UserUpsertWithoutShoppingVendorsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutShoppingVendorsInput_schema_1 = require("./UserUpdateWithoutShoppingVendorsInput.schema"); +const UserUncheckedUpdateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedUpdateWithoutShoppingVendorsInput.schema"); +const UserCreateWithoutShoppingVendorsInput_schema_1 = require("./UserCreateWithoutShoppingVendorsInput.schema"); +const UserUncheckedCreateWithoutShoppingVendorsInput_schema_1 = require("./UserUncheckedCreateWithoutShoppingVendorsInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutShoppingVendorsInput_schema_1.UserUpdateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutShoppingVendorsInput_schema_1.UserUncheckedUpdateWithoutShoppingVendorsInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutShoppingVendorsInput_schema_1.UserCreateWithoutShoppingVendorsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutShoppingVendorsInput_schema_1.UserUncheckedCreateWithoutShoppingVendorsInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutShoppingVendorsInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutShoppingVendorsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserUpsertWithoutTwilioSettingsInput.schema.js b/packages/db/shared/schemas/objects/UserUpsertWithoutTwilioSettingsInput.schema.js new file mode 100644 index 00000000..543c6ed1 --- /dev/null +++ b/packages/db/shared/schemas/objects/UserUpsertWithoutTwilioSettingsInput.schema.js @@ -0,0 +1,49 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UserUpsertWithoutTwilioSettingsInputObjectZodSchema = exports.UserUpsertWithoutTwilioSettingsInputObjectSchema = void 0; +const z = __importStar(require("zod")); +const UserUpdateWithoutTwilioSettingsInput_schema_1 = require("./UserUpdateWithoutTwilioSettingsInput.schema"); +const UserUncheckedUpdateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedUpdateWithoutTwilioSettingsInput.schema"); +const UserCreateWithoutTwilioSettingsInput_schema_1 = require("./UserCreateWithoutTwilioSettingsInput.schema"); +const UserUncheckedCreateWithoutTwilioSettingsInput_schema_1 = require("./UserUncheckedCreateWithoutTwilioSettingsInput.schema"); +const UserWhereInput_schema_1 = require("./UserWhereInput.schema"); +const makeSchema = () => z.object({ + update: z.union([z.lazy(() => UserUpdateWithoutTwilioSettingsInput_schema_1.UserUpdateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedUpdateWithoutTwilioSettingsInput_schema_1.UserUncheckedUpdateWithoutTwilioSettingsInputObjectSchema)]), + create: z.union([z.lazy(() => UserCreateWithoutTwilioSettingsInput_schema_1.UserCreateWithoutTwilioSettingsInputObjectSchema), z.lazy(() => UserUncheckedCreateWithoutTwilioSettingsInput_schema_1.UserUncheckedCreateWithoutTwilioSettingsInputObjectSchema)]), + where: z.lazy(() => UserWhereInput_schema_1.UserWhereInputObjectSchema).optional() +}).strict(); +exports.UserUpsertWithoutTwilioSettingsInputObjectSchema = makeSchema(); +exports.UserUpsertWithoutTwilioSettingsInputObjectZodSchema = makeSchema(); diff --git a/packages/db/shared/schemas/objects/UserWhereInput.schema.js b/packages/db/shared/schemas/objects/UserWhereInput.schema.js index 7a4fa03a..b8a7c862 100644 --- a/packages/db/shared/schemas/objects/UserWhereInput.schema.js +++ b/packages/db/shared/schemas/objects/UserWhereInput.schema.js @@ -44,6 +44,7 @@ const StaffListRelationFilter_schema_1 = require("./StaffListRelationFilter.sche const NpiProviderListRelationFilter_schema_1 = require("./NpiProviderListRelationFilter.schema"); const ClaimListRelationFilter_schema_1 = require("./ClaimListRelationFilter.schema"); const InsuranceCredentialListRelationFilter_schema_1 = require("./InsuranceCredentialListRelationFilter.schema"); +const ShoppingVendorListRelationFilter_schema_1 = require("./ShoppingVendorListRelationFilter.schema"); const PaymentListRelationFilter_schema_1 = require("./PaymentListRelationFilter.schema"); const DatabaseBackupListRelationFilter_schema_1 = require("./DatabaseBackupListRelationFilter.schema"); const BackupDestinationListRelationFilter_schema_1 = require("./BackupDestinationListRelationFilter.schema"); @@ -51,6 +52,18 @@ const NotificationListRelationFilter_schema_1 = require("./NotificationListRelat const CloudFolderListRelationFilter_schema_1 = require("./CloudFolderListRelationFilter.schema"); const CloudFileListRelationFilter_schema_1 = require("./CloudFileListRelationFilter.schema"); const CommunicationListRelationFilter_schema_1 = require("./CommunicationListRelationFilter.schema"); +const TwilioSettingsNullableScalarRelationFilter_schema_1 = require("./TwilioSettingsNullableScalarRelationFilter.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./TwilioSettingsWhereInput.schema"); +const AiSettingsNullableScalarRelationFilter_schema_1 = require("./AiSettingsNullableScalarRelationFilter.schema"); +const AiSettingsWhereInput_schema_1 = require("./AiSettingsWhereInput.schema"); +const OfficeHoursNullableScalarRelationFilter_schema_1 = require("./OfficeHoursNullableScalarRelationFilter.schema"); +const OfficeHoursWhereInput_schema_1 = require("./OfficeHoursWhereInput.schema"); +const OfficeContactNullableScalarRelationFilter_schema_1 = require("./OfficeContactNullableScalarRelationFilter.schema"); +const OfficeContactWhereInput_schema_1 = require("./OfficeContactWhereInput.schema"); +const ProcedureTimeslotNullableScalarRelationFilter_schema_1 = require("./ProcedureTimeslotNullableScalarRelationFilter.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./ProcedureTimeslotWhereInput.schema"); +const InsuranceContactListRelationFilter_schema_1 = require("./InsuranceContactListRelationFilter.schema"); +const PatientConversationListRelationFilter_schema_1 = require("./PatientConversationListRelationFilter.schema"); const userwhereinputSchema = z.object({ AND: z.union([z.lazy(() => exports.UserWhereInputObjectSchema), z.lazy(() => exports.UserWhereInputObjectSchema).array()]).optional(), OR: z.lazy(() => exports.UserWhereInputObjectSchema).array().optional(), @@ -59,20 +72,33 @@ const userwhereinputSchema = z.object({ username: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), password: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(), autoBackupEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + autoBackupHour: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), usbBackupEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + usbBackupHour: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + autoMhCheckEnabled: z.union([z.lazy(() => BoolFilter_schema_1.BoolFilterObjectSchema), z.boolean()]).optional(), + autoMhCheckDayOfWeek: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), + autoMhCheckHour: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(), patients: z.lazy(() => PatientListRelationFilter_schema_1.PatientListRelationFilterObjectSchema).optional(), appointments: z.lazy(() => AppointmentListRelationFilter_schema_1.AppointmentListRelationFilterObjectSchema).optional(), staff: z.lazy(() => StaffListRelationFilter_schema_1.StaffListRelationFilterObjectSchema).optional(), npiProviders: z.lazy(() => NpiProviderListRelationFilter_schema_1.NpiProviderListRelationFilterObjectSchema).optional(), claims: z.lazy(() => ClaimListRelationFilter_schema_1.ClaimListRelationFilterObjectSchema).optional(), insuranceCredentials: z.lazy(() => InsuranceCredentialListRelationFilter_schema_1.InsuranceCredentialListRelationFilterObjectSchema).optional(), + shoppingVendors: z.lazy(() => ShoppingVendorListRelationFilter_schema_1.ShoppingVendorListRelationFilterObjectSchema).optional(), updatedPayments: z.lazy(() => PaymentListRelationFilter_schema_1.PaymentListRelationFilterObjectSchema).optional(), backups: z.lazy(() => DatabaseBackupListRelationFilter_schema_1.DatabaseBackupListRelationFilterObjectSchema).optional(), backupDestinations: z.lazy(() => BackupDestinationListRelationFilter_schema_1.BackupDestinationListRelationFilterObjectSchema).optional(), notifications: z.lazy(() => NotificationListRelationFilter_schema_1.NotificationListRelationFilterObjectSchema).optional(), cloudFolders: z.lazy(() => CloudFolderListRelationFilter_schema_1.CloudFolderListRelationFilterObjectSchema).optional(), cloudFiles: z.lazy(() => CloudFileListRelationFilter_schema_1.CloudFileListRelationFilterObjectSchema).optional(), - communications: z.lazy(() => CommunicationListRelationFilter_schema_1.CommunicationListRelationFilterObjectSchema).optional() + communications: z.lazy(() => CommunicationListRelationFilter_schema_1.CommunicationListRelationFilterObjectSchema).optional(), + twilioSettings: z.union([z.lazy(() => TwilioSettingsNullableScalarRelationFilter_schema_1.TwilioSettingsNullableScalarRelationFilterObjectSchema), z.lazy(() => TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema)]).optional(), + aiSettings: z.union([z.lazy(() => AiSettingsNullableScalarRelationFilter_schema_1.AiSettingsNullableScalarRelationFilterObjectSchema), z.lazy(() => AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema)]).optional(), + officeHours: z.union([z.lazy(() => OfficeHoursNullableScalarRelationFilter_schema_1.OfficeHoursNullableScalarRelationFilterObjectSchema), z.lazy(() => OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema)]).optional(), + officeContact: z.union([z.lazy(() => OfficeContactNullableScalarRelationFilter_schema_1.OfficeContactNullableScalarRelationFilterObjectSchema), z.lazy(() => OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema)]).optional(), + procedureTimeslot: z.union([z.lazy(() => ProcedureTimeslotNullableScalarRelationFilter_schema_1.ProcedureTimeslotNullableScalarRelationFilterObjectSchema), z.lazy(() => ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema)]).optional(), + insuranceContacts: z.lazy(() => InsuranceContactListRelationFilter_schema_1.InsuranceContactListRelationFilterObjectSchema).optional(), + patientConversations: z.lazy(() => PatientConversationListRelationFilter_schema_1.PatientConversationListRelationFilterObjectSchema).optional() }).strict(); exports.UserWhereInputObjectSchema = userwhereinputSchema; exports.UserWhereInputObjectZodSchema = userwhereinputSchema; diff --git a/packages/db/shared/schemas/objects/index.js b/packages/db/shared/schemas/objects/index.js index 5d9836c6..c4f05111 100644 --- a/packages/db/shared/schemas/objects/index.js +++ b/packages/db/shared/schemas/objects/index.js @@ -18,6 +18,43 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./AiSettingsArgs.schema"), exports); +__exportStar(require("./AiSettingsAvgAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsCountAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsCreateInput.schema"), exports); +__exportStar(require("./AiSettingsCreateManyInput.schema"), exports); +__exportStar(require("./AiSettingsCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsCreateWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsInclude.schema"), exports); +__exportStar(require("./AiSettingsMaxAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsMinAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsNullableScalarRelationFilter.schema"), exports); +__exportStar(require("./AiSettingsOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./AiSettingsOrderByWithRelationInput.schema"), exports); +__exportStar(require("./AiSettingsScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./AiSettingsSelect.schema"), exports); +__exportStar(require("./AiSettingsSumAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedCreateInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedUpdateInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./AiSettingsUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsUpdateInput.schema"), exports); +__exportStar(require("./AiSettingsUpdateManyMutationInput.schema"), exports); +__exportStar(require("./AiSettingsUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./AiSettingsUpdateToOneWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsUpsertWithoutUserInput.schema"), exports); +__exportStar(require("./AiSettingsWhereInput.schema"), exports); +__exportStar(require("./AiSettingsWhereUniqueInput.schema"), exports); __exportStar(require("./AppointmentArgs.schema.d"), exports); __exportStar(require("./AppointmentArgs.schema"), exports); __exportStar(require("./AppointmentAvgAggregateInput.schema.d"), exports); @@ -32,6 +69,7 @@ __exportStar(require("./AppointmentCountOutputTypeArgs.schema.d"), exports); __exportStar(require("./AppointmentCountOutputTypeArgs.schema"), exports); __exportStar(require("./AppointmentCountOutputTypeCountClaimsArgs.schema.d"), exports); __exportStar(require("./AppointmentCountOutputTypeCountClaimsArgs.schema"), exports); +__exportStar(require("./AppointmentCountOutputTypeCountFilesArgs.schema"), exports); __exportStar(require("./AppointmentCountOutputTypeCountProceduresArgs.schema.d"), exports); __exportStar(require("./AppointmentCountOutputTypeCountProceduresArgs.schema"), exports); __exportStar(require("./AppointmentCountOutputTypeSelect.schema.d"), exports); @@ -60,10 +98,12 @@ __exportStar(require("./AppointmentCreateNestedManyWithoutUserInput.schema.d"), __exportStar(require("./AppointmentCreateNestedManyWithoutUserInput.schema"), exports); __exportStar(require("./AppointmentCreateNestedOneWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentCreateNestedOneWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentCreateNestedOneWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentCreateNestedOneWithoutProceduresInput.schema.d"), exports); __exportStar(require("./AppointmentCreateNestedOneWithoutProceduresInput.schema"), exports); __exportStar(require("./AppointmentCreateOrConnectWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentCreateOrConnectWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentCreateOrConnectWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentCreateOrConnectWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentCreateOrConnectWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentCreateOrConnectWithoutProceduresInput.schema.d"), exports); @@ -74,6 +114,7 @@ __exportStar(require("./AppointmentCreateOrConnectWithoutUserInput.schema.d"), e __exportStar(require("./AppointmentCreateOrConnectWithoutUserInput.schema"), exports); __exportStar(require("./AppointmentCreateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentCreateWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentCreateWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentCreateWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentCreateWithoutProceduresInput.schema.d"), exports); @@ -82,6 +123,49 @@ __exportStar(require("./AppointmentCreateWithoutStaffInput.schema.d"), exports); __exportStar(require("./AppointmentCreateWithoutStaffInput.schema"), exports); __exportStar(require("./AppointmentCreateWithoutUserInput.schema.d"), exports); __exportStar(require("./AppointmentCreateWithoutUserInput.schema"), exports); +__exportStar(require("./AppointmentFileArgs.schema"), exports); +__exportStar(require("./AppointmentFileAvgAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileCountAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileCreateInput.schema"), exports); +__exportStar(require("./AppointmentFileCreateManyAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileCreateManyAppointmentInputEnvelope.schema"), exports); +__exportStar(require("./AppointmentFileCreateManyInput.schema"), exports); +__exportStar(require("./AppointmentFileCreateNestedManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileCreateOrConnectWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileCreateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileInclude.schema"), exports); +__exportStar(require("./AppointmentFileListRelationFilter.schema"), exports); +__exportStar(require("./AppointmentFileMaxAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileMinAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileOrderByRelationAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./AppointmentFileOrderByWithRelationInput.schema"), exports); +__exportStar(require("./AppointmentFileScalarWhereInput.schema"), exports); +__exportStar(require("./AppointmentFileScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./AppointmentFileSelect.schema"), exports); +__exportStar(require("./AppointmentFileSumAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedCreateInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedCreateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedUpdateInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput.schema"), exports); +__exportStar(require("./AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUpdateInput.schema"), exports); +__exportStar(require("./AppointmentFileUpdateManyMutationInput.schema"), exports); +__exportStar(require("./AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUpdateManyWithoutAppointmentNestedInput.schema"), exports); +__exportStar(require("./AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUpdateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentFileWhereInput.schema"), exports); +__exportStar(require("./AppointmentFileWhereUniqueInput.schema"), exports); __exportStar(require("./AppointmentInclude.schema.d"), exports); __exportStar(require("./AppointmentInclude.schema"), exports); __exportStar(require("./AppointmentListRelationFilter.schema.d"), exports); @@ -94,6 +178,7 @@ __exportStar(require("./AppointmentMinAggregateInput.schema.d"), exports); __exportStar(require("./AppointmentMinAggregateInput.schema"), exports); __exportStar(require("./AppointmentMinOrderByAggregateInput.schema.d"), exports); __exportStar(require("./AppointmentMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./AppointmentNullableScalarRelationFilter.schema"), exports); __exportStar(require("./AppointmentOrderByRelationAggregateInput.schema.d"), exports); __exportStar(require("./AppointmentOrderByRelationAggregateInput.schema"), exports); __exportStar(require("./AppointmentOrderByWithAggregationInput.schema.d"), exports); @@ -118,7 +203,9 @@ __exportStar(require("./AppointmentProcedureCreateManyAppointmentInputEnvelope.s __exportStar(require("./AppointmentProcedureCreateManyAppointmentInputEnvelope.schema"), exports); __exportStar(require("./AppointmentProcedureCreateManyInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateManyInput.schema"), exports); +__exportStar(require("./AppointmentProcedureCreateManyNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateManyNpiProviderInput.schema"), exports); +__exportStar(require("./AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema"), exports); __exportStar(require("./AppointmentProcedureCreateManyPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateManyPatientInput.schema"), exports); @@ -126,16 +213,19 @@ __exportStar(require("./AppointmentProcedureCreateManyPatientInputEnvelope.schem __exportStar(require("./AppointmentProcedureCreateManyPatientInputEnvelope.schema"), exports); __exportStar(require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureCreateNestedManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateNestedManyWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentProcedureCreateOrConnectWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateOrConnectWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureCreateOrConnectWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateOrConnectWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentProcedureCreateWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureCreateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureCreateWithoutPatientInput.schema"), exports); @@ -171,11 +261,13 @@ __exportStar(require("./AppointmentProcedureUncheckedCreateInput.schema.d"), exp __exportStar(require("./AppointmentProcedureUncheckedCreateInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateNestedManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedCreateWithoutPatientInput.schema"), exports); @@ -187,7 +279,9 @@ __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmen __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutAppointmentNestedInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutPatientInput.schema"), exports); @@ -195,6 +289,7 @@ __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutPatientNes __exportStar(require("./AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUncheckedUpdateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUncheckedUpdateWithoutPatientInput.schema"), exports); @@ -204,26 +299,31 @@ __exportStar(require("./AppointmentProcedureUpdateManyMutationInput.schema.d"), __exportStar(require("./AppointmentProcedureUpdateManyMutationInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithWhereWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithWhereWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUpdateManyWithWhereWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithWhereWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithWhereWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithWhereWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithoutAppointmentNestedInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithoutNpiProviderNestedInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithoutPatientNestedInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateManyWithoutPatientNestedInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateWithWhereUniqueWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateWithWhereUniqueWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUpdateWithWhereUniqueWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateWithWhereUniqueWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateWithWhereUniqueWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUpdateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpsertWithWhereUniqueWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpsertWithWhereUniqueWithoutAppointmentInput.schema"), exports); +__exportStar(require("./AppointmentProcedureUpsertWithWhereUniqueWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpsertWithWhereUniqueWithoutNpiProviderInput.schema"), exports); __exportStar(require("./AppointmentProcedureUpsertWithWhereUniqueWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentProcedureUpsertWithWhereUniqueWithoutPatientInput.schema"), exports); @@ -253,6 +353,7 @@ __exportStar(require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.sch __exportStar(require("./AppointmentUncheckedCreateNestedManyWithoutUserInput.schema"), exports); __exportStar(require("./AppointmentUncheckedCreateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentUncheckedCreateWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentUncheckedCreateWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentUncheckedCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentUncheckedCreateWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentUncheckedCreateWithoutProceduresInput.schema.d"), exports); @@ -279,6 +380,7 @@ __exportStar(require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.sch __exportStar(require("./AppointmentUncheckedUpdateManyWithoutUserNestedInput.schema"), exports); __exportStar(require("./AppointmentUncheckedUpdateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentUncheckedUpdateWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentUncheckedUpdateWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentUncheckedUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentUncheckedUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentUncheckedUpdateWithoutProceduresInput.schema.d"), exports); @@ -304,11 +406,13 @@ __exportStar(require("./AppointmentUpdateManyWithoutStaffNestedInput.schema"), e __exportStar(require("./AppointmentUpdateManyWithoutUserNestedInput.schema.d"), exports); __exportStar(require("./AppointmentUpdateManyWithoutUserNestedInput.schema"), exports); __exportStar(require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema.d"), exports); -__exportStar(require("./AppointmentUpdateOneRequiredWithoutClaimsNestedInput.schema"), exports); +__exportStar(require("./AppointmentUpdateOneRequiredWithoutFilesNestedInput.schema"), exports); __exportStar(require("./AppointmentUpdateOneRequiredWithoutProceduresNestedInput.schema.d"), exports); __exportStar(require("./AppointmentUpdateOneRequiredWithoutProceduresNestedInput.schema"), exports); +__exportStar(require("./AppointmentUpdateOneWithoutClaimsNestedInput.schema"), exports); __exportStar(require("./AppointmentUpdateToOneWithWhereWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentUpdateToOneWithWhereWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentUpdateToOneWithWhereWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentUpdateToOneWithWhereWithoutProceduresInput.schema.d"), exports); __exportStar(require("./AppointmentUpdateToOneWithWhereWithoutProceduresInput.schema"), exports); __exportStar(require("./AppointmentUpdateWithWhereUniqueWithoutPatientInput.schema.d"), exports); @@ -319,6 +423,7 @@ __exportStar(require("./AppointmentUpdateWithWhereUniqueWithoutUserInput.schema. __exportStar(require("./AppointmentUpdateWithWhereUniqueWithoutUserInput.schema"), exports); __exportStar(require("./AppointmentUpdateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentUpdateWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentUpdateWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./AppointmentUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./AppointmentUpdateWithoutProceduresInput.schema.d"), exports); @@ -335,6 +440,7 @@ __exportStar(require("./AppointmentUpsertWithWhereUniqueWithoutUserInput.schema. __exportStar(require("./AppointmentUpsertWithWhereUniqueWithoutUserInput.schema"), exports); __exportStar(require("./AppointmentUpsertWithoutClaimsInput.schema.d"), exports); __exportStar(require("./AppointmentUpsertWithoutClaimsInput.schema"), exports); +__exportStar(require("./AppointmentUpsertWithoutFilesInput.schema"), exports); __exportStar(require("./AppointmentUpsertWithoutProceduresInput.schema.d"), exports); __exportStar(require("./AppointmentUpsertWithoutProceduresInput.schema"), exports); __exportStar(require("./AppointmentWhereInput.schema.d"), exports); @@ -471,7 +577,9 @@ __exportStar(require("./ClaimCreateManyAppointmentInputEnvelope.schema.d"), expo __exportStar(require("./ClaimCreateManyAppointmentInputEnvelope.schema"), exports); __exportStar(require("./ClaimCreateManyInput.schema.d"), exports); __exportStar(require("./ClaimCreateManyInput.schema"), exports); +__exportStar(require("./ClaimCreateManyNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimCreateManyNpiProviderInput.schema"), exports); +__exportStar(require("./ClaimCreateManyNpiProviderInputEnvelope.schema.d"), exports); __exportStar(require("./ClaimCreateManyNpiProviderInputEnvelope.schema"), exports); __exportStar(require("./ClaimCreateManyPatientInput.schema.d"), exports); __exportStar(require("./ClaimCreateManyPatientInput.schema"), exports); @@ -487,6 +595,7 @@ __exportStar(require("./ClaimCreateManyUserInputEnvelope.schema.d"), exports); __exportStar(require("./ClaimCreateManyUserInputEnvelope.schema"), exports); __exportStar(require("./ClaimCreateNestedManyWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimCreateNestedManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimCreateNestedManyWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimCreateNestedManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimCreateNestedManyWithoutPatientInput.schema"), exports); @@ -504,6 +613,7 @@ __exportStar(require("./ClaimCreateOrConnectWithoutAppointmentInput.schema.d"), __exportStar(require("./ClaimCreateOrConnectWithoutAppointmentInput.schema"), exports); __exportStar(require("./ClaimCreateOrConnectWithoutClaimFilesInput.schema.d"), exports); __exportStar(require("./ClaimCreateOrConnectWithoutClaimFilesInput.schema"), exports); +__exportStar(require("./ClaimCreateOrConnectWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimCreateOrConnectWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimCreateOrConnectWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimCreateOrConnectWithoutPatientInput.schema"), exports); @@ -519,6 +629,7 @@ __exportStar(require("./ClaimCreateWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimCreateWithoutAppointmentInput.schema"), exports); __exportStar(require("./ClaimCreateWithoutClaimFilesInput.schema.d"), exports); __exportStar(require("./ClaimCreateWithoutClaimFilesInput.schema"), exports); +__exportStar(require("./ClaimCreateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimCreateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimCreateWithoutPatientInput.schema"), exports); @@ -652,6 +763,7 @@ __exportStar(require("./ClaimUncheckedCreateInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateInput.schema"), exports); __exportStar(require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateNestedManyWithoutAppointmentInput.schema"), exports); +__exportStar(require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateNestedManyWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUncheckedCreateNestedManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateNestedManyWithoutPatientInput.schema"), exports); @@ -663,6 +775,7 @@ __exportStar(require("./ClaimUncheckedCreateWithoutAppointmentInput.schema.d"), __exportStar(require("./ClaimUncheckedCreateWithoutAppointmentInput.schema"), exports); __exportStar(require("./ClaimUncheckedCreateWithoutClaimFilesInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateWithoutClaimFilesInput.schema"), exports); +__exportStar(require("./ClaimUncheckedCreateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUncheckedCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedCreateWithoutPatientInput.schema"), exports); @@ -682,7 +795,9 @@ __exportStar(require("./ClaimUncheckedUpdateManyWithoutAppointmentInput.schema.d __exportStar(require("./ClaimUncheckedUpdateManyWithoutAppointmentInput.schema"), exports); __exportStar(require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateManyWithoutAppointmentNestedInput.schema"), exports); +__exportStar(require("./ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateManyWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"), exports); __exportStar(require("./ClaimUncheckedUpdateManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateManyWithoutPatientInput.schema"), exports); @@ -700,6 +815,7 @@ __exportStar(require("./ClaimUncheckedUpdateWithoutAppointmentInput.schema.d"), __exportStar(require("./ClaimUncheckedUpdateWithoutAppointmentInput.schema"), exports); __exportStar(require("./ClaimUncheckedUpdateWithoutClaimFilesInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateWithoutClaimFilesInput.schema"), exports); +__exportStar(require("./ClaimUncheckedUpdateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUncheckedUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUncheckedUpdateWithoutPatientInput.schema"), exports); @@ -717,6 +833,7 @@ __exportStar(require("./ClaimUpdateManyMutationInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyMutationInput.schema"), exports); __exportStar(require("./ClaimUpdateManyWithWhereWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyWithWhereWithoutAppointmentInput.schema"), exports); +__exportStar(require("./ClaimUpdateManyWithWhereWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyWithWhereWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUpdateManyWithWhereWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyWithWhereWithoutPatientInput.schema"), exports); @@ -726,6 +843,7 @@ __exportStar(require("./ClaimUpdateManyWithWhereWithoutUserInput.schema.d"), exp __exportStar(require("./ClaimUpdateManyWithWhereWithoutUserInput.schema"), exports); __exportStar(require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyWithoutAppointmentNestedInput.schema"), exports); +__exportStar(require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyWithoutNpiProviderNestedInput.schema"), exports); __exportStar(require("./ClaimUpdateManyWithoutPatientNestedInput.schema.d"), exports); __exportStar(require("./ClaimUpdateManyWithoutPatientNestedInput.schema"), exports); @@ -747,6 +865,7 @@ __exportStar(require("./ClaimUpdateToOneWithWhereWithoutServiceLinesInput.schema __exportStar(require("./ClaimUpdateToOneWithWhereWithoutServiceLinesInput.schema"), exports); __exportStar(require("./ClaimUpdateWithWhereUniqueWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithWhereUniqueWithoutAppointmentInput.schema"), exports); +__exportStar(require("./ClaimUpdateWithWhereUniqueWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithWhereUniqueWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUpdateWithWhereUniqueWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithWhereUniqueWithoutPatientInput.schema"), exports); @@ -758,6 +877,7 @@ __exportStar(require("./ClaimUpdateWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithoutAppointmentInput.schema"), exports); __exportStar(require("./ClaimUpdateWithoutClaimFilesInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithoutClaimFilesInput.schema"), exports); +__exportStar(require("./ClaimUpdateWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithoutPatientInput.schema"), exports); @@ -771,6 +891,7 @@ __exportStar(require("./ClaimUpdateWithoutUserInput.schema.d"), exports); __exportStar(require("./ClaimUpdateWithoutUserInput.schema"), exports); __exportStar(require("./ClaimUpsertWithWhereUniqueWithoutAppointmentInput.schema.d"), exports); __exportStar(require("./ClaimUpsertWithWhereUniqueWithoutAppointmentInput.schema"), exports); +__exportStar(require("./ClaimUpsertWithWhereUniqueWithoutNpiProviderInput.schema.d"), exports); __exportStar(require("./ClaimUpsertWithWhereUniqueWithoutNpiProviderInput.schema"), exports); __exportStar(require("./ClaimUpsertWithWhereUniqueWithoutPatientInput.schema.d"), exports); __exportStar(require("./ClaimUpsertWithWhereUniqueWithoutPatientInput.schema"), exports); @@ -1044,12 +1165,15 @@ __exportStar(require("./CloudFolderCreateManyParentInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateManyParentInput.schema"), exports); __exportStar(require("./CloudFolderCreateManyParentInputEnvelope.schema.d"), exports); __exportStar(require("./CloudFolderCreateManyParentInputEnvelope.schema"), exports); +__exportStar(require("./CloudFolderCreateManyPatientInput.schema"), exports); +__exportStar(require("./CloudFolderCreateManyPatientInputEnvelope.schema"), exports); __exportStar(require("./CloudFolderCreateManyUserInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateManyUserInput.schema"), exports); __exportStar(require("./CloudFolderCreateManyUserInputEnvelope.schema.d"), exports); __exportStar(require("./CloudFolderCreateManyUserInputEnvelope.schema"), exports); __exportStar(require("./CloudFolderCreateNestedManyWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateNestedManyWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderCreateNestedManyWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderCreateNestedManyWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateNestedManyWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderCreateNestedOneWithoutChildrenInput.schema.d"), exports); @@ -1062,6 +1186,7 @@ __exportStar(require("./CloudFolderCreateOrConnectWithoutFilesInput.schema.d"), __exportStar(require("./CloudFolderCreateOrConnectWithoutFilesInput.schema"), exports); __exportStar(require("./CloudFolderCreateOrConnectWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateOrConnectWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderCreateOrConnectWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderCreateOrConnectWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateOrConnectWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderCreateWithoutChildrenInput.schema.d"), exports); @@ -1070,6 +1195,7 @@ __exportStar(require("./CloudFolderCreateWithoutFilesInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateWithoutFilesInput.schema"), exports); __exportStar(require("./CloudFolderCreateWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderCreateWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderCreateWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderCreateWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderInclude.schema.d"), exports); @@ -1106,6 +1232,7 @@ __exportStar(require("./CloudFolderUncheckedCreateInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedCreateInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedCreateNestedManyWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedCreateNestedManyWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedCreateNestedManyWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedCreateWithoutChildrenInput.schema.d"), exports); @@ -1114,6 +1241,7 @@ __exportStar(require("./CloudFolderUncheckedCreateWithoutFilesInput.schema.d"), __exportStar(require("./CloudFolderUncheckedCreateWithoutFilesInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedCreateWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedCreateWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUncheckedCreateWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedCreateWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedCreateWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedUpdateInput.schema.d"), exports); @@ -1124,6 +1252,8 @@ __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutParentInput.schema. __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutParentInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutParentNestedInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutParentNestedInput.schema"), exports); +__exportStar(require("./CloudFolderUncheckedUpdateManyWithoutPatientInput.schema"), exports); +__exportStar(require("./CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedUpdateManyWithoutUserNestedInput.schema.d"), exports); @@ -1134,6 +1264,7 @@ __exportStar(require("./CloudFolderUncheckedUpdateWithoutFilesInput.schema.d"), __exportStar(require("./CloudFolderUncheckedUpdateWithoutFilesInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedUpdateWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedUpdateWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUncheckedUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUncheckedUpdateWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUncheckedUpdateWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUpdateInput.schema.d"), exports); @@ -1142,10 +1273,12 @@ __exportStar(require("./CloudFolderUpdateManyMutationInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateManyMutationInput.schema"), exports); __exportStar(require("./CloudFolderUpdateManyWithWhereWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateManyWithWhereWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUpdateManyWithWhereWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUpdateManyWithWhereWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateManyWithWhereWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUpdateManyWithoutParentNestedInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateManyWithoutParentNestedInput.schema"), exports); +__exportStar(require("./CloudFolderUpdateManyWithoutPatientNestedInput.schema"), exports); __exportStar(require("./CloudFolderUpdateManyWithoutUserNestedInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateManyWithoutUserNestedInput.schema"), exports); __exportStar(require("./CloudFolderUpdateOneWithoutChildrenNestedInput.schema.d"), exports); @@ -1158,6 +1291,7 @@ __exportStar(require("./CloudFolderUpdateToOneWithWhereWithoutFilesInput.schema. __exportStar(require("./CloudFolderUpdateToOneWithWhereWithoutFilesInput.schema"), exports); __exportStar(require("./CloudFolderUpdateWithWhereUniqueWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateWithWhereUniqueWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUpdateWithWhereUniqueWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateWithWhereUniqueWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUpdateWithoutChildrenInput.schema.d"), exports); @@ -1166,10 +1300,12 @@ __exportStar(require("./CloudFolderUpdateWithoutFilesInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateWithoutFilesInput.schema"), exports); __exportStar(require("./CloudFolderUpdateWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUpdateWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUpdateWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUpsertWithWhereUniqueWithoutParentInput.schema.d"), exports); __exportStar(require("./CloudFolderUpsertWithWhereUniqueWithoutParentInput.schema"), exports); +__exportStar(require("./CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema"), exports); __exportStar(require("./CloudFolderUpsertWithWhereUniqueWithoutUserInput.schema.d"), exports); __exportStar(require("./CloudFolderUpsertWithWhereUniqueWithoutUserInput.schema"), exports); __exportStar(require("./CloudFolderUpsertWithoutChildrenInput.schema.d"), exports); @@ -1182,6 +1318,121 @@ __exportStar(require("./CloudFolderWhereInput.schema.d"), exports); __exportStar(require("./CloudFolderWhereInput.schema"), exports); __exportStar(require("./CloudFolderWhereUniqueInput.schema.d"), exports); __exportStar(require("./CloudFolderWhereUniqueInput.schema"), exports); +__exportStar(require("./CommissionBatchArgs.schema"), exports); +__exportStar(require("./CommissionBatchAvgAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchCountAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchCountOutputTypeArgs.schema"), exports); +__exportStar(require("./CommissionBatchCountOutputTypeCountItemsArgs.schema"), exports); +__exportStar(require("./CommissionBatchCountOutputTypeSelect.schema"), exports); +__exportStar(require("./CommissionBatchCreateInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateManyInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateManyNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateManyNpiProviderInputEnvelope.schema"), exports); +__exportStar(require("./CommissionBatchCreateNestedManyWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateNestedOneWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateOrConnectWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateOrConnectWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchCreateWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchInclude.schema"), exports); +__exportStar(require("./CommissionBatchItemArgs.schema"), exports); +__exportStar(require("./CommissionBatchItemAvgAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCommissionBatchIdPaymentIdCompoundUniqueInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCountAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateManyCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateManyCommissionBatchInputEnvelope.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateManyInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateManyPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateManyPaymentInputEnvelope.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateNestedManyWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateNestedManyWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateOrConnectWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateOrConnectWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemCreateWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemInclude.schema"), exports); +__exportStar(require("./CommissionBatchItemListRelationFilter.schema"), exports); +__exportStar(require("./CommissionBatchItemMaxAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemMinAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemOrderByRelationAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./CommissionBatchItemOrderByWithRelationInput.schema"), exports); +__exportStar(require("./CommissionBatchItemScalarWhereInput.schema"), exports); +__exportStar(require("./CommissionBatchItemScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./CommissionBatchItemSelect.schema"), exports); +__exportStar(require("./CommissionBatchItemSumAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedCreateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedCreateNestedManyWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedCreateNestedManyWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedCreateWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedCreateWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateManyWithoutCommissionBatchNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateManyWithoutPaymentNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUncheckedUpdateWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateManyMutationInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateManyWithWhereWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateManyWithWhereWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateManyWithoutCommissionBatchNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateManyWithoutPaymentNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateWithWhereUniqueWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateWithWhereUniqueWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpdateWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpsertWithWhereUniqueWithoutCommissionBatchInput.schema"), exports); +__exportStar(require("./CommissionBatchItemUpsertWithWhereUniqueWithoutPaymentInput.schema"), exports); +__exportStar(require("./CommissionBatchItemWhereInput.schema"), exports); +__exportStar(require("./CommissionBatchItemWhereUniqueInput.schema"), exports); +__exportStar(require("./CommissionBatchListRelationFilter.schema"), exports); +__exportStar(require("./CommissionBatchMaxAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchMinAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchOrderByRelationAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./CommissionBatchOrderByWithRelationInput.schema"), exports); +__exportStar(require("./CommissionBatchScalarRelationFilter.schema"), exports); +__exportStar(require("./CommissionBatchScalarWhereInput.schema"), exports); +__exportStar(require("./CommissionBatchScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./CommissionBatchSelect.schema"), exports); +__exportStar(require("./CommissionBatchSumAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedCreateInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedCreateNestedManyWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedCreateWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedCreateWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedUpdateInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedUpdateWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchUncheckedUpdateWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateManyMutationInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateManyWithWhereWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateManyWithoutNpiProviderNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateOneRequiredWithoutItemsNestedInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateToOneWithWhereWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateWithWhereUniqueWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchUpdateWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUpsertWithWhereUniqueWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./CommissionBatchUpsertWithoutItemsInput.schema"), exports); +__exportStar(require("./CommissionBatchWhereInput.schema"), exports); +__exportStar(require("./CommissionBatchWhereUniqueInput.schema"), exports); __exportStar(require("./CommunicationArgs.schema.d"), exports); __exportStar(require("./CommunicationArgs.schema"), exports); __exportStar(require("./CommunicationAvgAggregateInput.schema.d"), exports); @@ -1524,6 +1775,49 @@ __exportStar(require("./EnumServiceLineStatusFilter.schema.d"), exports); __exportStar(require("./EnumServiceLineStatusFilter.schema"), exports); __exportStar(require("./EnumServiceLineStatusWithAggregatesFilter.schema.d"), exports); __exportStar(require("./EnumServiceLineStatusWithAggregatesFilter.schema"), exports); +__exportStar(require("./InsuranceContactArgs.schema"), exports); +__exportStar(require("./InsuranceContactAvgAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactCountAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactCreateInput.schema"), exports); +__exportStar(require("./InsuranceContactCreateManyInput.schema"), exports); +__exportStar(require("./InsuranceContactCreateManyUserInput.schema"), exports); +__exportStar(require("./InsuranceContactCreateManyUserInputEnvelope.schema"), exports); +__exportStar(require("./InsuranceContactCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactCreateWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactInclude.schema"), exports); +__exportStar(require("./InsuranceContactListRelationFilter.schema"), exports); +__exportStar(require("./InsuranceContactMaxAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactMinAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactOrderByRelationAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./InsuranceContactOrderByWithRelationInput.schema"), exports); +__exportStar(require("./InsuranceContactScalarWhereInput.schema"), exports); +__exportStar(require("./InsuranceContactScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./InsuranceContactSelect.schema"), exports); +__exportStar(require("./InsuranceContactSumAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedCreateInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedUpdateInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedUpdateManyWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./InsuranceContactUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUpdateInput.schema"), exports); +__exportStar(require("./InsuranceContactUpdateManyMutationInput.schema"), exports); +__exportStar(require("./InsuranceContactUpdateManyWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./InsuranceContactUpdateWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactUpsertWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./InsuranceContactWhereInput.schema"), exports); +__exportStar(require("./InsuranceContactWhereUniqueInput.schema"), exports); __exportStar(require("./InsuranceCredentialArgs.schema.d"), exports); __exportStar(require("./InsuranceCredentialArgs.schema"), exports); __exportStar(require("./InsuranceCredentialAvgAggregateInput.schema.d"), exports); @@ -1622,10 +1916,12 @@ __exportStar(require("./IntNullableWithAggregatesFilter.schema.d"), exports); __exportStar(require("./IntNullableWithAggregatesFilter.schema"), exports); __exportStar(require("./IntWithAggregatesFilter.schema.d"), exports); __exportStar(require("./IntWithAggregatesFilter.schema"), exports); +__exportStar(require("./JsonFilter.schema"), exports); __exportStar(require("./JsonNullableFilter.schema.d"), exports); __exportStar(require("./JsonNullableFilter.schema"), exports); __exportStar(require("./JsonNullableWithAggregatesFilter.schema.d"), exports); __exportStar(require("./JsonNullableWithAggregatesFilter.schema"), exports); +__exportStar(require("./JsonWithAggregatesFilter.schema"), exports); __exportStar(require("./NestedBigIntFilter.schema.d"), exports); __exportStar(require("./NestedBigIntFilter.schema"), exports); __exportStar(require("./NestedBigIntWithAggregatesFilter.schema.d"), exports); @@ -1714,6 +2010,7 @@ __exportStar(require("./NestedIntNullableWithAggregatesFilter.schema.d"), export __exportStar(require("./NestedIntNullableWithAggregatesFilter.schema"), exports); __exportStar(require("./NestedIntWithAggregatesFilter.schema.d"), exports); __exportStar(require("./NestedIntWithAggregatesFilter.schema"), exports); +__exportStar(require("./NestedJsonFilter.schema"), exports); __exportStar(require("./NestedJsonNullableFilter.schema.d"), exports); __exportStar(require("./NestedJsonNullableFilter.schema"), exports); __exportStar(require("./NestedStringFilter.schema.d"), exports); @@ -1820,9 +2117,15 @@ __exportStar(require("./NpiProviderCountAggregateInput.schema.d"), exports); __exportStar(require("./NpiProviderCountAggregateInput.schema"), exports); __exportStar(require("./NpiProviderCountOrderByAggregateInput.schema.d"), exports); __exportStar(require("./NpiProviderCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./NpiProviderCountOutputTypeArgs.schema.d"), exports); __exportStar(require("./NpiProviderCountOutputTypeArgs.schema"), exports); +__exportStar(require("./NpiProviderCountOutputTypeCountAppointmentProceduresArgs.schema.d"), exports); __exportStar(require("./NpiProviderCountOutputTypeCountAppointmentProceduresArgs.schema"), exports); +__exportStar(require("./NpiProviderCountOutputTypeCountClaimsArgs.schema.d"), exports); __exportStar(require("./NpiProviderCountOutputTypeCountClaimsArgs.schema"), exports); +__exportStar(require("./NpiProviderCountOutputTypeCountCommissionBatchesArgs.schema"), exports); +__exportStar(require("./NpiProviderCountOutputTypeCountPaymentsArgs.schema"), exports); +__exportStar(require("./NpiProviderCountOutputTypeSelect.schema.d"), exports); __exportStar(require("./NpiProviderCountOutputTypeSelect.schema"), exports); __exportStar(require("./NpiProviderCreateInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateInput.schema"), exports); @@ -1834,14 +2137,26 @@ __exportStar(require("./NpiProviderCreateManyUserInputEnvelope.schema.d"), expor __exportStar(require("./NpiProviderCreateManyUserInputEnvelope.schema"), exports); __exportStar(require("./NpiProviderCreateNestedManyWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./NpiProviderCreateNestedOneWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateNestedOneWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderCreateNestedOneWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateNestedOneWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderCreateNestedOneWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderCreateNestedOneWithoutPaymentsInput.schema"), exports); +__exportStar(require("./NpiProviderCreateOrConnectWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateOrConnectWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderCreateOrConnectWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateOrConnectWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderCreateOrConnectWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderCreateOrConnectWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderCreateOrConnectWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./NpiProviderCreateWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderCreateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderCreateWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderCreateWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderCreateWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderCreateWithoutUserInput.schema"), exports); __exportStar(require("./NpiProviderInclude.schema.d"), exports); @@ -1856,6 +2171,7 @@ __exportStar(require("./NpiProviderMinAggregateInput.schema.d"), exports); __exportStar(require("./NpiProviderMinAggregateInput.schema"), exports); __exportStar(require("./NpiProviderMinOrderByAggregateInput.schema.d"), exports); __exportStar(require("./NpiProviderMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./NpiProviderNullableScalarRelationFilter.schema.d"), exports); __exportStar(require("./NpiProviderNullableScalarRelationFilter.schema"), exports); __exportStar(require("./NpiProviderOrderByRelationAggregateInput.schema.d"), exports); __exportStar(require("./NpiProviderOrderByRelationAggregateInput.schema"), exports); @@ -1863,6 +2179,7 @@ __exportStar(require("./NpiProviderOrderByWithAggregationInput.schema.d"), expor __exportStar(require("./NpiProviderOrderByWithAggregationInput.schema"), exports); __exportStar(require("./NpiProviderOrderByWithRelationInput.schema.d"), exports); __exportStar(require("./NpiProviderOrderByWithRelationInput.schema"), exports); +__exportStar(require("./NpiProviderScalarRelationFilter.schema"), exports); __exportStar(require("./NpiProviderScalarWhereInput.schema.d"), exports); __exportStar(require("./NpiProviderScalarWhereInput.schema"), exports); __exportStar(require("./NpiProviderScalarWhereWithAggregatesInput.schema.d"), exports); @@ -1877,8 +2194,12 @@ __exportStar(require("./NpiProviderUncheckedCreateInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedCreateInput.schema"), exports); __exportStar(require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedCreateWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedCreateWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedCreateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedCreateWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedCreateWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedCreateWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderUncheckedCreateWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedCreateWithoutUserInput.schema"), exports); __exportStar(require("./NpiProviderUncheckedUpdateInput.schema.d"), exports); @@ -1889,8 +2210,12 @@ __exportStar(require("./NpiProviderUncheckedUpdateManyWithoutUserInput.schema.d" __exportStar(require("./NpiProviderUncheckedUpdateManyWithoutUserInput.schema"), exports); __exportStar(require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedUpdateWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedUpdateWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedUpdateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedUpdateWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedUpdateWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderUncheckedUpdateWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderUncheckedUpdateWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderUncheckedUpdateWithoutUserInput.schema"), exports); __exportStar(require("./NpiProviderUpdateInput.schema.d"), exports); @@ -1901,20 +2226,36 @@ __exportStar(require("./NpiProviderUpdateManyWithWhereWithoutUserInput.schema.d" __exportStar(require("./NpiProviderUpdateManyWithWhereWithoutUserInput.schema"), exports); __exportStar(require("./NpiProviderUpdateManyWithoutUserNestedInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateOneRequiredWithoutCommissionBatchesNestedInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateOneWithoutAppointmentProceduresNestedInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateOneWithoutAppointmentProceduresNestedInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateOneWithoutClaimsNestedInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateOneWithoutPaymentsNestedInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateToOneWithWhereWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateToOneWithWhereWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateToOneWithWhereWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateToOneWithWhereWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateToOneWithWhereWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateToOneWithWhereWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderUpdateWithWhereUniqueWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderUpdateWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderUpdateWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderUpdateWithoutUserInput.schema"), exports); __exportStar(require("./NpiProviderUpsertWithWhereUniqueWithoutUserInput.schema.d"), exports); __exportStar(require("./NpiProviderUpsertWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./NpiProviderUpsertWithoutAppointmentProceduresInput.schema.d"), exports); __exportStar(require("./NpiProviderUpsertWithoutAppointmentProceduresInput.schema"), exports); +__exportStar(require("./NpiProviderUpsertWithoutClaimsInput.schema.d"), exports); __exportStar(require("./NpiProviderUpsertWithoutClaimsInput.schema"), exports); +__exportStar(require("./NpiProviderUpsertWithoutCommissionBatchesInput.schema"), exports); +__exportStar(require("./NpiProviderUpsertWithoutPaymentsInput.schema"), exports); __exportStar(require("./NpiProviderUserIdNpiNumberCompoundUniqueInput.schema.d"), exports); __exportStar(require("./NpiProviderUserIdNpiNumberCompoundUniqueInput.schema"), exports); __exportStar(require("./NpiProviderWhereInput.schema.d"), exports); @@ -1929,12 +2270,141 @@ __exportStar(require("./NullableIntFieldUpdateOperationsInput.schema.d"), export __exportStar(require("./NullableIntFieldUpdateOperationsInput.schema"), exports); __exportStar(require("./NullableStringFieldUpdateOperationsInput.schema.d"), exports); __exportStar(require("./NullableStringFieldUpdateOperationsInput.schema"), exports); +__exportStar(require("./OfficeContactArgs.schema"), exports); +__exportStar(require("./OfficeContactAvgAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactCountAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactCreateInput.schema"), exports); +__exportStar(require("./OfficeContactCreateManyInput.schema"), exports); +__exportStar(require("./OfficeContactCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactCreateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactInclude.schema"), exports); +__exportStar(require("./OfficeContactMaxAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactMinAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactNullableScalarRelationFilter.schema"), exports); +__exportStar(require("./OfficeContactOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./OfficeContactOrderByWithRelationInput.schema"), exports); +__exportStar(require("./OfficeContactScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./OfficeContactSelect.schema"), exports); +__exportStar(require("./OfficeContactSumAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedCreateInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedUpdateInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./OfficeContactUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactUpdateInput.schema"), exports); +__exportStar(require("./OfficeContactUpdateManyMutationInput.schema"), exports); +__exportStar(require("./OfficeContactUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./OfficeContactUpdateToOneWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactUpsertWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeContactWhereInput.schema"), exports); +__exportStar(require("./OfficeContactWhereUniqueInput.schema"), exports); +__exportStar(require("./OfficeHoursArgs.schema"), exports); +__exportStar(require("./OfficeHoursAvgAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursCountAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursCreateInput.schema"), exports); +__exportStar(require("./OfficeHoursCreateManyInput.schema"), exports); +__exportStar(require("./OfficeHoursCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursCreateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursInclude.schema"), exports); +__exportStar(require("./OfficeHoursMaxAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursMinAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursNullableScalarRelationFilter.schema"), exports); +__exportStar(require("./OfficeHoursOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./OfficeHoursOrderByWithRelationInput.schema"), exports); +__exportStar(require("./OfficeHoursScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./OfficeHoursSelect.schema"), exports); +__exportStar(require("./OfficeHoursSumAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedCreateInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedUpdateInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./OfficeHoursUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursUpdateInput.schema"), exports); +__exportStar(require("./OfficeHoursUpdateManyMutationInput.schema"), exports); +__exportStar(require("./OfficeHoursUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./OfficeHoursUpdateToOneWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursUpsertWithoutUserInput.schema"), exports); +__exportStar(require("./OfficeHoursWhereInput.schema"), exports); +__exportStar(require("./OfficeHoursWhereUniqueInput.schema"), exports); __exportStar(require("./PatientArgs.schema.d"), exports); __exportStar(require("./PatientArgs.schema"), exports); __exportStar(require("./PatientAvgAggregateInput.schema.d"), exports); __exportStar(require("./PatientAvgAggregateInput.schema"), exports); __exportStar(require("./PatientAvgOrderByAggregateInput.schema.d"), exports); __exportStar(require("./PatientAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationArgs.schema"), exports); +__exportStar(require("./PatientConversationAvgAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationCountAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationCreateInput.schema"), exports); +__exportStar(require("./PatientConversationCreateManyInput.schema"), exports); +__exportStar(require("./PatientConversationCreateManyUserInput.schema"), exports); +__exportStar(require("./PatientConversationCreateManyUserInputEnvelope.schema"), exports); +__exportStar(require("./PatientConversationCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationCreateNestedOneWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationCreateOrConnectWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationCreateWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationCreateWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationInclude.schema"), exports); +__exportStar(require("./PatientConversationListRelationFilter.schema"), exports); +__exportStar(require("./PatientConversationMaxAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationMinAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationNullableScalarRelationFilter.schema"), exports); +__exportStar(require("./PatientConversationOrderByRelationAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./PatientConversationOrderByWithRelationInput.schema"), exports); +__exportStar(require("./PatientConversationScalarWhereInput.schema"), exports); +__exportStar(require("./PatientConversationScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./PatientConversationSelect.schema"), exports); +__exportStar(require("./PatientConversationSumAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedCreateInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedCreateWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateManyWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateManyMutationInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateManyWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateOneWithoutPatientNestedInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateToOneWithWhereWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUpsertWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./PatientConversationUpsertWithoutPatientInput.schema"), exports); +__exportStar(require("./PatientConversationWhereInput.schema"), exports); +__exportStar(require("./PatientConversationWhereUniqueInput.schema"), exports); __exportStar(require("./PatientCountAggregateInput.schema.d"), exports); __exportStar(require("./PatientCountAggregateInput.schema"), exports); __exportStar(require("./PatientCountOrderByAggregateInput.schema.d"), exports); @@ -1945,6 +2415,7 @@ __exportStar(require("./PatientCountOutputTypeCountAppointmentsArgs.schema.d"), __exportStar(require("./PatientCountOutputTypeCountAppointmentsArgs.schema"), exports); __exportStar(require("./PatientCountOutputTypeCountClaimsArgs.schema.d"), exports); __exportStar(require("./PatientCountOutputTypeCountClaimsArgs.schema"), exports); +__exportStar(require("./PatientCountOutputTypeCountCloudFoldersArgs.schema"), exports); __exportStar(require("./PatientCountOutputTypeCountCommunicationsArgs.schema.d"), exports); __exportStar(require("./PatientCountOutputTypeCountCommunicationsArgs.schema"), exports); __exportStar(require("./PatientCountOutputTypeCountDocumentsArgs.schema.d"), exports); @@ -1971,8 +2442,10 @@ __exportStar(require("./PatientCreateNestedOneWithoutAppointmentsInput.schema.d" __exportStar(require("./PatientCreateNestedOneWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientCreateNestedOneWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientCreateNestedOneWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientCreateNestedOneWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientCreateNestedOneWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientCreateNestedOneWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientCreateNestedOneWithoutConversationInput.schema"), exports); __exportStar(require("./PatientCreateNestedOneWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientCreateNestedOneWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientCreateNestedOneWithoutGroupsInput.schema.d"), exports); @@ -1985,8 +2458,10 @@ __exportStar(require("./PatientCreateOrConnectWithoutAppointmentsInput.schema.d" __exportStar(require("./PatientCreateOrConnectWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientCreateOrConnectWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientCreateOrConnectWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientCreateOrConnectWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientCreateOrConnectWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientCreateOrConnectWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientCreateOrConnectWithoutConversationInput.schema"), exports); __exportStar(require("./PatientCreateOrConnectWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientCreateOrConnectWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientCreateOrConnectWithoutGroupsInput.schema.d"), exports); @@ -2001,8 +2476,10 @@ __exportStar(require("./PatientCreateWithoutAppointmentsInput.schema.d"), export __exportStar(require("./PatientCreateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientCreateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientCreateWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientCreateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientCreateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientCreateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientCreateWithoutConversationInput.schema"), exports); __exportStar(require("./PatientCreateWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientCreateWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientCreateWithoutGroupsInput.schema.d"), exports); @@ -2111,6 +2588,7 @@ __exportStar(require("./PatientMinAggregateInput.schema.d"), exports); __exportStar(require("./PatientMinAggregateInput.schema"), exports); __exportStar(require("./PatientMinOrderByAggregateInput.schema.d"), exports); __exportStar(require("./PatientMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./PatientNullableScalarRelationFilter.schema"), exports); __exportStar(require("./PatientOrderByRelationAggregateInput.schema.d"), exports); __exportStar(require("./PatientOrderByRelationAggregateInput.schema"), exports); __exportStar(require("./PatientOrderByWithAggregationInput.schema.d"), exports); @@ -2137,8 +2615,10 @@ __exportStar(require("./PatientUncheckedCreateWithoutAppointmentsInput.schema.d" __exportStar(require("./PatientUncheckedCreateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientUncheckedCreateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientUncheckedCreateWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientUncheckedCreateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientUncheckedCreateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientUncheckedCreateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientUncheckedCreateWithoutConversationInput.schema"), exports); __exportStar(require("./PatientUncheckedCreateWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientUncheckedCreateWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientUncheckedCreateWithoutGroupsInput.schema.d"), exports); @@ -2161,8 +2641,10 @@ __exportStar(require("./PatientUncheckedUpdateWithoutAppointmentsInput.schema.d" __exportStar(require("./PatientUncheckedUpdateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientUncheckedUpdateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientUncheckedUpdateWithoutConversationInput.schema"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientUncheckedUpdateWithoutGroupsInput.schema.d"), exports); @@ -2187,6 +2669,7 @@ __exportStar(require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema. __exportStar(require("./PatientUpdateOneRequiredWithoutClaimsNestedInput.schema"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutCommunicationsNestedInput.schema.d"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutCommunicationsNestedInput.schema"), exports); +__exportStar(require("./PatientUpdateOneRequiredWithoutConversationNestedInput.schema"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutDocumentsNestedInput.schema.d"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutDocumentsNestedInput.schema"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutGroupsNestedInput.schema.d"), exports); @@ -2195,12 +2678,15 @@ __exportStar(require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema __exportStar(require("./PatientUpdateOneRequiredWithoutPaymentNestedInput.schema"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutProceduresNestedInput.schema.d"), exports); __exportStar(require("./PatientUpdateOneRequiredWithoutProceduresNestedInput.schema"), exports); +__exportStar(require("./PatientUpdateOneWithoutCloudFoldersNestedInput.schema"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientUpdateToOneWithWhereWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientUpdateToOneWithWhereWithoutConversationInput.schema"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientUpdateToOneWithWhereWithoutGroupsInput.schema.d"), exports); @@ -2215,8 +2701,10 @@ __exportStar(require("./PatientUpdateWithoutAppointmentsInput.schema.d"), export __exportStar(require("./PatientUpdateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientUpdateWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientUpdateWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientUpdateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientUpdateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientUpdateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientUpdateWithoutConversationInput.schema"), exports); __exportStar(require("./PatientUpdateWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientUpdateWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientUpdateWithoutGroupsInput.schema.d"), exports); @@ -2233,8 +2721,10 @@ __exportStar(require("./PatientUpsertWithoutAppointmentsInput.schema.d"), export __exportStar(require("./PatientUpsertWithoutAppointmentsInput.schema"), exports); __exportStar(require("./PatientUpsertWithoutClaimsInput.schema.d"), exports); __exportStar(require("./PatientUpsertWithoutClaimsInput.schema"), exports); +__exportStar(require("./PatientUpsertWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./PatientUpsertWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./PatientUpsertWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./PatientUpsertWithoutConversationInput.schema"), exports); __exportStar(require("./PatientUpsertWithoutDocumentsInput.schema.d"), exports); __exportStar(require("./PatientUpsertWithoutDocumentsInput.schema"), exports); __exportStar(require("./PatientUpsertWithoutGroupsInput.schema.d"), exports); @@ -2259,6 +2749,7 @@ __exportStar(require("./PaymentCountOrderByAggregateInput.schema.d"), exports); __exportStar(require("./PaymentCountOrderByAggregateInput.schema"), exports); __exportStar(require("./PaymentCountOutputTypeArgs.schema.d"), exports); __exportStar(require("./PaymentCountOutputTypeArgs.schema"), exports); +__exportStar(require("./PaymentCountOutputTypeCountCommissionBatchItemsArgs.schema"), exports); __exportStar(require("./PaymentCountOutputTypeCountServiceLineTransactionsArgs.schema.d"), exports); __exportStar(require("./PaymentCountOutputTypeCountServiceLineTransactionsArgs.schema"), exports); __exportStar(require("./PaymentCountOutputTypeCountServiceLinesArgs.schema.d"), exports); @@ -2269,6 +2760,8 @@ __exportStar(require("./PaymentCreateInput.schema.d"), exports); __exportStar(require("./PaymentCreateInput.schema"), exports); __exportStar(require("./PaymentCreateManyInput.schema.d"), exports); __exportStar(require("./PaymentCreateManyInput.schema"), exports); +__exportStar(require("./PaymentCreateManyNpiProviderInput.schema"), exports); +__exportStar(require("./PaymentCreateManyNpiProviderInputEnvelope.schema"), exports); __exportStar(require("./PaymentCreateManyPatientInput.schema.d"), exports); __exportStar(require("./PaymentCreateManyPatientInput.schema"), exports); __exportStar(require("./PaymentCreateManyPatientInputEnvelope.schema.d"), exports); @@ -2277,18 +2770,22 @@ __exportStar(require("./PaymentCreateManyUpdatedByInput.schema.d"), exports); __exportStar(require("./PaymentCreateManyUpdatedByInput.schema"), exports); __exportStar(require("./PaymentCreateManyUpdatedByInputEnvelope.schema.d"), exports); __exportStar(require("./PaymentCreateManyUpdatedByInputEnvelope.schema"), exports); +__exportStar(require("./PaymentCreateNestedManyWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentCreateNestedManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentCreateNestedManyWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema.d"), exports); __exportStar(require("./PaymentCreateNestedManyWithoutUpdatedByInput.schema"), exports); __exportStar(require("./PaymentCreateNestedOneWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentCreateNestedOneWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentCreateNestedOneWithoutCommissionBatchItemsInput.schema"), exports); __exportStar(require("./PaymentCreateNestedOneWithoutServiceLineTransactionsInput.schema.d"), exports); __exportStar(require("./PaymentCreateNestedOneWithoutServiceLineTransactionsInput.schema"), exports); __exportStar(require("./PaymentCreateNestedOneWithoutServiceLinesInput.schema.d"), exports); __exportStar(require("./PaymentCreateNestedOneWithoutServiceLinesInput.schema"), exports); __exportStar(require("./PaymentCreateOrConnectWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentCreateOrConnectWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentCreateOrConnectWithoutCommissionBatchItemsInput.schema"), exports); +__exportStar(require("./PaymentCreateOrConnectWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentCreateOrConnectWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentCreateOrConnectWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentCreateOrConnectWithoutServiceLineTransactionsInput.schema.d"), exports); @@ -2299,6 +2796,8 @@ __exportStar(require("./PaymentCreateOrConnectWithoutUpdatedByInput.schema.d"), __exportStar(require("./PaymentCreateOrConnectWithoutUpdatedByInput.schema"), exports); __exportStar(require("./PaymentCreateWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentCreateWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentCreateWithoutCommissionBatchItemsInput.schema"), exports); +__exportStar(require("./PaymentCreateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentCreateWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentCreateWithoutServiceLineTransactionsInput.schema.d"), exports); @@ -2341,6 +2840,7 @@ __exportStar(require("./PaymentSumOrderByAggregateInput.schema.d"), exports); __exportStar(require("./PaymentSumOrderByAggregateInput.schema"), exports); __exportStar(require("./PaymentUncheckedCreateInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedCreateInput.schema"), exports); +__exportStar(require("./PaymentUncheckedCreateNestedManyWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedCreateNestedManyWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUncheckedCreateNestedManyWithoutUpdatedByInput.schema.d"), exports); @@ -2349,6 +2849,8 @@ __exportStar(require("./PaymentUncheckedCreateNestedOneWithoutClaimInput.schema. __exportStar(require("./PaymentUncheckedCreateNestedOneWithoutClaimInput.schema"), exports); __exportStar(require("./PaymentUncheckedCreateWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedCreateWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentUncheckedCreateWithoutCommissionBatchItemsInput.schema"), exports); +__exportStar(require("./PaymentUncheckedCreateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUncheckedCreateWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedCreateWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUncheckedCreateWithoutServiceLineTransactionsInput.schema.d"), exports); @@ -2361,6 +2863,8 @@ __exportStar(require("./PaymentUncheckedUpdateInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedUpdateInput.schema"), exports); __exportStar(require("./PaymentUncheckedUpdateManyInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./PaymentUncheckedUpdateManyWithoutNpiProviderInput.schema"), exports); +__exportStar(require("./PaymentUncheckedUpdateManyWithoutNpiProviderNestedInput.schema"), exports); __exportStar(require("./PaymentUncheckedUpdateManyWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedUpdateManyWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema.d"), exports); @@ -2373,6 +2877,8 @@ __exportStar(require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema. __exportStar(require("./PaymentUncheckedUpdateOneWithoutClaimNestedInput.schema"), exports); __exportStar(require("./PaymentUncheckedUpdateWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedUpdateWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentUncheckedUpdateWithoutCommissionBatchItemsInput.schema"), exports); +__exportStar(require("./PaymentUncheckedUpdateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUncheckedUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUncheckedUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUncheckedUpdateWithoutServiceLineTransactionsInput.schema.d"), exports); @@ -2385,14 +2891,17 @@ __exportStar(require("./PaymentUpdateInput.schema.d"), exports); __exportStar(require("./PaymentUpdateInput.schema"), exports); __exportStar(require("./PaymentUpdateManyMutationInput.schema.d"), exports); __exportStar(require("./PaymentUpdateManyMutationInput.schema"), exports); +__exportStar(require("./PaymentUpdateManyWithWhereWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUpdateManyWithWhereWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUpdateManyWithWhereWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUpdateManyWithWhereWithoutUpdatedByInput.schema.d"), exports); __exportStar(require("./PaymentUpdateManyWithWhereWithoutUpdatedByInput.schema"), exports); +__exportStar(require("./PaymentUpdateManyWithoutNpiProviderNestedInput.schema"), exports); __exportStar(require("./PaymentUpdateManyWithoutPatientNestedInput.schema.d"), exports); __exportStar(require("./PaymentUpdateManyWithoutPatientNestedInput.schema"), exports); __exportStar(require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema.d"), exports); __exportStar(require("./PaymentUpdateManyWithoutUpdatedByNestedInput.schema"), exports); +__exportStar(require("./PaymentUpdateOneRequiredWithoutCommissionBatchItemsNestedInput.schema"), exports); __exportStar(require("./PaymentUpdateOneRequiredWithoutServiceLineTransactionsNestedInput.schema.d"), exports); __exportStar(require("./PaymentUpdateOneRequiredWithoutServiceLineTransactionsNestedInput.schema"), exports); __exportStar(require("./PaymentUpdateOneWithoutClaimNestedInput.schema.d"), exports); @@ -2401,16 +2910,20 @@ __exportStar(require("./PaymentUpdateOneWithoutServiceLinesNestedInput.schema.d" __exportStar(require("./PaymentUpdateOneWithoutServiceLinesNestedInput.schema"), exports); __exportStar(require("./PaymentUpdateToOneWithWhereWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentUpdateToOneWithWhereWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentUpdateToOneWithWhereWithoutCommissionBatchItemsInput.schema"), exports); __exportStar(require("./PaymentUpdateToOneWithWhereWithoutServiceLineTransactionsInput.schema.d"), exports); __exportStar(require("./PaymentUpdateToOneWithWhereWithoutServiceLineTransactionsInput.schema"), exports); __exportStar(require("./PaymentUpdateToOneWithWhereWithoutServiceLinesInput.schema.d"), exports); __exportStar(require("./PaymentUpdateToOneWithWhereWithoutServiceLinesInput.schema"), exports); +__exportStar(require("./PaymentUpdateWithWhereUniqueWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUpdateWithWhereUniqueWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUpdateWithWhereUniqueWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUpdateWithWhereUniqueWithoutUpdatedByInput.schema.d"), exports); __exportStar(require("./PaymentUpdateWithWhereUniqueWithoutUpdatedByInput.schema"), exports); __exportStar(require("./PaymentUpdateWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentUpdateWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentUpdateWithoutCommissionBatchItemsInput.schema"), exports); +__exportStar(require("./PaymentUpdateWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUpdateWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUpdateWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUpdateWithoutServiceLineTransactionsInput.schema.d"), exports); @@ -2419,12 +2932,14 @@ __exportStar(require("./PaymentUpdateWithoutServiceLinesInput.schema.d"), export __exportStar(require("./PaymentUpdateWithoutServiceLinesInput.schema"), exports); __exportStar(require("./PaymentUpdateWithoutUpdatedByInput.schema.d"), exports); __exportStar(require("./PaymentUpdateWithoutUpdatedByInput.schema"), exports); +__exportStar(require("./PaymentUpsertWithWhereUniqueWithoutNpiProviderInput.schema"), exports); __exportStar(require("./PaymentUpsertWithWhereUniqueWithoutPatientInput.schema.d"), exports); __exportStar(require("./PaymentUpsertWithWhereUniqueWithoutPatientInput.schema"), exports); __exportStar(require("./PaymentUpsertWithWhereUniqueWithoutUpdatedByInput.schema.d"), exports); __exportStar(require("./PaymentUpsertWithWhereUniqueWithoutUpdatedByInput.schema"), exports); __exportStar(require("./PaymentUpsertWithoutClaimInput.schema.d"), exports); __exportStar(require("./PaymentUpsertWithoutClaimInput.schema"), exports); +__exportStar(require("./PaymentUpsertWithoutCommissionBatchItemsInput.schema"), exports); __exportStar(require("./PaymentUpsertWithoutServiceLineTransactionsInput.schema.d"), exports); __exportStar(require("./PaymentUpsertWithoutServiceLineTransactionsInput.schema"), exports); __exportStar(require("./PaymentUpsertWithoutServiceLinesInput.schema.d"), exports); @@ -2631,6 +3146,43 @@ __exportStar(require("./PdfGroupWhereInput.schema.d"), exports); __exportStar(require("./PdfGroupWhereInput.schema"), exports); __exportStar(require("./PdfGroupWhereUniqueInput.schema.d"), exports); __exportStar(require("./PdfGroupWhereUniqueInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotArgs.schema"), exports); +__exportStar(require("./ProcedureTimeslotAvgAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCountAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCreateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCreateManyInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotCreateWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotInclude.schema"), exports); +__exportStar(require("./ProcedureTimeslotMaxAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotMinAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotNullableScalarRelationFilter.schema"), exports); +__exportStar(require("./ProcedureTimeslotOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotOrderByWithRelationInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotSelect.schema"), exports); +__exportStar(require("./ProcedureTimeslotSumAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedCreateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedUpdateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUpdateInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUpdateManyMutationInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUpdateToOneWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotUpsertWithoutUserInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotWhereInput.schema"), exports); +__exportStar(require("./ProcedureTimeslotWhereUniqueInput.schema"), exports); __exportStar(require("./ServiceLineArgs.schema.d"), exports); __exportStar(require("./ServiceLineArgs.schema"), exports); __exportStar(require("./ServiceLineAvgAggregateInput.schema.d"), exports); @@ -2889,6 +3441,49 @@ __exportStar(require("./ServiceLineWhereInput.schema.d"), exports); __exportStar(require("./ServiceLineWhereInput.schema"), exports); __exportStar(require("./ServiceLineWhereUniqueInput.schema.d"), exports); __exportStar(require("./ServiceLineWhereUniqueInput.schema"), exports); +__exportStar(require("./ShoppingVendorArgs.schema"), exports); +__exportStar(require("./ShoppingVendorAvgAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorCountAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorCreateInput.schema"), exports); +__exportStar(require("./ShoppingVendorCreateManyInput.schema"), exports); +__exportStar(require("./ShoppingVendorCreateManyUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorCreateManyUserInputEnvelope.schema"), exports); +__exportStar(require("./ShoppingVendorCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorCreateWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorInclude.schema"), exports); +__exportStar(require("./ShoppingVendorListRelationFilter.schema"), exports); +__exportStar(require("./ShoppingVendorMaxAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorMinAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorOrderByRelationAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./ShoppingVendorOrderByWithRelationInput.schema"), exports); +__exportStar(require("./ShoppingVendorScalarWhereInput.schema"), exports); +__exportStar(require("./ShoppingVendorScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./ShoppingVendorSelect.schema"), exports); +__exportStar(require("./ShoppingVendorSumAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedCreateInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedCreateNestedManyWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedUpdateInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedUpdateManyWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./ShoppingVendorUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpdateInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpdateManyMutationInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpdateManyWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpdateManyWithoutUserNestedInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpdateWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorUpsertWithWhereUniqueWithoutUserInput.schema"), exports); +__exportStar(require("./ShoppingVendorWhereInput.schema"), exports); +__exportStar(require("./ShoppingVendorWhereUniqueInput.schema"), exports); __exportStar(require("./SortOrderInput.schema.d"), exports); __exportStar(require("./SortOrderInput.schema"), exports); __exportStar(require("./StaffArgs.schema.d"), exports); @@ -3033,6 +3628,43 @@ __exportStar(require("./StringNullableWithAggregatesFilter.schema.d"), exports); __exportStar(require("./StringNullableWithAggregatesFilter.schema"), exports); __exportStar(require("./StringWithAggregatesFilter.schema.d"), exports); __exportStar(require("./StringWithAggregatesFilter.schema"), exports); +__exportStar(require("./TwilioSettingsArgs.schema"), exports); +__exportStar(require("./TwilioSettingsAvgAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsAvgOrderByAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsCountAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsCountOrderByAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsCreateInput.schema"), exports); +__exportStar(require("./TwilioSettingsCreateManyInput.schema"), exports); +__exportStar(require("./TwilioSettingsCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsCreateOrConnectWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsCreateWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsInclude.schema"), exports); +__exportStar(require("./TwilioSettingsMaxAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsMaxOrderByAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsMinAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsMinOrderByAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsNullableScalarRelationFilter.schema"), exports); +__exportStar(require("./TwilioSettingsOrderByWithAggregationInput.schema"), exports); +__exportStar(require("./TwilioSettingsOrderByWithRelationInput.schema"), exports); +__exportStar(require("./TwilioSettingsScalarWhereWithAggregatesInput.schema"), exports); +__exportStar(require("./TwilioSettingsSelect.schema"), exports); +__exportStar(require("./TwilioSettingsSumAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsSumOrderByAggregateInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedCreateInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedCreateNestedOneWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedCreateWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedUpdateInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./TwilioSettingsUncheckedUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsUpdateInput.schema"), exports); +__exportStar(require("./TwilioSettingsUpdateManyMutationInput.schema"), exports); +__exportStar(require("./TwilioSettingsUpdateOneWithoutUserNestedInput.schema"), exports); +__exportStar(require("./TwilioSettingsUpdateToOneWithWhereWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsUpdateWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsUpsertWithoutUserInput.schema"), exports); +__exportStar(require("./TwilioSettingsWhereInput.schema"), exports); +__exportStar(require("./TwilioSettingsWhereUniqueInput.schema"), exports); __exportStar(require("./UserArgs.schema.d"), exports); __exportStar(require("./UserArgs.schema"), exports); __exportStar(require("./UserAvgAggregateInput.schema.d"), exports); @@ -3059,14 +3691,17 @@ __exportStar(require("./UserCountOutputTypeCountCloudFoldersArgs.schema.d"), exp __exportStar(require("./UserCountOutputTypeCountCloudFoldersArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountCommunicationsArgs.schema.d"), exports); __exportStar(require("./UserCountOutputTypeCountCommunicationsArgs.schema"), exports); +__exportStar(require("./UserCountOutputTypeCountInsuranceContactsArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountInsuranceCredentialsArgs.schema.d"), exports); __exportStar(require("./UserCountOutputTypeCountInsuranceCredentialsArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountNotificationsArgs.schema.d"), exports); __exportStar(require("./UserCountOutputTypeCountNotificationsArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountNpiProvidersArgs.schema.d"), exports); __exportStar(require("./UserCountOutputTypeCountNpiProvidersArgs.schema"), exports); +__exportStar(require("./UserCountOutputTypeCountPatientConversationsArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountPatientsArgs.schema.d"), exports); __exportStar(require("./UserCountOutputTypeCountPatientsArgs.schema"), exports); +__exportStar(require("./UserCountOutputTypeCountShoppingVendorsArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountStaffArgs.schema.d"), exports); __exportStar(require("./UserCountOutputTypeCountStaffArgs.schema"), exports); __exportStar(require("./UserCountOutputTypeCountUpdatedPaymentsArgs.schema.d"), exports); @@ -3077,6 +3712,7 @@ __exportStar(require("./UserCreateInput.schema.d"), exports); __exportStar(require("./UserCreateInput.schema"), exports); __exportStar(require("./UserCreateManyInput.schema.d"), exports); __exportStar(require("./UserCreateManyInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutBackupDestinationsInput.schema.d"), exports); @@ -3091,18 +3727,26 @@ __exportStar(require("./UserCreateNestedOneWithoutCloudFoldersInput.schema.d"), __exportStar(require("./UserCreateNestedOneWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutStaffInput.schema"), exports); +__exportStar(require("./UserCreateNestedOneWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserCreateNestedOneWithoutUpdatedPaymentsInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutBackupDestinationsInput.schema.d"), exports); @@ -3117,18 +3761,26 @@ __exportStar(require("./UserCreateOrConnectWithoutCloudFoldersInput.schema.d"), __exportStar(require("./UserCreateOrConnectWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutStaffInput.schema"), exports); +__exportStar(require("./UserCreateOrConnectWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserCreateOrConnectWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserCreateOrConnectWithoutUpdatedPaymentsInput.schema"), exports); +__exportStar(require("./UserCreateWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserCreateWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserCreateWithoutBackupDestinationsInput.schema.d"), exports); @@ -3143,16 +3795,23 @@ __exportStar(require("./UserCreateWithoutCloudFoldersInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserCreateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserCreateWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserCreateWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserCreateWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserCreateWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserCreateWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserCreateWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserCreateWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserCreateWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserCreateWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserCreateWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserCreateWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutStaffInput.schema"), exports); +__exportStar(require("./UserCreateWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserCreateWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserCreateWithoutUpdatedPaymentsInput.schema"), exports); __exportStar(require("./UserInclude.schema.d"), exports); @@ -3183,6 +3842,7 @@ __exportStar(require("./UserSumOrderByAggregateInput.schema.d"), exports); __exportStar(require("./UserSumOrderByAggregateInput.schema"), exports); __exportStar(require("./UserUncheckedCreateInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutBackupDestinationsInput.schema.d"), exports); @@ -3197,22 +3857,30 @@ __exportStar(require("./UserUncheckedCreateWithoutCloudFoldersInput.schema.d"), __exportStar(require("./UserUncheckedCreateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutStaffInput.schema"), exports); +__exportStar(require("./UserUncheckedCreateWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserUncheckedCreateWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserUncheckedCreateWithoutUpdatedPaymentsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateManyInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateManyInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutBackupDestinationsInput.schema.d"), exports); @@ -3227,22 +3895,30 @@ __exportStar(require("./UserUncheckedUpdateWithoutCloudFoldersInput.schema.d"), __exportStar(require("./UserUncheckedUpdateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutStaffInput.schema"), exports); +__exportStar(require("./UserUncheckedUpdateWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserUncheckedUpdateWithoutUpdatedPaymentsInput.schema"), exports); __exportStar(require("./UserUpdateInput.schema.d"), exports); __exportStar(require("./UserUpdateInput.schema"), exports); __exportStar(require("./UserUpdateManyMutationInput.schema.d"), exports); __exportStar(require("./UserUpdateManyMutationInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutAiSettingsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutAppointmentsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutBackupDestinationsNestedInput.schema.d"), exports); @@ -3253,14 +3929,21 @@ __exportStar(require("./UserUpdateOneRequiredWithoutCloudFilesNestedInput.schema __exportStar(require("./UserUpdateOneRequiredWithoutCloudFilesNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutInsuranceContactsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutInsuranceCredentialsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutNotificationsNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutNotificationsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutNpiProvidersNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutOfficeContactNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutOfficeHoursNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutPatientConversationsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutPatientsNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneRequiredWithoutPatientsNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutProcedureTimeslotNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutShoppingVendorsNestedInput.schema"), exports); +__exportStar(require("./UserUpdateOneRequiredWithoutTwilioSettingsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneWithoutClaimsNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneWithoutClaimsNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneWithoutCommunicationsNestedInput.schema.d"), exports); @@ -3269,6 +3952,7 @@ __exportStar(require("./UserUpdateOneWithoutStaffNestedInput.schema.d"), exports __exportStar(require("./UserUpdateOneWithoutStaffNestedInput.schema"), exports); __exportStar(require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema.d"), exports); __exportStar(require("./UserUpdateOneWithoutUpdatedPaymentsNestedInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutBackupDestinationsInput.schema.d"), exports); @@ -3283,18 +3967,26 @@ __exportStar(require("./UserUpdateToOneWithWhereWithoutCloudFoldersInput.schema. __exportStar(require("./UserUpdateToOneWithWhereWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutStaffInput.schema"), exports); +__exportStar(require("./UserUpdateToOneWithWhereWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserUpdateToOneWithWhereWithoutUpdatedPaymentsInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutBackupDestinationsInput.schema.d"), exports); @@ -3309,18 +4001,26 @@ __exportStar(require("./UserUpdateWithoutCloudFoldersInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserUpdateWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutStaffInput.schema"), exports); +__exportStar(require("./UserUpdateWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserUpdateWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserUpdateWithoutUpdatedPaymentsInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutAiSettingsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutAppointmentsInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutAppointmentsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutBackupDestinationsInput.schema.d"), exports); @@ -3335,16 +4035,23 @@ __exportStar(require("./UserUpsertWithoutCloudFoldersInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutCloudFoldersInput.schema"), exports); __exportStar(require("./UserUpsertWithoutCommunicationsInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutCommunicationsInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutInsuranceContactsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutInsuranceCredentialsInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutInsuranceCredentialsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutNotificationsInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutNotificationsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutNpiProvidersInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutNpiProvidersInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutOfficeContactInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutOfficeHoursInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutPatientConversationsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutPatientsInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutPatientsInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutProcedureTimeslotInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutShoppingVendorsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutStaffInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutStaffInput.schema"), exports); +__exportStar(require("./UserUpsertWithoutTwilioSettingsInput.schema"), exports); __exportStar(require("./UserUpsertWithoutUpdatedPaymentsInput.schema.d"), exports); __exportStar(require("./UserUpsertWithoutUpdatedPaymentsInput.schema"), exports); __exportStar(require("./UserWhereInput.schema.d"), exports); diff --git a/packages/db/shared/schemas/results/AiSettingsAggregateResult.schema.js b/packages/db/shared/schemas/results/AiSettingsAggregateResult.schema.js new file mode 100644 index 00000000..87f07831 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsAggregateResult.schema.js @@ -0,0 +1,85 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + apiKey: z.number(), + aiEnabled: z.number(), + openAiKey: z.number(), + openAiEnabled: z.number(), + claudeAiKey: z.number(), + claudeAiEnabled: z.number(), + claudeAiModel: z.number(), + openAiModel: z.number(), + googleAiModel: z.number(), + dentalMgmtKey: z.number(), + dentalMgmtEnabled: z.number(), + afterHoursEnabled: z.number(), + openPhoneReply: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + apiKey: z.string().nullable(), + openAiKey: z.string().nullable(), + claudeAiKey: z.string().nullable(), + claudeAiModel: z.string().nullable(), + openAiModel: z.string().nullable(), + googleAiModel: z.string().nullable(), + dentalMgmtKey: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + apiKey: z.string().nullable(), + openAiKey: z.string().nullable(), + claudeAiKey: z.string().nullable(), + claudeAiModel: z.string().nullable(), + openAiModel: z.string().nullable(), + googleAiModel: z.string().nullable(), + dentalMgmtKey: z.string().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/AiSettingsCountResult.schema.js b/packages/db/shared/schemas/results/AiSettingsCountResult.schema.js new file mode 100644 index 00000000..056182bf --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/AiSettingsCreateManyResult.schema.js b/packages/db/shared/schemas/results/AiSettingsCreateManyResult.schema.js new file mode 100644 index 00000000..eece5464 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/AiSettingsCreateResult.schema.js b/packages/db/shared/schemas/results/AiSettingsCreateResult.schema.js new file mode 100644 index 00000000..3a9bb402 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsCreateResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/AiSettingsDeleteManyResult.schema.js b/packages/db/shared/schemas/results/AiSettingsDeleteManyResult.schema.js new file mode 100644 index 00000000..95739047 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/AiSettingsDeleteResult.schema.js b/packages/db/shared/schemas/results/AiSettingsDeleteResult.schema.js new file mode 100644 index 00000000..636460d8 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsDeleteResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AiSettingsFindFirstResult.schema.js b/packages/db/shared/schemas/results/AiSettingsFindFirstResult.schema.js new file mode 100644 index 00000000..37b666b3 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsFindFirstResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AiSettingsFindManyResult.schema.js b/packages/db/shared/schemas/results/AiSettingsFindManyResult.schema.js new file mode 100644 index 00000000..bfa9f73f --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsFindManyResult.schema.js @@ -0,0 +1,65 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/AiSettingsFindUniqueResult.schema.js b/packages/db/shared/schemas/results/AiSettingsFindUniqueResult.schema.js new file mode 100644 index 00000000..255081ea --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsFindUniqueResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AiSettingsGroupByResult.schema.js b/packages/db/shared/schemas/results/AiSettingsGroupByResult.schema.js new file mode 100644 index 00000000..b5e9cbea --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsGroupByResult.schema.js @@ -0,0 +1,102 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + _count: z.object({ + id: z.number(), + userId: z.number(), + apiKey: z.number(), + aiEnabled: z.number(), + openAiKey: z.number(), + openAiEnabled: z.number(), + claudeAiKey: z.number(), + claudeAiEnabled: z.number(), + claudeAiModel: z.number(), + openAiModel: z.number(), + googleAiModel: z.number(), + dentalMgmtKey: z.number(), + dentalMgmtEnabled: z.number(), + afterHoursEnabled: z.number(), + openPhoneReply: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + apiKey: z.string().nullable(), + openAiKey: z.string().nullable(), + claudeAiKey: z.string().nullable(), + claudeAiModel: z.string().nullable(), + openAiModel: z.string().nullable(), + googleAiModel: z.string().nullable(), + dentalMgmtKey: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + apiKey: z.string().nullable(), + openAiKey: z.string().nullable(), + claudeAiKey: z.string().nullable(), + claudeAiModel: z.string().nullable(), + openAiModel: z.string().nullable(), + googleAiModel: z.string().nullable(), + dentalMgmtKey: z.string().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/AiSettingsUpdateManyResult.schema.js b/packages/db/shared/schemas/results/AiSettingsUpdateManyResult.schema.js new file mode 100644 index 00000000..792ed417 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/AiSettingsUpdateResult.schema.js b/packages/db/shared/schemas/results/AiSettingsUpdateResult.schema.js new file mode 100644 index 00000000..125e83e4 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsUpdateResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AiSettingsUpsertResult.schema.js b/packages/db/shared/schemas/results/AiSettingsUpsertResult.schema.js new file mode 100644 index 00000000..4b6bfe98 --- /dev/null +++ b/packages/db/shared/schemas/results/AiSettingsUpsertResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AiSettingsUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/AppointmentAggregateResult.schema.js b/packages/db/shared/schemas/results/AppointmentAggregateResult.schema.js index e086f0fa..c4cfb6ab 100644 --- a/packages/db/shared/schemas/results/AppointmentAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentAggregateResult.schema.js @@ -45,16 +45,19 @@ exports.AppointmentAggregateResultSchema = z.object({ _count: z.object({ startTime: z.number(), endTime: z.number(), type: z.number(), + typeLocked: z.number(), notes: z.number(), procedureCodeNotes: z.number(), status: z.number(), + movedByAi: z.number(), createdAt: z.number(), eligibilityStatus: z.number(), patient: z.number(), user: z.number(), staff: z.number(), procedures: z.number(), - claims: z.number() + claims: z.number(), + files: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), diff --git a/packages/db/shared/schemas/results/AppointmentCreateResult.schema.js b/packages/db/shared/schemas/results/AppointmentCreateResult.schema.js index 3e998276..0707f474 100644 --- a/packages/db/shared/schemas/results/AppointmentCreateResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentCreateResult.schema.js @@ -45,14 +45,17 @@ exports.AppointmentCreateResultSchema = z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/AppointmentDeleteResult.schema.js b/packages/db/shared/schemas/results/AppointmentDeleteResult.schema.js index 7d8cec43..b3bbcb45 100644 --- a/packages/db/shared/schemas/results/AppointmentDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentDeleteResult.schema.js @@ -45,14 +45,17 @@ exports.AppointmentDeleteResultSchema = z.nullable(z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/AppointmentFileAggregateResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileAggregateResult.schema.js new file mode 100644 index 00000000..4c2962ee --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileAggregateResult.schema.js @@ -0,0 +1,67 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + appointmentId: z.number(), + filename: z.number(), + mimeType: z.number(), + filePath: z.number(), + appointment: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + appointmentId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + appointmentId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + appointmentId: z.number().int().nullable(), + filename: z.string().nullable(), + mimeType: z.string().nullable(), + filePath: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + appointmentId: z.number().int().nullable(), + filename: z.string().nullable(), + mimeType: z.string().nullable(), + filePath: z.string().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/AppointmentFileCountResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileCountResult.schema.js new file mode 100644 index 00000000..da732492 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/AppointmentFileCreateManyResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileCreateManyResult.schema.js new file mode 100644 index 00000000..9da05dbf --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/AppointmentFileCreateResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileCreateResult.schema.js new file mode 100644 index 00000000..5739ad48 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileCreateResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileCreateResultSchema = z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/AppointmentFileDeleteManyResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileDeleteManyResult.schema.js new file mode 100644 index 00000000..daf344d9 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/AppointmentFileDeleteResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileDeleteResult.schema.js new file mode 100644 index 00000000..f72b1f8a --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileDeleteResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AppointmentFileFindFirstResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileFindFirstResult.schema.js new file mode 100644 index 00000000..1fb90be9 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileFindFirstResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AppointmentFileFindManyResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileFindManyResult.schema.js new file mode 100644 index 00000000..c57eac2a --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileFindManyResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/AppointmentFileFindUniqueResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileFindUniqueResult.schema.js new file mode 100644 index 00000000..774d2af2 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileFindUniqueResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AppointmentFileGroupByResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileGroupByResult.schema.js new file mode 100644 index 00000000..70aa2f67 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileGroupByResult.schema.js @@ -0,0 +1,74 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string(), + filePath: z.string(), + _count: z.object({ + id: z.number(), + appointmentId: z.number(), + filename: z.number(), + mimeType: z.number(), + filePath: z.number(), + appointment: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + appointmentId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + appointmentId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + appointmentId: z.number().int().nullable(), + filename: z.string().nullable(), + mimeType: z.string().nullable(), + filePath: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + appointmentId: z.number().int().nullable(), + filename: z.string().nullable(), + mimeType: z.string().nullable(), + filePath: z.string().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/AppointmentFileUpdateManyResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileUpdateManyResult.schema.js new file mode 100644 index 00000000..315b4a44 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/AppointmentFileUpdateResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileUpdateResult.schema.js new file mode 100644 index 00000000..6640dfe8 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileUpdateResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/AppointmentFileUpsertResult.schema.js b/packages/db/shared/schemas/results/AppointmentFileUpsertResult.schema.js new file mode 100644 index 00000000..f9d25d97 --- /dev/null +++ b/packages/db/shared/schemas/results/AppointmentFileUpsertResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.AppointmentFileUpsertResultSchema = z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional(), + filePath: z.string().optional(), + appointment: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/AppointmentFindFirstResult.schema.js b/packages/db/shared/schemas/results/AppointmentFindFirstResult.schema.js index 1b1dad5b..663b641e 100644 --- a/packages/db/shared/schemas/results/AppointmentFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentFindFirstResult.schema.js @@ -45,14 +45,17 @@ exports.AppointmentFindFirstResultSchema = z.nullable(z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/AppointmentFindManyResult.schema.js b/packages/db/shared/schemas/results/AppointmentFindManyResult.schema.js index f965f87d..9d163aa6 100644 --- a/packages/db/shared/schemas/results/AppointmentFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentFindManyResult.schema.js @@ -46,16 +46,19 @@ exports.AppointmentFindManyResultSchema = z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) })), pagination: z.object({ page: z.number().int().min(1), diff --git a/packages/db/shared/schemas/results/AppointmentFindUniqueResult.schema.js b/packages/db/shared/schemas/results/AppointmentFindUniqueResult.schema.js index c9d1833d..237b672f 100644 --- a/packages/db/shared/schemas/results/AppointmentFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentFindUniqueResult.schema.js @@ -45,14 +45,17 @@ exports.AppointmentFindUniqueResultSchema = z.nullable(z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/AppointmentGroupByResult.schema.js b/packages/db/shared/schemas/results/AppointmentGroupByResult.schema.js index 47c0b81f..19b8df96 100644 --- a/packages/db/shared/schemas/results/AppointmentGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentGroupByResult.schema.js @@ -45,9 +45,11 @@ exports.AppointmentGroupByResultSchema = z.array(z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string(), procedureCodeNotes: z.string(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), _count: z.object({ id: z.number(), @@ -59,16 +61,19 @@ exports.AppointmentGroupByResultSchema = z.array(z.object({ startTime: z.number(), endTime: z.number(), type: z.number(), + typeLocked: z.number(), notes: z.number(), procedureCodeNotes: z.number(), status: z.number(), + movedByAi: z.number(), createdAt: z.number(), eligibilityStatus: z.number(), patient: z.number(), user: z.number(), staff: z.number(), procedures: z.number(), - claims: z.number() + claims: z.number(), + files: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), diff --git a/packages/db/shared/schemas/results/AppointmentUpdateResult.schema.js b/packages/db/shared/schemas/results/AppointmentUpdateResult.schema.js index 92193794..663a8929 100644 --- a/packages/db/shared/schemas/results/AppointmentUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentUpdateResult.schema.js @@ -45,14 +45,17 @@ exports.AppointmentUpdateResultSchema = z.nullable(z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/AppointmentUpsertResult.schema.js b/packages/db/shared/schemas/results/AppointmentUpsertResult.schema.js index e3627e4b..ef73fa07 100644 --- a/packages/db/shared/schemas/results/AppointmentUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/AppointmentUpsertResult.schema.js @@ -45,14 +45,17 @@ exports.AppointmentUpsertResultSchema = z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional(), procedureCodeNotes: z.string().optional(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: z.unknown(), patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/ClaimAggregateResult.schema.js b/packages/db/shared/schemas/results/ClaimAggregateResult.schema.js index 6746e963..75b28d09 100644 --- a/packages/db/shared/schemas/results/ClaimAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimAggregateResult.schema.js @@ -53,6 +53,7 @@ exports.ClaimAggregateResultSchema = z.object({ _count: z.object({ updatedAt: z.number(), status: z.number(), claimNumber: z.number(), + preAuthNumber: z.number(), npiProviderId: z.number(), patient: z.number(), appointment: z.number(), @@ -94,6 +95,7 @@ exports.ClaimAggregateResultSchema = z.object({ _count: z.object({ createdAt: z.date().nullable(), updatedAt: z.date().nullable(), claimNumber: z.string().nullable(), + preAuthNumber: z.string().nullable(), npiProviderId: z.number().int().nullable() }).nullable().optional(), _max: z.object({ @@ -111,5 +113,6 @@ exports.ClaimAggregateResultSchema = z.object({ _count: z.object({ createdAt: z.date().nullable(), updatedAt: z.date().nullable(), claimNumber: z.string().nullable(), + preAuthNumber: z.string().nullable(), npiProviderId: z.number().int().nullable() }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/ClaimCreateResult.schema.js b/packages/db/shared/schemas/results/ClaimCreateResult.schema.js index a40c8273..698ec6cd 100644 --- a/packages/db/shared/schemas/results/ClaimCreateResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimCreateResult.schema.js @@ -38,7 +38,7 @@ const z = __importStar(require("zod")); exports.ClaimCreateResultSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -53,9 +53,10 @@ exports.ClaimCreateResultSchema = z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/ClaimDeleteResult.schema.js b/packages/db/shared/schemas/results/ClaimDeleteResult.schema.js index fffea113..a1846b9e 100644 --- a/packages/db/shared/schemas/results/ClaimDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimDeleteResult.schema.js @@ -38,7 +38,7 @@ const z = __importStar(require("zod")); exports.ClaimDeleteResultSchema = z.nullable(z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -53,9 +53,10 @@ exports.ClaimDeleteResultSchema = z.nullable(z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/ClaimFindFirstResult.schema.js b/packages/db/shared/schemas/results/ClaimFindFirstResult.schema.js index 1b7a4744..a962b67c 100644 --- a/packages/db/shared/schemas/results/ClaimFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimFindFirstResult.schema.js @@ -38,7 +38,7 @@ const z = __importStar(require("zod")); exports.ClaimFindFirstResultSchema = z.nullable(z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -53,9 +53,10 @@ exports.ClaimFindFirstResultSchema = z.nullable(z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/ClaimFindManyResult.schema.js b/packages/db/shared/schemas/results/ClaimFindManyResult.schema.js index aa031ebb..4c85e64c 100644 --- a/packages/db/shared/schemas/results/ClaimFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimFindManyResult.schema.js @@ -39,7 +39,7 @@ exports.ClaimFindManyResultSchema = z.object({ data: z.array(z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -54,9 +54,10 @@ exports.ClaimFindManyResultSchema = z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/ClaimFindUniqueResult.schema.js b/packages/db/shared/schemas/results/ClaimFindUniqueResult.schema.js index e5a772ba..c481bc7e 100644 --- a/packages/db/shared/schemas/results/ClaimFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimFindUniqueResult.schema.js @@ -38,7 +38,7 @@ const z = __importStar(require("zod")); exports.ClaimFindUniqueResultSchema = z.nullable(z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -53,9 +53,10 @@ exports.ClaimFindUniqueResultSchema = z.nullable(z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/ClaimGroupByResult.schema.js b/packages/db/shared/schemas/results/ClaimGroupByResult.schema.js index 6676fe2e..48450734 100644 --- a/packages/db/shared/schemas/results/ClaimGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimGroupByResult.schema.js @@ -51,6 +51,7 @@ exports.ClaimGroupByResultSchema = z.array(z.object({ createdAt: z.date(), updatedAt: z.date(), claimNumber: z.string(), + preAuthNumber: z.string(), npiProviderId: z.number().int(), _count: z.object({ id: z.number(), @@ -70,6 +71,7 @@ exports.ClaimGroupByResultSchema = z.array(z.object({ updatedAt: z.number(), status: z.number(), claimNumber: z.number(), + preAuthNumber: z.number(), npiProviderId: z.number(), patient: z.number(), appointment: z.number(), @@ -111,6 +113,7 @@ exports.ClaimGroupByResultSchema = z.array(z.object({ createdAt: z.date().nullable(), updatedAt: z.date().nullable(), claimNumber: z.string().nullable(), + preAuthNumber: z.string().nullable(), npiProviderId: z.number().int().nullable() }).nullable().optional(), _max: z.object({ @@ -128,6 +131,7 @@ exports.ClaimGroupByResultSchema = z.array(z.object({ createdAt: z.date().nullable(), updatedAt: z.date().nullable(), claimNumber: z.string().nullable(), + preAuthNumber: z.string().nullable(), npiProviderId: z.number().int().nullable() }).nullable().optional() })); diff --git a/packages/db/shared/schemas/results/ClaimUpdateResult.schema.js b/packages/db/shared/schemas/results/ClaimUpdateResult.schema.js index 816e4b0a..0c5604a2 100644 --- a/packages/db/shared/schemas/results/ClaimUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimUpdateResult.schema.js @@ -38,7 +38,7 @@ const z = __importStar(require("zod")); exports.ClaimUpdateResultSchema = z.nullable(z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -53,9 +53,10 @@ exports.ClaimUpdateResultSchema = z.nullable(z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/ClaimUpsertResult.schema.js b/packages/db/shared/schemas/results/ClaimUpsertResult.schema.js index 16bc2bd2..af91c8a2 100644 --- a/packages/db/shared/schemas/results/ClaimUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/ClaimUpsertResult.schema.js @@ -38,7 +38,7 @@ const z = __importStar(require("zod")); exports.ClaimUpsertResultSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().optional(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -53,9 +53,10 @@ exports.ClaimUpsertResultSchema = z.object({ updatedAt: z.date(), status: z.unknown(), claimNumber: z.string().optional(), + preAuthNumber: z.string().optional(), npiProviderId: z.number().int().optional(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional(), user: z.unknown().optional(), staff: z.unknown().optional(), npiProvider: z.unknown().optional(), diff --git a/packages/db/shared/schemas/results/CloudFolderAggregateResult.schema.js b/packages/db/shared/schemas/results/CloudFolderAggregateResult.schema.js index baa8ef42..5df69af9 100644 --- a/packages/db/shared/schemas/results/CloudFolderAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderAggregateResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderAggregateResultSchema = z.object({ _count: z.object({ userId: z.number(), name: z.number(), parentId: z.number(), + patientId: z.number(), parent: z.number(), children: z.number(), user: z.number(), + patient: z.number(), files: z.number(), createdAt: z.number(), updatedAt: z.number() @@ -50,18 +52,21 @@ exports.CloudFolderAggregateResultSchema = z.object({ _count: z.object({ _sum: z.object({ id: z.number().nullable(), userId: z.number().nullable(), - parentId: z.number().nullable() + parentId: z.number().nullable(), + patientId: z.number().nullable() }).nullable().optional(), _avg: z.object({ id: z.number().nullable(), userId: z.number().nullable(), - parentId: z.number().nullable() + parentId: z.number().nullable(), + patientId: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), userId: z.number().int().nullable(), name: z.string().nullable(), parentId: z.number().int().nullable(), + patientId: z.number().int().nullable(), createdAt: z.date().nullable(), updatedAt: z.date().nullable() }).nullable().optional(), @@ -70,6 +75,7 @@ exports.CloudFolderAggregateResultSchema = z.object({ _count: z.object({ userId: z.number().int().nullable(), name: z.string().nullable(), parentId: z.number().int().nullable(), + patientId: z.number().int().nullable(), createdAt: z.date().nullable(), updatedAt: z.date().nullable() }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/CloudFolderCreateResult.schema.js b/packages/db/shared/schemas/results/CloudFolderCreateResult.schema.js index a964627b..05310f43 100644 --- a/packages/db/shared/schemas/results/CloudFolderCreateResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderCreateResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderCreateResultSchema = z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CloudFolderDeleteResult.schema.js b/packages/db/shared/schemas/results/CloudFolderDeleteResult.schema.js index f7efef9d..f25aed58 100644 --- a/packages/db/shared/schemas/results/CloudFolderDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderDeleteResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderDeleteResultSchema = z.nullable(z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CloudFolderFindFirstResult.schema.js b/packages/db/shared/schemas/results/CloudFolderFindFirstResult.schema.js index bc7969c2..aa876666 100644 --- a/packages/db/shared/schemas/results/CloudFolderFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderFindFirstResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderFindFirstResultSchema = z.nullable(z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CloudFolderFindManyResult.schema.js b/packages/db/shared/schemas/results/CloudFolderFindManyResult.schema.js index 58b1ba68..4af3cdb5 100644 --- a/packages/db/shared/schemas/results/CloudFolderFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderFindManyResult.schema.js @@ -41,9 +41,11 @@ exports.CloudFolderFindManyResultSchema = z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CloudFolderFindUniqueResult.schema.js b/packages/db/shared/schemas/results/CloudFolderFindUniqueResult.schema.js index af1407e7..272defc5 100644 --- a/packages/db/shared/schemas/results/CloudFolderFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderFindUniqueResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderFindUniqueResultSchema = z.nullable(z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CloudFolderGroupByResult.schema.js b/packages/db/shared/schemas/results/CloudFolderGroupByResult.schema.js index 6a933fa2..182c4514 100644 --- a/packages/db/shared/schemas/results/CloudFolderGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderGroupByResult.schema.js @@ -40,6 +40,7 @@ exports.CloudFolderGroupByResultSchema = z.array(z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int(), + patientId: z.number().int(), createdAt: z.date(), updatedAt: z.date(), _count: z.object({ @@ -47,9 +48,11 @@ exports.CloudFolderGroupByResultSchema = z.array(z.object({ userId: z.number(), name: z.number(), parentId: z.number(), + patientId: z.number(), parent: z.number(), children: z.number(), user: z.number(), + patient: z.number(), files: z.number(), createdAt: z.number(), updatedAt: z.number() @@ -57,18 +60,21 @@ exports.CloudFolderGroupByResultSchema = z.array(z.object({ _sum: z.object({ id: z.number().nullable(), userId: z.number().nullable(), - parentId: z.number().nullable() + parentId: z.number().nullable(), + patientId: z.number().nullable() }).nullable().optional(), _avg: z.object({ id: z.number().nullable(), userId: z.number().nullable(), - parentId: z.number().nullable() + parentId: z.number().nullable(), + patientId: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), userId: z.number().int().nullable(), name: z.string().nullable(), parentId: z.number().int().nullable(), + patientId: z.number().int().nullable(), createdAt: z.date().nullable(), updatedAt: z.date().nullable() }).nullable().optional(), @@ -77,6 +83,7 @@ exports.CloudFolderGroupByResultSchema = z.array(z.object({ userId: z.number().int().nullable(), name: z.string().nullable(), parentId: z.number().int().nullable(), + patientId: z.number().int().nullable(), createdAt: z.date().nullable(), updatedAt: z.date().nullable() }).nullable().optional() diff --git a/packages/db/shared/schemas/results/CloudFolderUpdateResult.schema.js b/packages/db/shared/schemas/results/CloudFolderUpdateResult.schema.js index acd6a1f1..50233595 100644 --- a/packages/db/shared/schemas/results/CloudFolderUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderUpdateResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderUpdateResultSchema = z.nullable(z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CloudFolderUpsertResult.schema.js b/packages/db/shared/schemas/results/CloudFolderUpsertResult.schema.js index 5ec8a3e6..6084ae5e 100644 --- a/packages/db/shared/schemas/results/CloudFolderUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/CloudFolderUpsertResult.schema.js @@ -40,9 +40,11 @@ exports.CloudFolderUpsertResultSchema = z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional(), + patientId: z.number().int().optional(), parent: z.unknown().optional(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/results/CommissionBatchAggregateResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchAggregateResult.schema.js new file mode 100644 index 00000000..7bcea1ec --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchAggregateResult.schema.js @@ -0,0 +1,75 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + npiProviderId: z.number(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.number(), + createdAt: z.number(), + npiProvider: z.number(), + items: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + npiProviderId: z.number().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + npiProviderId: z.number().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable(), + notes: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable(), + notes: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/CommissionBatchCountResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchCountResult.schema.js new file mode 100644 index 00000000..9cdc2830 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/CommissionBatchCreateManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchCreateManyResult.schema.js new file mode 100644 index 00000000..018e9884 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchCreateResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchCreateResult.schema.js new file mode 100644 index 00000000..44928cd8 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchCreateResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchCreateResultSchema = z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchDeleteManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchDeleteManyResult.schema.js new file mode 100644 index 00000000..164de814 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchDeleteResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchDeleteResult.schema.js new file mode 100644 index 00000000..300d02f1 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchDeleteResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchFindFirstResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchFindFirstResult.schema.js new file mode 100644 index 00000000..d5511b90 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchFindFirstResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchFindManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchFindManyResult.schema.js new file mode 100644 index 00000000..6afd6852 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchFindManyResult.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchFindUniqueResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchFindUniqueResult.schema.js new file mode 100644 index 00000000..8eeffadb --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchFindUniqueResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchGroupByResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchGroupByResult.schema.js new file mode 100644 index 00000000..6480dafb --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchGroupByResult.schema.js @@ -0,0 +1,83 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string(), + createdAt: z.date(), + _count: z.object({ + id: z.number(), + npiProviderId: z.number(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.number(), + createdAt: z.number(), + npiProvider: z.number(), + items: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + npiProviderId: z.number().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + npiProviderId: z.number().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable(), + notes: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), + totalCollection: z.number().nullable(), + commissionAmount: z.number().nullable(), + notes: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemAggregateResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemAggregateResult.schema.js new file mode 100644 index 00000000..e63aba51 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemAggregateResult.schema.js @@ -0,0 +1,69 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + commissionBatchId: z.number(), + paymentId: z.number(), + collectionAmount: z.number(), + commissionBatch: z.number(), + payment: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + commissionBatchId: z.number().nullable(), + paymentId: z.number().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + commissionBatchId: z.number().nullable(), + paymentId: z.number().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + commissionBatchId: z.number().int().nullable(), + paymentId: z.number().int().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + commissionBatchId: z.number().int().nullable(), + paymentId: z.number().int().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemCountResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemCountResult.schema.js new file mode 100644 index 00000000..a2e7603b --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemCreateManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemCreateManyResult.schema.js new file mode 100644 index 00000000..c82de266 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemCreateResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemCreateResult.schema.js new file mode 100644 index 00000000..49962d7f --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemCreateResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemCreateResultSchema = z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemDeleteManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemDeleteManyResult.schema.js new file mode 100644 index 00000000..3aebc494 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemDeleteResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemDeleteResult.schema.js new file mode 100644 index 00000000..576241a0 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemDeleteResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemFindFirstResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemFindFirstResult.schema.js new file mode 100644 index 00000000..1c8964a1 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemFindFirstResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemFindManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemFindManyResult.schema.js new file mode 100644 index 00000000..e9405635 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemFindManyResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemFindUniqueResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemFindUniqueResult.schema.js new file mode 100644 index 00000000..0f8e1861 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemFindUniqueResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemGroupByResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemGroupByResult.schema.js new file mode 100644 index 00000000..39890bc2 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemGroupByResult.schema.js @@ -0,0 +1,75 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + _count: z.object({ + id: z.number(), + commissionBatchId: z.number(), + paymentId: z.number(), + collectionAmount: z.number(), + commissionBatch: z.number(), + payment: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + commissionBatchId: z.number().nullable(), + paymentId: z.number().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + commissionBatchId: z.number().nullable(), + paymentId: z.number().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + commissionBatchId: z.number().int().nullable(), + paymentId: z.number().int().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + commissionBatchId: z.number().int().nullable(), + paymentId: z.number().int().nullable(), + collectionAmount: z.number().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemUpdateManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemUpdateManyResult.schema.js new file mode 100644 index 00000000..26b40674 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemUpdateResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemUpdateResult.schema.js new file mode 100644 index 00000000..18f5ebb9 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemUpdateResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchItemUpsertResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchItemUpsertResult.schema.js new file mode 100644 index 00000000..53c73975 --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchItemUpsertResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchItemUpsertResultSchema = z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchUpdateManyResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchUpdateManyResult.schema.js new file mode 100644 index 00000000..aed377ba --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/CommissionBatchUpdateResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchUpdateResult.schema.js new file mode 100644 index 00000000..86475d6d --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchUpdateResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +})); diff --git a/packages/db/shared/schemas/results/CommissionBatchUpsertResult.schema.js b/packages/db/shared/schemas/results/CommissionBatchUpsertResult.schema.js new file mode 100644 index 00000000..6ff8cdcd --- /dev/null +++ b/packages/db/shared/schemas/results/CommissionBatchUpsertResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.CommissionBatchUpsertResultSchema = z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +}); diff --git a/packages/db/shared/schemas/results/InsuranceContactAggregateResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactAggregateResult.schema.js new file mode 100644 index 00000000..e280dd3f --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactAggregateResult.schema.js @@ -0,0 +1,67 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + name: z.number(), + phoneNumber: z.number(), + createdAt: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + name: z.string().nullable(), + phoneNumber: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + name: z.string().nullable(), + phoneNumber: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/InsuranceContactCountResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactCountResult.schema.js new file mode 100644 index 00000000..e595f8ff --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/InsuranceContactCreateManyResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactCreateManyResult.schema.js new file mode 100644 index 00000000..3992b7f6 --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/InsuranceContactCreateResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactCreateResult.schema.js new file mode 100644 index 00000000..e5d6c7ad --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactCreateResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/InsuranceContactDeleteManyResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactDeleteManyResult.schema.js new file mode 100644 index 00000000..fa57327d --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/InsuranceContactDeleteResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactDeleteResult.schema.js new file mode 100644 index 00000000..e8741e0d --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactDeleteResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/InsuranceContactFindFirstResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactFindFirstResult.schema.js new file mode 100644 index 00000000..a7257244 --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactFindFirstResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/InsuranceContactFindManyResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactFindManyResult.schema.js new file mode 100644 index 00000000..72a8bc79 --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactFindManyResult.schema.js @@ -0,0 +1,55 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/InsuranceContactFindUniqueResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactFindUniqueResult.schema.js new file mode 100644 index 00000000..bf80c95f --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactFindUniqueResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/InsuranceContactGroupByResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactGroupByResult.schema.js new file mode 100644 index 00000000..554aa542 --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactGroupByResult.schema.js @@ -0,0 +1,74 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string(), + createdAt: z.date(), + _count: z.object({ + id: z.number(), + userId: z.number(), + name: z.number(), + phoneNumber: z.number(), + createdAt: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + name: z.string().nullable(), + phoneNumber: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + name: z.string().nullable(), + phoneNumber: z.string().nullable(), + createdAt: z.date().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/InsuranceContactUpdateManyResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactUpdateManyResult.schema.js new file mode 100644 index 00000000..7305eb9a --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/InsuranceContactUpdateResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactUpdateResult.schema.js new file mode 100644 index 00000000..110cfc98 --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactUpdateResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/InsuranceContactUpsertResult.schema.js b/packages/db/shared/schemas/results/InsuranceContactUpsertResult.schema.js new file mode 100644 index 00000000..3535a211 --- /dev/null +++ b/packages/db/shared/schemas/results/InsuranceContactUpsertResult.schema.js @@ -0,0 +1,45 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.InsuranceContactUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional(), + createdAt: z.date(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/NpiProviderAggregateResult.schema.js b/packages/db/shared/schemas/results/NpiProviderAggregateResult.schema.js index ce08ed4d..9971df1a 100644 --- a/packages/db/shared/schemas/results/NpiProviderAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderAggregateResult.schema.js @@ -40,24 +40,30 @@ exports.NpiProviderAggregateResultSchema = z.object({ _count: z.object({ userId: z.number(), npiNumber: z.number(), providerName: z.number(), + sortOrder: z.number(), createdAt: z.number(), user: z.number(), claims: z.number(), + payments: z.number(), + commissionBatches: z.number(), appointmentProcedures: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), - userId: z.number().nullable() + userId: z.number().nullable(), + sortOrder: z.number().nullable() }).nullable().optional(), _avg: z.object({ id: z.number().nullable(), - userId: z.number().nullable() + userId: z.number().nullable(), + sortOrder: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), userId: z.number().int().nullable(), npiNumber: z.string().nullable(), providerName: z.string().nullable(), + sortOrder: z.number().int().nullable(), createdAt: z.date().nullable() }).nullable().optional(), _max: z.object({ @@ -65,5 +71,6 @@ exports.NpiProviderAggregateResultSchema = z.object({ _count: z.object({ userId: z.number().int().nullable(), npiNumber: z.string().nullable(), providerName: z.string().nullable(), + sortOrder: z.number().int().nullable(), createdAt: z.date().nullable() }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/NpiProviderCreateResult.schema.js b/packages/db/shared/schemas/results/NpiProviderCreateResult.schema.js index abfc839a..96d396e2 100644 --- a/packages/db/shared/schemas/results/NpiProviderCreateResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderCreateResult.schema.js @@ -40,8 +40,11 @@ exports.NpiProviderCreateResultSchema = z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/NpiProviderDeleteResult.schema.js b/packages/db/shared/schemas/results/NpiProviderDeleteResult.schema.js index 6d2ad952..b8be2c30 100644 --- a/packages/db/shared/schemas/results/NpiProviderDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderDeleteResult.schema.js @@ -40,8 +40,11 @@ exports.NpiProviderDeleteResultSchema = z.nullable(z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/NpiProviderFindFirstResult.schema.js b/packages/db/shared/schemas/results/NpiProviderFindFirstResult.schema.js index 30fc9f90..2d8d81c3 100644 --- a/packages/db/shared/schemas/results/NpiProviderFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderFindFirstResult.schema.js @@ -40,8 +40,11 @@ exports.NpiProviderFindFirstResultSchema = z.nullable(z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/NpiProviderFindManyResult.schema.js b/packages/db/shared/schemas/results/NpiProviderFindManyResult.schema.js index b4d1a748..8d97c883 100644 --- a/packages/db/shared/schemas/results/NpiProviderFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderFindManyResult.schema.js @@ -41,9 +41,12 @@ exports.NpiProviderFindManyResultSchema = z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) })), pagination: z.object({ diff --git a/packages/db/shared/schemas/results/NpiProviderFindUniqueResult.schema.js b/packages/db/shared/schemas/results/NpiProviderFindUniqueResult.schema.js index 7e2a842c..0a458a99 100644 --- a/packages/db/shared/schemas/results/NpiProviderFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderFindUniqueResult.schema.js @@ -40,8 +40,11 @@ exports.NpiProviderFindUniqueResultSchema = z.nullable(z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/NpiProviderGroupByResult.schema.js b/packages/db/shared/schemas/results/NpiProviderGroupByResult.schema.js index 69b8be0f..88d1d008 100644 --- a/packages/db/shared/schemas/results/NpiProviderGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderGroupByResult.schema.js @@ -40,30 +40,37 @@ exports.NpiProviderGroupByResultSchema = z.array(z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), _count: z.object({ id: z.number(), userId: z.number(), npiNumber: z.number(), providerName: z.number(), + sortOrder: z.number(), createdAt: z.number(), user: z.number(), claims: z.number(), + payments: z.number(), + commissionBatches: z.number(), appointmentProcedures: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), - userId: z.number().nullable() + userId: z.number().nullable(), + sortOrder: z.number().nullable() }).nullable().optional(), _avg: z.object({ id: z.number().nullable(), - userId: z.number().nullable() + userId: z.number().nullable(), + sortOrder: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), userId: z.number().int().nullable(), npiNumber: z.string().nullable(), providerName: z.string().nullable(), + sortOrder: z.number().int().nullable(), createdAt: z.date().nullable() }).nullable().optional(), _max: z.object({ @@ -71,6 +78,7 @@ exports.NpiProviderGroupByResultSchema = z.array(z.object({ userId: z.number().int().nullable(), npiNumber: z.string().nullable(), providerName: z.string().nullable(), + sortOrder: z.number().int().nullable(), createdAt: z.date().nullable() }).nullable().optional() })); diff --git a/packages/db/shared/schemas/results/NpiProviderUpdateResult.schema.js b/packages/db/shared/schemas/results/NpiProviderUpdateResult.schema.js index 889e89ba..4c31a9ef 100644 --- a/packages/db/shared/schemas/results/NpiProviderUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderUpdateResult.schema.js @@ -40,8 +40,11 @@ exports.NpiProviderUpdateResultSchema = z.nullable(z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/NpiProviderUpsertResult.schema.js b/packages/db/shared/schemas/results/NpiProviderUpsertResult.schema.js index 06aba85e..a9e268bf 100644 --- a/packages/db/shared/schemas/results/NpiProviderUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/NpiProviderUpsertResult.schema.js @@ -40,8 +40,11 @@ exports.NpiProviderUpsertResultSchema = z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/OfficeContactAggregateResult.schema.js b/packages/db/shared/schemas/results/OfficeContactAggregateResult.schema.js new file mode 100644 index 00000000..d4a27590 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactAggregateResult.schema.js @@ -0,0 +1,88 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + officeName: z.number(), + receptionistName: z.number(), + dentistName: z.number(), + phoneNumber: z.number(), + email: z.number(), + fax: z.number(), + streetAddress: z.number(), + city: z.number(), + state: z.number(), + zipCode: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + officeName: z.string().nullable(), + receptionistName: z.string().nullable(), + dentistName: z.string().nullable(), + phoneNumber: z.string().nullable(), + email: z.string().nullable(), + fax: z.string().nullable(), + streetAddress: z.string().nullable(), + city: z.string().nullable(), + state: z.string().nullable(), + zipCode: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + officeName: z.string().nullable(), + receptionistName: z.string().nullable(), + dentistName: z.string().nullable(), + phoneNumber: z.string().nullable(), + email: z.string().nullable(), + fax: z.string().nullable(), + streetAddress: z.string().nullable(), + city: z.string().nullable(), + state: z.string().nullable(), + zipCode: z.string().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/OfficeContactCountResult.schema.js b/packages/db/shared/schemas/results/OfficeContactCountResult.schema.js new file mode 100644 index 00000000..65f063e4 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/OfficeContactCreateManyResult.schema.js b/packages/db/shared/schemas/results/OfficeContactCreateManyResult.schema.js new file mode 100644 index 00000000..1997ee9f --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/OfficeContactCreateResult.schema.js b/packages/db/shared/schemas/results/OfficeContactCreateResult.schema.js new file mode 100644 index 00000000..cc9e29e0 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactCreateResult.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/OfficeContactDeleteManyResult.schema.js b/packages/db/shared/schemas/results/OfficeContactDeleteManyResult.schema.js new file mode 100644 index 00000000..b2d3f341 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/OfficeContactDeleteResult.schema.js b/packages/db/shared/schemas/results/OfficeContactDeleteResult.schema.js new file mode 100644 index 00000000..7e3562fd --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactDeleteResult.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeContactFindFirstResult.schema.js b/packages/db/shared/schemas/results/OfficeContactFindFirstResult.schema.js new file mode 100644 index 00000000..e09d526b --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactFindFirstResult.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeContactFindManyResult.schema.js b/packages/db/shared/schemas/results/OfficeContactFindManyResult.schema.js new file mode 100644 index 00000000..82a34581 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactFindManyResult.schema.js @@ -0,0 +1,62 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/OfficeContactFindUniqueResult.schema.js b/packages/db/shared/schemas/results/OfficeContactFindUniqueResult.schema.js new file mode 100644 index 00000000..c5c9b165 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactFindUniqueResult.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeContactGroupByResult.schema.js b/packages/db/shared/schemas/results/OfficeContactGroupByResult.schema.js new file mode 100644 index 00000000..46258a29 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactGroupByResult.schema.js @@ -0,0 +1,102 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string(), + receptionistName: z.string(), + dentistName: z.string(), + phoneNumber: z.string(), + email: z.string(), + fax: z.string(), + streetAddress: z.string(), + city: z.string(), + state: z.string(), + zipCode: z.string(), + _count: z.object({ + id: z.number(), + userId: z.number(), + officeName: z.number(), + receptionistName: z.number(), + dentistName: z.number(), + phoneNumber: z.number(), + email: z.number(), + fax: z.number(), + streetAddress: z.number(), + city: z.number(), + state: z.number(), + zipCode: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + officeName: z.string().nullable(), + receptionistName: z.string().nullable(), + dentistName: z.string().nullable(), + phoneNumber: z.string().nullable(), + email: z.string().nullable(), + fax: z.string().nullable(), + streetAddress: z.string().nullable(), + city: z.string().nullable(), + state: z.string().nullable(), + zipCode: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + officeName: z.string().nullable(), + receptionistName: z.string().nullable(), + dentistName: z.string().nullable(), + phoneNumber: z.string().nullable(), + email: z.string().nullable(), + fax: z.string().nullable(), + streetAddress: z.string().nullable(), + city: z.string().nullable(), + state: z.string().nullable(), + zipCode: z.string().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/OfficeContactUpdateManyResult.schema.js b/packages/db/shared/schemas/results/OfficeContactUpdateManyResult.schema.js new file mode 100644 index 00000000..63afc946 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/OfficeContactUpdateResult.schema.js b/packages/db/shared/schemas/results/OfficeContactUpdateResult.schema.js new file mode 100644 index 00000000..c3c4c222 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactUpdateResult.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeContactUpsertResult.schema.js b/packages/db/shared/schemas/results/OfficeContactUpsertResult.schema.js new file mode 100644 index 00000000..87cfad4e --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeContactUpsertResult.schema.js @@ -0,0 +1,52 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeContactUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional(), + receptionistName: z.string().optional(), + dentistName: z.string().optional(), + phoneNumber: z.string().optional(), + email: z.string().optional(), + fax: z.string().optional(), + streetAddress: z.string().optional(), + city: z.string().optional(), + state: z.string().optional(), + zipCode: z.string().optional(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/OfficeHoursAggregateResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursAggregateResult.schema.js new file mode 100644 index 00000000..03f4ba36 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursAggregateResult.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + data: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/OfficeHoursCountResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursCountResult.schema.js new file mode 100644 index 00000000..5eb07e22 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/OfficeHoursCreateManyResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursCreateManyResult.schema.js new file mode 100644 index 00000000..0c073a74 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/OfficeHoursCreateResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursCreateResult.schema.js new file mode 100644 index 00000000..1bfa4b9b --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursCreateResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/OfficeHoursDeleteManyResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursDeleteManyResult.schema.js new file mode 100644 index 00000000..b7f3f671 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/OfficeHoursDeleteResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursDeleteResult.schema.js new file mode 100644 index 00000000..9474f388 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursDeleteResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeHoursFindFirstResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursFindFirstResult.schema.js new file mode 100644 index 00000000..af79173c --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursFindFirstResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeHoursFindManyResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursFindManyResult.schema.js new file mode 100644 index 00000000..eb979c95 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursFindManyResult.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/OfficeHoursFindUniqueResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursFindUniqueResult.schema.js new file mode 100644 index 00000000..97fcb2f7 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursFindUniqueResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeHoursGroupByResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursGroupByResult.schema.js new file mode 100644 index 00000000..23375194 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursGroupByResult.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + _count: z.object({ + id: z.number(), + userId: z.number(), + data: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/OfficeHoursUpdateManyResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursUpdateManyResult.schema.js new file mode 100644 index 00000000..7800cefd --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/OfficeHoursUpdateResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursUpdateResult.schema.js new file mode 100644 index 00000000..9ef16aa6 --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursUpdateResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/OfficeHoursUpsertResult.schema.js b/packages/db/shared/schemas/results/OfficeHoursUpsertResult.schema.js new file mode 100644 index 00000000..a990badd --- /dev/null +++ b/packages/db/shared/schemas/results/OfficeHoursUpsertResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.OfficeHoursUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/PatientAggregateResult.schema.js b/packages/db/shared/schemas/results/PatientAggregateResult.schema.js index 10c16636..cbe0c5e9 100644 --- a/packages/db/shared/schemas/results/PatientAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/PatientAggregateResult.schema.js @@ -52,9 +52,11 @@ exports.PatientAggregateResultSchema = z.object({ _count: z.object({ policyHolder: z.number(), allergies: z.number(), medicalConditions: z.number(), + preferredLanguage: z.number(), status: z.number(), userId: z.number(), createdAt: z.number(), + updatedAt: z.number(), user: z.number(), appointments: z.number(), procedures: z.number(), @@ -62,7 +64,9 @@ exports.PatientAggregateResultSchema = z.object({ _count: z.object({ groups: z.number(), payment: z.number(), communications: z.number(), - documents: z.number() + documents: z.number(), + conversation: z.number(), + cloudFolders: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), @@ -89,8 +93,10 @@ exports.PatientAggregateResultSchema = z.object({ _count: z.object({ policyHolder: z.string().nullable(), allergies: z.string().nullable(), medicalConditions: z.string().nullable(), + preferredLanguage: z.string().nullable(), userId: z.number().int().nullable(), - createdAt: z.date().nullable() + createdAt: z.date().nullable(), + updatedAt: z.date().nullable() }).nullable().optional(), _max: z.object({ id: z.number().int().nullable(), @@ -109,6 +115,8 @@ exports.PatientAggregateResultSchema = z.object({ _count: z.object({ policyHolder: z.string().nullable(), allergies: z.string().nullable(), medicalConditions: z.string().nullable(), + preferredLanguage: z.string().nullable(), userId: z.number().int().nullable(), - createdAt: z.date().nullable() + createdAt: z.date().nullable(), + updatedAt: z.date().nullable() }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/PatientConversationAggregateResult.schema.js b/packages/db/shared/schemas/results/PatientConversationAggregateResult.schema.js new file mode 100644 index 00000000..174fd1e7 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationAggregateResult.schema.js @@ -0,0 +1,71 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + patientId: z.number(), + userId: z.number(), + stage: z.number(), + aiHandoff: z.number(), + updatedAt: z.number(), + patient: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + patientId: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + patientId: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + patientId: z.number().int().nullable(), + userId: z.number().int().nullable(), + stage: z.string().nullable(), + updatedAt: z.date().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + patientId: z.number().int().nullable(), + userId: z.number().int().nullable(), + stage: z.string().nullable(), + updatedAt: z.date().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/PatientConversationCountResult.schema.js b/packages/db/shared/schemas/results/PatientConversationCountResult.schema.js new file mode 100644 index 00000000..9625518f --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/PatientConversationCreateManyResult.schema.js b/packages/db/shared/schemas/results/PatientConversationCreateManyResult.schema.js new file mode 100644 index 00000000..612e37f6 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/PatientConversationCreateResult.schema.js b/packages/db/shared/schemas/results/PatientConversationCreateResult.schema.js new file mode 100644 index 00000000..65e71ac4 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationCreateResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationCreateResultSchema = z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/PatientConversationDeleteManyResult.schema.js b/packages/db/shared/schemas/results/PatientConversationDeleteManyResult.schema.js new file mode 100644 index 00000000..d7be818b --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/PatientConversationDeleteResult.schema.js b/packages/db/shared/schemas/results/PatientConversationDeleteResult.schema.js new file mode 100644 index 00000000..aa7b0c73 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationDeleteResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/PatientConversationFindFirstResult.schema.js b/packages/db/shared/schemas/results/PatientConversationFindFirstResult.schema.js new file mode 100644 index 00000000..3e058a24 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationFindFirstResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/PatientConversationFindManyResult.schema.js b/packages/db/shared/schemas/results/PatientConversationFindManyResult.schema.js new file mode 100644 index 00000000..08771e28 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationFindManyResult.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/PatientConversationFindUniqueResult.schema.js b/packages/db/shared/schemas/results/PatientConversationFindUniqueResult.schema.js new file mode 100644 index 00000000..84afb223 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationFindUniqueResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/PatientConversationGroupByResult.schema.js b/packages/db/shared/schemas/results/PatientConversationGroupByResult.schema.js new file mode 100644 index 00000000..3eb11b67 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationGroupByResult.schema.js @@ -0,0 +1,79 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + _count: z.object({ + id: z.number(), + patientId: z.number(), + userId: z.number(), + stage: z.number(), + aiHandoff: z.number(), + updatedAt: z.number(), + patient: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + patientId: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + patientId: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + patientId: z.number().int().nullable(), + userId: z.number().int().nullable(), + stage: z.string().nullable(), + updatedAt: z.date().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + patientId: z.number().int().nullable(), + userId: z.number().int().nullable(), + stage: z.string().nullable(), + updatedAt: z.date().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/PatientConversationUpdateManyResult.schema.js b/packages/db/shared/schemas/results/PatientConversationUpdateManyResult.schema.js new file mode 100644 index 00000000..ff657cab --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/PatientConversationUpdateResult.schema.js b/packages/db/shared/schemas/results/PatientConversationUpdateResult.schema.js new file mode 100644 index 00000000..be7d5353 --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationUpdateResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/PatientConversationUpsertResult.schema.js b/packages/db/shared/schemas/results/PatientConversationUpsertResult.schema.js new file mode 100644 index 00000000..5603031b --- /dev/null +++ b/packages/db/shared/schemas/results/PatientConversationUpsertResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.PatientConversationUpsertResultSchema = z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/PatientCreateResult.schema.js b/packages/db/shared/schemas/results/PatientCreateResult.schema.js index 195e5823..438eae24 100644 --- a/packages/db/shared/schemas/results/PatientCreateResult.schema.js +++ b/packages/db/shared/schemas/results/PatientCreateResult.schema.js @@ -52,9 +52,11 @@ exports.PatientCreateResultSchema = z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -62,5 +64,7 @@ exports.PatientCreateResultSchema = z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/PatientDeleteResult.schema.js b/packages/db/shared/schemas/results/PatientDeleteResult.schema.js index 5b69e200..94a1f697 100644 --- a/packages/db/shared/schemas/results/PatientDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/PatientDeleteResult.schema.js @@ -52,9 +52,11 @@ exports.PatientDeleteResultSchema = z.nullable(z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -62,5 +64,7 @@ exports.PatientDeleteResultSchema = z.nullable(z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PatientFindFirstResult.schema.js b/packages/db/shared/schemas/results/PatientFindFirstResult.schema.js index 37420bd3..2c4add46 100644 --- a/packages/db/shared/schemas/results/PatientFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/PatientFindFirstResult.schema.js @@ -52,9 +52,11 @@ exports.PatientFindFirstResultSchema = z.nullable(z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -62,5 +64,7 @@ exports.PatientFindFirstResultSchema = z.nullable(z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PatientFindManyResult.schema.js b/packages/db/shared/schemas/results/PatientFindManyResult.schema.js index ddc9c054..c0329c47 100644 --- a/packages/db/shared/schemas/results/PatientFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/PatientFindManyResult.schema.js @@ -53,9 +53,11 @@ exports.PatientFindManyResultSchema = z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -63,7 +65,9 @@ exports.PatientFindManyResultSchema = z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) })), pagination: z.object({ page: z.number().int().min(1), diff --git a/packages/db/shared/schemas/results/PatientFindUniqueResult.schema.js b/packages/db/shared/schemas/results/PatientFindUniqueResult.schema.js index cd70cf3f..4a662eab 100644 --- a/packages/db/shared/schemas/results/PatientFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/PatientFindUniqueResult.schema.js @@ -52,9 +52,11 @@ exports.PatientFindUniqueResultSchema = z.nullable(z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -62,5 +64,7 @@ exports.PatientFindUniqueResultSchema = z.nullable(z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PatientGroupByResult.schema.js b/packages/db/shared/schemas/results/PatientGroupByResult.schema.js index 777a68e0..abdd9078 100644 --- a/packages/db/shared/schemas/results/PatientGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/PatientGroupByResult.schema.js @@ -52,8 +52,10 @@ exports.PatientGroupByResultSchema = z.array(z.object({ policyHolder: z.string(), allergies: z.string(), medicalConditions: z.string(), + preferredLanguage: z.string(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), _count: z.object({ id: z.number(), firstName: z.number(), @@ -71,9 +73,11 @@ exports.PatientGroupByResultSchema = z.array(z.object({ policyHolder: z.number(), allergies: z.number(), medicalConditions: z.number(), + preferredLanguage: z.number(), status: z.number(), userId: z.number(), createdAt: z.number(), + updatedAt: z.number(), user: z.number(), appointments: z.number(), procedures: z.number(), @@ -81,7 +85,9 @@ exports.PatientGroupByResultSchema = z.array(z.object({ groups: z.number(), payment: z.number(), communications: z.number(), - documents: z.number() + documents: z.number(), + conversation: z.number(), + cloudFolders: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), @@ -108,8 +114,10 @@ exports.PatientGroupByResultSchema = z.array(z.object({ policyHolder: z.string().nullable(), allergies: z.string().nullable(), medicalConditions: z.string().nullable(), + preferredLanguage: z.string().nullable(), userId: z.number().int().nullable(), - createdAt: z.date().nullable() + createdAt: z.date().nullable(), + updatedAt: z.date().nullable() }).nullable().optional(), _max: z.object({ id: z.number().int().nullable(), @@ -128,7 +136,9 @@ exports.PatientGroupByResultSchema = z.array(z.object({ policyHolder: z.string().nullable(), allergies: z.string().nullable(), medicalConditions: z.string().nullable(), + preferredLanguage: z.string().nullable(), userId: z.number().int().nullable(), - createdAt: z.date().nullable() + createdAt: z.date().nullable(), + updatedAt: z.date().nullable() }).nullable().optional() })); diff --git a/packages/db/shared/schemas/results/PatientUpdateResult.schema.js b/packages/db/shared/schemas/results/PatientUpdateResult.schema.js index 6c66c9b9..338ea9de 100644 --- a/packages/db/shared/schemas/results/PatientUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/PatientUpdateResult.schema.js @@ -52,9 +52,11 @@ exports.PatientUpdateResultSchema = z.nullable(z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -62,5 +64,7 @@ exports.PatientUpdateResultSchema = z.nullable(z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PatientUpsertResult.schema.js b/packages/db/shared/schemas/results/PatientUpsertResult.schema.js index 010b76da..e6baf429 100644 --- a/packages/db/shared/schemas/results/PatientUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/PatientUpsertResult.schema.js @@ -52,9 +52,11 @@ exports.PatientUpsertResultSchema = z.object({ policyHolder: z.string().optional(), allergies: z.string().optional(), medicalConditions: z.string().optional(), + preferredLanguage: z.string().optional(), status: z.unknown(), userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -62,5 +64,7 @@ exports.PatientUpsertResultSchema = z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional(), + cloudFolders: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/PaymentAggregateResult.schema.js b/packages/db/shared/schemas/results/PaymentAggregateResult.schema.js index 4df9e68f..0bd62dce 100644 --- a/packages/db/shared/schemas/results/PaymentAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentAggregateResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentAggregateResultSchema = z.object({ _count: z.object({ patientId: z.number(), userId: z.number(), updatedById: z.number(), + npiProviderId: z.number(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number(), + copayment: z.number(), + adjustment: z.number(), status: z.number(), notes: z.number(), icn: z.number(), @@ -53,8 +57,10 @@ exports.PaymentAggregateResultSchema = z.object({ _count: z.object({ claim: z.number(), patient: z.number(), updatedBy: z.number(), + npiProvider: z.number(), serviceLineTransactions: z.number(), - serviceLines: z.number() + serviceLines: z.number(), + commissionBatchItems: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), @@ -62,10 +68,14 @@ exports.PaymentAggregateResultSchema = z.object({ _count: z.object({ patientId: z.number().nullable(), userId: z.number().nullable(), updatedById: z.number().nullable(), + npiProviderId: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), - totalDue: z.number().nullable() + totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable() }).nullable().optional(), _avg: z.object({ id: z.number().nullable(), @@ -73,10 +83,14 @@ exports.PaymentAggregateResultSchema = z.object({ _count: z.object({ patientId: z.number().nullable(), userId: z.number().nullable(), updatedById: z.number().nullable(), + npiProviderId: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), - totalDue: z.number().nullable() + totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), @@ -84,10 +98,14 @@ exports.PaymentAggregateResultSchema = z.object({ _count: z.object({ patientId: z.number().int().nullable(), userId: z.number().int().nullable(), updatedById: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable(), notes: z.string().nullable(), icn: z.string().nullable(), createdAt: z.date().nullable(), @@ -99,10 +117,14 @@ exports.PaymentAggregateResultSchema = z.object({ _count: z.object({ patientId: z.number().int().nullable(), userId: z.number().int().nullable(), updatedById: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable(), notes: z.string().nullable(), icn: z.string().nullable(), createdAt: z.date().nullable(), diff --git a/packages/db/shared/schemas/results/PaymentCreateResult.schema.js b/packages/db/shared/schemas/results/PaymentCreateResult.schema.js index 96a12e7c..3f0126b7 100644 --- a/packages/db/shared/schemas/results/PaymentCreateResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentCreateResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentCreateResultSchema = z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -53,6 +57,8 @@ exports.PaymentCreateResultSchema = z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/PaymentDeleteResult.schema.js b/packages/db/shared/schemas/results/PaymentDeleteResult.schema.js index 90872485..28e9333f 100644 --- a/packages/db/shared/schemas/results/PaymentDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentDeleteResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentDeleteResultSchema = z.nullable(z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -53,6 +57,8 @@ exports.PaymentDeleteResultSchema = z.nullable(z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PaymentFindFirstResult.schema.js b/packages/db/shared/schemas/results/PaymentFindFirstResult.schema.js index 2e6e33dc..55f01414 100644 --- a/packages/db/shared/schemas/results/PaymentFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentFindFirstResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentFindFirstResultSchema = z.nullable(z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -53,6 +57,8 @@ exports.PaymentFindFirstResultSchema = z.nullable(z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PaymentFindManyResult.schema.js b/packages/db/shared/schemas/results/PaymentFindManyResult.schema.js index 9a1e1641..66ec2ee7 100644 --- a/packages/db/shared/schemas/results/PaymentFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentFindManyResult.schema.js @@ -42,10 +42,14 @@ exports.PaymentFindManyResultSchema = z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -54,8 +58,10 @@ exports.PaymentFindManyResultSchema = z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) })), pagination: z.object({ page: z.number().int().min(1), diff --git a/packages/db/shared/schemas/results/PaymentFindUniqueResult.schema.js b/packages/db/shared/schemas/results/PaymentFindUniqueResult.schema.js index 7fd037b2..02439b04 100644 --- a/packages/db/shared/schemas/results/PaymentFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentFindUniqueResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentFindUniqueResultSchema = z.nullable(z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -53,6 +57,8 @@ exports.PaymentFindUniqueResultSchema = z.nullable(z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PaymentGroupByResult.schema.js b/packages/db/shared/schemas/results/PaymentGroupByResult.schema.js index 5a4ebe01..79ffadfb 100644 --- a/packages/db/shared/schemas/results/PaymentGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentGroupByResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int(), + npiProviderId: z.number().int(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number(), + copayment: z.number(), + adjustment: z.number(), notes: z.string(), icn: z.string(), createdAt: z.date(), @@ -55,10 +59,14 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ patientId: z.number(), userId: z.number(), updatedById: z.number(), + npiProviderId: z.number(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number(), + copayment: z.number(), + adjustment: z.number(), status: z.number(), notes: z.number(), icn: z.number(), @@ -67,8 +75,10 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ claim: z.number(), patient: z.number(), updatedBy: z.number(), + npiProvider: z.number(), serviceLineTransactions: z.number(), - serviceLines: z.number() + serviceLines: z.number(), + commissionBatchItems: z.number() }).optional(), _sum: z.object({ id: z.number().nullable(), @@ -76,10 +86,14 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ patientId: z.number().nullable(), userId: z.number().nullable(), updatedById: z.number().nullable(), + npiProviderId: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), - totalDue: z.number().nullable() + totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable() }).nullable().optional(), _avg: z.object({ id: z.number().nullable(), @@ -87,10 +101,14 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ patientId: z.number().nullable(), userId: z.number().nullable(), updatedById: z.number().nullable(), + npiProviderId: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), - totalDue: z.number().nullable() + totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), @@ -98,10 +116,14 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ patientId: z.number().int().nullable(), userId: z.number().int().nullable(), updatedById: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable(), notes: z.string().nullable(), icn: z.string().nullable(), createdAt: z.date().nullable(), @@ -113,10 +135,14 @@ exports.PaymentGroupByResultSchema = z.array(z.object({ patientId: z.number().int().nullable(), userId: z.number().int().nullable(), updatedById: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), totalDue: z.number().nullable(), + mhPaidAmount: z.number().nullable(), + copayment: z.number().nullable(), + adjustment: z.number().nullable(), notes: z.string().nullable(), icn: z.string().nullable(), createdAt: z.date().nullable(), diff --git a/packages/db/shared/schemas/results/PaymentUpdateResult.schema.js b/packages/db/shared/schemas/results/PaymentUpdateResult.schema.js index 8ec5feb6..ca270dde 100644 --- a/packages/db/shared/schemas/results/PaymentUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentUpdateResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentUpdateResultSchema = z.nullable(z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -53,6 +57,8 @@ exports.PaymentUpdateResultSchema = z.nullable(z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/PaymentUpsertResult.schema.js b/packages/db/shared/schemas/results/PaymentUpsertResult.schema.js index 09a41b9c..9e1735b7 100644 --- a/packages/db/shared/schemas/results/PaymentUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/PaymentUpsertResult.schema.js @@ -41,10 +41,14 @@ exports.PaymentUpsertResultSchema = z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional(), + npiProviderId: z.number().int().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional(), + copayment: z.number(), + adjustment: z.number(), status: z.unknown(), notes: z.string().optional(), icn: z.string().optional(), @@ -53,6 +57,8 @@ exports.PaymentUpsertResultSchema = z.object({ claim: z.unknown().optional(), patient: z.unknown(), updatedBy: z.unknown().optional(), + npiProvider: z.unknown().optional(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotAggregateResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotAggregateResult.schema.js new file mode 100644 index 00000000..e2edd050 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotAggregateResult.schema.js @@ -0,0 +1,59 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + data: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotCountResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotCountResult.schema.js new file mode 100644 index 00000000..322651a2 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotCreateManyResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotCreateManyResult.schema.js new file mode 100644 index 00000000..f41fe538 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotCreateResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotCreateResult.schema.js new file mode 100644 index 00000000..c2e565c1 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotCreateResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotDeleteManyResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotDeleteManyResult.schema.js new file mode 100644 index 00000000..b77f85f0 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotDeleteResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotDeleteResult.schema.js new file mode 100644 index 00000000..4c8f32cc --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotDeleteResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotFindFirstResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotFindFirstResult.schema.js new file mode 100644 index 00000000..0ae783c6 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotFindFirstResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotFindManyResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotFindManyResult.schema.js new file mode 100644 index 00000000..e43cb66a --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotFindManyResult.schema.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotFindUniqueResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotFindUniqueResult.schema.js new file mode 100644 index 00000000..7bdfdaef --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotFindUniqueResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotGroupByResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotGroupByResult.schema.js new file mode 100644 index 00000000..2e8d27cc --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotGroupByResult.schema.js @@ -0,0 +1,64 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + _count: z.object({ + id: z.number(), + userId: z.number(), + data: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotUpdateManyResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotUpdateManyResult.schema.js new file mode 100644 index 00000000..96ed3c49 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotUpdateResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotUpdateResult.schema.js new file mode 100644 index 00000000..e0b95389 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotUpdateResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ProcedureTimeslotUpsertResult.schema.js b/packages/db/shared/schemas/results/ProcedureTimeslotUpsertResult.schema.js new file mode 100644 index 00000000..03940733 --- /dev/null +++ b/packages/db/shared/schemas/results/ProcedureTimeslotUpsertResult.schema.js @@ -0,0 +1,43 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ProcedureTimeslotUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/ServiceLineAggregateResult.schema.js b/packages/db/shared/schemas/results/ServiceLineAggregateResult.schema.js index 1eb73594..33ab5392 100644 --- a/packages/db/shared/schemas/results/ServiceLineAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineAggregateResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineAggregateResultSchema = z.object({ _count: z.object({ arch: z.number(), toothNumber: z.number(), toothSurface: z.number(), + icn: z.number(), + paidCode: z.number(), + allowedAmount: z.number(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), @@ -58,6 +61,7 @@ exports.ServiceLineAggregateResultSchema = z.object({ _count: z.object({ id: z.number().nullable(), claimId: z.number().nullable(), paymentId: z.number().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), @@ -67,6 +71,7 @@ exports.ServiceLineAggregateResultSchema = z.object({ _count: z.object({ id: z.number().nullable(), claimId: z.number().nullable(), paymentId: z.number().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), @@ -82,6 +87,9 @@ exports.ServiceLineAggregateResultSchema = z.object({ _count: z.object({ arch: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), + icn: z.string().nullable(), + paidCode: z.string().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), @@ -97,6 +105,9 @@ exports.ServiceLineAggregateResultSchema = z.object({ _count: z.object({ arch: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), + icn: z.string().nullable(), + paidCode: z.string().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), diff --git a/packages/db/shared/schemas/results/ServiceLineCreateResult.schema.js b/packages/db/shared/schemas/results/ServiceLineCreateResult.schema.js index 781d4b39..3827d85f 100644 --- a/packages/db/shared/schemas/results/ServiceLineCreateResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineCreateResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineCreateResultSchema = z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ServiceLineDeleteResult.schema.js b/packages/db/shared/schemas/results/ServiceLineDeleteResult.schema.js index a8cf9cc6..b116ba1f 100644 --- a/packages/db/shared/schemas/results/ServiceLineDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineDeleteResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineDeleteResultSchema = z.nullable(z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ServiceLineFindFirstResult.schema.js b/packages/db/shared/schemas/results/ServiceLineFindFirstResult.schema.js index 9c108d2b..d262a1b6 100644 --- a/packages/db/shared/schemas/results/ServiceLineFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineFindFirstResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineFindFirstResultSchema = z.nullable(z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ServiceLineFindManyResult.schema.js b/packages/db/shared/schemas/results/ServiceLineFindManyResult.schema.js index 0dfc801d..b0ba5c8c 100644 --- a/packages/db/shared/schemas/results/ServiceLineFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineFindManyResult.schema.js @@ -46,6 +46,9 @@ exports.ServiceLineFindManyResultSchema = z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ServiceLineFindUniqueResult.schema.js b/packages/db/shared/schemas/results/ServiceLineFindUniqueResult.schema.js index d16775fd..e9268376 100644 --- a/packages/db/shared/schemas/results/ServiceLineFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineFindUniqueResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineFindUniqueResultSchema = z.nullable(z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ServiceLineGroupByResult.schema.js b/packages/db/shared/schemas/results/ServiceLineGroupByResult.schema.js index 29825fa4..fff5197b 100644 --- a/packages/db/shared/schemas/results/ServiceLineGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineGroupByResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineGroupByResultSchema = z.array(z.object({ arch: z.string(), toothNumber: z.string(), toothSurface: z.string(), + icn: z.string(), + paidCode: z.string(), + allowedAmount: z.number(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), @@ -59,6 +62,9 @@ exports.ServiceLineGroupByResultSchema = z.array(z.object({ arch: z.number(), toothNumber: z.number(), toothSurface: z.number(), + icn: z.number(), + paidCode: z.number(), + allowedAmount: z.number(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), @@ -72,6 +78,7 @@ exports.ServiceLineGroupByResultSchema = z.array(z.object({ id: z.number().nullable(), claimId: z.number().nullable(), paymentId: z.number().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), @@ -81,6 +88,7 @@ exports.ServiceLineGroupByResultSchema = z.array(z.object({ id: z.number().nullable(), claimId: z.number().nullable(), paymentId: z.number().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), @@ -96,6 +104,9 @@ exports.ServiceLineGroupByResultSchema = z.array(z.object({ arch: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), + icn: z.string().nullable(), + paidCode: z.string().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), @@ -111,6 +122,9 @@ exports.ServiceLineGroupByResultSchema = z.array(z.object({ arch: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), + icn: z.string().nullable(), + paidCode: z.string().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number().nullable(), totalPaid: z.number().nullable(), totalAdjusted: z.number().nullable(), diff --git a/packages/db/shared/schemas/results/ServiceLineUpdateResult.schema.js b/packages/db/shared/schemas/results/ServiceLineUpdateResult.schema.js index 52dc824f..2e7fc642 100644 --- a/packages/db/shared/schemas/results/ServiceLineUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineUpdateResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineUpdateResultSchema = z.nullable(z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ServiceLineUpsertResult.schema.js b/packages/db/shared/schemas/results/ServiceLineUpsertResult.schema.js index b747f421..a8c2df6e 100644 --- a/packages/db/shared/schemas/results/ServiceLineUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/ServiceLineUpsertResult.schema.js @@ -45,6 +45,9 @@ exports.ServiceLineUpsertResultSchema = z.object({ arch: z.string().optional(), toothNumber: z.string().optional(), toothSurface: z.string().optional(), + icn: z.string().optional(), + paidCode: z.string().optional(), + allowedAmount: z.number().optional(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/results/ShoppingVendorAggregateResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorAggregateResult.schema.js new file mode 100644 index 00000000..13bda976 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorAggregateResult.schema.js @@ -0,0 +1,70 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + vendorName: z.number(), + websiteUrl: z.number(), + loginUsername: z.number(), + loginPassword: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + vendorName: z.string().nullable(), + websiteUrl: z.string().nullable(), + loginUsername: z.string().nullable(), + loginPassword: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + vendorName: z.string().nullable(), + websiteUrl: z.string().nullable(), + loginUsername: z.string().nullable(), + loginPassword: z.string().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/ShoppingVendorCountResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorCountResult.schema.js new file mode 100644 index 00000000..996660a8 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/ShoppingVendorCreateManyResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorCreateManyResult.schema.js new file mode 100644 index 00000000..2cfe5e39 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/ShoppingVendorCreateResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorCreateResult.schema.js new file mode 100644 index 00000000..f87314d6 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorCreateResult.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/ShoppingVendorDeleteManyResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorDeleteManyResult.schema.js new file mode 100644 index 00000000..9bda2fbf --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/ShoppingVendorDeleteResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorDeleteResult.schema.js new file mode 100644 index 00000000..b52a698e --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorDeleteResult.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ShoppingVendorFindFirstResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorFindFirstResult.schema.js new file mode 100644 index 00000000..9b9d5c84 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorFindFirstResult.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ShoppingVendorFindManyResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorFindManyResult.schema.js new file mode 100644 index 00000000..20d065f4 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorFindManyResult.schema.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/ShoppingVendorFindUniqueResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorFindUniqueResult.schema.js new file mode 100644 index 00000000..9783b24e --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorFindUniqueResult.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ShoppingVendorGroupByResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorGroupByResult.schema.js new file mode 100644 index 00000000..595adfc4 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorGroupByResult.schema.js @@ -0,0 +1,78 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + _count: z.object({ + id: z.number(), + userId: z.number(), + vendorName: z.number(), + websiteUrl: z.number(), + loginUsername: z.number(), + loginPassword: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + vendorName: z.string().nullable(), + websiteUrl: z.string().nullable(), + loginUsername: z.string().nullable(), + loginPassword: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + vendorName: z.string().nullable(), + websiteUrl: z.string().nullable(), + loginUsername: z.string().nullable(), + loginPassword: z.string().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/ShoppingVendorUpdateManyResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorUpdateManyResult.schema.js new file mode 100644 index 00000000..e89d7e6f --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/ShoppingVendorUpdateResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorUpdateResult.schema.js new file mode 100644 index 00000000..dad78821 --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorUpdateResult.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/ShoppingVendorUpsertResult.schema.js b/packages/db/shared/schemas/results/ShoppingVendorUpsertResult.schema.js new file mode 100644 index 00000000..fa2954fc --- /dev/null +++ b/packages/db/shared/schemas/results/ShoppingVendorUpsertResult.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.ShoppingVendorUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/TwilioSettingsAggregateResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsAggregateResult.schema.js new file mode 100644 index 00000000..84b48409 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsAggregateResult.schema.js @@ -0,0 +1,71 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsAggregateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsAggregateResultSchema = z.object({ _count: z.object({ + id: z.number(), + userId: z.number(), + accountSid: z.number(), + authToken: z.number(), + phoneNumber: z.number(), + greetingMessage: z.number(), + templates: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + accountSid: z.string().nullable(), + authToken: z.string().nullable(), + phoneNumber: z.string().nullable(), + greetingMessage: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + accountSid: z.string().nullable(), + authToken: z.string().nullable(), + phoneNumber: z.string().nullable(), + greetingMessage: z.string().nullable() + }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/TwilioSettingsCountResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsCountResult.schema.js new file mode 100644 index 00000000..35ffeb77 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsCountResult.schema.js @@ -0,0 +1,38 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCountResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsCountResultSchema = z.number(); diff --git a/packages/db/shared/schemas/results/TwilioSettingsCreateManyResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsCreateManyResult.schema.js new file mode 100644 index 00000000..e0e6814c --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsCreateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsCreateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/TwilioSettingsCreateResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsCreateResult.schema.js new file mode 100644 index 00000000..a349977e --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsCreateResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsCreateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsCreateResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/TwilioSettingsDeleteManyResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsDeleteManyResult.schema.js new file mode 100644 index 00000000..e15e6aea --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsDeleteManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsDeleteManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsDeleteManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/TwilioSettingsDeleteResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsDeleteResult.schema.js new file mode 100644 index 00000000..c07a6db2 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsDeleteResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsDeleteResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsDeleteResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/TwilioSettingsFindFirstResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsFindFirstResult.schema.js new file mode 100644 index 00000000..c21e92ac --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsFindFirstResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindFirstResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsFindFirstResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/TwilioSettingsFindManyResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsFindManyResult.schema.js new file mode 100644 index 00000000..680ec313 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsFindManyResult.schema.js @@ -0,0 +1,57 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsFindManyResultSchema = z.object({ + data: z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() + })), + pagination: z.object({ + page: z.number().int().min(1), + pageSize: z.number().int().min(1), + total: z.number().int().min(0), + totalPages: z.number().int().min(0), + hasNext: z.boolean(), + hasPrev: z.boolean() + }) +}); diff --git a/packages/db/shared/schemas/results/TwilioSettingsFindUniqueResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsFindUniqueResult.schema.js new file mode 100644 index 00000000..ed0c6dac --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsFindUniqueResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsFindUniqueResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsFindUniqueResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/TwilioSettingsGroupByResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsGroupByResult.schema.js new file mode 100644 index 00000000..e325bd20 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsGroupByResult.schema.js @@ -0,0 +1,80 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsGroupByResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsGroupByResultSchema = z.array(z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string(), + templates: z.unknown(), + _count: z.object({ + id: z.number(), + userId: z.number(), + accountSid: z.number(), + authToken: z.number(), + phoneNumber: z.number(), + greetingMessage: z.number(), + templates: z.number(), + user: z.number() + }).optional(), + _sum: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _avg: z.object({ + id: z.number().nullable(), + userId: z.number().nullable() + }).nullable().optional(), + _min: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + accountSid: z.string().nullable(), + authToken: z.string().nullable(), + phoneNumber: z.string().nullable(), + greetingMessage: z.string().nullable() + }).nullable().optional(), + _max: z.object({ + id: z.number().int().nullable(), + userId: z.number().int().nullable(), + accountSid: z.string().nullable(), + authToken: z.string().nullable(), + phoneNumber: z.string().nullable(), + greetingMessage: z.string().nullable() + }).nullable().optional() +})); diff --git a/packages/db/shared/schemas/results/TwilioSettingsUpdateManyResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsUpdateManyResult.schema.js new file mode 100644 index 00000000..2f90e2d6 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsUpdateManyResult.schema.js @@ -0,0 +1,40 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateManyResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsUpdateManyResultSchema = z.object({ + count: z.number() +}); diff --git a/packages/db/shared/schemas/results/TwilioSettingsUpdateResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsUpdateResult.schema.js new file mode 100644 index 00000000..1b6256da --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsUpdateResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsUpdateResultSchema = z.nullable(z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() +})); diff --git a/packages/db/shared/schemas/results/TwilioSettingsUpsertResult.schema.js b/packages/db/shared/schemas/results/TwilioSettingsUpsertResult.schema.js new file mode 100644 index 00000000..045fa532 --- /dev/null +++ b/packages/db/shared/schemas/results/TwilioSettingsUpsertResult.schema.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpsertResultSchema = void 0; +const z = __importStar(require("zod")); +exports.TwilioSettingsUpsertResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional(), + templates: z.unknown().optional(), + user: z.unknown() +}); diff --git a/packages/db/shared/schemas/results/UserAggregateResult.schema.js b/packages/db/shared/schemas/results/UserAggregateResult.schema.js index adc4b75e..ace24c55 100644 --- a/packages/db/shared/schemas/results/UserAggregateResult.schema.js +++ b/packages/db/shared/schemas/results/UserAggregateResult.schema.js @@ -40,34 +40,63 @@ exports.UserAggregateResultSchema = z.object({ _count: z.object({ username: z.number(), password: z.number(), autoBackupEnabled: z.number(), + autoBackupHour: z.number(), usbBackupEnabled: z.number(), + usbBackupHour: z.number(), + autoMhCheckEnabled: z.number(), + autoMhCheckDayOfWeek: z.number(), + autoMhCheckHour: z.number(), patients: z.number(), appointments: z.number(), staff: z.number(), npiProviders: z.number(), claims: z.number(), insuranceCredentials: z.number(), + shoppingVendors: z.number(), updatedPayments: z.number(), backups: z.number(), backupDestinations: z.number(), notifications: z.number(), cloudFolders: z.number(), cloudFiles: z.number(), - communications: z.number() + communications: z.number(), + twilioSettings: z.number(), + aiSettings: z.number(), + officeHours: z.number(), + officeContact: z.number(), + procedureTimeslot: z.number(), + insuranceContacts: z.number(), + patientConversations: z.number() }).optional(), _sum: z.object({ - id: z.number().nullable() + id: z.number().nullable(), + autoBackupHour: z.number().nullable(), + usbBackupHour: z.number().nullable(), + autoMhCheckDayOfWeek: z.number().nullable(), + autoMhCheckHour: z.number().nullable() }).nullable().optional(), _avg: z.object({ - id: z.number().nullable() + id: z.number().nullable(), + autoBackupHour: z.number().nullable(), + usbBackupHour: z.number().nullable(), + autoMhCheckDayOfWeek: z.number().nullable(), + autoMhCheckHour: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), username: z.string().nullable(), - password: z.string().nullable() + password: z.string().nullable(), + autoBackupHour: z.number().int().nullable(), + usbBackupHour: z.number().int().nullable(), + autoMhCheckDayOfWeek: z.number().int().nullable(), + autoMhCheckHour: z.number().int().nullable() }).nullable().optional(), _max: z.object({ id: z.number().int().nullable(), username: z.string().nullable(), - password: z.string().nullable() + password: z.string().nullable(), + autoBackupHour: z.number().int().nullable(), + usbBackupHour: z.number().int().nullable(), + autoMhCheckDayOfWeek: z.number().int().nullable(), + autoMhCheckHour: z.number().int().nullable() }).nullable().optional() }); diff --git a/packages/db/shared/schemas/results/UserCreateResult.schema.js b/packages/db/shared/schemas/results/UserCreateResult.schema.js index 19df4921..cb1f33e6 100644 --- a/packages/db/shared/schemas/results/UserCreateResult.schema.js +++ b/packages/db/shared/schemas/results/UserCreateResult.schema.js @@ -40,18 +40,31 @@ exports.UserCreateResultSchema = z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/UserDeleteResult.schema.js b/packages/db/shared/schemas/results/UserDeleteResult.schema.js index 674846d3..e5b39bf7 100644 --- a/packages/db/shared/schemas/results/UserDeleteResult.schema.js +++ b/packages/db/shared/schemas/results/UserDeleteResult.schema.js @@ -40,18 +40,31 @@ exports.UserDeleteResultSchema = z.nullable(z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/UserFindFirstResult.schema.js b/packages/db/shared/schemas/results/UserFindFirstResult.schema.js index e54aa488..48380e56 100644 --- a/packages/db/shared/schemas/results/UserFindFirstResult.schema.js +++ b/packages/db/shared/schemas/results/UserFindFirstResult.schema.js @@ -40,18 +40,31 @@ exports.UserFindFirstResultSchema = z.nullable(z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/UserFindManyResult.schema.js b/packages/db/shared/schemas/results/UserFindManyResult.schema.js index 35fa2704..19b3a21a 100644 --- a/packages/db/shared/schemas/results/UserFindManyResult.schema.js +++ b/packages/db/shared/schemas/results/UserFindManyResult.schema.js @@ -41,20 +41,33 @@ exports.UserFindManyResultSchema = z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) })), pagination: z.object({ page: z.number().int().min(1), diff --git a/packages/db/shared/schemas/results/UserFindUniqueResult.schema.js b/packages/db/shared/schemas/results/UserFindUniqueResult.schema.js index 2c780ceb..7f4b8505 100644 --- a/packages/db/shared/schemas/results/UserFindUniqueResult.schema.js +++ b/packages/db/shared/schemas/results/UserFindUniqueResult.schema.js @@ -40,18 +40,31 @@ exports.UserFindUniqueResultSchema = z.nullable(z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/UserGroupByResult.schema.js b/packages/db/shared/schemas/results/UserGroupByResult.schema.js index 73c1e2ba..95b51488 100644 --- a/packages/db/shared/schemas/results/UserGroupByResult.schema.js +++ b/packages/db/shared/schemas/results/UserGroupByResult.schema.js @@ -40,41 +40,75 @@ exports.UserGroupByResultSchema = z.array(z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), _count: z.object({ id: z.number(), username: z.number(), password: z.number(), autoBackupEnabled: z.number(), + autoBackupHour: z.number(), usbBackupEnabled: z.number(), + usbBackupHour: z.number(), + autoMhCheckEnabled: z.number(), + autoMhCheckDayOfWeek: z.number(), + autoMhCheckHour: z.number(), patients: z.number(), appointments: z.number(), staff: z.number(), npiProviders: z.number(), claims: z.number(), insuranceCredentials: z.number(), + shoppingVendors: z.number(), updatedPayments: z.number(), backups: z.number(), backupDestinations: z.number(), notifications: z.number(), cloudFolders: z.number(), cloudFiles: z.number(), - communications: z.number() + communications: z.number(), + twilioSettings: z.number(), + aiSettings: z.number(), + officeHours: z.number(), + officeContact: z.number(), + procedureTimeslot: z.number(), + insuranceContacts: z.number(), + patientConversations: z.number() }).optional(), _sum: z.object({ - id: z.number().nullable() + id: z.number().nullable(), + autoBackupHour: z.number().nullable(), + usbBackupHour: z.number().nullable(), + autoMhCheckDayOfWeek: z.number().nullable(), + autoMhCheckHour: z.number().nullable() }).nullable().optional(), _avg: z.object({ - id: z.number().nullable() + id: z.number().nullable(), + autoBackupHour: z.number().nullable(), + usbBackupHour: z.number().nullable(), + autoMhCheckDayOfWeek: z.number().nullable(), + autoMhCheckHour: z.number().nullable() }).nullable().optional(), _min: z.object({ id: z.number().int().nullable(), username: z.string().nullable(), - password: z.string().nullable() + password: z.string().nullable(), + autoBackupHour: z.number().int().nullable(), + usbBackupHour: z.number().int().nullable(), + autoMhCheckDayOfWeek: z.number().int().nullable(), + autoMhCheckHour: z.number().int().nullable() }).nullable().optional(), _max: z.object({ id: z.number().int().nullable(), username: z.string().nullable(), - password: z.string().nullable() + password: z.string().nullable(), + autoBackupHour: z.number().int().nullable(), + usbBackupHour: z.number().int().nullable(), + autoMhCheckDayOfWeek: z.number().int().nullable(), + autoMhCheckHour: z.number().int().nullable() }).nullable().optional() })); diff --git a/packages/db/shared/schemas/results/UserUpdateResult.schema.js b/packages/db/shared/schemas/results/UserUpdateResult.schema.js index 7772c993..2d2299bb 100644 --- a/packages/db/shared/schemas/results/UserUpdateResult.schema.js +++ b/packages/db/shared/schemas/results/UserUpdateResult.schema.js @@ -40,18 +40,31 @@ exports.UserUpdateResultSchema = z.nullable(z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) })); diff --git a/packages/db/shared/schemas/results/UserUpsertResult.schema.js b/packages/db/shared/schemas/results/UserUpsertResult.schema.js index fa175be7..0486c6be 100644 --- a/packages/db/shared/schemas/results/UserUpsertResult.schema.js +++ b/packages/db/shared/schemas/results/UserUpsertResult.schema.js @@ -40,18 +40,31 @@ exports.UserUpsertResultSchema = z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional(), + aiSettings: z.unknown().optional(), + officeHours: z.unknown().optional(), + officeContact: z.unknown().optional(), + procedureTimeslot: z.unknown().optional(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) }); diff --git a/packages/db/shared/schemas/results/index.js b/packages/db/shared/schemas/results/index.js index 901c1f82..0fd22880 100644 --- a/packages/db/shared/schemas/results/index.js +++ b/packages/db/shared/schemas/results/index.js @@ -1,11 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.StaffAggregateResultSchema = exports.StaffDeleteManyResultSchema = exports.StaffDeleteResultSchema = exports.StaffUpsertResultSchema = exports.StaffUpdateManyResultSchema = exports.StaffUpdateResultSchema = exports.StaffCreateManyResultSchema = exports.StaffCreateResultSchema = exports.StaffFindManyResultSchema = exports.StaffFindFirstResultSchema = exports.StaffFindUniqueResultSchema = exports.AppointmentCountResultSchema = exports.AppointmentGroupByResultSchema = exports.AppointmentAggregateResultSchema = exports.AppointmentDeleteManyResultSchema = exports.AppointmentDeleteResultSchema = exports.AppointmentUpsertResultSchema = exports.AppointmentUpdateManyResultSchema = exports.AppointmentUpdateResultSchema = exports.AppointmentCreateManyResultSchema = exports.AppointmentCreateResultSchema = exports.AppointmentFindManyResultSchema = exports.AppointmentFindFirstResultSchema = exports.AppointmentFindUniqueResultSchema = exports.PatientCountResultSchema = exports.PatientGroupByResultSchema = exports.PatientAggregateResultSchema = exports.PatientDeleteManyResultSchema = exports.PatientDeleteResultSchema = exports.PatientUpsertResultSchema = exports.PatientUpdateManyResultSchema = exports.PatientUpdateResultSchema = exports.PatientCreateManyResultSchema = exports.PatientCreateResultSchema = exports.PatientFindManyResultSchema = exports.PatientFindFirstResultSchema = exports.PatientFindUniqueResultSchema = exports.UserCountResultSchema = exports.UserGroupByResultSchema = exports.UserAggregateResultSchema = exports.UserDeleteManyResultSchema = exports.UserDeleteResultSchema = exports.UserUpsertResultSchema = exports.UserUpdateManyResultSchema = exports.UserUpdateResultSchema = exports.UserCreateManyResultSchema = exports.UserCreateResultSchema = exports.UserFindManyResultSchema = exports.UserFindFirstResultSchema = exports.UserFindUniqueResultSchema = void 0; -exports.ServiceLineDeleteResultSchema = exports.ServiceLineUpsertResultSchema = exports.ServiceLineUpdateManyResultSchema = exports.ServiceLineUpdateResultSchema = exports.ServiceLineCreateManyResultSchema = exports.ServiceLineCreateResultSchema = exports.ServiceLineFindManyResultSchema = exports.ServiceLineFindFirstResultSchema = exports.ServiceLineFindUniqueResultSchema = exports.ClaimCountResultSchema = exports.ClaimGroupByResultSchema = exports.ClaimAggregateResultSchema = exports.ClaimDeleteManyResultSchema = exports.ClaimDeleteResultSchema = exports.ClaimUpsertResultSchema = exports.ClaimUpdateManyResultSchema = exports.ClaimUpdateResultSchema = exports.ClaimCreateManyResultSchema = exports.ClaimCreateResultSchema = exports.ClaimFindManyResultSchema = exports.ClaimFindFirstResultSchema = exports.ClaimFindUniqueResultSchema = exports.AppointmentProcedureCountResultSchema = exports.AppointmentProcedureGroupByResultSchema = exports.AppointmentProcedureAggregateResultSchema = exports.AppointmentProcedureDeleteManyResultSchema = exports.AppointmentProcedureDeleteResultSchema = exports.AppointmentProcedureUpsertResultSchema = exports.AppointmentProcedureUpdateManyResultSchema = exports.AppointmentProcedureUpdateResultSchema = exports.AppointmentProcedureCreateManyResultSchema = exports.AppointmentProcedureCreateResultSchema = exports.AppointmentProcedureFindManyResultSchema = exports.AppointmentProcedureFindFirstResultSchema = exports.AppointmentProcedureFindUniqueResultSchema = exports.NpiProviderCountResultSchema = exports.NpiProviderGroupByResultSchema = exports.NpiProviderAggregateResultSchema = exports.NpiProviderDeleteManyResultSchema = exports.NpiProviderDeleteResultSchema = exports.NpiProviderUpsertResultSchema = exports.NpiProviderUpdateManyResultSchema = exports.NpiProviderUpdateResultSchema = exports.NpiProviderCreateManyResultSchema = exports.NpiProviderCreateResultSchema = exports.NpiProviderFindManyResultSchema = exports.NpiProviderFindFirstResultSchema = exports.NpiProviderFindUniqueResultSchema = exports.StaffCountResultSchema = exports.StaffGroupByResultSchema = void 0; -exports.PdfFileUpdateManyResultSchema = exports.PdfFileUpdateResultSchema = exports.PdfFileCreateManyResultSchema = exports.PdfFileCreateResultSchema = exports.PdfFileFindManyResultSchema = exports.PdfFileFindFirstResultSchema = exports.PdfFileFindUniqueResultSchema = exports.PdfGroupCountResultSchema = exports.PdfGroupGroupByResultSchema = exports.PdfGroupAggregateResultSchema = exports.PdfGroupDeleteManyResultSchema = exports.PdfGroupDeleteResultSchema = exports.PdfGroupUpsertResultSchema = exports.PdfGroupUpdateManyResultSchema = exports.PdfGroupUpdateResultSchema = exports.PdfGroupCreateManyResultSchema = exports.PdfGroupCreateResultSchema = exports.PdfGroupFindManyResultSchema = exports.PdfGroupFindFirstResultSchema = exports.PdfGroupFindUniqueResultSchema = exports.InsuranceCredentialCountResultSchema = exports.InsuranceCredentialGroupByResultSchema = exports.InsuranceCredentialAggregateResultSchema = exports.InsuranceCredentialDeleteManyResultSchema = exports.InsuranceCredentialDeleteResultSchema = exports.InsuranceCredentialUpsertResultSchema = exports.InsuranceCredentialUpdateManyResultSchema = exports.InsuranceCredentialUpdateResultSchema = exports.InsuranceCredentialCreateManyResultSchema = exports.InsuranceCredentialCreateResultSchema = exports.InsuranceCredentialFindManyResultSchema = exports.InsuranceCredentialFindFirstResultSchema = exports.InsuranceCredentialFindUniqueResultSchema = exports.ClaimFileCountResultSchema = exports.ClaimFileGroupByResultSchema = exports.ClaimFileAggregateResultSchema = exports.ClaimFileDeleteManyResultSchema = exports.ClaimFileDeleteResultSchema = exports.ClaimFileUpsertResultSchema = exports.ClaimFileUpdateManyResultSchema = exports.ClaimFileUpdateResultSchema = exports.ClaimFileCreateManyResultSchema = exports.ClaimFileCreateResultSchema = exports.ClaimFileFindManyResultSchema = exports.ClaimFileFindFirstResultSchema = exports.ClaimFileFindUniqueResultSchema = exports.ServiceLineCountResultSchema = exports.ServiceLineGroupByResultSchema = exports.ServiceLineAggregateResultSchema = exports.ServiceLineDeleteManyResultSchema = void 0; -exports.BackupDestinationCreateManyResultSchema = exports.BackupDestinationCreateResultSchema = exports.BackupDestinationFindManyResultSchema = exports.BackupDestinationFindFirstResultSchema = exports.BackupDestinationFindUniqueResultSchema = exports.DatabaseBackupCountResultSchema = exports.DatabaseBackupGroupByResultSchema = exports.DatabaseBackupAggregateResultSchema = exports.DatabaseBackupDeleteManyResultSchema = exports.DatabaseBackupDeleteResultSchema = exports.DatabaseBackupUpsertResultSchema = exports.DatabaseBackupUpdateManyResultSchema = exports.DatabaseBackupUpdateResultSchema = exports.DatabaseBackupCreateManyResultSchema = exports.DatabaseBackupCreateResultSchema = exports.DatabaseBackupFindManyResultSchema = exports.DatabaseBackupFindFirstResultSchema = exports.DatabaseBackupFindUniqueResultSchema = exports.ServiceLineTransactionCountResultSchema = exports.ServiceLineTransactionGroupByResultSchema = exports.ServiceLineTransactionAggregateResultSchema = exports.ServiceLineTransactionDeleteManyResultSchema = exports.ServiceLineTransactionDeleteResultSchema = exports.ServiceLineTransactionUpsertResultSchema = exports.ServiceLineTransactionUpdateManyResultSchema = exports.ServiceLineTransactionUpdateResultSchema = exports.ServiceLineTransactionCreateManyResultSchema = exports.ServiceLineTransactionCreateResultSchema = exports.ServiceLineTransactionFindManyResultSchema = exports.ServiceLineTransactionFindFirstResultSchema = exports.ServiceLineTransactionFindUniqueResultSchema = exports.PaymentCountResultSchema = exports.PaymentGroupByResultSchema = exports.PaymentAggregateResultSchema = exports.PaymentDeleteManyResultSchema = exports.PaymentDeleteResultSchema = exports.PaymentUpsertResultSchema = exports.PaymentUpdateManyResultSchema = exports.PaymentUpdateResultSchema = exports.PaymentCreateManyResultSchema = exports.PaymentCreateResultSchema = exports.PaymentFindManyResultSchema = exports.PaymentFindFirstResultSchema = exports.PaymentFindUniqueResultSchema = exports.PdfFileCountResultSchema = exports.PdfFileGroupByResultSchema = exports.PdfFileAggregateResultSchema = exports.PdfFileDeleteManyResultSchema = exports.PdfFileDeleteResultSchema = exports.PdfFileUpsertResultSchema = void 0; -exports.CloudFileFindManyResultSchema = exports.CloudFileFindFirstResultSchema = exports.CloudFileFindUniqueResultSchema = exports.CloudFolderCountResultSchema = exports.CloudFolderGroupByResultSchema = exports.CloudFolderAggregateResultSchema = exports.CloudFolderDeleteManyResultSchema = exports.CloudFolderDeleteResultSchema = exports.CloudFolderUpsertResultSchema = exports.CloudFolderUpdateManyResultSchema = exports.CloudFolderUpdateResultSchema = exports.CloudFolderCreateManyResultSchema = exports.CloudFolderCreateResultSchema = exports.CloudFolderFindManyResultSchema = exports.CloudFolderFindFirstResultSchema = exports.CloudFolderFindUniqueResultSchema = exports.CronJobLogCountResultSchema = exports.CronJobLogGroupByResultSchema = exports.CronJobLogAggregateResultSchema = exports.CronJobLogDeleteManyResultSchema = exports.CronJobLogDeleteResultSchema = exports.CronJobLogUpsertResultSchema = exports.CronJobLogUpdateManyResultSchema = exports.CronJobLogUpdateResultSchema = exports.CronJobLogCreateManyResultSchema = exports.CronJobLogCreateResultSchema = exports.CronJobLogFindManyResultSchema = exports.CronJobLogFindFirstResultSchema = exports.CronJobLogFindUniqueResultSchema = exports.NotificationCountResultSchema = exports.NotificationGroupByResultSchema = exports.NotificationAggregateResultSchema = exports.NotificationDeleteManyResultSchema = exports.NotificationDeleteResultSchema = exports.NotificationUpsertResultSchema = exports.NotificationUpdateManyResultSchema = exports.NotificationUpdateResultSchema = exports.NotificationCreateManyResultSchema = exports.NotificationCreateResultSchema = exports.NotificationFindManyResultSchema = exports.NotificationFindFirstResultSchema = exports.NotificationFindUniqueResultSchema = exports.BackupDestinationCountResultSchema = exports.BackupDestinationGroupByResultSchema = exports.BackupDestinationAggregateResultSchema = exports.BackupDestinationDeleteManyResultSchema = exports.BackupDestinationDeleteResultSchema = exports.BackupDestinationUpsertResultSchema = exports.BackupDestinationUpdateManyResultSchema = exports.BackupDestinationUpdateResultSchema = void 0; -exports.PatientDocumentCountResultSchema = exports.PatientDocumentGroupByResultSchema = exports.PatientDocumentAggregateResultSchema = exports.PatientDocumentDeleteManyResultSchema = exports.PatientDocumentDeleteResultSchema = exports.PatientDocumentUpsertResultSchema = exports.PatientDocumentUpdateManyResultSchema = exports.PatientDocumentUpdateResultSchema = exports.PatientDocumentCreateManyResultSchema = exports.PatientDocumentCreateResultSchema = exports.PatientDocumentFindManyResultSchema = exports.PatientDocumentFindFirstResultSchema = exports.PatientDocumentFindUniqueResultSchema = exports.CommunicationCountResultSchema = exports.CommunicationGroupByResultSchema = exports.CommunicationAggregateResultSchema = exports.CommunicationDeleteManyResultSchema = exports.CommunicationDeleteResultSchema = exports.CommunicationUpsertResultSchema = exports.CommunicationUpdateManyResultSchema = exports.CommunicationUpdateResultSchema = exports.CommunicationCreateManyResultSchema = exports.CommunicationCreateResultSchema = exports.CommunicationFindManyResultSchema = exports.CommunicationFindFirstResultSchema = exports.CommunicationFindUniqueResultSchema = exports.CloudFileChunkCountResultSchema = exports.CloudFileChunkGroupByResultSchema = exports.CloudFileChunkAggregateResultSchema = exports.CloudFileChunkDeleteManyResultSchema = exports.CloudFileChunkDeleteResultSchema = exports.CloudFileChunkUpsertResultSchema = exports.CloudFileChunkUpdateManyResultSchema = exports.CloudFileChunkUpdateResultSchema = exports.CloudFileChunkCreateManyResultSchema = exports.CloudFileChunkCreateResultSchema = exports.CloudFileChunkFindManyResultSchema = exports.CloudFileChunkFindFirstResultSchema = exports.CloudFileChunkFindUniqueResultSchema = exports.CloudFileCountResultSchema = exports.CloudFileGroupByResultSchema = exports.CloudFileAggregateResultSchema = exports.CloudFileDeleteManyResultSchema = exports.CloudFileDeleteResultSchema = exports.CloudFileUpsertResultSchema = exports.CloudFileUpdateManyResultSchema = exports.CloudFileUpdateResultSchema = exports.CloudFileCreateManyResultSchema = exports.CloudFileCreateResultSchema = void 0; +exports.AppointmentFileAggregateResultSchema = exports.AppointmentFileDeleteManyResultSchema = exports.AppointmentFileDeleteResultSchema = exports.AppointmentFileUpsertResultSchema = exports.AppointmentFileUpdateManyResultSchema = exports.AppointmentFileUpdateResultSchema = exports.AppointmentFileCreateManyResultSchema = exports.AppointmentFileCreateResultSchema = exports.AppointmentFileFindManyResultSchema = exports.AppointmentFileFindFirstResultSchema = exports.AppointmentFileFindUniqueResultSchema = exports.AppointmentCountResultSchema = exports.AppointmentGroupByResultSchema = exports.AppointmentAggregateResultSchema = exports.AppointmentDeleteManyResultSchema = exports.AppointmentDeleteResultSchema = exports.AppointmentUpsertResultSchema = exports.AppointmentUpdateManyResultSchema = exports.AppointmentUpdateResultSchema = exports.AppointmentCreateManyResultSchema = exports.AppointmentCreateResultSchema = exports.AppointmentFindManyResultSchema = exports.AppointmentFindFirstResultSchema = exports.AppointmentFindUniqueResultSchema = exports.PatientCountResultSchema = exports.PatientGroupByResultSchema = exports.PatientAggregateResultSchema = exports.PatientDeleteManyResultSchema = exports.PatientDeleteResultSchema = exports.PatientUpsertResultSchema = exports.PatientUpdateManyResultSchema = exports.PatientUpdateResultSchema = exports.PatientCreateManyResultSchema = exports.PatientCreateResultSchema = exports.PatientFindManyResultSchema = exports.PatientFindFirstResultSchema = exports.PatientFindUniqueResultSchema = exports.UserCountResultSchema = exports.UserGroupByResultSchema = exports.UserAggregateResultSchema = exports.UserDeleteManyResultSchema = exports.UserDeleteResultSchema = exports.UserUpsertResultSchema = exports.UserUpdateManyResultSchema = exports.UserUpdateResultSchema = exports.UserCreateManyResultSchema = exports.UserCreateResultSchema = exports.UserFindManyResultSchema = exports.UserFindFirstResultSchema = exports.UserFindUniqueResultSchema = void 0; +exports.ClaimDeleteResultSchema = exports.ClaimUpsertResultSchema = exports.ClaimUpdateManyResultSchema = exports.ClaimUpdateResultSchema = exports.ClaimCreateManyResultSchema = exports.ClaimCreateResultSchema = exports.ClaimFindManyResultSchema = exports.ClaimFindFirstResultSchema = exports.ClaimFindUniqueResultSchema = exports.AppointmentProcedureCountResultSchema = exports.AppointmentProcedureGroupByResultSchema = exports.AppointmentProcedureAggregateResultSchema = exports.AppointmentProcedureDeleteManyResultSchema = exports.AppointmentProcedureDeleteResultSchema = exports.AppointmentProcedureUpsertResultSchema = exports.AppointmentProcedureUpdateManyResultSchema = exports.AppointmentProcedureUpdateResultSchema = exports.AppointmentProcedureCreateManyResultSchema = exports.AppointmentProcedureCreateResultSchema = exports.AppointmentProcedureFindManyResultSchema = exports.AppointmentProcedureFindFirstResultSchema = exports.AppointmentProcedureFindUniqueResultSchema = exports.NpiProviderCountResultSchema = exports.NpiProviderGroupByResultSchema = exports.NpiProviderAggregateResultSchema = exports.NpiProviderDeleteManyResultSchema = exports.NpiProviderDeleteResultSchema = exports.NpiProviderUpsertResultSchema = exports.NpiProviderUpdateManyResultSchema = exports.NpiProviderUpdateResultSchema = exports.NpiProviderCreateManyResultSchema = exports.NpiProviderCreateResultSchema = exports.NpiProviderFindManyResultSchema = exports.NpiProviderFindFirstResultSchema = exports.NpiProviderFindUniqueResultSchema = exports.StaffCountResultSchema = exports.StaffGroupByResultSchema = exports.StaffAggregateResultSchema = exports.StaffDeleteManyResultSchema = exports.StaffDeleteResultSchema = exports.StaffUpsertResultSchema = exports.StaffUpdateManyResultSchema = exports.StaffUpdateResultSchema = exports.StaffCreateManyResultSchema = exports.StaffCreateResultSchema = exports.StaffFindManyResultSchema = exports.StaffFindFirstResultSchema = exports.StaffFindUniqueResultSchema = exports.AppointmentFileCountResultSchema = exports.AppointmentFileGroupByResultSchema = void 0; +exports.ShoppingVendorUpdateManyResultSchema = exports.ShoppingVendorUpdateResultSchema = exports.ShoppingVendorCreateManyResultSchema = exports.ShoppingVendorCreateResultSchema = exports.ShoppingVendorFindManyResultSchema = exports.ShoppingVendorFindFirstResultSchema = exports.ShoppingVendorFindUniqueResultSchema = exports.InsuranceCredentialCountResultSchema = exports.InsuranceCredentialGroupByResultSchema = exports.InsuranceCredentialAggregateResultSchema = exports.InsuranceCredentialDeleteManyResultSchema = exports.InsuranceCredentialDeleteResultSchema = exports.InsuranceCredentialUpsertResultSchema = exports.InsuranceCredentialUpdateManyResultSchema = exports.InsuranceCredentialUpdateResultSchema = exports.InsuranceCredentialCreateManyResultSchema = exports.InsuranceCredentialCreateResultSchema = exports.InsuranceCredentialFindManyResultSchema = exports.InsuranceCredentialFindFirstResultSchema = exports.InsuranceCredentialFindUniqueResultSchema = exports.ClaimFileCountResultSchema = exports.ClaimFileGroupByResultSchema = exports.ClaimFileAggregateResultSchema = exports.ClaimFileDeleteManyResultSchema = exports.ClaimFileDeleteResultSchema = exports.ClaimFileUpsertResultSchema = exports.ClaimFileUpdateManyResultSchema = exports.ClaimFileUpdateResultSchema = exports.ClaimFileCreateManyResultSchema = exports.ClaimFileCreateResultSchema = exports.ClaimFileFindManyResultSchema = exports.ClaimFileFindFirstResultSchema = exports.ClaimFileFindUniqueResultSchema = exports.ServiceLineCountResultSchema = exports.ServiceLineGroupByResultSchema = exports.ServiceLineAggregateResultSchema = exports.ServiceLineDeleteManyResultSchema = exports.ServiceLineDeleteResultSchema = exports.ServiceLineUpsertResultSchema = exports.ServiceLineUpdateManyResultSchema = exports.ServiceLineUpdateResultSchema = exports.ServiceLineCreateManyResultSchema = exports.ServiceLineCreateResultSchema = exports.ServiceLineFindManyResultSchema = exports.ServiceLineFindFirstResultSchema = exports.ServiceLineFindUniqueResultSchema = exports.ClaimCountResultSchema = exports.ClaimGroupByResultSchema = exports.ClaimAggregateResultSchema = exports.ClaimDeleteManyResultSchema = void 0; +exports.ServiceLineTransactionCreateManyResultSchema = exports.ServiceLineTransactionCreateResultSchema = exports.ServiceLineTransactionFindManyResultSchema = exports.ServiceLineTransactionFindFirstResultSchema = exports.ServiceLineTransactionFindUniqueResultSchema = exports.PaymentCountResultSchema = exports.PaymentGroupByResultSchema = exports.PaymentAggregateResultSchema = exports.PaymentDeleteManyResultSchema = exports.PaymentDeleteResultSchema = exports.PaymentUpsertResultSchema = exports.PaymentUpdateManyResultSchema = exports.PaymentUpdateResultSchema = exports.PaymentCreateManyResultSchema = exports.PaymentCreateResultSchema = exports.PaymentFindManyResultSchema = exports.PaymentFindFirstResultSchema = exports.PaymentFindUniqueResultSchema = exports.PdfFileCountResultSchema = exports.PdfFileGroupByResultSchema = exports.PdfFileAggregateResultSchema = exports.PdfFileDeleteManyResultSchema = exports.PdfFileDeleteResultSchema = exports.PdfFileUpsertResultSchema = exports.PdfFileUpdateManyResultSchema = exports.PdfFileUpdateResultSchema = exports.PdfFileCreateManyResultSchema = exports.PdfFileCreateResultSchema = exports.PdfFileFindManyResultSchema = exports.PdfFileFindFirstResultSchema = exports.PdfFileFindUniqueResultSchema = exports.PdfGroupCountResultSchema = exports.PdfGroupGroupByResultSchema = exports.PdfGroupAggregateResultSchema = exports.PdfGroupDeleteManyResultSchema = exports.PdfGroupDeleteResultSchema = exports.PdfGroupUpsertResultSchema = exports.PdfGroupUpdateManyResultSchema = exports.PdfGroupUpdateResultSchema = exports.PdfGroupCreateManyResultSchema = exports.PdfGroupCreateResultSchema = exports.PdfGroupFindManyResultSchema = exports.PdfGroupFindFirstResultSchema = exports.PdfGroupFindUniqueResultSchema = exports.ShoppingVendorCountResultSchema = exports.ShoppingVendorGroupByResultSchema = exports.ShoppingVendorAggregateResultSchema = exports.ShoppingVendorDeleteManyResultSchema = exports.ShoppingVendorDeleteResultSchema = exports.ShoppingVendorUpsertResultSchema = void 0; +exports.CronJobLogFindManyResultSchema = exports.CronJobLogFindFirstResultSchema = exports.CronJobLogFindUniqueResultSchema = exports.NotificationCountResultSchema = exports.NotificationGroupByResultSchema = exports.NotificationAggregateResultSchema = exports.NotificationDeleteManyResultSchema = exports.NotificationDeleteResultSchema = exports.NotificationUpsertResultSchema = exports.NotificationUpdateManyResultSchema = exports.NotificationUpdateResultSchema = exports.NotificationCreateManyResultSchema = exports.NotificationCreateResultSchema = exports.NotificationFindManyResultSchema = exports.NotificationFindFirstResultSchema = exports.NotificationFindUniqueResultSchema = exports.BackupDestinationCountResultSchema = exports.BackupDestinationGroupByResultSchema = exports.BackupDestinationAggregateResultSchema = exports.BackupDestinationDeleteManyResultSchema = exports.BackupDestinationDeleteResultSchema = exports.BackupDestinationUpsertResultSchema = exports.BackupDestinationUpdateManyResultSchema = exports.BackupDestinationUpdateResultSchema = exports.BackupDestinationCreateManyResultSchema = exports.BackupDestinationCreateResultSchema = exports.BackupDestinationFindManyResultSchema = exports.BackupDestinationFindFirstResultSchema = exports.BackupDestinationFindUniqueResultSchema = exports.DatabaseBackupCountResultSchema = exports.DatabaseBackupGroupByResultSchema = exports.DatabaseBackupAggregateResultSchema = exports.DatabaseBackupDeleteManyResultSchema = exports.DatabaseBackupDeleteResultSchema = exports.DatabaseBackupUpsertResultSchema = exports.DatabaseBackupUpdateManyResultSchema = exports.DatabaseBackupUpdateResultSchema = exports.DatabaseBackupCreateManyResultSchema = exports.DatabaseBackupCreateResultSchema = exports.DatabaseBackupFindManyResultSchema = exports.DatabaseBackupFindFirstResultSchema = exports.DatabaseBackupFindUniqueResultSchema = exports.ServiceLineTransactionCountResultSchema = exports.ServiceLineTransactionGroupByResultSchema = exports.ServiceLineTransactionAggregateResultSchema = exports.ServiceLineTransactionDeleteManyResultSchema = exports.ServiceLineTransactionDeleteResultSchema = exports.ServiceLineTransactionUpsertResultSchema = exports.ServiceLineTransactionUpdateManyResultSchema = exports.ServiceLineTransactionUpdateResultSchema = void 0; +exports.CommunicationFindUniqueResultSchema = exports.CloudFileChunkCountResultSchema = exports.CloudFileChunkGroupByResultSchema = exports.CloudFileChunkAggregateResultSchema = exports.CloudFileChunkDeleteManyResultSchema = exports.CloudFileChunkDeleteResultSchema = exports.CloudFileChunkUpsertResultSchema = exports.CloudFileChunkUpdateManyResultSchema = exports.CloudFileChunkUpdateResultSchema = exports.CloudFileChunkCreateManyResultSchema = exports.CloudFileChunkCreateResultSchema = exports.CloudFileChunkFindManyResultSchema = exports.CloudFileChunkFindFirstResultSchema = exports.CloudFileChunkFindUniqueResultSchema = exports.CloudFileCountResultSchema = exports.CloudFileGroupByResultSchema = exports.CloudFileAggregateResultSchema = exports.CloudFileDeleteManyResultSchema = exports.CloudFileDeleteResultSchema = exports.CloudFileUpsertResultSchema = exports.CloudFileUpdateManyResultSchema = exports.CloudFileUpdateResultSchema = exports.CloudFileCreateManyResultSchema = exports.CloudFileCreateResultSchema = exports.CloudFileFindManyResultSchema = exports.CloudFileFindFirstResultSchema = exports.CloudFileFindUniqueResultSchema = exports.CloudFolderCountResultSchema = exports.CloudFolderGroupByResultSchema = exports.CloudFolderAggregateResultSchema = exports.CloudFolderDeleteManyResultSchema = exports.CloudFolderDeleteResultSchema = exports.CloudFolderUpsertResultSchema = exports.CloudFolderUpdateManyResultSchema = exports.CloudFolderUpdateResultSchema = exports.CloudFolderCreateManyResultSchema = exports.CloudFolderCreateResultSchema = exports.CloudFolderFindManyResultSchema = exports.CloudFolderFindFirstResultSchema = exports.CloudFolderFindUniqueResultSchema = exports.CronJobLogCountResultSchema = exports.CronJobLogGroupByResultSchema = exports.CronJobLogAggregateResultSchema = exports.CronJobLogDeleteManyResultSchema = exports.CronJobLogDeleteResultSchema = exports.CronJobLogUpsertResultSchema = exports.CronJobLogUpdateManyResultSchema = exports.CronJobLogUpdateResultSchema = exports.CronJobLogCreateManyResultSchema = exports.CronJobLogCreateResultSchema = void 0; +exports.AiSettingsGroupByResultSchema = exports.AiSettingsAggregateResultSchema = exports.AiSettingsDeleteManyResultSchema = exports.AiSettingsDeleteResultSchema = exports.AiSettingsUpsertResultSchema = exports.AiSettingsUpdateManyResultSchema = exports.AiSettingsUpdateResultSchema = exports.AiSettingsCreateManyResultSchema = exports.AiSettingsCreateResultSchema = exports.AiSettingsFindManyResultSchema = exports.AiSettingsFindFirstResultSchema = exports.AiSettingsFindUniqueResultSchema = exports.TwilioSettingsCountResultSchema = exports.TwilioSettingsGroupByResultSchema = exports.TwilioSettingsAggregateResultSchema = exports.TwilioSettingsDeleteManyResultSchema = exports.TwilioSettingsDeleteResultSchema = exports.TwilioSettingsUpsertResultSchema = exports.TwilioSettingsUpdateManyResultSchema = exports.TwilioSettingsUpdateResultSchema = exports.TwilioSettingsCreateManyResultSchema = exports.TwilioSettingsCreateResultSchema = exports.TwilioSettingsFindManyResultSchema = exports.TwilioSettingsFindFirstResultSchema = exports.TwilioSettingsFindUniqueResultSchema = exports.PatientDocumentCountResultSchema = exports.PatientDocumentGroupByResultSchema = exports.PatientDocumentAggregateResultSchema = exports.PatientDocumentDeleteManyResultSchema = exports.PatientDocumentDeleteResultSchema = exports.PatientDocumentUpsertResultSchema = exports.PatientDocumentUpdateManyResultSchema = exports.PatientDocumentUpdateResultSchema = exports.PatientDocumentCreateManyResultSchema = exports.PatientDocumentCreateResultSchema = exports.PatientDocumentFindManyResultSchema = exports.PatientDocumentFindFirstResultSchema = exports.PatientDocumentFindUniqueResultSchema = exports.CommunicationCountResultSchema = exports.CommunicationGroupByResultSchema = exports.CommunicationAggregateResultSchema = exports.CommunicationDeleteManyResultSchema = exports.CommunicationDeleteResultSchema = exports.CommunicationUpsertResultSchema = exports.CommunicationUpdateManyResultSchema = exports.CommunicationUpdateResultSchema = exports.CommunicationCreateManyResultSchema = exports.CommunicationCreateResultSchema = exports.CommunicationFindManyResultSchema = exports.CommunicationFindFirstResultSchema = void 0; +exports.ProcedureTimeslotDeleteManyResultSchema = exports.ProcedureTimeslotDeleteResultSchema = exports.ProcedureTimeslotUpsertResultSchema = exports.ProcedureTimeslotUpdateManyResultSchema = exports.ProcedureTimeslotUpdateResultSchema = exports.ProcedureTimeslotCreateManyResultSchema = exports.ProcedureTimeslotCreateResultSchema = exports.ProcedureTimeslotFindManyResultSchema = exports.ProcedureTimeslotFindFirstResultSchema = exports.ProcedureTimeslotFindUniqueResultSchema = exports.InsuranceContactCountResultSchema = exports.InsuranceContactGroupByResultSchema = exports.InsuranceContactAggregateResultSchema = exports.InsuranceContactDeleteManyResultSchema = exports.InsuranceContactDeleteResultSchema = exports.InsuranceContactUpsertResultSchema = exports.InsuranceContactUpdateManyResultSchema = exports.InsuranceContactUpdateResultSchema = exports.InsuranceContactCreateManyResultSchema = exports.InsuranceContactCreateResultSchema = exports.InsuranceContactFindManyResultSchema = exports.InsuranceContactFindFirstResultSchema = exports.InsuranceContactFindUniqueResultSchema = exports.OfficeContactCountResultSchema = exports.OfficeContactGroupByResultSchema = exports.OfficeContactAggregateResultSchema = exports.OfficeContactDeleteManyResultSchema = exports.OfficeContactDeleteResultSchema = exports.OfficeContactUpsertResultSchema = exports.OfficeContactUpdateManyResultSchema = exports.OfficeContactUpdateResultSchema = exports.OfficeContactCreateManyResultSchema = exports.OfficeContactCreateResultSchema = exports.OfficeContactFindManyResultSchema = exports.OfficeContactFindFirstResultSchema = exports.OfficeContactFindUniqueResultSchema = exports.OfficeHoursCountResultSchema = exports.OfficeHoursGroupByResultSchema = exports.OfficeHoursAggregateResultSchema = exports.OfficeHoursDeleteManyResultSchema = exports.OfficeHoursDeleteResultSchema = exports.OfficeHoursUpsertResultSchema = exports.OfficeHoursUpdateManyResultSchema = exports.OfficeHoursUpdateResultSchema = exports.OfficeHoursCreateManyResultSchema = exports.OfficeHoursCreateResultSchema = exports.OfficeHoursFindManyResultSchema = exports.OfficeHoursFindFirstResultSchema = exports.OfficeHoursFindUniqueResultSchema = exports.AiSettingsCountResultSchema = void 0; +exports.CommissionBatchItemCountResultSchema = exports.CommissionBatchItemGroupByResultSchema = exports.CommissionBatchItemAggregateResultSchema = exports.CommissionBatchItemDeleteManyResultSchema = exports.CommissionBatchItemDeleteResultSchema = exports.CommissionBatchItemUpsertResultSchema = exports.CommissionBatchItemUpdateManyResultSchema = exports.CommissionBatchItemUpdateResultSchema = exports.CommissionBatchItemCreateManyResultSchema = exports.CommissionBatchItemCreateResultSchema = exports.CommissionBatchItemFindManyResultSchema = exports.CommissionBatchItemFindFirstResultSchema = exports.CommissionBatchItemFindUniqueResultSchema = exports.CommissionBatchCountResultSchema = exports.CommissionBatchGroupByResultSchema = exports.CommissionBatchAggregateResultSchema = exports.CommissionBatchDeleteManyResultSchema = exports.CommissionBatchDeleteResultSchema = exports.CommissionBatchUpsertResultSchema = exports.CommissionBatchUpdateManyResultSchema = exports.CommissionBatchUpdateResultSchema = exports.CommissionBatchCreateManyResultSchema = exports.CommissionBatchCreateResultSchema = exports.CommissionBatchFindManyResultSchema = exports.CommissionBatchFindFirstResultSchema = exports.CommissionBatchFindUniqueResultSchema = exports.PatientConversationCountResultSchema = exports.PatientConversationGroupByResultSchema = exports.PatientConversationAggregateResultSchema = exports.PatientConversationDeleteManyResultSchema = exports.PatientConversationDeleteResultSchema = exports.PatientConversationUpsertResultSchema = exports.PatientConversationUpdateManyResultSchema = exports.PatientConversationUpdateResultSchema = exports.PatientConversationCreateManyResultSchema = exports.PatientConversationCreateResultSchema = exports.PatientConversationFindManyResultSchema = exports.PatientConversationFindFirstResultSchema = exports.PatientConversationFindUniqueResultSchema = exports.ProcedureTimeslotCountResultSchema = exports.ProcedureTimeslotGroupByResultSchema = exports.ProcedureTimeslotAggregateResultSchema = void 0; var UserFindUniqueResult_schema_1 = require("./UserFindUniqueResult.schema"); Object.defineProperty(exports, "UserFindUniqueResultSchema", { enumerable: true, get: function () { return UserFindUniqueResult_schema_1.UserFindUniqueResultSchema; } }); var UserFindFirstResult_schema_1 = require("./UserFindFirstResult.schema"); @@ -84,6 +87,32 @@ var AppointmentGroupByResult_schema_1 = require("./AppointmentGroupByResult.sche Object.defineProperty(exports, "AppointmentGroupByResultSchema", { enumerable: true, get: function () { return AppointmentGroupByResult_schema_1.AppointmentGroupByResultSchema; } }); var AppointmentCountResult_schema_1 = require("./AppointmentCountResult.schema"); Object.defineProperty(exports, "AppointmentCountResultSchema", { enumerable: true, get: function () { return AppointmentCountResult_schema_1.AppointmentCountResultSchema; } }); +var AppointmentFileFindUniqueResult_schema_1 = require("./AppointmentFileFindUniqueResult.schema"); +Object.defineProperty(exports, "AppointmentFileFindUniqueResultSchema", { enumerable: true, get: function () { return AppointmentFileFindUniqueResult_schema_1.AppointmentFileFindUniqueResultSchema; } }); +var AppointmentFileFindFirstResult_schema_1 = require("./AppointmentFileFindFirstResult.schema"); +Object.defineProperty(exports, "AppointmentFileFindFirstResultSchema", { enumerable: true, get: function () { return AppointmentFileFindFirstResult_schema_1.AppointmentFileFindFirstResultSchema; } }); +var AppointmentFileFindManyResult_schema_1 = require("./AppointmentFileFindManyResult.schema"); +Object.defineProperty(exports, "AppointmentFileFindManyResultSchema", { enumerable: true, get: function () { return AppointmentFileFindManyResult_schema_1.AppointmentFileFindManyResultSchema; } }); +var AppointmentFileCreateResult_schema_1 = require("./AppointmentFileCreateResult.schema"); +Object.defineProperty(exports, "AppointmentFileCreateResultSchema", { enumerable: true, get: function () { return AppointmentFileCreateResult_schema_1.AppointmentFileCreateResultSchema; } }); +var AppointmentFileCreateManyResult_schema_1 = require("./AppointmentFileCreateManyResult.schema"); +Object.defineProperty(exports, "AppointmentFileCreateManyResultSchema", { enumerable: true, get: function () { return AppointmentFileCreateManyResult_schema_1.AppointmentFileCreateManyResultSchema; } }); +var AppointmentFileUpdateResult_schema_1 = require("./AppointmentFileUpdateResult.schema"); +Object.defineProperty(exports, "AppointmentFileUpdateResultSchema", { enumerable: true, get: function () { return AppointmentFileUpdateResult_schema_1.AppointmentFileUpdateResultSchema; } }); +var AppointmentFileUpdateManyResult_schema_1 = require("./AppointmentFileUpdateManyResult.schema"); +Object.defineProperty(exports, "AppointmentFileUpdateManyResultSchema", { enumerable: true, get: function () { return AppointmentFileUpdateManyResult_schema_1.AppointmentFileUpdateManyResultSchema; } }); +var AppointmentFileUpsertResult_schema_1 = require("./AppointmentFileUpsertResult.schema"); +Object.defineProperty(exports, "AppointmentFileUpsertResultSchema", { enumerable: true, get: function () { return AppointmentFileUpsertResult_schema_1.AppointmentFileUpsertResultSchema; } }); +var AppointmentFileDeleteResult_schema_1 = require("./AppointmentFileDeleteResult.schema"); +Object.defineProperty(exports, "AppointmentFileDeleteResultSchema", { enumerable: true, get: function () { return AppointmentFileDeleteResult_schema_1.AppointmentFileDeleteResultSchema; } }); +var AppointmentFileDeleteManyResult_schema_1 = require("./AppointmentFileDeleteManyResult.schema"); +Object.defineProperty(exports, "AppointmentFileDeleteManyResultSchema", { enumerable: true, get: function () { return AppointmentFileDeleteManyResult_schema_1.AppointmentFileDeleteManyResultSchema; } }); +var AppointmentFileAggregateResult_schema_1 = require("./AppointmentFileAggregateResult.schema"); +Object.defineProperty(exports, "AppointmentFileAggregateResultSchema", { enumerable: true, get: function () { return AppointmentFileAggregateResult_schema_1.AppointmentFileAggregateResultSchema; } }); +var AppointmentFileGroupByResult_schema_1 = require("./AppointmentFileGroupByResult.schema"); +Object.defineProperty(exports, "AppointmentFileGroupByResultSchema", { enumerable: true, get: function () { return AppointmentFileGroupByResult_schema_1.AppointmentFileGroupByResultSchema; } }); +var AppointmentFileCountResult_schema_1 = require("./AppointmentFileCountResult.schema"); +Object.defineProperty(exports, "AppointmentFileCountResultSchema", { enumerable: true, get: function () { return AppointmentFileCountResult_schema_1.AppointmentFileCountResultSchema; } }); var StaffFindUniqueResult_schema_1 = require("./StaffFindUniqueResult.schema"); Object.defineProperty(exports, "StaffFindUniqueResultSchema", { enumerable: true, get: function () { return StaffFindUniqueResult_schema_1.StaffFindUniqueResultSchema; } }); var StaffFindFirstResult_schema_1 = require("./StaffFindFirstResult.schema"); @@ -266,6 +295,32 @@ var InsuranceCredentialGroupByResult_schema_1 = require("./InsuranceCredentialGr Object.defineProperty(exports, "InsuranceCredentialGroupByResultSchema", { enumerable: true, get: function () { return InsuranceCredentialGroupByResult_schema_1.InsuranceCredentialGroupByResultSchema; } }); var InsuranceCredentialCountResult_schema_1 = require("./InsuranceCredentialCountResult.schema"); Object.defineProperty(exports, "InsuranceCredentialCountResultSchema", { enumerable: true, get: function () { return InsuranceCredentialCountResult_schema_1.InsuranceCredentialCountResultSchema; } }); +var ShoppingVendorFindUniqueResult_schema_1 = require("./ShoppingVendorFindUniqueResult.schema"); +Object.defineProperty(exports, "ShoppingVendorFindUniqueResultSchema", { enumerable: true, get: function () { return ShoppingVendorFindUniqueResult_schema_1.ShoppingVendorFindUniqueResultSchema; } }); +var ShoppingVendorFindFirstResult_schema_1 = require("./ShoppingVendorFindFirstResult.schema"); +Object.defineProperty(exports, "ShoppingVendorFindFirstResultSchema", { enumerable: true, get: function () { return ShoppingVendorFindFirstResult_schema_1.ShoppingVendorFindFirstResultSchema; } }); +var ShoppingVendorFindManyResult_schema_1 = require("./ShoppingVendorFindManyResult.schema"); +Object.defineProperty(exports, "ShoppingVendorFindManyResultSchema", { enumerable: true, get: function () { return ShoppingVendorFindManyResult_schema_1.ShoppingVendorFindManyResultSchema; } }); +var ShoppingVendorCreateResult_schema_1 = require("./ShoppingVendorCreateResult.schema"); +Object.defineProperty(exports, "ShoppingVendorCreateResultSchema", { enumerable: true, get: function () { return ShoppingVendorCreateResult_schema_1.ShoppingVendorCreateResultSchema; } }); +var ShoppingVendorCreateManyResult_schema_1 = require("./ShoppingVendorCreateManyResult.schema"); +Object.defineProperty(exports, "ShoppingVendorCreateManyResultSchema", { enumerable: true, get: function () { return ShoppingVendorCreateManyResult_schema_1.ShoppingVendorCreateManyResultSchema; } }); +var ShoppingVendorUpdateResult_schema_1 = require("./ShoppingVendorUpdateResult.schema"); +Object.defineProperty(exports, "ShoppingVendorUpdateResultSchema", { enumerable: true, get: function () { return ShoppingVendorUpdateResult_schema_1.ShoppingVendorUpdateResultSchema; } }); +var ShoppingVendorUpdateManyResult_schema_1 = require("./ShoppingVendorUpdateManyResult.schema"); +Object.defineProperty(exports, "ShoppingVendorUpdateManyResultSchema", { enumerable: true, get: function () { return ShoppingVendorUpdateManyResult_schema_1.ShoppingVendorUpdateManyResultSchema; } }); +var ShoppingVendorUpsertResult_schema_1 = require("./ShoppingVendorUpsertResult.schema"); +Object.defineProperty(exports, "ShoppingVendorUpsertResultSchema", { enumerable: true, get: function () { return ShoppingVendorUpsertResult_schema_1.ShoppingVendorUpsertResultSchema; } }); +var ShoppingVendorDeleteResult_schema_1 = require("./ShoppingVendorDeleteResult.schema"); +Object.defineProperty(exports, "ShoppingVendorDeleteResultSchema", { enumerable: true, get: function () { return ShoppingVendorDeleteResult_schema_1.ShoppingVendorDeleteResultSchema; } }); +var ShoppingVendorDeleteManyResult_schema_1 = require("./ShoppingVendorDeleteManyResult.schema"); +Object.defineProperty(exports, "ShoppingVendorDeleteManyResultSchema", { enumerable: true, get: function () { return ShoppingVendorDeleteManyResult_schema_1.ShoppingVendorDeleteManyResultSchema; } }); +var ShoppingVendorAggregateResult_schema_1 = require("./ShoppingVendorAggregateResult.schema"); +Object.defineProperty(exports, "ShoppingVendorAggregateResultSchema", { enumerable: true, get: function () { return ShoppingVendorAggregateResult_schema_1.ShoppingVendorAggregateResultSchema; } }); +var ShoppingVendorGroupByResult_schema_1 = require("./ShoppingVendorGroupByResult.schema"); +Object.defineProperty(exports, "ShoppingVendorGroupByResultSchema", { enumerable: true, get: function () { return ShoppingVendorGroupByResult_schema_1.ShoppingVendorGroupByResultSchema; } }); +var ShoppingVendorCountResult_schema_1 = require("./ShoppingVendorCountResult.schema"); +Object.defineProperty(exports, "ShoppingVendorCountResultSchema", { enumerable: true, get: function () { return ShoppingVendorCountResult_schema_1.ShoppingVendorCountResultSchema; } }); var PdfGroupFindUniqueResult_schema_1 = require("./PdfGroupFindUniqueResult.schema"); Object.defineProperty(exports, "PdfGroupFindUniqueResultSchema", { enumerable: true, get: function () { return PdfGroupFindUniqueResult_schema_1.PdfGroupFindUniqueResultSchema; } }); var PdfGroupFindFirstResult_schema_1 = require("./PdfGroupFindFirstResult.schema"); @@ -604,3 +659,237 @@ var PatientDocumentGroupByResult_schema_1 = require("./PatientDocumentGroupByRes Object.defineProperty(exports, "PatientDocumentGroupByResultSchema", { enumerable: true, get: function () { return PatientDocumentGroupByResult_schema_1.PatientDocumentGroupByResultSchema; } }); var PatientDocumentCountResult_schema_1 = require("./PatientDocumentCountResult.schema"); Object.defineProperty(exports, "PatientDocumentCountResultSchema", { enumerable: true, get: function () { return PatientDocumentCountResult_schema_1.PatientDocumentCountResultSchema; } }); +var TwilioSettingsFindUniqueResult_schema_1 = require("./TwilioSettingsFindUniqueResult.schema"); +Object.defineProperty(exports, "TwilioSettingsFindUniqueResultSchema", { enumerable: true, get: function () { return TwilioSettingsFindUniqueResult_schema_1.TwilioSettingsFindUniqueResultSchema; } }); +var TwilioSettingsFindFirstResult_schema_1 = require("./TwilioSettingsFindFirstResult.schema"); +Object.defineProperty(exports, "TwilioSettingsFindFirstResultSchema", { enumerable: true, get: function () { return TwilioSettingsFindFirstResult_schema_1.TwilioSettingsFindFirstResultSchema; } }); +var TwilioSettingsFindManyResult_schema_1 = require("./TwilioSettingsFindManyResult.schema"); +Object.defineProperty(exports, "TwilioSettingsFindManyResultSchema", { enumerable: true, get: function () { return TwilioSettingsFindManyResult_schema_1.TwilioSettingsFindManyResultSchema; } }); +var TwilioSettingsCreateResult_schema_1 = require("./TwilioSettingsCreateResult.schema"); +Object.defineProperty(exports, "TwilioSettingsCreateResultSchema", { enumerable: true, get: function () { return TwilioSettingsCreateResult_schema_1.TwilioSettingsCreateResultSchema; } }); +var TwilioSettingsCreateManyResult_schema_1 = require("./TwilioSettingsCreateManyResult.schema"); +Object.defineProperty(exports, "TwilioSettingsCreateManyResultSchema", { enumerable: true, get: function () { return TwilioSettingsCreateManyResult_schema_1.TwilioSettingsCreateManyResultSchema; } }); +var TwilioSettingsUpdateResult_schema_1 = require("./TwilioSettingsUpdateResult.schema"); +Object.defineProperty(exports, "TwilioSettingsUpdateResultSchema", { enumerable: true, get: function () { return TwilioSettingsUpdateResult_schema_1.TwilioSettingsUpdateResultSchema; } }); +var TwilioSettingsUpdateManyResult_schema_1 = require("./TwilioSettingsUpdateManyResult.schema"); +Object.defineProperty(exports, "TwilioSettingsUpdateManyResultSchema", { enumerable: true, get: function () { return TwilioSettingsUpdateManyResult_schema_1.TwilioSettingsUpdateManyResultSchema; } }); +var TwilioSettingsUpsertResult_schema_1 = require("./TwilioSettingsUpsertResult.schema"); +Object.defineProperty(exports, "TwilioSettingsUpsertResultSchema", { enumerable: true, get: function () { return TwilioSettingsUpsertResult_schema_1.TwilioSettingsUpsertResultSchema; } }); +var TwilioSettingsDeleteResult_schema_1 = require("./TwilioSettingsDeleteResult.schema"); +Object.defineProperty(exports, "TwilioSettingsDeleteResultSchema", { enumerable: true, get: function () { return TwilioSettingsDeleteResult_schema_1.TwilioSettingsDeleteResultSchema; } }); +var TwilioSettingsDeleteManyResult_schema_1 = require("./TwilioSettingsDeleteManyResult.schema"); +Object.defineProperty(exports, "TwilioSettingsDeleteManyResultSchema", { enumerable: true, get: function () { return TwilioSettingsDeleteManyResult_schema_1.TwilioSettingsDeleteManyResultSchema; } }); +var TwilioSettingsAggregateResult_schema_1 = require("./TwilioSettingsAggregateResult.schema"); +Object.defineProperty(exports, "TwilioSettingsAggregateResultSchema", { enumerable: true, get: function () { return TwilioSettingsAggregateResult_schema_1.TwilioSettingsAggregateResultSchema; } }); +var TwilioSettingsGroupByResult_schema_1 = require("./TwilioSettingsGroupByResult.schema"); +Object.defineProperty(exports, "TwilioSettingsGroupByResultSchema", { enumerable: true, get: function () { return TwilioSettingsGroupByResult_schema_1.TwilioSettingsGroupByResultSchema; } }); +var TwilioSettingsCountResult_schema_1 = require("./TwilioSettingsCountResult.schema"); +Object.defineProperty(exports, "TwilioSettingsCountResultSchema", { enumerable: true, get: function () { return TwilioSettingsCountResult_schema_1.TwilioSettingsCountResultSchema; } }); +var AiSettingsFindUniqueResult_schema_1 = require("./AiSettingsFindUniqueResult.schema"); +Object.defineProperty(exports, "AiSettingsFindUniqueResultSchema", { enumerable: true, get: function () { return AiSettingsFindUniqueResult_schema_1.AiSettingsFindUniqueResultSchema; } }); +var AiSettingsFindFirstResult_schema_1 = require("./AiSettingsFindFirstResult.schema"); +Object.defineProperty(exports, "AiSettingsFindFirstResultSchema", { enumerable: true, get: function () { return AiSettingsFindFirstResult_schema_1.AiSettingsFindFirstResultSchema; } }); +var AiSettingsFindManyResult_schema_1 = require("./AiSettingsFindManyResult.schema"); +Object.defineProperty(exports, "AiSettingsFindManyResultSchema", { enumerable: true, get: function () { return AiSettingsFindManyResult_schema_1.AiSettingsFindManyResultSchema; } }); +var AiSettingsCreateResult_schema_1 = require("./AiSettingsCreateResult.schema"); +Object.defineProperty(exports, "AiSettingsCreateResultSchema", { enumerable: true, get: function () { return AiSettingsCreateResult_schema_1.AiSettingsCreateResultSchema; } }); +var AiSettingsCreateManyResult_schema_1 = require("./AiSettingsCreateManyResult.schema"); +Object.defineProperty(exports, "AiSettingsCreateManyResultSchema", { enumerable: true, get: function () { return AiSettingsCreateManyResult_schema_1.AiSettingsCreateManyResultSchema; } }); +var AiSettingsUpdateResult_schema_1 = require("./AiSettingsUpdateResult.schema"); +Object.defineProperty(exports, "AiSettingsUpdateResultSchema", { enumerable: true, get: function () { return AiSettingsUpdateResult_schema_1.AiSettingsUpdateResultSchema; } }); +var AiSettingsUpdateManyResult_schema_1 = require("./AiSettingsUpdateManyResult.schema"); +Object.defineProperty(exports, "AiSettingsUpdateManyResultSchema", { enumerable: true, get: function () { return AiSettingsUpdateManyResult_schema_1.AiSettingsUpdateManyResultSchema; } }); +var AiSettingsUpsertResult_schema_1 = require("./AiSettingsUpsertResult.schema"); +Object.defineProperty(exports, "AiSettingsUpsertResultSchema", { enumerable: true, get: function () { return AiSettingsUpsertResult_schema_1.AiSettingsUpsertResultSchema; } }); +var AiSettingsDeleteResult_schema_1 = require("./AiSettingsDeleteResult.schema"); +Object.defineProperty(exports, "AiSettingsDeleteResultSchema", { enumerable: true, get: function () { return AiSettingsDeleteResult_schema_1.AiSettingsDeleteResultSchema; } }); +var AiSettingsDeleteManyResult_schema_1 = require("./AiSettingsDeleteManyResult.schema"); +Object.defineProperty(exports, "AiSettingsDeleteManyResultSchema", { enumerable: true, get: function () { return AiSettingsDeleteManyResult_schema_1.AiSettingsDeleteManyResultSchema; } }); +var AiSettingsAggregateResult_schema_1 = require("./AiSettingsAggregateResult.schema"); +Object.defineProperty(exports, "AiSettingsAggregateResultSchema", { enumerable: true, get: function () { return AiSettingsAggregateResult_schema_1.AiSettingsAggregateResultSchema; } }); +var AiSettingsGroupByResult_schema_1 = require("./AiSettingsGroupByResult.schema"); +Object.defineProperty(exports, "AiSettingsGroupByResultSchema", { enumerable: true, get: function () { return AiSettingsGroupByResult_schema_1.AiSettingsGroupByResultSchema; } }); +var AiSettingsCountResult_schema_1 = require("./AiSettingsCountResult.schema"); +Object.defineProperty(exports, "AiSettingsCountResultSchema", { enumerable: true, get: function () { return AiSettingsCountResult_schema_1.AiSettingsCountResultSchema; } }); +var OfficeHoursFindUniqueResult_schema_1 = require("./OfficeHoursFindUniqueResult.schema"); +Object.defineProperty(exports, "OfficeHoursFindUniqueResultSchema", { enumerable: true, get: function () { return OfficeHoursFindUniqueResult_schema_1.OfficeHoursFindUniqueResultSchema; } }); +var OfficeHoursFindFirstResult_schema_1 = require("./OfficeHoursFindFirstResult.schema"); +Object.defineProperty(exports, "OfficeHoursFindFirstResultSchema", { enumerable: true, get: function () { return OfficeHoursFindFirstResult_schema_1.OfficeHoursFindFirstResultSchema; } }); +var OfficeHoursFindManyResult_schema_1 = require("./OfficeHoursFindManyResult.schema"); +Object.defineProperty(exports, "OfficeHoursFindManyResultSchema", { enumerable: true, get: function () { return OfficeHoursFindManyResult_schema_1.OfficeHoursFindManyResultSchema; } }); +var OfficeHoursCreateResult_schema_1 = require("./OfficeHoursCreateResult.schema"); +Object.defineProperty(exports, "OfficeHoursCreateResultSchema", { enumerable: true, get: function () { return OfficeHoursCreateResult_schema_1.OfficeHoursCreateResultSchema; } }); +var OfficeHoursCreateManyResult_schema_1 = require("./OfficeHoursCreateManyResult.schema"); +Object.defineProperty(exports, "OfficeHoursCreateManyResultSchema", { enumerable: true, get: function () { return OfficeHoursCreateManyResult_schema_1.OfficeHoursCreateManyResultSchema; } }); +var OfficeHoursUpdateResult_schema_1 = require("./OfficeHoursUpdateResult.schema"); +Object.defineProperty(exports, "OfficeHoursUpdateResultSchema", { enumerable: true, get: function () { return OfficeHoursUpdateResult_schema_1.OfficeHoursUpdateResultSchema; } }); +var OfficeHoursUpdateManyResult_schema_1 = require("./OfficeHoursUpdateManyResult.schema"); +Object.defineProperty(exports, "OfficeHoursUpdateManyResultSchema", { enumerable: true, get: function () { return OfficeHoursUpdateManyResult_schema_1.OfficeHoursUpdateManyResultSchema; } }); +var OfficeHoursUpsertResult_schema_1 = require("./OfficeHoursUpsertResult.schema"); +Object.defineProperty(exports, "OfficeHoursUpsertResultSchema", { enumerable: true, get: function () { return OfficeHoursUpsertResult_schema_1.OfficeHoursUpsertResultSchema; } }); +var OfficeHoursDeleteResult_schema_1 = require("./OfficeHoursDeleteResult.schema"); +Object.defineProperty(exports, "OfficeHoursDeleteResultSchema", { enumerable: true, get: function () { return OfficeHoursDeleteResult_schema_1.OfficeHoursDeleteResultSchema; } }); +var OfficeHoursDeleteManyResult_schema_1 = require("./OfficeHoursDeleteManyResult.schema"); +Object.defineProperty(exports, "OfficeHoursDeleteManyResultSchema", { enumerable: true, get: function () { return OfficeHoursDeleteManyResult_schema_1.OfficeHoursDeleteManyResultSchema; } }); +var OfficeHoursAggregateResult_schema_1 = require("./OfficeHoursAggregateResult.schema"); +Object.defineProperty(exports, "OfficeHoursAggregateResultSchema", { enumerable: true, get: function () { return OfficeHoursAggregateResult_schema_1.OfficeHoursAggregateResultSchema; } }); +var OfficeHoursGroupByResult_schema_1 = require("./OfficeHoursGroupByResult.schema"); +Object.defineProperty(exports, "OfficeHoursGroupByResultSchema", { enumerable: true, get: function () { return OfficeHoursGroupByResult_schema_1.OfficeHoursGroupByResultSchema; } }); +var OfficeHoursCountResult_schema_1 = require("./OfficeHoursCountResult.schema"); +Object.defineProperty(exports, "OfficeHoursCountResultSchema", { enumerable: true, get: function () { return OfficeHoursCountResult_schema_1.OfficeHoursCountResultSchema; } }); +var OfficeContactFindUniqueResult_schema_1 = require("./OfficeContactFindUniqueResult.schema"); +Object.defineProperty(exports, "OfficeContactFindUniqueResultSchema", { enumerable: true, get: function () { return OfficeContactFindUniqueResult_schema_1.OfficeContactFindUniqueResultSchema; } }); +var OfficeContactFindFirstResult_schema_1 = require("./OfficeContactFindFirstResult.schema"); +Object.defineProperty(exports, "OfficeContactFindFirstResultSchema", { enumerable: true, get: function () { return OfficeContactFindFirstResult_schema_1.OfficeContactFindFirstResultSchema; } }); +var OfficeContactFindManyResult_schema_1 = require("./OfficeContactFindManyResult.schema"); +Object.defineProperty(exports, "OfficeContactFindManyResultSchema", { enumerable: true, get: function () { return OfficeContactFindManyResult_schema_1.OfficeContactFindManyResultSchema; } }); +var OfficeContactCreateResult_schema_1 = require("./OfficeContactCreateResult.schema"); +Object.defineProperty(exports, "OfficeContactCreateResultSchema", { enumerable: true, get: function () { return OfficeContactCreateResult_schema_1.OfficeContactCreateResultSchema; } }); +var OfficeContactCreateManyResult_schema_1 = require("./OfficeContactCreateManyResult.schema"); +Object.defineProperty(exports, "OfficeContactCreateManyResultSchema", { enumerable: true, get: function () { return OfficeContactCreateManyResult_schema_1.OfficeContactCreateManyResultSchema; } }); +var OfficeContactUpdateResult_schema_1 = require("./OfficeContactUpdateResult.schema"); +Object.defineProperty(exports, "OfficeContactUpdateResultSchema", { enumerable: true, get: function () { return OfficeContactUpdateResult_schema_1.OfficeContactUpdateResultSchema; } }); +var OfficeContactUpdateManyResult_schema_1 = require("./OfficeContactUpdateManyResult.schema"); +Object.defineProperty(exports, "OfficeContactUpdateManyResultSchema", { enumerable: true, get: function () { return OfficeContactUpdateManyResult_schema_1.OfficeContactUpdateManyResultSchema; } }); +var OfficeContactUpsertResult_schema_1 = require("./OfficeContactUpsertResult.schema"); +Object.defineProperty(exports, "OfficeContactUpsertResultSchema", { enumerable: true, get: function () { return OfficeContactUpsertResult_schema_1.OfficeContactUpsertResultSchema; } }); +var OfficeContactDeleteResult_schema_1 = require("./OfficeContactDeleteResult.schema"); +Object.defineProperty(exports, "OfficeContactDeleteResultSchema", { enumerable: true, get: function () { return OfficeContactDeleteResult_schema_1.OfficeContactDeleteResultSchema; } }); +var OfficeContactDeleteManyResult_schema_1 = require("./OfficeContactDeleteManyResult.schema"); +Object.defineProperty(exports, "OfficeContactDeleteManyResultSchema", { enumerable: true, get: function () { return OfficeContactDeleteManyResult_schema_1.OfficeContactDeleteManyResultSchema; } }); +var OfficeContactAggregateResult_schema_1 = require("./OfficeContactAggregateResult.schema"); +Object.defineProperty(exports, "OfficeContactAggregateResultSchema", { enumerable: true, get: function () { return OfficeContactAggregateResult_schema_1.OfficeContactAggregateResultSchema; } }); +var OfficeContactGroupByResult_schema_1 = require("./OfficeContactGroupByResult.schema"); +Object.defineProperty(exports, "OfficeContactGroupByResultSchema", { enumerable: true, get: function () { return OfficeContactGroupByResult_schema_1.OfficeContactGroupByResultSchema; } }); +var OfficeContactCountResult_schema_1 = require("./OfficeContactCountResult.schema"); +Object.defineProperty(exports, "OfficeContactCountResultSchema", { enumerable: true, get: function () { return OfficeContactCountResult_schema_1.OfficeContactCountResultSchema; } }); +var InsuranceContactFindUniqueResult_schema_1 = require("./InsuranceContactFindUniqueResult.schema"); +Object.defineProperty(exports, "InsuranceContactFindUniqueResultSchema", { enumerable: true, get: function () { return InsuranceContactFindUniqueResult_schema_1.InsuranceContactFindUniqueResultSchema; } }); +var InsuranceContactFindFirstResult_schema_1 = require("./InsuranceContactFindFirstResult.schema"); +Object.defineProperty(exports, "InsuranceContactFindFirstResultSchema", { enumerable: true, get: function () { return InsuranceContactFindFirstResult_schema_1.InsuranceContactFindFirstResultSchema; } }); +var InsuranceContactFindManyResult_schema_1 = require("./InsuranceContactFindManyResult.schema"); +Object.defineProperty(exports, "InsuranceContactFindManyResultSchema", { enumerable: true, get: function () { return InsuranceContactFindManyResult_schema_1.InsuranceContactFindManyResultSchema; } }); +var InsuranceContactCreateResult_schema_1 = require("./InsuranceContactCreateResult.schema"); +Object.defineProperty(exports, "InsuranceContactCreateResultSchema", { enumerable: true, get: function () { return InsuranceContactCreateResult_schema_1.InsuranceContactCreateResultSchema; } }); +var InsuranceContactCreateManyResult_schema_1 = require("./InsuranceContactCreateManyResult.schema"); +Object.defineProperty(exports, "InsuranceContactCreateManyResultSchema", { enumerable: true, get: function () { return InsuranceContactCreateManyResult_schema_1.InsuranceContactCreateManyResultSchema; } }); +var InsuranceContactUpdateResult_schema_1 = require("./InsuranceContactUpdateResult.schema"); +Object.defineProperty(exports, "InsuranceContactUpdateResultSchema", { enumerable: true, get: function () { return InsuranceContactUpdateResult_schema_1.InsuranceContactUpdateResultSchema; } }); +var InsuranceContactUpdateManyResult_schema_1 = require("./InsuranceContactUpdateManyResult.schema"); +Object.defineProperty(exports, "InsuranceContactUpdateManyResultSchema", { enumerable: true, get: function () { return InsuranceContactUpdateManyResult_schema_1.InsuranceContactUpdateManyResultSchema; } }); +var InsuranceContactUpsertResult_schema_1 = require("./InsuranceContactUpsertResult.schema"); +Object.defineProperty(exports, "InsuranceContactUpsertResultSchema", { enumerable: true, get: function () { return InsuranceContactUpsertResult_schema_1.InsuranceContactUpsertResultSchema; } }); +var InsuranceContactDeleteResult_schema_1 = require("./InsuranceContactDeleteResult.schema"); +Object.defineProperty(exports, "InsuranceContactDeleteResultSchema", { enumerable: true, get: function () { return InsuranceContactDeleteResult_schema_1.InsuranceContactDeleteResultSchema; } }); +var InsuranceContactDeleteManyResult_schema_1 = require("./InsuranceContactDeleteManyResult.schema"); +Object.defineProperty(exports, "InsuranceContactDeleteManyResultSchema", { enumerable: true, get: function () { return InsuranceContactDeleteManyResult_schema_1.InsuranceContactDeleteManyResultSchema; } }); +var InsuranceContactAggregateResult_schema_1 = require("./InsuranceContactAggregateResult.schema"); +Object.defineProperty(exports, "InsuranceContactAggregateResultSchema", { enumerable: true, get: function () { return InsuranceContactAggregateResult_schema_1.InsuranceContactAggregateResultSchema; } }); +var InsuranceContactGroupByResult_schema_1 = require("./InsuranceContactGroupByResult.schema"); +Object.defineProperty(exports, "InsuranceContactGroupByResultSchema", { enumerable: true, get: function () { return InsuranceContactGroupByResult_schema_1.InsuranceContactGroupByResultSchema; } }); +var InsuranceContactCountResult_schema_1 = require("./InsuranceContactCountResult.schema"); +Object.defineProperty(exports, "InsuranceContactCountResultSchema", { enumerable: true, get: function () { return InsuranceContactCountResult_schema_1.InsuranceContactCountResultSchema; } }); +var ProcedureTimeslotFindUniqueResult_schema_1 = require("./ProcedureTimeslotFindUniqueResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotFindUniqueResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotFindUniqueResult_schema_1.ProcedureTimeslotFindUniqueResultSchema; } }); +var ProcedureTimeslotFindFirstResult_schema_1 = require("./ProcedureTimeslotFindFirstResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotFindFirstResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotFindFirstResult_schema_1.ProcedureTimeslotFindFirstResultSchema; } }); +var ProcedureTimeslotFindManyResult_schema_1 = require("./ProcedureTimeslotFindManyResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotFindManyResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotFindManyResult_schema_1.ProcedureTimeslotFindManyResultSchema; } }); +var ProcedureTimeslotCreateResult_schema_1 = require("./ProcedureTimeslotCreateResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotCreateResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotCreateResult_schema_1.ProcedureTimeslotCreateResultSchema; } }); +var ProcedureTimeslotCreateManyResult_schema_1 = require("./ProcedureTimeslotCreateManyResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotCreateManyResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotCreateManyResult_schema_1.ProcedureTimeslotCreateManyResultSchema; } }); +var ProcedureTimeslotUpdateResult_schema_1 = require("./ProcedureTimeslotUpdateResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotUpdateResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotUpdateResult_schema_1.ProcedureTimeslotUpdateResultSchema; } }); +var ProcedureTimeslotUpdateManyResult_schema_1 = require("./ProcedureTimeslotUpdateManyResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotUpdateManyResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotUpdateManyResult_schema_1.ProcedureTimeslotUpdateManyResultSchema; } }); +var ProcedureTimeslotUpsertResult_schema_1 = require("./ProcedureTimeslotUpsertResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotUpsertResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotUpsertResult_schema_1.ProcedureTimeslotUpsertResultSchema; } }); +var ProcedureTimeslotDeleteResult_schema_1 = require("./ProcedureTimeslotDeleteResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotDeleteResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotDeleteResult_schema_1.ProcedureTimeslotDeleteResultSchema; } }); +var ProcedureTimeslotDeleteManyResult_schema_1 = require("./ProcedureTimeslotDeleteManyResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotDeleteManyResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotDeleteManyResult_schema_1.ProcedureTimeslotDeleteManyResultSchema; } }); +var ProcedureTimeslotAggregateResult_schema_1 = require("./ProcedureTimeslotAggregateResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotAggregateResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotAggregateResult_schema_1.ProcedureTimeslotAggregateResultSchema; } }); +var ProcedureTimeslotGroupByResult_schema_1 = require("./ProcedureTimeslotGroupByResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotGroupByResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotGroupByResult_schema_1.ProcedureTimeslotGroupByResultSchema; } }); +var ProcedureTimeslotCountResult_schema_1 = require("./ProcedureTimeslotCountResult.schema"); +Object.defineProperty(exports, "ProcedureTimeslotCountResultSchema", { enumerable: true, get: function () { return ProcedureTimeslotCountResult_schema_1.ProcedureTimeslotCountResultSchema; } }); +var PatientConversationFindUniqueResult_schema_1 = require("./PatientConversationFindUniqueResult.schema"); +Object.defineProperty(exports, "PatientConversationFindUniqueResultSchema", { enumerable: true, get: function () { return PatientConversationFindUniqueResult_schema_1.PatientConversationFindUniqueResultSchema; } }); +var PatientConversationFindFirstResult_schema_1 = require("./PatientConversationFindFirstResult.schema"); +Object.defineProperty(exports, "PatientConversationFindFirstResultSchema", { enumerable: true, get: function () { return PatientConversationFindFirstResult_schema_1.PatientConversationFindFirstResultSchema; } }); +var PatientConversationFindManyResult_schema_1 = require("./PatientConversationFindManyResult.schema"); +Object.defineProperty(exports, "PatientConversationFindManyResultSchema", { enumerable: true, get: function () { return PatientConversationFindManyResult_schema_1.PatientConversationFindManyResultSchema; } }); +var PatientConversationCreateResult_schema_1 = require("./PatientConversationCreateResult.schema"); +Object.defineProperty(exports, "PatientConversationCreateResultSchema", { enumerable: true, get: function () { return PatientConversationCreateResult_schema_1.PatientConversationCreateResultSchema; } }); +var PatientConversationCreateManyResult_schema_1 = require("./PatientConversationCreateManyResult.schema"); +Object.defineProperty(exports, "PatientConversationCreateManyResultSchema", { enumerable: true, get: function () { return PatientConversationCreateManyResult_schema_1.PatientConversationCreateManyResultSchema; } }); +var PatientConversationUpdateResult_schema_1 = require("./PatientConversationUpdateResult.schema"); +Object.defineProperty(exports, "PatientConversationUpdateResultSchema", { enumerable: true, get: function () { return PatientConversationUpdateResult_schema_1.PatientConversationUpdateResultSchema; } }); +var PatientConversationUpdateManyResult_schema_1 = require("./PatientConversationUpdateManyResult.schema"); +Object.defineProperty(exports, "PatientConversationUpdateManyResultSchema", { enumerable: true, get: function () { return PatientConversationUpdateManyResult_schema_1.PatientConversationUpdateManyResultSchema; } }); +var PatientConversationUpsertResult_schema_1 = require("./PatientConversationUpsertResult.schema"); +Object.defineProperty(exports, "PatientConversationUpsertResultSchema", { enumerable: true, get: function () { return PatientConversationUpsertResult_schema_1.PatientConversationUpsertResultSchema; } }); +var PatientConversationDeleteResult_schema_1 = require("./PatientConversationDeleteResult.schema"); +Object.defineProperty(exports, "PatientConversationDeleteResultSchema", { enumerable: true, get: function () { return PatientConversationDeleteResult_schema_1.PatientConversationDeleteResultSchema; } }); +var PatientConversationDeleteManyResult_schema_1 = require("./PatientConversationDeleteManyResult.schema"); +Object.defineProperty(exports, "PatientConversationDeleteManyResultSchema", { enumerable: true, get: function () { return PatientConversationDeleteManyResult_schema_1.PatientConversationDeleteManyResultSchema; } }); +var PatientConversationAggregateResult_schema_1 = require("./PatientConversationAggregateResult.schema"); +Object.defineProperty(exports, "PatientConversationAggregateResultSchema", { enumerable: true, get: function () { return PatientConversationAggregateResult_schema_1.PatientConversationAggregateResultSchema; } }); +var PatientConversationGroupByResult_schema_1 = require("./PatientConversationGroupByResult.schema"); +Object.defineProperty(exports, "PatientConversationGroupByResultSchema", { enumerable: true, get: function () { return PatientConversationGroupByResult_schema_1.PatientConversationGroupByResultSchema; } }); +var PatientConversationCountResult_schema_1 = require("./PatientConversationCountResult.schema"); +Object.defineProperty(exports, "PatientConversationCountResultSchema", { enumerable: true, get: function () { return PatientConversationCountResult_schema_1.PatientConversationCountResultSchema; } }); +var CommissionBatchFindUniqueResult_schema_1 = require("./CommissionBatchFindUniqueResult.schema"); +Object.defineProperty(exports, "CommissionBatchFindUniqueResultSchema", { enumerable: true, get: function () { return CommissionBatchFindUniqueResult_schema_1.CommissionBatchFindUniqueResultSchema; } }); +var CommissionBatchFindFirstResult_schema_1 = require("./CommissionBatchFindFirstResult.schema"); +Object.defineProperty(exports, "CommissionBatchFindFirstResultSchema", { enumerable: true, get: function () { return CommissionBatchFindFirstResult_schema_1.CommissionBatchFindFirstResultSchema; } }); +var CommissionBatchFindManyResult_schema_1 = require("./CommissionBatchFindManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchFindManyResultSchema", { enumerable: true, get: function () { return CommissionBatchFindManyResult_schema_1.CommissionBatchFindManyResultSchema; } }); +var CommissionBatchCreateResult_schema_1 = require("./CommissionBatchCreateResult.schema"); +Object.defineProperty(exports, "CommissionBatchCreateResultSchema", { enumerable: true, get: function () { return CommissionBatchCreateResult_schema_1.CommissionBatchCreateResultSchema; } }); +var CommissionBatchCreateManyResult_schema_1 = require("./CommissionBatchCreateManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchCreateManyResultSchema", { enumerable: true, get: function () { return CommissionBatchCreateManyResult_schema_1.CommissionBatchCreateManyResultSchema; } }); +var CommissionBatchUpdateResult_schema_1 = require("./CommissionBatchUpdateResult.schema"); +Object.defineProperty(exports, "CommissionBatchUpdateResultSchema", { enumerable: true, get: function () { return CommissionBatchUpdateResult_schema_1.CommissionBatchUpdateResultSchema; } }); +var CommissionBatchUpdateManyResult_schema_1 = require("./CommissionBatchUpdateManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchUpdateManyResultSchema", { enumerable: true, get: function () { return CommissionBatchUpdateManyResult_schema_1.CommissionBatchUpdateManyResultSchema; } }); +var CommissionBatchUpsertResult_schema_1 = require("./CommissionBatchUpsertResult.schema"); +Object.defineProperty(exports, "CommissionBatchUpsertResultSchema", { enumerable: true, get: function () { return CommissionBatchUpsertResult_schema_1.CommissionBatchUpsertResultSchema; } }); +var CommissionBatchDeleteResult_schema_1 = require("./CommissionBatchDeleteResult.schema"); +Object.defineProperty(exports, "CommissionBatchDeleteResultSchema", { enumerable: true, get: function () { return CommissionBatchDeleteResult_schema_1.CommissionBatchDeleteResultSchema; } }); +var CommissionBatchDeleteManyResult_schema_1 = require("./CommissionBatchDeleteManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchDeleteManyResultSchema", { enumerable: true, get: function () { return CommissionBatchDeleteManyResult_schema_1.CommissionBatchDeleteManyResultSchema; } }); +var CommissionBatchAggregateResult_schema_1 = require("./CommissionBatchAggregateResult.schema"); +Object.defineProperty(exports, "CommissionBatchAggregateResultSchema", { enumerable: true, get: function () { return CommissionBatchAggregateResult_schema_1.CommissionBatchAggregateResultSchema; } }); +var CommissionBatchGroupByResult_schema_1 = require("./CommissionBatchGroupByResult.schema"); +Object.defineProperty(exports, "CommissionBatchGroupByResultSchema", { enumerable: true, get: function () { return CommissionBatchGroupByResult_schema_1.CommissionBatchGroupByResultSchema; } }); +var CommissionBatchCountResult_schema_1 = require("./CommissionBatchCountResult.schema"); +Object.defineProperty(exports, "CommissionBatchCountResultSchema", { enumerable: true, get: function () { return CommissionBatchCountResult_schema_1.CommissionBatchCountResultSchema; } }); +var CommissionBatchItemFindUniqueResult_schema_1 = require("./CommissionBatchItemFindUniqueResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemFindUniqueResultSchema", { enumerable: true, get: function () { return CommissionBatchItemFindUniqueResult_schema_1.CommissionBatchItemFindUniqueResultSchema; } }); +var CommissionBatchItemFindFirstResult_schema_1 = require("./CommissionBatchItemFindFirstResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemFindFirstResultSchema", { enumerable: true, get: function () { return CommissionBatchItemFindFirstResult_schema_1.CommissionBatchItemFindFirstResultSchema; } }); +var CommissionBatchItemFindManyResult_schema_1 = require("./CommissionBatchItemFindManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemFindManyResultSchema", { enumerable: true, get: function () { return CommissionBatchItemFindManyResult_schema_1.CommissionBatchItemFindManyResultSchema; } }); +var CommissionBatchItemCreateResult_schema_1 = require("./CommissionBatchItemCreateResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemCreateResultSchema", { enumerable: true, get: function () { return CommissionBatchItemCreateResult_schema_1.CommissionBatchItemCreateResultSchema; } }); +var CommissionBatchItemCreateManyResult_schema_1 = require("./CommissionBatchItemCreateManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemCreateManyResultSchema", { enumerable: true, get: function () { return CommissionBatchItemCreateManyResult_schema_1.CommissionBatchItemCreateManyResultSchema; } }); +var CommissionBatchItemUpdateResult_schema_1 = require("./CommissionBatchItemUpdateResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemUpdateResultSchema", { enumerable: true, get: function () { return CommissionBatchItemUpdateResult_schema_1.CommissionBatchItemUpdateResultSchema; } }); +var CommissionBatchItemUpdateManyResult_schema_1 = require("./CommissionBatchItemUpdateManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemUpdateManyResultSchema", { enumerable: true, get: function () { return CommissionBatchItemUpdateManyResult_schema_1.CommissionBatchItemUpdateManyResultSchema; } }); +var CommissionBatchItemUpsertResult_schema_1 = require("./CommissionBatchItemUpsertResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemUpsertResultSchema", { enumerable: true, get: function () { return CommissionBatchItemUpsertResult_schema_1.CommissionBatchItemUpsertResultSchema; } }); +var CommissionBatchItemDeleteResult_schema_1 = require("./CommissionBatchItemDeleteResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemDeleteResultSchema", { enumerable: true, get: function () { return CommissionBatchItemDeleteResult_schema_1.CommissionBatchItemDeleteResultSchema; } }); +var CommissionBatchItemDeleteManyResult_schema_1 = require("./CommissionBatchItemDeleteManyResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemDeleteManyResultSchema", { enumerable: true, get: function () { return CommissionBatchItemDeleteManyResult_schema_1.CommissionBatchItemDeleteManyResultSchema; } }); +var CommissionBatchItemAggregateResult_schema_1 = require("./CommissionBatchItemAggregateResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemAggregateResultSchema", { enumerable: true, get: function () { return CommissionBatchItemAggregateResult_schema_1.CommissionBatchItemAggregateResultSchema; } }); +var CommissionBatchItemGroupByResult_schema_1 = require("./CommissionBatchItemGroupByResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemGroupByResultSchema", { enumerable: true, get: function () { return CommissionBatchItemGroupByResult_schema_1.CommissionBatchItemGroupByResultSchema; } }); +var CommissionBatchItemCountResult_schema_1 = require("./CommissionBatchItemCountResult.schema"); +Object.defineProperty(exports, "CommissionBatchItemCountResultSchema", { enumerable: true, get: function () { return CommissionBatchItemCountResult_schema_1.CommissionBatchItemCountResultSchema; } }); diff --git a/packages/db/shared/schemas/updateManyAiSettings.schema.js b/packages/db/shared/schemas/updateManyAiSettings.schema.js new file mode 100644 index 00000000..c140ad0d --- /dev/null +++ b/packages/db/shared/schemas/updateManyAiSettings.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateManyZodSchema = exports.AiSettingsUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsUpdateManyMutationInput_schema_1 = require("./objects/AiSettingsUpdateManyMutationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +exports.AiSettingsUpdateManySchema = z.object({ data: AiSettingsUpdateManyMutationInput_schema_1.AiSettingsUpdateManyMutationInputObjectSchema, where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional() }).strict(); +exports.AiSettingsUpdateManyZodSchema = z.object({ data: AiSettingsUpdateManyMutationInput_schema_1.AiSettingsUpdateManyMutationInputObjectSchema, where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnAiSettings.schema.js b/packages/db/shared/schemas/updateManyAndReturnAiSettings.schema.js new file mode 100644 index 00000000..19d912e2 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnAiSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateManyAndReturnZodSchema = exports.AiSettingsUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsUpdateManyMutationInput_schema_1 = require("./objects/AiSettingsUpdateManyMutationInput.schema"); +const AiSettingsWhereInput_schema_1 = require("./objects/AiSettingsWhereInput.schema"); +exports.AiSettingsUpdateManyAndReturnSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), data: AiSettingsUpdateManyMutationInput_schema_1.AiSettingsUpdateManyMutationInputObjectSchema, where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional() }).strict(); +exports.AiSettingsUpdateManyAndReturnZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), data: AiSettingsUpdateManyMutationInput_schema_1.AiSettingsUpdateManyMutationInputObjectSchema, where: AiSettingsWhereInput_schema_1.AiSettingsWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnAppointmentFile.schema.js b/packages/db/shared/schemas/updateManyAndReturnAppointmentFile.schema.js new file mode 100644 index 00000000..e295bb52 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnAppointmentFile.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateManyAndReturnZodSchema = exports.AppointmentFileUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileUpdateManyMutationInput_schema_1 = require("./objects/AppointmentFileUpdateManyMutationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +exports.AppointmentFileUpdateManyAndReturnSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), data: AppointmentFileUpdateManyMutationInput_schema_1.AppointmentFileUpdateManyMutationInputObjectSchema, where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional() }).strict(); +exports.AppointmentFileUpdateManyAndReturnZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), data: AppointmentFileUpdateManyMutationInput_schema_1.AppointmentFileUpdateManyMutationInputObjectSchema, where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnCommissionBatch.schema.js b/packages/db/shared/schemas/updateManyAndReturnCommissionBatch.schema.js new file mode 100644 index 00000000..74e20367 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnCommissionBatch.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateManyAndReturnZodSchema = exports.CommissionBatchUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchUpdateManyMutationInput_schema_1 = require("./objects/CommissionBatchUpdateManyMutationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +exports.CommissionBatchUpdateManyAndReturnSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), data: CommissionBatchUpdateManyMutationInput_schema_1.CommissionBatchUpdateManyMutationInputObjectSchema, where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional() }).strict(); +exports.CommissionBatchUpdateManyAndReturnZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), data: CommissionBatchUpdateManyMutationInput_schema_1.CommissionBatchUpdateManyMutationInputObjectSchema, where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnCommissionBatchItem.schema.js b/packages/db/shared/schemas/updateManyAndReturnCommissionBatchItem.schema.js new file mode 100644 index 00000000..29e0bf83 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnCommissionBatchItem.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyAndReturnZodSchema = exports.CommissionBatchItemUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemUpdateManyMutationInput_schema_1 = require("./objects/CommissionBatchItemUpdateManyMutationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +exports.CommissionBatchItemUpdateManyAndReturnSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), data: CommissionBatchItemUpdateManyMutationInput_schema_1.CommissionBatchItemUpdateManyMutationInputObjectSchema, where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional() }).strict(); +exports.CommissionBatchItemUpdateManyAndReturnZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), data: CommissionBatchItemUpdateManyMutationInput_schema_1.CommissionBatchItemUpdateManyMutationInputObjectSchema, where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnInsuranceContact.schema.js b/packages/db/shared/schemas/updateManyAndReturnInsuranceContact.schema.js new file mode 100644 index 00000000..982546c2 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnInsuranceContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateManyAndReturnZodSchema = exports.InsuranceContactUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactUpdateManyMutationInput_schema_1 = require("./objects/InsuranceContactUpdateManyMutationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +exports.InsuranceContactUpdateManyAndReturnSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), data: InsuranceContactUpdateManyMutationInput_schema_1.InsuranceContactUpdateManyMutationInputObjectSchema, where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional() }).strict(); +exports.InsuranceContactUpdateManyAndReturnZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), data: InsuranceContactUpdateManyMutationInput_schema_1.InsuranceContactUpdateManyMutationInputObjectSchema, where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnOfficeContact.schema.js b/packages/db/shared/schemas/updateManyAndReturnOfficeContact.schema.js new file mode 100644 index 00000000..7e4c01d4 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnOfficeContact.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateManyAndReturnZodSchema = exports.OfficeContactUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactUpdateManyMutationInput_schema_1 = require("./objects/OfficeContactUpdateManyMutationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +exports.OfficeContactUpdateManyAndReturnSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), data: OfficeContactUpdateManyMutationInput_schema_1.OfficeContactUpdateManyMutationInputObjectSchema, where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional() }).strict(); +exports.OfficeContactUpdateManyAndReturnZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), data: OfficeContactUpdateManyMutationInput_schema_1.OfficeContactUpdateManyMutationInputObjectSchema, where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnOfficeHours.schema.js b/packages/db/shared/schemas/updateManyAndReturnOfficeHours.schema.js new file mode 100644 index 00000000..b3b393c5 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnOfficeHours.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateManyAndReturnZodSchema = exports.OfficeHoursUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursUpdateManyMutationInput_schema_1 = require("./objects/OfficeHoursUpdateManyMutationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +exports.OfficeHoursUpdateManyAndReturnSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), data: OfficeHoursUpdateManyMutationInput_schema_1.OfficeHoursUpdateManyMutationInputObjectSchema, where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional() }).strict(); +exports.OfficeHoursUpdateManyAndReturnZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), data: OfficeHoursUpdateManyMutationInput_schema_1.OfficeHoursUpdateManyMutationInputObjectSchema, where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnPatientConversation.schema.js b/packages/db/shared/schemas/updateManyAndReturnPatientConversation.schema.js new file mode 100644 index 00000000..1b3c7774 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnPatientConversation.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateManyAndReturnZodSchema = exports.PatientConversationUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationUpdateManyMutationInput_schema_1 = require("./objects/PatientConversationUpdateManyMutationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +exports.PatientConversationUpdateManyAndReturnSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), data: PatientConversationUpdateManyMutationInput_schema_1.PatientConversationUpdateManyMutationInputObjectSchema, where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional() }).strict(); +exports.PatientConversationUpdateManyAndReturnZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), data: PatientConversationUpdateManyMutationInput_schema_1.PatientConversationUpdateManyMutationInputObjectSchema, where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnProcedureTimeslot.schema.js b/packages/db/shared/schemas/updateManyAndReturnProcedureTimeslot.schema.js new file mode 100644 index 00000000..13b015f7 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnProcedureTimeslot.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateManyAndReturnZodSchema = exports.ProcedureTimeslotUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotUpdateManyMutationInput_schema_1 = require("./objects/ProcedureTimeslotUpdateManyMutationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +exports.ProcedureTimeslotUpdateManyAndReturnSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), data: ProcedureTimeslotUpdateManyMutationInput_schema_1.ProcedureTimeslotUpdateManyMutationInputObjectSchema, where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional() }).strict(); +exports.ProcedureTimeslotUpdateManyAndReturnZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), data: ProcedureTimeslotUpdateManyMutationInput_schema_1.ProcedureTimeslotUpdateManyMutationInputObjectSchema, where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnShoppingVendor.schema.js b/packages/db/shared/schemas/updateManyAndReturnShoppingVendor.schema.js new file mode 100644 index 00000000..3e6bad34 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnShoppingVendor.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateManyAndReturnZodSchema = exports.ShoppingVendorUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorUpdateManyMutationInput_schema_1 = require("./objects/ShoppingVendorUpdateManyMutationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +exports.ShoppingVendorUpdateManyAndReturnSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), data: ShoppingVendorUpdateManyMutationInput_schema_1.ShoppingVendorUpdateManyMutationInputObjectSchema, where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional() }).strict(); +exports.ShoppingVendorUpdateManyAndReturnZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), data: ShoppingVendorUpdateManyMutationInput_schema_1.ShoppingVendorUpdateManyMutationInputObjectSchema, where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAndReturnTwilioSettings.schema.js b/packages/db/shared/schemas/updateManyAndReturnTwilioSettings.schema.js new file mode 100644 index 00000000..ca382a50 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAndReturnTwilioSettings.schema.js @@ -0,0 +1,42 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateManyAndReturnZodSchema = exports.TwilioSettingsUpdateManyAndReturnSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsUpdateManyMutationInput_schema_1 = require("./objects/TwilioSettingsUpdateManyMutationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +exports.TwilioSettingsUpdateManyAndReturnSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), data: TwilioSettingsUpdateManyMutationInput_schema_1.TwilioSettingsUpdateManyMutationInputObjectSchema, where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional() }).strict(); +exports.TwilioSettingsUpdateManyAndReturnZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), data: TwilioSettingsUpdateManyMutationInput_schema_1.TwilioSettingsUpdateManyMutationInputObjectSchema, where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyAppointmentFile.schema.js b/packages/db/shared/schemas/updateManyAppointmentFile.schema.js new file mode 100644 index 00000000..40619339 --- /dev/null +++ b/packages/db/shared/schemas/updateManyAppointmentFile.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateManyZodSchema = exports.AppointmentFileUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileUpdateManyMutationInput_schema_1 = require("./objects/AppointmentFileUpdateManyMutationInput.schema"); +const AppointmentFileWhereInput_schema_1 = require("./objects/AppointmentFileWhereInput.schema"); +exports.AppointmentFileUpdateManySchema = z.object({ data: AppointmentFileUpdateManyMutationInput_schema_1.AppointmentFileUpdateManyMutationInputObjectSchema, where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional() }).strict(); +exports.AppointmentFileUpdateManyZodSchema = z.object({ data: AppointmentFileUpdateManyMutationInput_schema_1.AppointmentFileUpdateManyMutationInputObjectSchema, where: AppointmentFileWhereInput_schema_1.AppointmentFileWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyCommissionBatch.schema.js b/packages/db/shared/schemas/updateManyCommissionBatch.schema.js new file mode 100644 index 00000000..7f9ad7c3 --- /dev/null +++ b/packages/db/shared/schemas/updateManyCommissionBatch.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateManyZodSchema = exports.CommissionBatchUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchUpdateManyMutationInput_schema_1 = require("./objects/CommissionBatchUpdateManyMutationInput.schema"); +const CommissionBatchWhereInput_schema_1 = require("./objects/CommissionBatchWhereInput.schema"); +exports.CommissionBatchUpdateManySchema = z.object({ data: CommissionBatchUpdateManyMutationInput_schema_1.CommissionBatchUpdateManyMutationInputObjectSchema, where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional() }).strict(); +exports.CommissionBatchUpdateManyZodSchema = z.object({ data: CommissionBatchUpdateManyMutationInput_schema_1.CommissionBatchUpdateManyMutationInputObjectSchema, where: CommissionBatchWhereInput_schema_1.CommissionBatchWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyCommissionBatchItem.schema.js b/packages/db/shared/schemas/updateManyCommissionBatchItem.schema.js new file mode 100644 index 00000000..b7f11f2a --- /dev/null +++ b/packages/db/shared/schemas/updateManyCommissionBatchItem.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateManyZodSchema = exports.CommissionBatchItemUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemUpdateManyMutationInput_schema_1 = require("./objects/CommissionBatchItemUpdateManyMutationInput.schema"); +const CommissionBatchItemWhereInput_schema_1 = require("./objects/CommissionBatchItemWhereInput.schema"); +exports.CommissionBatchItemUpdateManySchema = z.object({ data: CommissionBatchItemUpdateManyMutationInput_schema_1.CommissionBatchItemUpdateManyMutationInputObjectSchema, where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional() }).strict(); +exports.CommissionBatchItemUpdateManyZodSchema = z.object({ data: CommissionBatchItemUpdateManyMutationInput_schema_1.CommissionBatchItemUpdateManyMutationInputObjectSchema, where: CommissionBatchItemWhereInput_schema_1.CommissionBatchItemWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyInsuranceContact.schema.js b/packages/db/shared/schemas/updateManyInsuranceContact.schema.js new file mode 100644 index 00000000..e7b7d59c --- /dev/null +++ b/packages/db/shared/schemas/updateManyInsuranceContact.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateManyZodSchema = exports.InsuranceContactUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactUpdateManyMutationInput_schema_1 = require("./objects/InsuranceContactUpdateManyMutationInput.schema"); +const InsuranceContactWhereInput_schema_1 = require("./objects/InsuranceContactWhereInput.schema"); +exports.InsuranceContactUpdateManySchema = z.object({ data: InsuranceContactUpdateManyMutationInput_schema_1.InsuranceContactUpdateManyMutationInputObjectSchema, where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional() }).strict(); +exports.InsuranceContactUpdateManyZodSchema = z.object({ data: InsuranceContactUpdateManyMutationInput_schema_1.InsuranceContactUpdateManyMutationInputObjectSchema, where: InsuranceContactWhereInput_schema_1.InsuranceContactWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyOfficeContact.schema.js b/packages/db/shared/schemas/updateManyOfficeContact.schema.js new file mode 100644 index 00000000..70b7dd8f --- /dev/null +++ b/packages/db/shared/schemas/updateManyOfficeContact.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateManyZodSchema = exports.OfficeContactUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactUpdateManyMutationInput_schema_1 = require("./objects/OfficeContactUpdateManyMutationInput.schema"); +const OfficeContactWhereInput_schema_1 = require("./objects/OfficeContactWhereInput.schema"); +exports.OfficeContactUpdateManySchema = z.object({ data: OfficeContactUpdateManyMutationInput_schema_1.OfficeContactUpdateManyMutationInputObjectSchema, where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional() }).strict(); +exports.OfficeContactUpdateManyZodSchema = z.object({ data: OfficeContactUpdateManyMutationInput_schema_1.OfficeContactUpdateManyMutationInputObjectSchema, where: OfficeContactWhereInput_schema_1.OfficeContactWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyOfficeHours.schema.js b/packages/db/shared/schemas/updateManyOfficeHours.schema.js new file mode 100644 index 00000000..37a9f115 --- /dev/null +++ b/packages/db/shared/schemas/updateManyOfficeHours.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateManyZodSchema = exports.OfficeHoursUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursUpdateManyMutationInput_schema_1 = require("./objects/OfficeHoursUpdateManyMutationInput.schema"); +const OfficeHoursWhereInput_schema_1 = require("./objects/OfficeHoursWhereInput.schema"); +exports.OfficeHoursUpdateManySchema = z.object({ data: OfficeHoursUpdateManyMutationInput_schema_1.OfficeHoursUpdateManyMutationInputObjectSchema, where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional() }).strict(); +exports.OfficeHoursUpdateManyZodSchema = z.object({ data: OfficeHoursUpdateManyMutationInput_schema_1.OfficeHoursUpdateManyMutationInputObjectSchema, where: OfficeHoursWhereInput_schema_1.OfficeHoursWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyPatientConversation.schema.js b/packages/db/shared/schemas/updateManyPatientConversation.schema.js new file mode 100644 index 00000000..4708616d --- /dev/null +++ b/packages/db/shared/schemas/updateManyPatientConversation.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateManyZodSchema = exports.PatientConversationUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationUpdateManyMutationInput_schema_1 = require("./objects/PatientConversationUpdateManyMutationInput.schema"); +const PatientConversationWhereInput_schema_1 = require("./objects/PatientConversationWhereInput.schema"); +exports.PatientConversationUpdateManySchema = z.object({ data: PatientConversationUpdateManyMutationInput_schema_1.PatientConversationUpdateManyMutationInputObjectSchema, where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional() }).strict(); +exports.PatientConversationUpdateManyZodSchema = z.object({ data: PatientConversationUpdateManyMutationInput_schema_1.PatientConversationUpdateManyMutationInputObjectSchema, where: PatientConversationWhereInput_schema_1.PatientConversationWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyProcedureTimeslot.schema.js b/packages/db/shared/schemas/updateManyProcedureTimeslot.schema.js new file mode 100644 index 00000000..4ec2c30e --- /dev/null +++ b/packages/db/shared/schemas/updateManyProcedureTimeslot.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateManyZodSchema = exports.ProcedureTimeslotUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotUpdateManyMutationInput_schema_1 = require("./objects/ProcedureTimeslotUpdateManyMutationInput.schema"); +const ProcedureTimeslotWhereInput_schema_1 = require("./objects/ProcedureTimeslotWhereInput.schema"); +exports.ProcedureTimeslotUpdateManySchema = z.object({ data: ProcedureTimeslotUpdateManyMutationInput_schema_1.ProcedureTimeslotUpdateManyMutationInputObjectSchema, where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional() }).strict(); +exports.ProcedureTimeslotUpdateManyZodSchema = z.object({ data: ProcedureTimeslotUpdateManyMutationInput_schema_1.ProcedureTimeslotUpdateManyMutationInputObjectSchema, where: ProcedureTimeslotWhereInput_schema_1.ProcedureTimeslotWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyShoppingVendor.schema.js b/packages/db/shared/schemas/updateManyShoppingVendor.schema.js new file mode 100644 index 00000000..f7022aca --- /dev/null +++ b/packages/db/shared/schemas/updateManyShoppingVendor.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateManyZodSchema = exports.ShoppingVendorUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorUpdateManyMutationInput_schema_1 = require("./objects/ShoppingVendorUpdateManyMutationInput.schema"); +const ShoppingVendorWhereInput_schema_1 = require("./objects/ShoppingVendorWhereInput.schema"); +exports.ShoppingVendorUpdateManySchema = z.object({ data: ShoppingVendorUpdateManyMutationInput_schema_1.ShoppingVendorUpdateManyMutationInputObjectSchema, where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional() }).strict(); +exports.ShoppingVendorUpdateManyZodSchema = z.object({ data: ShoppingVendorUpdateManyMutationInput_schema_1.ShoppingVendorUpdateManyMutationInputObjectSchema, where: ShoppingVendorWhereInput_schema_1.ShoppingVendorWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateManyTwilioSettings.schema.js b/packages/db/shared/schemas/updateManyTwilioSettings.schema.js new file mode 100644 index 00000000..389445ca --- /dev/null +++ b/packages/db/shared/schemas/updateManyTwilioSettings.schema.js @@ -0,0 +1,41 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateManyZodSchema = exports.TwilioSettingsUpdateManySchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsUpdateManyMutationInput_schema_1 = require("./objects/TwilioSettingsUpdateManyMutationInput.schema"); +const TwilioSettingsWhereInput_schema_1 = require("./objects/TwilioSettingsWhereInput.schema"); +exports.TwilioSettingsUpdateManySchema = z.object({ data: TwilioSettingsUpdateManyMutationInput_schema_1.TwilioSettingsUpdateManyMutationInputObjectSchema, where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional() }).strict(); +exports.TwilioSettingsUpdateManyZodSchema = z.object({ data: TwilioSettingsUpdateManyMutationInput_schema_1.TwilioSettingsUpdateManyMutationInputObjectSchema, where: TwilioSettingsWhereInput_schema_1.TwilioSettingsWhereInputObjectSchema.optional() }).strict(); diff --git a/packages/db/shared/schemas/updateOneAiSettings.schema.js b/packages/db/shared/schemas/updateOneAiSettings.schema.js new file mode 100644 index 00000000..bf5e680b --- /dev/null +++ b/packages/db/shared/schemas/updateOneAiSettings.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpdateOneZodSchema = exports.AiSettingsUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsUpdateInput_schema_1 = require("./objects/AiSettingsUpdateInput.schema"); +const AiSettingsUncheckedUpdateInput_schema_1 = require("./objects/AiSettingsUncheckedUpdateInput.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +exports.AiSettingsUpdateOneSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), data: z.union([AiSettingsUpdateInput_schema_1.AiSettingsUpdateInputObjectSchema, AiSettingsUncheckedUpdateInput_schema_1.AiSettingsUncheckedUpdateInputObjectSchema]), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); +exports.AiSettingsUpdateOneZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), data: z.union([AiSettingsUpdateInput_schema_1.AiSettingsUpdateInputObjectSchema, AiSettingsUncheckedUpdateInput_schema_1.AiSettingsUncheckedUpdateInputObjectSchema]), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneAppointmentFile.schema.js b/packages/db/shared/schemas/updateOneAppointmentFile.schema.js new file mode 100644 index 00000000..ae86ff80 --- /dev/null +++ b/packages/db/shared/schemas/updateOneAppointmentFile.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpdateOneZodSchema = exports.AppointmentFileUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileUpdateInput_schema_1 = require("./objects/AppointmentFileUpdateInput.schema"); +const AppointmentFileUncheckedUpdateInput_schema_1 = require("./objects/AppointmentFileUncheckedUpdateInput.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +exports.AppointmentFileUpdateOneSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileUpdateInput_schema_1.AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInput_schema_1.AppointmentFileUncheckedUpdateInputObjectSchema]), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); +exports.AppointmentFileUpdateOneZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), data: z.union([AppointmentFileUpdateInput_schema_1.AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInput_schema_1.AppointmentFileUncheckedUpdateInputObjectSchema]), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneCommissionBatch.schema.js b/packages/db/shared/schemas/updateOneCommissionBatch.schema.js new file mode 100644 index 00000000..8a19302e --- /dev/null +++ b/packages/db/shared/schemas/updateOneCommissionBatch.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpdateOneZodSchema = exports.CommissionBatchUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchUpdateInput_schema_1 = require("./objects/CommissionBatchUpdateInput.schema"); +const CommissionBatchUncheckedUpdateInput_schema_1 = require("./objects/CommissionBatchUncheckedUpdateInput.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +exports.CommissionBatchUpdateOneSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchUpdateInput_schema_1.CommissionBatchUpdateInputObjectSchema, CommissionBatchUncheckedUpdateInput_schema_1.CommissionBatchUncheckedUpdateInputObjectSchema]), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchUpdateOneZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), data: z.union([CommissionBatchUpdateInput_schema_1.CommissionBatchUpdateInputObjectSchema, CommissionBatchUncheckedUpdateInput_schema_1.CommissionBatchUncheckedUpdateInputObjectSchema]), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneCommissionBatchItem.schema.js b/packages/db/shared/schemas/updateOneCommissionBatchItem.schema.js new file mode 100644 index 00000000..25ee7fc4 --- /dev/null +++ b/packages/db/shared/schemas/updateOneCommissionBatchItem.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpdateOneZodSchema = exports.CommissionBatchItemUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemUpdateInput_schema_1 = require("./objects/CommissionBatchItemUpdateInput.schema"); +const CommissionBatchItemUncheckedUpdateInput_schema_1 = require("./objects/CommissionBatchItemUncheckedUpdateInput.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +exports.CommissionBatchItemUpdateOneSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemUpdateInput_schema_1.CommissionBatchItemUpdateInputObjectSchema, CommissionBatchItemUncheckedUpdateInput_schema_1.CommissionBatchItemUncheckedUpdateInputObjectSchema]), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); +exports.CommissionBatchItemUpdateOneZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), data: z.union([CommissionBatchItemUpdateInput_schema_1.CommissionBatchItemUpdateInputObjectSchema, CommissionBatchItemUncheckedUpdateInput_schema_1.CommissionBatchItemUncheckedUpdateInputObjectSchema]), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneInsuranceContact.schema.js b/packages/db/shared/schemas/updateOneInsuranceContact.schema.js new file mode 100644 index 00000000..2f6ef39b --- /dev/null +++ b/packages/db/shared/schemas/updateOneInsuranceContact.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpdateOneZodSchema = exports.InsuranceContactUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactUpdateInput_schema_1 = require("./objects/InsuranceContactUpdateInput.schema"); +const InsuranceContactUncheckedUpdateInput_schema_1 = require("./objects/InsuranceContactUncheckedUpdateInput.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +exports.InsuranceContactUpdateOneSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), data: z.union([InsuranceContactUpdateInput_schema_1.InsuranceContactUpdateInputObjectSchema, InsuranceContactUncheckedUpdateInput_schema_1.InsuranceContactUncheckedUpdateInputObjectSchema]), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); +exports.InsuranceContactUpdateOneZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), data: z.union([InsuranceContactUpdateInput_schema_1.InsuranceContactUpdateInputObjectSchema, InsuranceContactUncheckedUpdateInput_schema_1.InsuranceContactUncheckedUpdateInputObjectSchema]), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneOfficeContact.schema.js b/packages/db/shared/schemas/updateOneOfficeContact.schema.js new file mode 100644 index 00000000..7af3927f --- /dev/null +++ b/packages/db/shared/schemas/updateOneOfficeContact.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpdateOneZodSchema = exports.OfficeContactUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactUpdateInput_schema_1 = require("./objects/OfficeContactUpdateInput.schema"); +const OfficeContactUncheckedUpdateInput_schema_1 = require("./objects/OfficeContactUncheckedUpdateInput.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +exports.OfficeContactUpdateOneSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactUpdateInput_schema_1.OfficeContactUpdateInputObjectSchema, OfficeContactUncheckedUpdateInput_schema_1.OfficeContactUncheckedUpdateInputObjectSchema]), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); +exports.OfficeContactUpdateOneZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), data: z.union([OfficeContactUpdateInput_schema_1.OfficeContactUpdateInputObjectSchema, OfficeContactUncheckedUpdateInput_schema_1.OfficeContactUncheckedUpdateInputObjectSchema]), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneOfficeHours.schema.js b/packages/db/shared/schemas/updateOneOfficeHours.schema.js new file mode 100644 index 00000000..54f71b37 --- /dev/null +++ b/packages/db/shared/schemas/updateOneOfficeHours.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpdateOneZodSchema = exports.OfficeHoursUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursUpdateInput_schema_1 = require("./objects/OfficeHoursUpdateInput.schema"); +const OfficeHoursUncheckedUpdateInput_schema_1 = require("./objects/OfficeHoursUncheckedUpdateInput.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +exports.OfficeHoursUpdateOneSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursUpdateInput_schema_1.OfficeHoursUpdateInputObjectSchema, OfficeHoursUncheckedUpdateInput_schema_1.OfficeHoursUncheckedUpdateInputObjectSchema]), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); +exports.OfficeHoursUpdateOneZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), data: z.union([OfficeHoursUpdateInput_schema_1.OfficeHoursUpdateInputObjectSchema, OfficeHoursUncheckedUpdateInput_schema_1.OfficeHoursUncheckedUpdateInputObjectSchema]), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOnePatientConversation.schema.js b/packages/db/shared/schemas/updateOnePatientConversation.schema.js new file mode 100644 index 00000000..1f07b4cf --- /dev/null +++ b/packages/db/shared/schemas/updateOnePatientConversation.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpdateOneZodSchema = exports.PatientConversationUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationUpdateInput_schema_1 = require("./objects/PatientConversationUpdateInput.schema"); +const PatientConversationUncheckedUpdateInput_schema_1 = require("./objects/PatientConversationUncheckedUpdateInput.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +exports.PatientConversationUpdateOneSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), data: z.union([PatientConversationUpdateInput_schema_1.PatientConversationUpdateInputObjectSchema, PatientConversationUncheckedUpdateInput_schema_1.PatientConversationUncheckedUpdateInputObjectSchema]), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); +exports.PatientConversationUpdateOneZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), data: z.union([PatientConversationUpdateInput_schema_1.PatientConversationUpdateInputObjectSchema, PatientConversationUncheckedUpdateInput_schema_1.PatientConversationUncheckedUpdateInputObjectSchema]), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneProcedureTimeslot.schema.js b/packages/db/shared/schemas/updateOneProcedureTimeslot.schema.js new file mode 100644 index 00000000..5d451952 --- /dev/null +++ b/packages/db/shared/schemas/updateOneProcedureTimeslot.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpdateOneZodSchema = exports.ProcedureTimeslotUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotUpdateInput_schema_1 = require("./objects/ProcedureTimeslotUpdateInput.schema"); +const ProcedureTimeslotUncheckedUpdateInput_schema_1 = require("./objects/ProcedureTimeslotUncheckedUpdateInput.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +exports.ProcedureTimeslotUpdateOneSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), data: z.union([ProcedureTimeslotUpdateInput_schema_1.ProcedureTimeslotUpdateInputObjectSchema, ProcedureTimeslotUncheckedUpdateInput_schema_1.ProcedureTimeslotUncheckedUpdateInputObjectSchema]), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); +exports.ProcedureTimeslotUpdateOneZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), data: z.union([ProcedureTimeslotUpdateInput_schema_1.ProcedureTimeslotUpdateInputObjectSchema, ProcedureTimeslotUncheckedUpdateInput_schema_1.ProcedureTimeslotUncheckedUpdateInputObjectSchema]), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneShoppingVendor.schema.js b/packages/db/shared/schemas/updateOneShoppingVendor.schema.js new file mode 100644 index 00000000..1dc9bd40 --- /dev/null +++ b/packages/db/shared/schemas/updateOneShoppingVendor.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpdateOneZodSchema = exports.ShoppingVendorUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorUpdateInput_schema_1 = require("./objects/ShoppingVendorUpdateInput.schema"); +const ShoppingVendorUncheckedUpdateInput_schema_1 = require("./objects/ShoppingVendorUncheckedUpdateInput.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +exports.ShoppingVendorUpdateOneSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), data: z.union([ShoppingVendorUpdateInput_schema_1.ShoppingVendorUpdateInputObjectSchema, ShoppingVendorUncheckedUpdateInput_schema_1.ShoppingVendorUncheckedUpdateInputObjectSchema]), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); +exports.ShoppingVendorUpdateOneZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), data: z.union([ShoppingVendorUpdateInput_schema_1.ShoppingVendorUpdateInputObjectSchema, ShoppingVendorUncheckedUpdateInput_schema_1.ShoppingVendorUncheckedUpdateInputObjectSchema]), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/updateOneTwilioSettings.schema.js b/packages/db/shared/schemas/updateOneTwilioSettings.schema.js new file mode 100644 index 00000000..7ccb9111 --- /dev/null +++ b/packages/db/shared/schemas/updateOneTwilioSettings.schema.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpdateOneZodSchema = exports.TwilioSettingsUpdateOneSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsUpdateInput_schema_1 = require("./objects/TwilioSettingsUpdateInput.schema"); +const TwilioSettingsUncheckedUpdateInput_schema_1 = require("./objects/TwilioSettingsUncheckedUpdateInput.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +exports.TwilioSettingsUpdateOneSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), data: z.union([TwilioSettingsUpdateInput_schema_1.TwilioSettingsUpdateInputObjectSchema, TwilioSettingsUncheckedUpdateInput_schema_1.TwilioSettingsUncheckedUpdateInputObjectSchema]), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); +exports.TwilioSettingsUpdateOneZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), data: z.union([TwilioSettingsUpdateInput_schema_1.TwilioSettingsUpdateInputObjectSchema, TwilioSettingsUncheckedUpdateInput_schema_1.TwilioSettingsUncheckedUpdateInputObjectSchema]), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema }).strict(); diff --git a/packages/db/shared/schemas/upsertOneAiSettings.schema.js b/packages/db/shared/schemas/upsertOneAiSettings.schema.js new file mode 100644 index 00000000..902b1a4a --- /dev/null +++ b/packages/db/shared/schemas/upsertOneAiSettings.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsUpsertOneZodSchema = exports.AiSettingsUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const AiSettingsSelect_schema_1 = require("./objects/AiSettingsSelect.schema"); +const AiSettingsInclude_schema_1 = require("./objects/AiSettingsInclude.schema"); +const AiSettingsWhereUniqueInput_schema_1 = require("./objects/AiSettingsWhereUniqueInput.schema"); +const AiSettingsCreateInput_schema_1 = require("./objects/AiSettingsCreateInput.schema"); +const AiSettingsUncheckedCreateInput_schema_1 = require("./objects/AiSettingsUncheckedCreateInput.schema"); +const AiSettingsUpdateInput_schema_1 = require("./objects/AiSettingsUpdateInput.schema"); +const AiSettingsUncheckedUpdateInput_schema_1 = require("./objects/AiSettingsUncheckedUpdateInput.schema"); +exports.AiSettingsUpsertOneSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema, create: z.union([AiSettingsCreateInput_schema_1.AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInput_schema_1.AiSettingsUncheckedCreateInputObjectSchema]), update: z.union([AiSettingsUpdateInput_schema_1.AiSettingsUpdateInputObjectSchema, AiSettingsUncheckedUpdateInput_schema_1.AiSettingsUncheckedUpdateInputObjectSchema]) }).strict(); +exports.AiSettingsUpsertOneZodSchema = z.object({ select: AiSettingsSelect_schema_1.AiSettingsSelectObjectSchema.optional(), include: AiSettingsInclude_schema_1.AiSettingsIncludeObjectSchema.optional(), where: AiSettingsWhereUniqueInput_schema_1.AiSettingsWhereUniqueInputObjectSchema, create: z.union([AiSettingsCreateInput_schema_1.AiSettingsCreateInputObjectSchema, AiSettingsUncheckedCreateInput_schema_1.AiSettingsUncheckedCreateInputObjectSchema]), update: z.union([AiSettingsUpdateInput_schema_1.AiSettingsUpdateInputObjectSchema, AiSettingsUncheckedUpdateInput_schema_1.AiSettingsUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneAppointmentFile.schema.js b/packages/db/shared/schemas/upsertOneAppointmentFile.schema.js new file mode 100644 index 00000000..df5bcebe --- /dev/null +++ b/packages/db/shared/schemas/upsertOneAppointmentFile.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileUpsertOneZodSchema = exports.AppointmentFileUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const AppointmentFileSelect_schema_1 = require("./objects/AppointmentFileSelect.schema"); +const AppointmentFileInclude_schema_1 = require("./objects/AppointmentFileInclude.schema"); +const AppointmentFileWhereUniqueInput_schema_1 = require("./objects/AppointmentFileWhereUniqueInput.schema"); +const AppointmentFileCreateInput_schema_1 = require("./objects/AppointmentFileCreateInput.schema"); +const AppointmentFileUncheckedCreateInput_schema_1 = require("./objects/AppointmentFileUncheckedCreateInput.schema"); +const AppointmentFileUpdateInput_schema_1 = require("./objects/AppointmentFileUpdateInput.schema"); +const AppointmentFileUncheckedUpdateInput_schema_1 = require("./objects/AppointmentFileUncheckedUpdateInput.schema"); +exports.AppointmentFileUpsertOneSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema, create: z.union([AppointmentFileCreateInput_schema_1.AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInput_schema_1.AppointmentFileUncheckedCreateInputObjectSchema]), update: z.union([AppointmentFileUpdateInput_schema_1.AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInput_schema_1.AppointmentFileUncheckedUpdateInputObjectSchema]) }).strict(); +exports.AppointmentFileUpsertOneZodSchema = z.object({ select: AppointmentFileSelect_schema_1.AppointmentFileSelectObjectSchema.optional(), include: AppointmentFileInclude_schema_1.AppointmentFileIncludeObjectSchema.optional(), where: AppointmentFileWhereUniqueInput_schema_1.AppointmentFileWhereUniqueInputObjectSchema, create: z.union([AppointmentFileCreateInput_schema_1.AppointmentFileCreateInputObjectSchema, AppointmentFileUncheckedCreateInput_schema_1.AppointmentFileUncheckedCreateInputObjectSchema]), update: z.union([AppointmentFileUpdateInput_schema_1.AppointmentFileUpdateInputObjectSchema, AppointmentFileUncheckedUpdateInput_schema_1.AppointmentFileUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneCommissionBatch.schema.js b/packages/db/shared/schemas/upsertOneCommissionBatch.schema.js new file mode 100644 index 00000000..fdc75788 --- /dev/null +++ b/packages/db/shared/schemas/upsertOneCommissionBatch.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchUpsertOneZodSchema = exports.CommissionBatchUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchSelect_schema_1 = require("./objects/CommissionBatchSelect.schema"); +const CommissionBatchInclude_schema_1 = require("./objects/CommissionBatchInclude.schema"); +const CommissionBatchWhereUniqueInput_schema_1 = require("./objects/CommissionBatchWhereUniqueInput.schema"); +const CommissionBatchCreateInput_schema_1 = require("./objects/CommissionBatchCreateInput.schema"); +const CommissionBatchUncheckedCreateInput_schema_1 = require("./objects/CommissionBatchUncheckedCreateInput.schema"); +const CommissionBatchUpdateInput_schema_1 = require("./objects/CommissionBatchUpdateInput.schema"); +const CommissionBatchUncheckedUpdateInput_schema_1 = require("./objects/CommissionBatchUncheckedUpdateInput.schema"); +exports.CommissionBatchUpsertOneSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema, create: z.union([CommissionBatchCreateInput_schema_1.CommissionBatchCreateInputObjectSchema, CommissionBatchUncheckedCreateInput_schema_1.CommissionBatchUncheckedCreateInputObjectSchema]), update: z.union([CommissionBatchUpdateInput_schema_1.CommissionBatchUpdateInputObjectSchema, CommissionBatchUncheckedUpdateInput_schema_1.CommissionBatchUncheckedUpdateInputObjectSchema]) }).strict(); +exports.CommissionBatchUpsertOneZodSchema = z.object({ select: CommissionBatchSelect_schema_1.CommissionBatchSelectObjectSchema.optional(), include: CommissionBatchInclude_schema_1.CommissionBatchIncludeObjectSchema.optional(), where: CommissionBatchWhereUniqueInput_schema_1.CommissionBatchWhereUniqueInputObjectSchema, create: z.union([CommissionBatchCreateInput_schema_1.CommissionBatchCreateInputObjectSchema, CommissionBatchUncheckedCreateInput_schema_1.CommissionBatchUncheckedCreateInputObjectSchema]), update: z.union([CommissionBatchUpdateInput_schema_1.CommissionBatchUpdateInputObjectSchema, CommissionBatchUncheckedUpdateInput_schema_1.CommissionBatchUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneCommissionBatchItem.schema.js b/packages/db/shared/schemas/upsertOneCommissionBatchItem.schema.js new file mode 100644 index 00000000..52f17d92 --- /dev/null +++ b/packages/db/shared/schemas/upsertOneCommissionBatchItem.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemUpsertOneZodSchema = exports.CommissionBatchItemUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const CommissionBatchItemSelect_schema_1 = require("./objects/CommissionBatchItemSelect.schema"); +const CommissionBatchItemInclude_schema_1 = require("./objects/CommissionBatchItemInclude.schema"); +const CommissionBatchItemWhereUniqueInput_schema_1 = require("./objects/CommissionBatchItemWhereUniqueInput.schema"); +const CommissionBatchItemCreateInput_schema_1 = require("./objects/CommissionBatchItemCreateInput.schema"); +const CommissionBatchItemUncheckedCreateInput_schema_1 = require("./objects/CommissionBatchItemUncheckedCreateInput.schema"); +const CommissionBatchItemUpdateInput_schema_1 = require("./objects/CommissionBatchItemUpdateInput.schema"); +const CommissionBatchItemUncheckedUpdateInput_schema_1 = require("./objects/CommissionBatchItemUncheckedUpdateInput.schema"); +exports.CommissionBatchItemUpsertOneSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema, create: z.union([CommissionBatchItemCreateInput_schema_1.CommissionBatchItemCreateInputObjectSchema, CommissionBatchItemUncheckedCreateInput_schema_1.CommissionBatchItemUncheckedCreateInputObjectSchema]), update: z.union([CommissionBatchItemUpdateInput_schema_1.CommissionBatchItemUpdateInputObjectSchema, CommissionBatchItemUncheckedUpdateInput_schema_1.CommissionBatchItemUncheckedUpdateInputObjectSchema]) }).strict(); +exports.CommissionBatchItemUpsertOneZodSchema = z.object({ select: CommissionBatchItemSelect_schema_1.CommissionBatchItemSelectObjectSchema.optional(), include: CommissionBatchItemInclude_schema_1.CommissionBatchItemIncludeObjectSchema.optional(), where: CommissionBatchItemWhereUniqueInput_schema_1.CommissionBatchItemWhereUniqueInputObjectSchema, create: z.union([CommissionBatchItemCreateInput_schema_1.CommissionBatchItemCreateInputObjectSchema, CommissionBatchItemUncheckedCreateInput_schema_1.CommissionBatchItemUncheckedCreateInputObjectSchema]), update: z.union([CommissionBatchItemUpdateInput_schema_1.CommissionBatchItemUpdateInputObjectSchema, CommissionBatchItemUncheckedUpdateInput_schema_1.CommissionBatchItemUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneInsuranceContact.schema.js b/packages/db/shared/schemas/upsertOneInsuranceContact.schema.js new file mode 100644 index 00000000..fffacce4 --- /dev/null +++ b/packages/db/shared/schemas/upsertOneInsuranceContact.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactUpsertOneZodSchema = exports.InsuranceContactUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const InsuranceContactSelect_schema_1 = require("./objects/InsuranceContactSelect.schema"); +const InsuranceContactInclude_schema_1 = require("./objects/InsuranceContactInclude.schema"); +const InsuranceContactWhereUniqueInput_schema_1 = require("./objects/InsuranceContactWhereUniqueInput.schema"); +const InsuranceContactCreateInput_schema_1 = require("./objects/InsuranceContactCreateInput.schema"); +const InsuranceContactUncheckedCreateInput_schema_1 = require("./objects/InsuranceContactUncheckedCreateInput.schema"); +const InsuranceContactUpdateInput_schema_1 = require("./objects/InsuranceContactUpdateInput.schema"); +const InsuranceContactUncheckedUpdateInput_schema_1 = require("./objects/InsuranceContactUncheckedUpdateInput.schema"); +exports.InsuranceContactUpsertOneSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema, create: z.union([InsuranceContactCreateInput_schema_1.InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInput_schema_1.InsuranceContactUncheckedCreateInputObjectSchema]), update: z.union([InsuranceContactUpdateInput_schema_1.InsuranceContactUpdateInputObjectSchema, InsuranceContactUncheckedUpdateInput_schema_1.InsuranceContactUncheckedUpdateInputObjectSchema]) }).strict(); +exports.InsuranceContactUpsertOneZodSchema = z.object({ select: InsuranceContactSelect_schema_1.InsuranceContactSelectObjectSchema.optional(), include: InsuranceContactInclude_schema_1.InsuranceContactIncludeObjectSchema.optional(), where: InsuranceContactWhereUniqueInput_schema_1.InsuranceContactWhereUniqueInputObjectSchema, create: z.union([InsuranceContactCreateInput_schema_1.InsuranceContactCreateInputObjectSchema, InsuranceContactUncheckedCreateInput_schema_1.InsuranceContactUncheckedCreateInputObjectSchema]), update: z.union([InsuranceContactUpdateInput_schema_1.InsuranceContactUpdateInputObjectSchema, InsuranceContactUncheckedUpdateInput_schema_1.InsuranceContactUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneOfficeContact.schema.js b/packages/db/shared/schemas/upsertOneOfficeContact.schema.js new file mode 100644 index 00000000..17a2f1e8 --- /dev/null +++ b/packages/db/shared/schemas/upsertOneOfficeContact.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactUpsertOneZodSchema = exports.OfficeContactUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeContactSelect_schema_1 = require("./objects/OfficeContactSelect.schema"); +const OfficeContactInclude_schema_1 = require("./objects/OfficeContactInclude.schema"); +const OfficeContactWhereUniqueInput_schema_1 = require("./objects/OfficeContactWhereUniqueInput.schema"); +const OfficeContactCreateInput_schema_1 = require("./objects/OfficeContactCreateInput.schema"); +const OfficeContactUncheckedCreateInput_schema_1 = require("./objects/OfficeContactUncheckedCreateInput.schema"); +const OfficeContactUpdateInput_schema_1 = require("./objects/OfficeContactUpdateInput.schema"); +const OfficeContactUncheckedUpdateInput_schema_1 = require("./objects/OfficeContactUncheckedUpdateInput.schema"); +exports.OfficeContactUpsertOneSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema, create: z.union([OfficeContactCreateInput_schema_1.OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInput_schema_1.OfficeContactUncheckedCreateInputObjectSchema]), update: z.union([OfficeContactUpdateInput_schema_1.OfficeContactUpdateInputObjectSchema, OfficeContactUncheckedUpdateInput_schema_1.OfficeContactUncheckedUpdateInputObjectSchema]) }).strict(); +exports.OfficeContactUpsertOneZodSchema = z.object({ select: OfficeContactSelect_schema_1.OfficeContactSelectObjectSchema.optional(), include: OfficeContactInclude_schema_1.OfficeContactIncludeObjectSchema.optional(), where: OfficeContactWhereUniqueInput_schema_1.OfficeContactWhereUniqueInputObjectSchema, create: z.union([OfficeContactCreateInput_schema_1.OfficeContactCreateInputObjectSchema, OfficeContactUncheckedCreateInput_schema_1.OfficeContactUncheckedCreateInputObjectSchema]), update: z.union([OfficeContactUpdateInput_schema_1.OfficeContactUpdateInputObjectSchema, OfficeContactUncheckedUpdateInput_schema_1.OfficeContactUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneOfficeHours.schema.js b/packages/db/shared/schemas/upsertOneOfficeHours.schema.js new file mode 100644 index 00000000..8b047ff5 --- /dev/null +++ b/packages/db/shared/schemas/upsertOneOfficeHours.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursUpsertOneZodSchema = exports.OfficeHoursUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const OfficeHoursSelect_schema_1 = require("./objects/OfficeHoursSelect.schema"); +const OfficeHoursInclude_schema_1 = require("./objects/OfficeHoursInclude.schema"); +const OfficeHoursWhereUniqueInput_schema_1 = require("./objects/OfficeHoursWhereUniqueInput.schema"); +const OfficeHoursCreateInput_schema_1 = require("./objects/OfficeHoursCreateInput.schema"); +const OfficeHoursUncheckedCreateInput_schema_1 = require("./objects/OfficeHoursUncheckedCreateInput.schema"); +const OfficeHoursUpdateInput_schema_1 = require("./objects/OfficeHoursUpdateInput.schema"); +const OfficeHoursUncheckedUpdateInput_schema_1 = require("./objects/OfficeHoursUncheckedUpdateInput.schema"); +exports.OfficeHoursUpsertOneSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema, create: z.union([OfficeHoursCreateInput_schema_1.OfficeHoursCreateInputObjectSchema, OfficeHoursUncheckedCreateInput_schema_1.OfficeHoursUncheckedCreateInputObjectSchema]), update: z.union([OfficeHoursUpdateInput_schema_1.OfficeHoursUpdateInputObjectSchema, OfficeHoursUncheckedUpdateInput_schema_1.OfficeHoursUncheckedUpdateInputObjectSchema]) }).strict(); +exports.OfficeHoursUpsertOneZodSchema = z.object({ select: OfficeHoursSelect_schema_1.OfficeHoursSelectObjectSchema.optional(), include: OfficeHoursInclude_schema_1.OfficeHoursIncludeObjectSchema.optional(), where: OfficeHoursWhereUniqueInput_schema_1.OfficeHoursWhereUniqueInputObjectSchema, create: z.union([OfficeHoursCreateInput_schema_1.OfficeHoursCreateInputObjectSchema, OfficeHoursUncheckedCreateInput_schema_1.OfficeHoursUncheckedCreateInputObjectSchema]), update: z.union([OfficeHoursUpdateInput_schema_1.OfficeHoursUpdateInputObjectSchema, OfficeHoursUncheckedUpdateInput_schema_1.OfficeHoursUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOnePatientConversation.schema.js b/packages/db/shared/schemas/upsertOnePatientConversation.schema.js new file mode 100644 index 00000000..ba654a35 --- /dev/null +++ b/packages/db/shared/schemas/upsertOnePatientConversation.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationUpsertOneZodSchema = exports.PatientConversationUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const PatientConversationSelect_schema_1 = require("./objects/PatientConversationSelect.schema"); +const PatientConversationInclude_schema_1 = require("./objects/PatientConversationInclude.schema"); +const PatientConversationWhereUniqueInput_schema_1 = require("./objects/PatientConversationWhereUniqueInput.schema"); +const PatientConversationCreateInput_schema_1 = require("./objects/PatientConversationCreateInput.schema"); +const PatientConversationUncheckedCreateInput_schema_1 = require("./objects/PatientConversationUncheckedCreateInput.schema"); +const PatientConversationUpdateInput_schema_1 = require("./objects/PatientConversationUpdateInput.schema"); +const PatientConversationUncheckedUpdateInput_schema_1 = require("./objects/PatientConversationUncheckedUpdateInput.schema"); +exports.PatientConversationUpsertOneSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema, create: z.union([PatientConversationCreateInput_schema_1.PatientConversationCreateInputObjectSchema, PatientConversationUncheckedCreateInput_schema_1.PatientConversationUncheckedCreateInputObjectSchema]), update: z.union([PatientConversationUpdateInput_schema_1.PatientConversationUpdateInputObjectSchema, PatientConversationUncheckedUpdateInput_schema_1.PatientConversationUncheckedUpdateInputObjectSchema]) }).strict(); +exports.PatientConversationUpsertOneZodSchema = z.object({ select: PatientConversationSelect_schema_1.PatientConversationSelectObjectSchema.optional(), include: PatientConversationInclude_schema_1.PatientConversationIncludeObjectSchema.optional(), where: PatientConversationWhereUniqueInput_schema_1.PatientConversationWhereUniqueInputObjectSchema, create: z.union([PatientConversationCreateInput_schema_1.PatientConversationCreateInputObjectSchema, PatientConversationUncheckedCreateInput_schema_1.PatientConversationUncheckedCreateInputObjectSchema]), update: z.union([PatientConversationUpdateInput_schema_1.PatientConversationUpdateInputObjectSchema, PatientConversationUncheckedUpdateInput_schema_1.PatientConversationUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneProcedureTimeslot.schema.js b/packages/db/shared/schemas/upsertOneProcedureTimeslot.schema.js new file mode 100644 index 00000000..6c1ecfbd --- /dev/null +++ b/packages/db/shared/schemas/upsertOneProcedureTimeslot.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotUpsertOneZodSchema = exports.ProcedureTimeslotUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const ProcedureTimeslotSelect_schema_1 = require("./objects/ProcedureTimeslotSelect.schema"); +const ProcedureTimeslotInclude_schema_1 = require("./objects/ProcedureTimeslotInclude.schema"); +const ProcedureTimeslotWhereUniqueInput_schema_1 = require("./objects/ProcedureTimeslotWhereUniqueInput.schema"); +const ProcedureTimeslotCreateInput_schema_1 = require("./objects/ProcedureTimeslotCreateInput.schema"); +const ProcedureTimeslotUncheckedCreateInput_schema_1 = require("./objects/ProcedureTimeslotUncheckedCreateInput.schema"); +const ProcedureTimeslotUpdateInput_schema_1 = require("./objects/ProcedureTimeslotUpdateInput.schema"); +const ProcedureTimeslotUncheckedUpdateInput_schema_1 = require("./objects/ProcedureTimeslotUncheckedUpdateInput.schema"); +exports.ProcedureTimeslotUpsertOneSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema, create: z.union([ProcedureTimeslotCreateInput_schema_1.ProcedureTimeslotCreateInputObjectSchema, ProcedureTimeslotUncheckedCreateInput_schema_1.ProcedureTimeslotUncheckedCreateInputObjectSchema]), update: z.union([ProcedureTimeslotUpdateInput_schema_1.ProcedureTimeslotUpdateInputObjectSchema, ProcedureTimeslotUncheckedUpdateInput_schema_1.ProcedureTimeslotUncheckedUpdateInputObjectSchema]) }).strict(); +exports.ProcedureTimeslotUpsertOneZodSchema = z.object({ select: ProcedureTimeslotSelect_schema_1.ProcedureTimeslotSelectObjectSchema.optional(), include: ProcedureTimeslotInclude_schema_1.ProcedureTimeslotIncludeObjectSchema.optional(), where: ProcedureTimeslotWhereUniqueInput_schema_1.ProcedureTimeslotWhereUniqueInputObjectSchema, create: z.union([ProcedureTimeslotCreateInput_schema_1.ProcedureTimeslotCreateInputObjectSchema, ProcedureTimeslotUncheckedCreateInput_schema_1.ProcedureTimeslotUncheckedCreateInputObjectSchema]), update: z.union([ProcedureTimeslotUpdateInput_schema_1.ProcedureTimeslotUpdateInputObjectSchema, ProcedureTimeslotUncheckedUpdateInput_schema_1.ProcedureTimeslotUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneShoppingVendor.schema.js b/packages/db/shared/schemas/upsertOneShoppingVendor.schema.js new file mode 100644 index 00000000..0fe8eefd --- /dev/null +++ b/packages/db/shared/schemas/upsertOneShoppingVendor.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorUpsertOneZodSchema = exports.ShoppingVendorUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const ShoppingVendorSelect_schema_1 = require("./objects/ShoppingVendorSelect.schema"); +const ShoppingVendorInclude_schema_1 = require("./objects/ShoppingVendorInclude.schema"); +const ShoppingVendorWhereUniqueInput_schema_1 = require("./objects/ShoppingVendorWhereUniqueInput.schema"); +const ShoppingVendorCreateInput_schema_1 = require("./objects/ShoppingVendorCreateInput.schema"); +const ShoppingVendorUncheckedCreateInput_schema_1 = require("./objects/ShoppingVendorUncheckedCreateInput.schema"); +const ShoppingVendorUpdateInput_schema_1 = require("./objects/ShoppingVendorUpdateInput.schema"); +const ShoppingVendorUncheckedUpdateInput_schema_1 = require("./objects/ShoppingVendorUncheckedUpdateInput.schema"); +exports.ShoppingVendorUpsertOneSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema, create: z.union([ShoppingVendorCreateInput_schema_1.ShoppingVendorCreateInputObjectSchema, ShoppingVendorUncheckedCreateInput_schema_1.ShoppingVendorUncheckedCreateInputObjectSchema]), update: z.union([ShoppingVendorUpdateInput_schema_1.ShoppingVendorUpdateInputObjectSchema, ShoppingVendorUncheckedUpdateInput_schema_1.ShoppingVendorUncheckedUpdateInputObjectSchema]) }).strict(); +exports.ShoppingVendorUpsertOneZodSchema = z.object({ select: ShoppingVendorSelect_schema_1.ShoppingVendorSelectObjectSchema.optional(), include: ShoppingVendorInclude_schema_1.ShoppingVendorIncludeObjectSchema.optional(), where: ShoppingVendorWhereUniqueInput_schema_1.ShoppingVendorWhereUniqueInputObjectSchema, create: z.union([ShoppingVendorCreateInput_schema_1.ShoppingVendorCreateInputObjectSchema, ShoppingVendorUncheckedCreateInput_schema_1.ShoppingVendorUncheckedCreateInputObjectSchema]), update: z.union([ShoppingVendorUpdateInput_schema_1.ShoppingVendorUpdateInputObjectSchema, ShoppingVendorUncheckedUpdateInput_schema_1.ShoppingVendorUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/upsertOneTwilioSettings.schema.js b/packages/db/shared/schemas/upsertOneTwilioSettings.schema.js new file mode 100644 index 00000000..7106977d --- /dev/null +++ b/packages/db/shared/schemas/upsertOneTwilioSettings.schema.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsUpsertOneZodSchema = exports.TwilioSettingsUpsertOneSchema = void 0; +const z = __importStar(require("zod")); +const TwilioSettingsSelect_schema_1 = require("./objects/TwilioSettingsSelect.schema"); +const TwilioSettingsInclude_schema_1 = require("./objects/TwilioSettingsInclude.schema"); +const TwilioSettingsWhereUniqueInput_schema_1 = require("./objects/TwilioSettingsWhereUniqueInput.schema"); +const TwilioSettingsCreateInput_schema_1 = require("./objects/TwilioSettingsCreateInput.schema"); +const TwilioSettingsUncheckedCreateInput_schema_1 = require("./objects/TwilioSettingsUncheckedCreateInput.schema"); +const TwilioSettingsUpdateInput_schema_1 = require("./objects/TwilioSettingsUpdateInput.schema"); +const TwilioSettingsUncheckedUpdateInput_schema_1 = require("./objects/TwilioSettingsUncheckedUpdateInput.schema"); +exports.TwilioSettingsUpsertOneSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema, create: z.union([TwilioSettingsCreateInput_schema_1.TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInput_schema_1.TwilioSettingsUncheckedCreateInputObjectSchema]), update: z.union([TwilioSettingsUpdateInput_schema_1.TwilioSettingsUpdateInputObjectSchema, TwilioSettingsUncheckedUpdateInput_schema_1.TwilioSettingsUncheckedUpdateInputObjectSchema]) }).strict(); +exports.TwilioSettingsUpsertOneZodSchema = z.object({ select: TwilioSettingsSelect_schema_1.TwilioSettingsSelectObjectSchema.optional(), include: TwilioSettingsInclude_schema_1.TwilioSettingsIncludeObjectSchema.optional(), where: TwilioSettingsWhereUniqueInput_schema_1.TwilioSettingsWhereUniqueInputObjectSchema, create: z.union([TwilioSettingsCreateInput_schema_1.TwilioSettingsCreateInputObjectSchema, TwilioSettingsUncheckedCreateInput_schema_1.TwilioSettingsUncheckedCreateInputObjectSchema]), update: z.union([TwilioSettingsUpdateInput_schema_1.TwilioSettingsUpdateInputObjectSchema, TwilioSettingsUncheckedUpdateInput_schema_1.TwilioSettingsUncheckedUpdateInputObjectSchema]) }).strict(); diff --git a/packages/db/shared/schemas/variants/input/AiSettings.input.js b/packages/db/shared/schemas/variants/input/AiSettings.input.js new file mode 100644 index 00000000..13664364 --- /dev/null +++ b/packages/db/shared/schemas/variants/input/AiSettings.input.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.AiSettingsInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/Appointment.input.js b/packages/db/shared/schemas/variants/input/Appointment.input.js index 99003590..c2997afc 100644 --- a/packages/db/shared/schemas/variants/input/Appointment.input.js +++ b/packages/db/shared/schemas/variants/input/Appointment.input.js @@ -47,14 +47,17 @@ exports.AppointmentInputSchema = z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().optional().nullable(), procedureCodeNotes: z.string().optional().nullable(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema, patient: z.unknown(), user: z.unknown(), staff: z.unknown().optional().nullable(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/input/AppointmentFile.input.js b/packages/db/shared/schemas/variants/input/AppointmentFile.input.js new file mode 100644 index 00000000..7c3d2fde --- /dev/null +++ b/packages/db/shared/schemas/variants/input/AppointmentFile.input.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.AppointmentFileInputSchema = z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().optional().nullable(), + filePath: z.string().optional().nullable(), + appointment: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/Claim.input.js b/packages/db/shared/schemas/variants/input/Claim.input.js index aa2bef8f..a4a894ae 100644 --- a/packages/db/shared/schemas/variants/input/Claim.input.js +++ b/packages/db/shared/schemas/variants/input/Claim.input.js @@ -41,7 +41,7 @@ const ClaimStatus_schema_1 = require("../../enums/ClaimStatus.schema"); exports.ClaimInputSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -56,9 +56,10 @@ exports.ClaimInputSchema = z.object({ updatedAt: z.date(), status: ClaimStatus_schema_1.ClaimStatusSchema, claimNumber: z.string().optional().nullable(), + preAuthNumber: z.string().optional().nullable(), npiProviderId: z.number().int().optional().nullable(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().optional().nullable(), user: z.unknown().optional().nullable(), staff: z.unknown().optional().nullable(), npiProvider: z.unknown().optional().nullable(), diff --git a/packages/db/shared/schemas/variants/input/Claim.input.ts b/packages/db/shared/schemas/variants/input/Claim.input.ts index 57ad5f37..498c3fbf 100644 --- a/packages/db/shared/schemas/variants/input/Claim.input.ts +++ b/packages/db/shared/schemas/variants/input/Claim.input.ts @@ -5,7 +5,7 @@ import { ClaimStatusSchema } from '../../enums/ClaimStatus.schema'; export const ClaimInputSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int().optional().nullable(), + appointmentId: z.number().int().int().optional().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/variants/input/CloudFolder.input.js b/packages/db/shared/schemas/variants/input/CloudFolder.input.js index bad901fc..d4f52455 100644 --- a/packages/db/shared/schemas/variants/input/CloudFolder.input.js +++ b/packages/db/shared/schemas/variants/input/CloudFolder.input.js @@ -41,9 +41,11 @@ exports.CloudFolderInputSchema = z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().optional().nullable(), + patientId: z.number().int().optional().nullable(), parent: z.unknown().optional().nullable(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().optional().nullable(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/variants/input/CommissionBatch.input.js b/packages/db/shared/schemas/variants/input/CommissionBatch.input.js new file mode 100644 index 00000000..5b93ce19 --- /dev/null +++ b/packages/db/shared/schemas/variants/input/CommissionBatch.input.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.CommissionBatchInputSchema = z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().optional().nullable(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/CommissionBatchItem.input.js b/packages/db/shared/schemas/variants/input/CommissionBatchItem.input.js new file mode 100644 index 00000000..8c075a8e --- /dev/null +++ b/packages/db/shared/schemas/variants/input/CommissionBatchItem.input.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.CommissionBatchItemInputSchema = z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/InsuranceContact.input.js b/packages/db/shared/schemas/variants/input/InsuranceContact.input.js new file mode 100644 index 00000000..08829f07 --- /dev/null +++ b/packages/db/shared/schemas/variants/input/InsuranceContact.input.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.InsuranceContactInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().optional().nullable(), + createdAt: z.date(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/NpiProvider.input.js b/packages/db/shared/schemas/variants/input/NpiProvider.input.js index cb64ea59..04f4e853 100644 --- a/packages/db/shared/schemas/variants/input/NpiProvider.input.js +++ b/packages/db/shared/schemas/variants/input/NpiProvider.input.js @@ -41,8 +41,11 @@ exports.NpiProviderInputSchema = z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/input/OfficeContact.input.js b/packages/db/shared/schemas/variants/input/OfficeContact.input.js new file mode 100644 index 00000000..6fcb596d --- /dev/null +++ b/packages/db/shared/schemas/variants/input/OfficeContact.input.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.OfficeContactInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().optional().nullable(), + 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(), + streetAddress: z.string().optional().nullable(), + city: z.string().optional().nullable(), + state: z.string().optional().nullable(), + zipCode: z.string().optional().nullable(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/OfficeHours.input.js b/packages/db/shared/schemas/variants/input/OfficeHours.input.js new file mode 100644 index 00000000..245ae045 --- /dev/null +++ b/packages/db/shared/schemas/variants/input/OfficeHours.input.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.OfficeHoursInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/Patient.input.js b/packages/db/shared/schemas/variants/input/Patient.input.js index b106367a..6c54f8e8 100644 --- a/packages/db/shared/schemas/variants/input/Patient.input.js +++ b/packages/db/shared/schemas/variants/input/Patient.input.js @@ -54,9 +54,11 @@ exports.PatientInputSchema = z.object({ policyHolder: z.string().optional().nullable(), allergies: z.string().optional().nullable(), medicalConditions: z.string().optional().nullable(), + preferredLanguage: z.string().optional().nullable(), status: PatientStatus_schema_1.PatientStatusSchema, userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -64,5 +66,7 @@ exports.PatientInputSchema = z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().optional().nullable(), + cloudFolders: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/input/PatientConversation.input.js b/packages/db/shared/schemas/variants/input/PatientConversation.input.js new file mode 100644 index 00000000..fd21703e --- /dev/null +++ b/packages/db/shared/schemas/variants/input/PatientConversation.input.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.PatientConversationInputSchema = z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/Payment.input.js b/packages/db/shared/schemas/variants/input/Payment.input.js index bd062706..64044872 100644 --- a/packages/db/shared/schemas/variants/input/Payment.input.js +++ b/packages/db/shared/schemas/variants/input/Payment.input.js @@ -43,10 +43,14 @@ exports.PaymentInputSchema = z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().optional().nullable(), + npiProviderId: z.number().int().optional().nullable(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().optional().nullable(), + copayment: z.number(), + adjustment: z.number(), status: PaymentStatus_schema_1.PaymentStatusSchema, notes: z.string().optional().nullable(), icn: z.string().optional().nullable(), @@ -55,6 +59,8 @@ exports.PaymentInputSchema = z.object({ claim: z.unknown().optional().nullable(), patient: z.unknown(), updatedBy: z.unknown().optional().nullable(), + npiProvider: z.unknown().optional().nullable(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/input/ProcedureTimeslot.input.js b/packages/db/shared/schemas/variants/input/ProcedureTimeslot.input.js new file mode 100644 index 00000000..835896aa --- /dev/null +++ b/packages/db/shared/schemas/variants/input/ProcedureTimeslot.input.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.ProcedureTimeslotInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/ServiceLine.input.js b/packages/db/shared/schemas/variants/input/ServiceLine.input.js index 51e5968f..c7f1a705 100644 --- a/packages/db/shared/schemas/variants/input/ServiceLine.input.js +++ b/packages/db/shared/schemas/variants/input/ServiceLine.input.js @@ -47,6 +47,9 @@ exports.ServiceLineInputSchema = z.object({ arch: z.string().optional().nullable(), toothNumber: z.string().optional().nullable(), toothSurface: z.string().optional().nullable(), + icn: z.string().optional().nullable(), + paidCode: z.string().optional().nullable(), + allowedAmount: z.number().optional().nullable(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/variants/input/ShoppingVendor.input.js b/packages/db/shared/schemas/variants/input/ShoppingVendor.input.js new file mode 100644 index 00000000..6291efc0 --- /dev/null +++ b/packages/db/shared/schemas/variants/input/ShoppingVendor.input.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.ShoppingVendorInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/TwilioSettings.input.js b/packages/db/shared/schemas/variants/input/TwilioSettings.input.js new file mode 100644 index 00000000..637e7d1c --- /dev/null +++ b/packages/db/shared/schemas/variants/input/TwilioSettings.input.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsInputSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.TwilioSettingsInputSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().optional().nullable(), + templates: z.unknown().optional().nullable(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/input/User.input.js b/packages/db/shared/schemas/variants/input/User.input.js index 71b5b4eb..534aeb94 100644 --- a/packages/db/shared/schemas/variants/input/User.input.js +++ b/packages/db/shared/schemas/variants/input/User.input.js @@ -41,18 +41,31 @@ exports.UserInputSchema = z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().optional().nullable(), + aiSettings: z.unknown().optional().nullable(), + officeHours: z.unknown().optional().nullable(), + officeContact: z.unknown().optional().nullable(), + procedureTimeslot: z.unknown().optional().nullable(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/input/index.js b/packages/db/shared/schemas/variants/input/index.js index 5d5305dd..8a77c9e1 100644 --- a/packages/db/shared/schemas/variants/input/index.js +++ b/packages/db/shared/schemas/variants/input/index.js @@ -4,13 +4,15 @@ * Auto-generated - do not edit manually */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.PatientDocumentInputSchema = exports.CommunicationInputSchema = exports.CloudFileChunkInputSchema = exports.CloudFileInputSchema = exports.CloudFolderInputSchema = exports.CronJobLogInputSchema = exports.NotificationInputSchema = exports.BackupDestinationInputSchema = exports.DatabaseBackupInputSchema = exports.ServiceLineTransactionInputSchema = exports.PaymentInputSchema = exports.PdfFileInputSchema = exports.PdfGroupInputSchema = exports.InsuranceCredentialInputSchema = exports.ClaimFileInputSchema = exports.ServiceLineInputSchema = exports.ClaimInputSchema = exports.AppointmentProcedureInputSchema = exports.NpiProviderInputSchema = exports.StaffInputSchema = exports.AppointmentInputSchema = exports.PatientInputSchema = exports.UserInputSchema = void 0; +exports.CommissionBatchItemInputSchema = exports.CommissionBatchInputSchema = exports.PatientConversationInputSchema = exports.ProcedureTimeslotInputSchema = exports.InsuranceContactInputSchema = exports.OfficeContactInputSchema = exports.OfficeHoursInputSchema = exports.AiSettingsInputSchema = exports.TwilioSettingsInputSchema = exports.PatientDocumentInputSchema = exports.CommunicationInputSchema = exports.CloudFileChunkInputSchema = exports.CloudFileInputSchema = exports.CloudFolderInputSchema = exports.CronJobLogInputSchema = exports.NotificationInputSchema = exports.BackupDestinationInputSchema = exports.DatabaseBackupInputSchema = exports.ServiceLineTransactionInputSchema = exports.PaymentInputSchema = exports.PdfFileInputSchema = exports.PdfGroupInputSchema = exports.ShoppingVendorInputSchema = exports.InsuranceCredentialInputSchema = exports.ClaimFileInputSchema = exports.ServiceLineInputSchema = exports.ClaimInputSchema = exports.AppointmentProcedureInputSchema = exports.NpiProviderInputSchema = exports.StaffInputSchema = exports.AppointmentFileInputSchema = exports.AppointmentInputSchema = exports.PatientInputSchema = exports.UserInputSchema = void 0; var User_input_1 = require("./User.input"); Object.defineProperty(exports, "UserInputSchema", { enumerable: true, get: function () { return User_input_1.UserInputSchema; } }); var Patient_input_1 = require("./Patient.input"); Object.defineProperty(exports, "PatientInputSchema", { enumerable: true, get: function () { return Patient_input_1.PatientInputSchema; } }); var Appointment_input_1 = require("./Appointment.input"); Object.defineProperty(exports, "AppointmentInputSchema", { enumerable: true, get: function () { return Appointment_input_1.AppointmentInputSchema; } }); +var AppointmentFile_input_1 = require("./AppointmentFile.input"); +Object.defineProperty(exports, "AppointmentFileInputSchema", { enumerable: true, get: function () { return AppointmentFile_input_1.AppointmentFileInputSchema; } }); var Staff_input_1 = require("./Staff.input"); Object.defineProperty(exports, "StaffInputSchema", { enumerable: true, get: function () { return Staff_input_1.StaffInputSchema; } }); var NpiProvider_input_1 = require("./NpiProvider.input"); @@ -25,6 +27,8 @@ var ClaimFile_input_1 = require("./ClaimFile.input"); Object.defineProperty(exports, "ClaimFileInputSchema", { enumerable: true, get: function () { return ClaimFile_input_1.ClaimFileInputSchema; } }); var InsuranceCredential_input_1 = require("./InsuranceCredential.input"); Object.defineProperty(exports, "InsuranceCredentialInputSchema", { enumerable: true, get: function () { return InsuranceCredential_input_1.InsuranceCredentialInputSchema; } }); +var ShoppingVendor_input_1 = require("./ShoppingVendor.input"); +Object.defineProperty(exports, "ShoppingVendorInputSchema", { enumerable: true, get: function () { return ShoppingVendor_input_1.ShoppingVendorInputSchema; } }); var PdfGroup_input_1 = require("./PdfGroup.input"); Object.defineProperty(exports, "PdfGroupInputSchema", { enumerable: true, get: function () { return PdfGroup_input_1.PdfGroupInputSchema; } }); var PdfFile_input_1 = require("./PdfFile.input"); @@ -51,3 +55,21 @@ var Communication_input_1 = require("./Communication.input"); Object.defineProperty(exports, "CommunicationInputSchema", { enumerable: true, get: function () { return Communication_input_1.CommunicationInputSchema; } }); var PatientDocument_input_1 = require("./PatientDocument.input"); Object.defineProperty(exports, "PatientDocumentInputSchema", { enumerable: true, get: function () { return PatientDocument_input_1.PatientDocumentInputSchema; } }); +var TwilioSettings_input_1 = require("./TwilioSettings.input"); +Object.defineProperty(exports, "TwilioSettingsInputSchema", { enumerable: true, get: function () { return TwilioSettings_input_1.TwilioSettingsInputSchema; } }); +var AiSettings_input_1 = require("./AiSettings.input"); +Object.defineProperty(exports, "AiSettingsInputSchema", { enumerable: true, get: function () { return AiSettings_input_1.AiSettingsInputSchema; } }); +var OfficeHours_input_1 = require("./OfficeHours.input"); +Object.defineProperty(exports, "OfficeHoursInputSchema", { enumerable: true, get: function () { return OfficeHours_input_1.OfficeHoursInputSchema; } }); +var OfficeContact_input_1 = require("./OfficeContact.input"); +Object.defineProperty(exports, "OfficeContactInputSchema", { enumerable: true, get: function () { return OfficeContact_input_1.OfficeContactInputSchema; } }); +var InsuranceContact_input_1 = require("./InsuranceContact.input"); +Object.defineProperty(exports, "InsuranceContactInputSchema", { enumerable: true, get: function () { return InsuranceContact_input_1.InsuranceContactInputSchema; } }); +var ProcedureTimeslot_input_1 = require("./ProcedureTimeslot.input"); +Object.defineProperty(exports, "ProcedureTimeslotInputSchema", { enumerable: true, get: function () { return ProcedureTimeslot_input_1.ProcedureTimeslotInputSchema; } }); +var PatientConversation_input_1 = require("./PatientConversation.input"); +Object.defineProperty(exports, "PatientConversationInputSchema", { enumerable: true, get: function () { return PatientConversation_input_1.PatientConversationInputSchema; } }); +var CommissionBatch_input_1 = require("./CommissionBatch.input"); +Object.defineProperty(exports, "CommissionBatchInputSchema", { enumerable: true, get: function () { return CommissionBatch_input_1.CommissionBatchInputSchema; } }); +var CommissionBatchItem_input_1 = require("./CommissionBatchItem.input"); +Object.defineProperty(exports, "CommissionBatchItemInputSchema", { enumerable: true, get: function () { return CommissionBatchItem_input_1.CommissionBatchItemInputSchema; } }); diff --git a/packages/db/shared/schemas/variants/pure/AiSettings.pure.js b/packages/db/shared/schemas/variants/pure/AiSettings.pure.js new file mode 100644 index 00000000..2299c150 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/AiSettings.pure.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.AiSettingsModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/Appointment.pure.js b/packages/db/shared/schemas/variants/pure/Appointment.pure.js index 9a43b49d..3efe74d9 100644 --- a/packages/db/shared/schemas/variants/pure/Appointment.pure.js +++ b/packages/db/shared/schemas/variants/pure/Appointment.pure.js @@ -47,14 +47,17 @@ exports.AppointmentModelSchema = z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().nullable(), procedureCodeNotes: z.string().nullable(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema, patient: z.unknown(), user: z.unknown(), staff: z.unknown().nullable(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/pure/AppointmentFile.pure.js b/packages/db/shared/schemas/variants/pure/AppointmentFile.pure.js new file mode 100644 index 00000000..2cd8ec44 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/AppointmentFile.pure.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.AppointmentFileModelSchema = z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().nullable(), + filePath: z.string().nullable(), + appointment: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/Claim.pure.js b/packages/db/shared/schemas/variants/pure/Claim.pure.js index 0145fac2..85242142 100644 --- a/packages/db/shared/schemas/variants/pure/Claim.pure.js +++ b/packages/db/shared/schemas/variants/pure/Claim.pure.js @@ -41,7 +41,7 @@ const ClaimStatus_schema_1 = require("../../enums/ClaimStatus.schema"); exports.ClaimModelSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -56,9 +56,10 @@ exports.ClaimModelSchema = z.object({ updatedAt: z.date(), status: ClaimStatus_schema_1.ClaimStatusSchema, claimNumber: z.string().nullable(), + preAuthNumber: z.string().nullable(), npiProviderId: z.number().int().nullable(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().nullable(), user: z.unknown().nullable(), staff: z.unknown().nullable(), npiProvider: z.unknown().nullable(), diff --git a/packages/db/shared/schemas/variants/pure/Claim.pure.ts b/packages/db/shared/schemas/variants/pure/Claim.pure.ts index 233a8c22..e4014a26 100644 --- a/packages/db/shared/schemas/variants/pure/Claim.pure.ts +++ b/packages/db/shared/schemas/variants/pure/Claim.pure.ts @@ -5,7 +5,7 @@ import { ClaimStatusSchema } from '../../enums/ClaimStatus.schema'; export const ClaimModelSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int().nullable(), + appointmentId: z.number().int().int().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/variants/pure/CloudFolder.pure.js b/packages/db/shared/schemas/variants/pure/CloudFolder.pure.js index cfca0e21..b1c3d87f 100644 --- a/packages/db/shared/schemas/variants/pure/CloudFolder.pure.js +++ b/packages/db/shared/schemas/variants/pure/CloudFolder.pure.js @@ -41,9 +41,11 @@ exports.CloudFolderModelSchema = z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().nullable(), + patientId: z.number().int().nullable(), parent: z.unknown().nullable(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().nullable(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/variants/pure/CommissionBatch.pure.js b/packages/db/shared/schemas/variants/pure/CommissionBatch.pure.js new file mode 100644 index 00000000..12eeb4af --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/CommissionBatch.pure.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.CommissionBatchModelSchema = z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().nullable(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/CommissionBatchItem.pure.js b/packages/db/shared/schemas/variants/pure/CommissionBatchItem.pure.js new file mode 100644 index 00000000..ef3c1284 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/CommissionBatchItem.pure.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.CommissionBatchItemModelSchema = z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/InsuranceContact.pure.js b/packages/db/shared/schemas/variants/pure/InsuranceContact.pure.js new file mode 100644 index 00000000..03f2625f --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/InsuranceContact.pure.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.InsuranceContactModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().nullable(), + createdAt: z.date(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/NpiProvider.pure.js b/packages/db/shared/schemas/variants/pure/NpiProvider.pure.js index 130e98c4..8f5adf7a 100644 --- a/packages/db/shared/schemas/variants/pure/NpiProvider.pure.js +++ b/packages/db/shared/schemas/variants/pure/NpiProvider.pure.js @@ -41,8 +41,11 @@ exports.NpiProviderModelSchema = z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/pure/OfficeContact.pure.js b/packages/db/shared/schemas/variants/pure/OfficeContact.pure.js new file mode 100644 index 00000000..c7a2b518 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/OfficeContact.pure.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.OfficeContactModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().nullable(), + receptionistName: z.string().nullable(), + dentistName: z.string().nullable(), + phoneNumber: z.string().nullable(), + email: z.string().nullable(), + fax: z.string().nullable(), + streetAddress: z.string().nullable(), + city: z.string().nullable(), + state: z.string().nullable(), + zipCode: z.string().nullable(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/OfficeHours.pure.js b/packages/db/shared/schemas/variants/pure/OfficeHours.pure.js new file mode 100644 index 00000000..e8d56e0d --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/OfficeHours.pure.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.OfficeHoursModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/Patient.pure.js b/packages/db/shared/schemas/variants/pure/Patient.pure.js index d9c3a3b8..7446af2d 100644 --- a/packages/db/shared/schemas/variants/pure/Patient.pure.js +++ b/packages/db/shared/schemas/variants/pure/Patient.pure.js @@ -54,9 +54,11 @@ exports.PatientModelSchema = z.object({ policyHolder: z.string().nullable(), allergies: z.string().nullable(), medicalConditions: z.string().nullable(), + preferredLanguage: z.string().nullable(), status: PatientStatus_schema_1.PatientStatusSchema, userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -64,5 +66,7 @@ exports.PatientModelSchema = z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().nullable(), + cloudFolders: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/pure/PatientConversation.pure.js b/packages/db/shared/schemas/variants/pure/PatientConversation.pure.js new file mode 100644 index 00000000..032ef1c6 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/PatientConversation.pure.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.PatientConversationModelSchema = z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/Payment.pure.js b/packages/db/shared/schemas/variants/pure/Payment.pure.js index 08ec4deb..d91ae555 100644 --- a/packages/db/shared/schemas/variants/pure/Payment.pure.js +++ b/packages/db/shared/schemas/variants/pure/Payment.pure.js @@ -43,10 +43,14 @@ exports.PaymentModelSchema = z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().nullable(), + copayment: z.number(), + adjustment: z.number(), status: PaymentStatus_schema_1.PaymentStatusSchema, notes: z.string().nullable(), icn: z.string().nullable(), @@ -55,6 +59,8 @@ exports.PaymentModelSchema = z.object({ claim: z.unknown().nullable(), patient: z.unknown(), updatedBy: z.unknown().nullable(), + npiProvider: z.unknown().nullable(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/pure/ProcedureTimeslot.pure.js b/packages/db/shared/schemas/variants/pure/ProcedureTimeslot.pure.js new file mode 100644 index 00000000..4862f33f --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/ProcedureTimeslot.pure.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.ProcedureTimeslotModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/ServiceLine.pure.js b/packages/db/shared/schemas/variants/pure/ServiceLine.pure.js index 038709a5..86b8b363 100644 --- a/packages/db/shared/schemas/variants/pure/ServiceLine.pure.js +++ b/packages/db/shared/schemas/variants/pure/ServiceLine.pure.js @@ -47,6 +47,9 @@ exports.ServiceLineModelSchema = z.object({ arch: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), + icn: z.string().nullable(), + paidCode: z.string().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/variants/pure/ShoppingVendor.pure.js b/packages/db/shared/schemas/variants/pure/ShoppingVendor.pure.js new file mode 100644 index 00000000..7772a753 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/ShoppingVendor.pure.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.ShoppingVendorModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/TwilioSettings.pure.js b/packages/db/shared/schemas/variants/pure/TwilioSettings.pure.js new file mode 100644 index 00000000..2ec2e370 --- /dev/null +++ b/packages/db/shared/schemas/variants/pure/TwilioSettings.pure.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsModelSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.TwilioSettingsModelSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().nullable(), + templates: z.unknown().nullable(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/pure/User.pure.js b/packages/db/shared/schemas/variants/pure/User.pure.js index 5cc174da..9016197a 100644 --- a/packages/db/shared/schemas/variants/pure/User.pure.js +++ b/packages/db/shared/schemas/variants/pure/User.pure.js @@ -41,18 +41,31 @@ exports.UserModelSchema = z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().nullable(), + aiSettings: z.unknown().nullable(), + officeHours: z.unknown().nullable(), + officeContact: z.unknown().nullable(), + procedureTimeslot: z.unknown().nullable(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/pure/index.js b/packages/db/shared/schemas/variants/pure/index.js index f63d2dfa..63b5dc86 100644 --- a/packages/db/shared/schemas/variants/pure/index.js +++ b/packages/db/shared/schemas/variants/pure/index.js @@ -4,13 +4,15 @@ * Auto-generated - do not edit manually */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.PatientDocumentModelSchema = exports.CommunicationModelSchema = exports.CloudFileChunkModelSchema = exports.CloudFileModelSchema = exports.CloudFolderModelSchema = exports.CronJobLogModelSchema = exports.NotificationModelSchema = exports.BackupDestinationModelSchema = exports.DatabaseBackupModelSchema = exports.ServiceLineTransactionModelSchema = exports.PaymentModelSchema = exports.PdfFileModelSchema = exports.PdfGroupModelSchema = exports.InsuranceCredentialModelSchema = exports.ClaimFileModelSchema = exports.ServiceLineModelSchema = exports.ClaimModelSchema = exports.AppointmentProcedureModelSchema = exports.NpiProviderModelSchema = exports.StaffModelSchema = exports.AppointmentModelSchema = exports.PatientModelSchema = exports.UserModelSchema = void 0; +exports.CommissionBatchItemModelSchema = exports.CommissionBatchModelSchema = exports.PatientConversationModelSchema = exports.ProcedureTimeslotModelSchema = exports.InsuranceContactModelSchema = exports.OfficeContactModelSchema = exports.OfficeHoursModelSchema = exports.AiSettingsModelSchema = exports.TwilioSettingsModelSchema = exports.PatientDocumentModelSchema = exports.CommunicationModelSchema = exports.CloudFileChunkModelSchema = exports.CloudFileModelSchema = exports.CloudFolderModelSchema = exports.CronJobLogModelSchema = exports.NotificationModelSchema = exports.BackupDestinationModelSchema = exports.DatabaseBackupModelSchema = exports.ServiceLineTransactionModelSchema = exports.PaymentModelSchema = exports.PdfFileModelSchema = exports.PdfGroupModelSchema = exports.ShoppingVendorModelSchema = exports.InsuranceCredentialModelSchema = exports.ClaimFileModelSchema = exports.ServiceLineModelSchema = exports.ClaimModelSchema = exports.AppointmentProcedureModelSchema = exports.NpiProviderModelSchema = exports.StaffModelSchema = exports.AppointmentFileModelSchema = exports.AppointmentModelSchema = exports.PatientModelSchema = exports.UserModelSchema = void 0; var User_pure_1 = require("./User.pure"); Object.defineProperty(exports, "UserModelSchema", { enumerable: true, get: function () { return User_pure_1.UserModelSchema; } }); var Patient_pure_1 = require("./Patient.pure"); Object.defineProperty(exports, "PatientModelSchema", { enumerable: true, get: function () { return Patient_pure_1.PatientModelSchema; } }); var Appointment_pure_1 = require("./Appointment.pure"); Object.defineProperty(exports, "AppointmentModelSchema", { enumerable: true, get: function () { return Appointment_pure_1.AppointmentModelSchema; } }); +var AppointmentFile_pure_1 = require("./AppointmentFile.pure"); +Object.defineProperty(exports, "AppointmentFileModelSchema", { enumerable: true, get: function () { return AppointmentFile_pure_1.AppointmentFileModelSchema; } }); var Staff_pure_1 = require("./Staff.pure"); Object.defineProperty(exports, "StaffModelSchema", { enumerable: true, get: function () { return Staff_pure_1.StaffModelSchema; } }); var NpiProvider_pure_1 = require("./NpiProvider.pure"); @@ -25,6 +27,8 @@ var ClaimFile_pure_1 = require("./ClaimFile.pure"); Object.defineProperty(exports, "ClaimFileModelSchema", { enumerable: true, get: function () { return ClaimFile_pure_1.ClaimFileModelSchema; } }); var InsuranceCredential_pure_1 = require("./InsuranceCredential.pure"); Object.defineProperty(exports, "InsuranceCredentialModelSchema", { enumerable: true, get: function () { return InsuranceCredential_pure_1.InsuranceCredentialModelSchema; } }); +var ShoppingVendor_pure_1 = require("./ShoppingVendor.pure"); +Object.defineProperty(exports, "ShoppingVendorModelSchema", { enumerable: true, get: function () { return ShoppingVendor_pure_1.ShoppingVendorModelSchema; } }); var PdfGroup_pure_1 = require("./PdfGroup.pure"); Object.defineProperty(exports, "PdfGroupModelSchema", { enumerable: true, get: function () { return PdfGroup_pure_1.PdfGroupModelSchema; } }); var PdfFile_pure_1 = require("./PdfFile.pure"); @@ -51,3 +55,21 @@ var Communication_pure_1 = require("./Communication.pure"); Object.defineProperty(exports, "CommunicationModelSchema", { enumerable: true, get: function () { return Communication_pure_1.CommunicationModelSchema; } }); var PatientDocument_pure_1 = require("./PatientDocument.pure"); Object.defineProperty(exports, "PatientDocumentModelSchema", { enumerable: true, get: function () { return PatientDocument_pure_1.PatientDocumentModelSchema; } }); +var TwilioSettings_pure_1 = require("./TwilioSettings.pure"); +Object.defineProperty(exports, "TwilioSettingsModelSchema", { enumerable: true, get: function () { return TwilioSettings_pure_1.TwilioSettingsModelSchema; } }); +var AiSettings_pure_1 = require("./AiSettings.pure"); +Object.defineProperty(exports, "AiSettingsModelSchema", { enumerable: true, get: function () { return AiSettings_pure_1.AiSettingsModelSchema; } }); +var OfficeHours_pure_1 = require("./OfficeHours.pure"); +Object.defineProperty(exports, "OfficeHoursModelSchema", { enumerable: true, get: function () { return OfficeHours_pure_1.OfficeHoursModelSchema; } }); +var OfficeContact_pure_1 = require("./OfficeContact.pure"); +Object.defineProperty(exports, "OfficeContactModelSchema", { enumerable: true, get: function () { return OfficeContact_pure_1.OfficeContactModelSchema; } }); +var InsuranceContact_pure_1 = require("./InsuranceContact.pure"); +Object.defineProperty(exports, "InsuranceContactModelSchema", { enumerable: true, get: function () { return InsuranceContact_pure_1.InsuranceContactModelSchema; } }); +var ProcedureTimeslot_pure_1 = require("./ProcedureTimeslot.pure"); +Object.defineProperty(exports, "ProcedureTimeslotModelSchema", { enumerable: true, get: function () { return ProcedureTimeslot_pure_1.ProcedureTimeslotModelSchema; } }); +var PatientConversation_pure_1 = require("./PatientConversation.pure"); +Object.defineProperty(exports, "PatientConversationModelSchema", { enumerable: true, get: function () { return PatientConversation_pure_1.PatientConversationModelSchema; } }); +var CommissionBatch_pure_1 = require("./CommissionBatch.pure"); +Object.defineProperty(exports, "CommissionBatchModelSchema", { enumerable: true, get: function () { return CommissionBatch_pure_1.CommissionBatchModelSchema; } }); +var CommissionBatchItem_pure_1 = require("./CommissionBatchItem.pure"); +Object.defineProperty(exports, "CommissionBatchItemModelSchema", { enumerable: true, get: function () { return CommissionBatchItem_pure_1.CommissionBatchItemModelSchema; } }); diff --git a/packages/db/shared/schemas/variants/result/AiSettings.result.js b/packages/db/shared/schemas/variants/result/AiSettings.result.js new file mode 100644 index 00000000..4fef9e6f --- /dev/null +++ b/packages/db/shared/schemas/variants/result/AiSettings.result.js @@ -0,0 +1,56 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AiSettingsResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.AiSettingsResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + apiKey: z.string(), + aiEnabled: z.boolean(), + openAiKey: z.string(), + openAiEnabled: z.boolean(), + claudeAiKey: z.string(), + claudeAiEnabled: z.boolean(), + claudeAiModel: z.string(), + openAiModel: z.string(), + googleAiModel: z.string(), + dentalMgmtKey: z.string(), + dentalMgmtEnabled: z.boolean(), + afterHoursEnabled: z.boolean(), + openPhoneReply: z.boolean(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/Appointment.result.js b/packages/db/shared/schemas/variants/result/Appointment.result.js index 1ff25408..cf3ef2fc 100644 --- a/packages/db/shared/schemas/variants/result/Appointment.result.js +++ b/packages/db/shared/schemas/variants/result/Appointment.result.js @@ -47,14 +47,17 @@ exports.AppointmentResultSchema = z.object({ startTime: z.string(), endTime: z.string(), type: z.string(), + typeLocked: z.boolean(), notes: z.string().nullable(), procedureCodeNotes: z.string().nullable(), status: z.string(), + movedByAi: z.boolean(), createdAt: z.date(), eligibilityStatus: PatientStatus_schema_1.PatientStatusSchema, patient: z.unknown(), user: z.unknown(), staff: z.unknown().nullable(), procedures: z.array(z.unknown()), - claims: z.array(z.unknown()) + claims: z.array(z.unknown()), + files: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/result/AppointmentFile.result.js b/packages/db/shared/schemas/variants/result/AppointmentFile.result.js new file mode 100644 index 00000000..4d268624 --- /dev/null +++ b/packages/db/shared/schemas/variants/result/AppointmentFile.result.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.AppointmentFileResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.AppointmentFileResultSchema = z.object({ + id: z.number().int(), + appointmentId: z.number().int(), + filename: z.string(), + mimeType: z.string().nullable(), + filePath: z.string().nullable(), + appointment: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/Claim.result.js b/packages/db/shared/schemas/variants/result/Claim.result.js index 78444ab9..4a44614b 100644 --- a/packages/db/shared/schemas/variants/result/Claim.result.js +++ b/packages/db/shared/schemas/variants/result/Claim.result.js @@ -41,7 +41,7 @@ const ClaimStatus_schema_1 = require("../../enums/ClaimStatus.schema"); exports.ClaimResultSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int(), + appointmentId: z.number().int().int().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), @@ -56,9 +56,10 @@ exports.ClaimResultSchema = z.object({ updatedAt: z.date(), status: ClaimStatus_schema_1.ClaimStatusSchema, claimNumber: z.string().nullable(), + preAuthNumber: z.string().nullable(), npiProviderId: z.number().int().nullable(), patient: z.unknown(), - appointment: z.unknown(), + appointment: z.unknown().nullable(), user: z.unknown().nullable(), staff: z.unknown().nullable(), npiProvider: z.unknown().nullable(), diff --git a/packages/db/shared/schemas/variants/result/Claim.result.ts b/packages/db/shared/schemas/variants/result/Claim.result.ts index df2ae8ba..94996b92 100644 --- a/packages/db/shared/schemas/variants/result/Claim.result.ts +++ b/packages/db/shared/schemas/variants/result/Claim.result.ts @@ -5,7 +5,7 @@ import { ClaimStatusSchema } from '../../enums/ClaimStatus.schema'; export const ClaimResultSchema = z.object({ id: z.number().int(), patientId: z.number().int(), - appointmentId: z.number().int().nullable(), + appointmentId: z.number().int().int().nullable(), userId: z.number().int(), staffId: z.number().int(), patientName: z.string(), diff --git a/packages/db/shared/schemas/variants/result/CloudFolder.result.js b/packages/db/shared/schemas/variants/result/CloudFolder.result.js index fe9a958d..bbfd2164 100644 --- a/packages/db/shared/schemas/variants/result/CloudFolder.result.js +++ b/packages/db/shared/schemas/variants/result/CloudFolder.result.js @@ -41,9 +41,11 @@ exports.CloudFolderResultSchema = z.object({ userId: z.number().int(), name: z.string(), parentId: z.number().int().nullable(), + patientId: z.number().int().nullable(), parent: z.unknown().nullable(), children: z.array(z.unknown()), user: z.unknown(), + patient: z.unknown().nullable(), files: z.array(z.unknown()), createdAt: z.date(), updatedAt: z.date() diff --git a/packages/db/shared/schemas/variants/result/CommissionBatch.result.js b/packages/db/shared/schemas/variants/result/CommissionBatch.result.js new file mode 100644 index 00000000..cc543dec --- /dev/null +++ b/packages/db/shared/schemas/variants/result/CommissionBatch.result.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.CommissionBatchResultSchema = z.object({ + id: z.number().int(), + npiProviderId: z.number().int(), + totalCollection: z.number(), + commissionAmount: z.number(), + notes: z.string().nullable(), + createdAt: z.date(), + npiProvider: z.unknown(), + items: z.array(z.unknown()) +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/CommissionBatchItem.result.js b/packages/db/shared/schemas/variants/result/CommissionBatchItem.result.js new file mode 100644 index 00000000..3df01bdf --- /dev/null +++ b/packages/db/shared/schemas/variants/result/CommissionBatchItem.result.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CommissionBatchItemResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.CommissionBatchItemResultSchema = z.object({ + id: z.number().int(), + commissionBatchId: z.number().int(), + paymentId: z.number().int(), + collectionAmount: z.number(), + commissionBatch: z.unknown(), + payment: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/InsuranceContact.result.js b/packages/db/shared/schemas/variants/result/InsuranceContact.result.js new file mode 100644 index 00000000..73a79430 --- /dev/null +++ b/packages/db/shared/schemas/variants/result/InsuranceContact.result.js @@ -0,0 +1,46 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.InsuranceContactResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.InsuranceContactResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + name: z.string(), + phoneNumber: z.string().nullable(), + createdAt: z.date(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/NpiProvider.result.js b/packages/db/shared/schemas/variants/result/NpiProvider.result.js index 24901222..c6f6a911 100644 --- a/packages/db/shared/schemas/variants/result/NpiProvider.result.js +++ b/packages/db/shared/schemas/variants/result/NpiProvider.result.js @@ -41,8 +41,11 @@ exports.NpiProviderResultSchema = z.object({ userId: z.number().int(), npiNumber: z.string(), providerName: z.string(), + sortOrder: z.number().int(), createdAt: z.date(), user: z.unknown(), claims: z.array(z.unknown()), + payments: z.array(z.unknown()), + commissionBatches: z.array(z.unknown()), appointmentProcedures: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/result/OfficeContact.result.js b/packages/db/shared/schemas/variants/result/OfficeContact.result.js new file mode 100644 index 00000000..87c8a72f --- /dev/null +++ b/packages/db/shared/schemas/variants/result/OfficeContact.result.js @@ -0,0 +1,53 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeContactResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.OfficeContactResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + officeName: z.string().nullable(), + receptionistName: z.string().nullable(), + dentistName: z.string().nullable(), + phoneNumber: z.string().nullable(), + email: z.string().nullable(), + fax: z.string().nullable(), + streetAddress: z.string().nullable(), + city: z.string().nullable(), + state: z.string().nullable(), + zipCode: z.string().nullable(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/OfficeHours.result.js b/packages/db/shared/schemas/variants/result/OfficeHours.result.js new file mode 100644 index 00000000..c7845092 --- /dev/null +++ b/packages/db/shared/schemas/variants/result/OfficeHours.result.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OfficeHoursResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.OfficeHoursResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/Patient.result.js b/packages/db/shared/schemas/variants/result/Patient.result.js index 27fd47f3..de70e577 100644 --- a/packages/db/shared/schemas/variants/result/Patient.result.js +++ b/packages/db/shared/schemas/variants/result/Patient.result.js @@ -54,9 +54,11 @@ exports.PatientResultSchema = z.object({ policyHolder: z.string().nullable(), allergies: z.string().nullable(), medicalConditions: z.string().nullable(), + preferredLanguage: z.string().nullable(), status: PatientStatus_schema_1.PatientStatusSchema, userId: z.number().int(), createdAt: z.date(), + updatedAt: z.date(), user: z.unknown(), appointments: z.array(z.unknown()), procedures: z.array(z.unknown()), @@ -64,5 +66,7 @@ exports.PatientResultSchema = z.object({ groups: z.array(z.unknown()), payment: z.array(z.unknown()), communications: z.array(z.unknown()), - documents: z.array(z.unknown()) + documents: z.array(z.unknown()), + conversation: z.unknown().nullable(), + cloudFolders: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/result/PatientConversation.result.js b/packages/db/shared/schemas/variants/result/PatientConversation.result.js new file mode 100644 index 00000000..4ae3ab59 --- /dev/null +++ b/packages/db/shared/schemas/variants/result/PatientConversation.result.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PatientConversationResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.PatientConversationResultSchema = z.object({ + id: z.number().int(), + patientId: z.number().int(), + userId: z.number().int(), + stage: z.string(), + aiHandoff: z.boolean(), + updatedAt: z.date(), + patient: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/Payment.result.js b/packages/db/shared/schemas/variants/result/Payment.result.js index 2261004e..b12568ef 100644 --- a/packages/db/shared/schemas/variants/result/Payment.result.js +++ b/packages/db/shared/schemas/variants/result/Payment.result.js @@ -43,10 +43,14 @@ exports.PaymentResultSchema = z.object({ patientId: z.number().int(), userId: z.number().int(), updatedById: z.number().int().nullable(), + npiProviderId: z.number().int().nullable(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), totalDue: z.number(), + mhPaidAmount: z.number().nullable(), + copayment: z.number(), + adjustment: z.number(), status: PaymentStatus_schema_1.PaymentStatusSchema, notes: z.string().nullable(), icn: z.string().nullable(), @@ -55,6 +59,8 @@ exports.PaymentResultSchema = z.object({ claim: z.unknown().nullable(), patient: z.unknown(), updatedBy: z.unknown().nullable(), + npiProvider: z.unknown().nullable(), serviceLineTransactions: z.array(z.unknown()), - serviceLines: z.array(z.unknown()) + serviceLines: z.array(z.unknown()), + commissionBatchItems: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/result/ProcedureTimeslot.result.js b/packages/db/shared/schemas/variants/result/ProcedureTimeslot.result.js new file mode 100644 index 00000000..60b27d80 --- /dev/null +++ b/packages/db/shared/schemas/variants/result/ProcedureTimeslot.result.js @@ -0,0 +1,44 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProcedureTimeslotResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.ProcedureTimeslotResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + data: z.unknown(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/ServiceLine.result.js b/packages/db/shared/schemas/variants/result/ServiceLine.result.js index 0d1930bc..2f310464 100644 --- a/packages/db/shared/schemas/variants/result/ServiceLine.result.js +++ b/packages/db/shared/schemas/variants/result/ServiceLine.result.js @@ -47,6 +47,9 @@ exports.ServiceLineResultSchema = z.object({ arch: z.string().nullable(), toothNumber: z.string().nullable(), toothSurface: z.string().nullable(), + icn: z.string().nullable(), + paidCode: z.string().nullable(), + allowedAmount: z.number().nullable(), totalBilled: z.number(), totalPaid: z.number(), totalAdjusted: z.number(), diff --git a/packages/db/shared/schemas/variants/result/ShoppingVendor.result.js b/packages/db/shared/schemas/variants/result/ShoppingVendor.result.js new file mode 100644 index 00000000..2ed2eb4b --- /dev/null +++ b/packages/db/shared/schemas/variants/result/ShoppingVendor.result.js @@ -0,0 +1,47 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ShoppingVendorResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.ShoppingVendorResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/TwilioSettings.result.js b/packages/db/shared/schemas/variants/result/TwilioSettings.result.js new file mode 100644 index 00000000..673810e7 --- /dev/null +++ b/packages/db/shared/schemas/variants/result/TwilioSettings.result.js @@ -0,0 +1,48 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TwilioSettingsResultSchema = void 0; +const z = __importStar(require("zod")); +// prettier-ignore +exports.TwilioSettingsResultSchema = z.object({ + id: z.number().int(), + userId: z.number().int(), + accountSid: z.string(), + authToken: z.string(), + phoneNumber: z.string(), + greetingMessage: z.string().nullable(), + templates: z.unknown().nullable(), + user: z.unknown() +}).strict(); diff --git a/packages/db/shared/schemas/variants/result/User.result.js b/packages/db/shared/schemas/variants/result/User.result.js index e4978882..8be5ad43 100644 --- a/packages/db/shared/schemas/variants/result/User.result.js +++ b/packages/db/shared/schemas/variants/result/User.result.js @@ -41,18 +41,31 @@ exports.UserResultSchema = z.object({ username: z.string(), password: z.string(), autoBackupEnabled: z.boolean(), + autoBackupHour: z.number().int(), usbBackupEnabled: z.boolean(), + usbBackupHour: z.number().int(), + autoMhCheckEnabled: z.boolean(), + autoMhCheckDayOfWeek: z.number().int(), + autoMhCheckHour: z.number().int(), patients: z.array(z.unknown()), appointments: z.array(z.unknown()), staff: z.array(z.unknown()), npiProviders: z.array(z.unknown()), claims: z.array(z.unknown()), insuranceCredentials: z.array(z.unknown()), + shoppingVendors: z.array(z.unknown()), updatedPayments: z.array(z.unknown()), backups: z.array(z.unknown()), backupDestinations: z.array(z.unknown()), notifications: z.array(z.unknown()), cloudFolders: z.array(z.unknown()), cloudFiles: z.array(z.unknown()), - communications: z.array(z.unknown()) + communications: z.array(z.unknown()), + twilioSettings: z.unknown().nullable(), + aiSettings: z.unknown().nullable(), + officeHours: z.unknown().nullable(), + officeContact: z.unknown().nullable(), + procedureTimeslot: z.unknown().nullable(), + insuranceContacts: z.array(z.unknown()), + patientConversations: z.array(z.unknown()) }).strict(); diff --git a/packages/db/shared/schemas/variants/result/index.js b/packages/db/shared/schemas/variants/result/index.js index 0c413337..45beec5c 100644 --- a/packages/db/shared/schemas/variants/result/index.js +++ b/packages/db/shared/schemas/variants/result/index.js @@ -4,13 +4,15 @@ * Auto-generated - do not edit manually */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.PatientDocumentResultSchema = exports.CommunicationResultSchema = exports.CloudFileChunkResultSchema = exports.CloudFileResultSchema = exports.CloudFolderResultSchema = exports.CronJobLogResultSchema = exports.NotificationResultSchema = exports.BackupDestinationResultSchema = exports.DatabaseBackupResultSchema = exports.ServiceLineTransactionResultSchema = exports.PaymentResultSchema = exports.PdfFileResultSchema = exports.PdfGroupResultSchema = exports.InsuranceCredentialResultSchema = exports.ClaimFileResultSchema = exports.ServiceLineResultSchema = exports.ClaimResultSchema = exports.AppointmentProcedureResultSchema = exports.NpiProviderResultSchema = exports.StaffResultSchema = exports.AppointmentResultSchema = exports.PatientResultSchema = exports.UserResultSchema = void 0; +exports.CommissionBatchItemResultSchema = exports.CommissionBatchResultSchema = exports.PatientConversationResultSchema = exports.ProcedureTimeslotResultSchema = exports.InsuranceContactResultSchema = exports.OfficeContactResultSchema = exports.OfficeHoursResultSchema = exports.AiSettingsResultSchema = exports.TwilioSettingsResultSchema = exports.PatientDocumentResultSchema = exports.CommunicationResultSchema = exports.CloudFileChunkResultSchema = exports.CloudFileResultSchema = exports.CloudFolderResultSchema = exports.CronJobLogResultSchema = exports.NotificationResultSchema = exports.BackupDestinationResultSchema = exports.DatabaseBackupResultSchema = exports.ServiceLineTransactionResultSchema = exports.PaymentResultSchema = exports.PdfFileResultSchema = exports.PdfGroupResultSchema = exports.ShoppingVendorResultSchema = exports.InsuranceCredentialResultSchema = exports.ClaimFileResultSchema = exports.ServiceLineResultSchema = exports.ClaimResultSchema = exports.AppointmentProcedureResultSchema = exports.NpiProviderResultSchema = exports.StaffResultSchema = exports.AppointmentFileResultSchema = exports.AppointmentResultSchema = exports.PatientResultSchema = exports.UserResultSchema = void 0; var User_result_1 = require("./User.result"); Object.defineProperty(exports, "UserResultSchema", { enumerable: true, get: function () { return User_result_1.UserResultSchema; } }); var Patient_result_1 = require("./Patient.result"); Object.defineProperty(exports, "PatientResultSchema", { enumerable: true, get: function () { return Patient_result_1.PatientResultSchema; } }); var Appointment_result_1 = require("./Appointment.result"); Object.defineProperty(exports, "AppointmentResultSchema", { enumerable: true, get: function () { return Appointment_result_1.AppointmentResultSchema; } }); +var AppointmentFile_result_1 = require("./AppointmentFile.result"); +Object.defineProperty(exports, "AppointmentFileResultSchema", { enumerable: true, get: function () { return AppointmentFile_result_1.AppointmentFileResultSchema; } }); var Staff_result_1 = require("./Staff.result"); Object.defineProperty(exports, "StaffResultSchema", { enumerable: true, get: function () { return Staff_result_1.StaffResultSchema; } }); var NpiProvider_result_1 = require("./NpiProvider.result"); @@ -25,6 +27,8 @@ var ClaimFile_result_1 = require("./ClaimFile.result"); Object.defineProperty(exports, "ClaimFileResultSchema", { enumerable: true, get: function () { return ClaimFile_result_1.ClaimFileResultSchema; } }); var InsuranceCredential_result_1 = require("./InsuranceCredential.result"); Object.defineProperty(exports, "InsuranceCredentialResultSchema", { enumerable: true, get: function () { return InsuranceCredential_result_1.InsuranceCredentialResultSchema; } }); +var ShoppingVendor_result_1 = require("./ShoppingVendor.result"); +Object.defineProperty(exports, "ShoppingVendorResultSchema", { enumerable: true, get: function () { return ShoppingVendor_result_1.ShoppingVendorResultSchema; } }); var PdfGroup_result_1 = require("./PdfGroup.result"); Object.defineProperty(exports, "PdfGroupResultSchema", { enumerable: true, get: function () { return PdfGroup_result_1.PdfGroupResultSchema; } }); var PdfFile_result_1 = require("./PdfFile.result"); @@ -51,3 +55,21 @@ var Communication_result_1 = require("./Communication.result"); Object.defineProperty(exports, "CommunicationResultSchema", { enumerable: true, get: function () { return Communication_result_1.CommunicationResultSchema; } }); var PatientDocument_result_1 = require("./PatientDocument.result"); Object.defineProperty(exports, "PatientDocumentResultSchema", { enumerable: true, get: function () { return PatientDocument_result_1.PatientDocumentResultSchema; } }); +var TwilioSettings_result_1 = require("./TwilioSettings.result"); +Object.defineProperty(exports, "TwilioSettingsResultSchema", { enumerable: true, get: function () { return TwilioSettings_result_1.TwilioSettingsResultSchema; } }); +var AiSettings_result_1 = require("./AiSettings.result"); +Object.defineProperty(exports, "AiSettingsResultSchema", { enumerable: true, get: function () { return AiSettings_result_1.AiSettingsResultSchema; } }); +var OfficeHours_result_1 = require("./OfficeHours.result"); +Object.defineProperty(exports, "OfficeHoursResultSchema", { enumerable: true, get: function () { return OfficeHours_result_1.OfficeHoursResultSchema; } }); +var OfficeContact_result_1 = require("./OfficeContact.result"); +Object.defineProperty(exports, "OfficeContactResultSchema", { enumerable: true, get: function () { return OfficeContact_result_1.OfficeContactResultSchema; } }); +var InsuranceContact_result_1 = require("./InsuranceContact.result"); +Object.defineProperty(exports, "InsuranceContactResultSchema", { enumerable: true, get: function () { return InsuranceContact_result_1.InsuranceContactResultSchema; } }); +var ProcedureTimeslot_result_1 = require("./ProcedureTimeslot.result"); +Object.defineProperty(exports, "ProcedureTimeslotResultSchema", { enumerable: true, get: function () { return ProcedureTimeslot_result_1.ProcedureTimeslotResultSchema; } }); +var PatientConversation_result_1 = require("./PatientConversation.result"); +Object.defineProperty(exports, "PatientConversationResultSchema", { enumerable: true, get: function () { return PatientConversation_result_1.PatientConversationResultSchema; } }); +var CommissionBatch_result_1 = require("./CommissionBatch.result"); +Object.defineProperty(exports, "CommissionBatchResultSchema", { enumerable: true, get: function () { return CommissionBatch_result_1.CommissionBatchResultSchema; } }); +var CommissionBatchItem_result_1 = require("./CommissionBatchItem.result"); +Object.defineProperty(exports, "CommissionBatchItemResultSchema", { enumerable: true, get: function () { return CommissionBatchItem_result_1.CommissionBatchItemResultSchema; } }); diff --git a/packages/db/usedSchemas/browser.js b/packages/db/usedSchemas/browser.js index d3de3de4..ded1c92f 100644 --- a/packages/db/usedSchemas/browser.js +++ b/packages/db/usedSchemas/browser.js @@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.CommunicationUncheckedCreateInputObjectSchema = exports.CloudFileUncheckedCreateInputObjectSchema = exports.CloudFolderUncheckedCreateInputObjectSchema = exports.BackupDestinationUncheckedCreateInputObjectSchema = exports.DatabaseBackupUncheckedCreateInputObjectSchema = exports.NotificationUncheckedCreateInputObjectSchema = exports.ServiceLineTransactionCreateInputObjectSchema = exports.PaymentUncheckedCreateInputObjectSchema = exports.PdfGroupUncheckedCreateInputObjectSchema = exports.PdfFileUncheckedCreateInputObjectSchema = exports.InsuranceCredentialUncheckedCreateInputObjectSchema = exports.ClaimUncheckedCreateInputObjectSchema = exports.NpiProviderUncheckedCreateInputObjectSchema = exports.AppointmentProcedureUncheckedCreateInputObjectSchema = exports.AppointmentUncheckedCreateInputObjectSchema = exports.StaffUncheckedCreateInputObjectSchema = exports.PatientUncheckedCreateInputObjectSchema = exports.UserUncheckedCreateInputObjectSchema = exports.CommunicationStatusSchema = exports.CommunicationDirectionSchema = exports.CommunicationChannelSchema = exports.PdfTitleKeySchema = exports.ProcedureSourceSchema = exports.NotificationTypesSchema = exports.PaymentStatusSchema = exports.PaymentMethodSchema = exports.ClaimStatusSchema = exports.PatientStatusSchema = void 0; +exports.ShoppingVendorUncheckedCreateInputObjectSchema = exports.CommunicationUncheckedCreateInputObjectSchema = exports.CloudFileUncheckedCreateInputObjectSchema = exports.CloudFolderUncheckedCreateInputObjectSchema = exports.BackupDestinationUncheckedCreateInputObjectSchema = exports.DatabaseBackupUncheckedCreateInputObjectSchema = exports.NotificationUncheckedCreateInputObjectSchema = exports.ServiceLineTransactionCreateInputObjectSchema = exports.PaymentUncheckedCreateInputObjectSchema = exports.PdfGroupUncheckedCreateInputObjectSchema = exports.PdfFileUncheckedCreateInputObjectSchema = exports.InsuranceCredentialUncheckedCreateInputObjectSchema = exports.ClaimUncheckedCreateInputObjectSchema = exports.NpiProviderUncheckedCreateInputObjectSchema = exports.AppointmentProcedureUncheckedCreateInputObjectSchema = exports.AppointmentUncheckedCreateInputObjectSchema = exports.StaffUncheckedCreateInputObjectSchema = exports.PatientUncheckedCreateInputObjectSchema = exports.UserUncheckedCreateInputObjectSchema = exports.CommunicationStatusSchema = exports.CommunicationDirectionSchema = exports.CommunicationChannelSchema = exports.PdfTitleKeySchema = exports.ProcedureSourceSchema = exports.NotificationTypesSchema = exports.PaymentStatusSchema = exports.PaymentMethodSchema = exports.ClaimStatusSchema = exports.PatientStatusSchema = void 0; const z = __importStar(require("zod")); // ─── Enums ──────────────────────────────────────────────────────────────────── exports.PatientStatusSchema = z.enum(["ACTIVE", "INACTIVE", "UNKNOWN"]); @@ -250,3 +250,11 @@ exports.CommunicationUncheckedCreateInputObjectSchema = z.object({ twilioSid: z.string().optional().nullable(), createdAt: z.coerce.date().optional(), }); +exports.ShoppingVendorUncheckedCreateInputObjectSchema = z.object({ + id: z.number().int().optional(), + userId: z.number().int(), + vendorName: z.string(), + websiteUrl: z.string(), + loginUsername: z.string(), + loginPassword: z.string(), +}); diff --git a/packages/db/usedSchemas/index.js b/packages/db/usedSchemas/index.js index 05ee8c39..6a76805c 100644 --- a/packages/db/usedSchemas/index.js +++ b/packages/db/usedSchemas/index.js @@ -38,3 +38,4 @@ __exportStar(require("../shared/schemas/objects/BackupDestinationUncheckedCreate __exportStar(require("../shared/schemas/objects/CloudFolderUncheckedCreateInput.schema"), exports); __exportStar(require("../shared/schemas/objects/CloudFileUncheckedCreateInput.schema"), exports); __exportStar(require("../shared/schemas/objects/CommunicationUncheckedCreateInput.schema"), exports); +__exportStar(require("../shared/schemas/objects/ShoppingVendorUncheckedCreateInput.schema"), exports);