@factor-wise/prisma-schema 2.0.74 → 2.0.76

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.74",
3
+ "version": "2.0.76",
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",
@@ -1293,6 +1293,7 @@ model leads {
1293
1293
  criffsoftpull criffsoftpull?
1294
1294
  icici_payout icici_payout[]
1295
1295
  face_comparison face_comparison[]
1296
+ credforge_bre_log credforge_bre_log?
1296
1297
 
1297
1298
  @@index([customerID], map: "leadcustomerID")
1298
1299
  }
@@ -2549,7 +2550,7 @@ model lms_users {
2549
2550
  otp String? @db.VarChar(255)
2550
2551
  attempts Int?
2551
2552
  expire_at DateTime? @default(now()) @db.Timestamp(0)
2552
- lock_until DateTime? @default(now()) @db.Timestamp(0)
2553
+ lock_until DateTime? @db.Timestamp(0)
2553
2554
  isVerified Boolean @default(false)
2554
2555
  role String? @db.VarChar(50)
2555
2556
  status String? @default("Active") @db.VarChar(20)
@@ -2719,6 +2720,21 @@ model criff_test {
2719
2720
  @@index([domain])
2720
2721
  }
2721
2722
 
2723
+ model credforge_bre_log {
2724
+ id Int @id @default(autoincrement())
2725
+ leadID Int @unique
2726
+ workflowName String
2727
+ requestPayload Json
2728
+ responsePayload Json?
2729
+ loanAmount Float?
2730
+ status String?
2731
+ createdAt DateTime @default(now())
2732
+ leads leads @relation(fields: [leadID], references: [leadID])
2733
+
2734
+ @@index([leadID])
2735
+ @@index([status])
2736
+ }
2737
+
2722
2738
 
2723
2739
  enum usersgoogle_oauth_provider {
2724
2740
  google