@factor-wise/prisma-schema 2.0.112 → 2.0.114

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.112",
3
+ "version": "2.0.114",
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",
@@ -772,8 +772,6 @@ model customer_extended {
772
772
  locationType LocationType?
773
773
  customer customer @relation(fields: [customerID], references: [customerID])
774
774
 
775
- callLogs ai_call_logs[]
776
-
777
775
  @@unique([customerID, locationType])
778
776
  @@index([latitude, longitude])
779
777
  }
@@ -1419,6 +1417,7 @@ model leads {
1419
1417
  icici_payout icici_payout[]
1420
1418
  face_comparison face_comparison[]
1421
1419
  credforge_bre_log credforge_bre_log[]
1420
+ aiCallLogs ai_call_logs[]
1422
1421
 
1423
1422
  @@index([customerID], map: "idx_customerID")
1424
1423
  @@index([userID], map: "idx_userID")
@@ -3762,8 +3761,8 @@ model ai_call_logs {
3762
3761
  batch ai_call_batches @relation(fields: [batchId], references: [batchId], onDelete: Cascade)
3763
3762
  customer customer @relation(fields: [customerID], references: [customerID], onDelete: Cascade)
3764
3763
  aiCallAnalysis ai_call_analysis?
3765
- customerExtended customer_extended? @relation(fields: [customer_extendedId], references: [id])
3766
- customer_extendedId Int?
3764
+ lead leads @relation(fields: [leadID], references: [leadID])
3765
+ leadID Int
3767
3766
 
3768
3767
  @@index([batchId])
3769
3768
  @@index([callId])