@factor-wise/prisma-schema 2.0.113 → 2.0.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factor-wise/prisma-schema",
3
- "version": "2.0.113",
3
+ "version": "2.0.115",
4
4
  "description": "Shared Prisma schema and generated client for Factor Wise projects",
5
5
  "main": "generated/client/index.js",
6
6
  "types": "generated/client/index.d.ts",
@@ -709,7 +709,7 @@ model customer {
709
709
  finb_logs finb_logs[]
710
710
  face_comparison face_comparison[]
711
711
  preoffer preoffer[]
712
- customer_extended customer_extended?
712
+ customer_extended customer_extended[]
713
713
  criffsoftpull criffsoftpull[]
714
714
  credforge_bre_log credforge_bre_log[]
715
715
  sms customer_sms[]
@@ -758,7 +758,7 @@ model customer {
758
758
 
759
759
  model customer_extended {
760
760
  id Int @id @default(autoincrement())
761
- customerID Int @unique
761
+ customerID Int
762
762
  isBtCase Boolean @default(false)
763
763
  attempts Int? @default(0)
764
764
  lastAttempt DateTime?
@@ -1417,7 +1417,6 @@ model leads {
1417
1417
  icici_payout icici_payout[]
1418
1418
  face_comparison face_comparison[]
1419
1419
  credforge_bre_log credforge_bre_log[]
1420
- aiCallBatches ai_call_batches[]
1421
1420
  aiCallLogs ai_call_logs[]
1422
1421
 
1423
1422
  @@index([customerID], map: "idx_customerID")
@@ -3729,7 +3728,6 @@ model customer_notifications {
3729
3728
 
3730
3729
  model ai_call_batches {
3731
3730
  id Int @id @default(autoincrement())
3732
- leadID Int
3733
3731
  batchId String @unique
3734
3732
  agent String?
3735
3733
  status String
@@ -3739,8 +3737,6 @@ model ai_call_batches {
3739
3737
  createdAt DateTime @default(now())
3740
3738
  completedAt DateTime?
3741
3739
 
3742
- lead leads @relation(fields: [leadID], references: [leadID])
3743
-
3744
3740
  calls ai_call_logs[]
3745
3741
 
3746
3742
  @@index([batchId])