@factor-wise/prisma-schema 2.0.47 → 2.0.48

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.47",
3
+ "version": "2.0.48",
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",
@@ -1231,6 +1231,7 @@ model leads {
1231
1231
  eagreement eagreement?
1232
1232
  employmentHistory employment_history[]
1233
1233
  profileInfo profile_info[]
1234
+ criffsoftpull criffsoftpull?
1234
1235
 
1235
1236
  @@index([customerID], map: "leadcustomerID")
1236
1237
  }
@@ -2348,6 +2349,22 @@ model cibildata {
2348
2349
  @@index([leadID, createdAt], map: "idx_lead_createdAt")
2349
2350
  }
2350
2351
 
2352
+ model criffsoftpull{
2353
+ id Int @id @default(autoincrement())
2354
+ leadID Int @unique
2355
+ requestPayload Json
2356
+ responsePayload Json?
2357
+ status String @default("pending") @db.VarChar(50)
2358
+ createdAt DateTime? @default(now()) @db.Timestamp(0)
2359
+ updatedAt DateTime? @default(now()) @db.Timestamp(0)
2360
+
2361
+
2362
+ lead leads @relation(fields: [leadID], references: [leadID])
2363
+
2364
+ @@index([leadID])
2365
+ @@index([status])
2366
+ }
2367
+
2351
2368
  model loan_sequence {
2352
2369
  id Int @id @default(autoincrement())
2353
2370
  prefix String @unique(map: "uq_prefix") @db.VarChar(20)