@factor-wise/prisma-schema 2.0.75 → 2.0.77
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 +1 -1
- package/prisma/schema.prisma +22 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1272,6 +1272,7 @@ model leads {
|
|
|
1272
1272
|
bureau_consent Int @default(0)
|
|
1273
1273
|
emandatebypass Boolean? @default(false)
|
|
1274
1274
|
videoKycBypass Boolean? @default(false)
|
|
1275
|
+
loanType lead_loan_type @default(Payday)
|
|
1275
1276
|
approvals approval[]
|
|
1276
1277
|
bankstatement bankstatement[]
|
|
1277
1278
|
callHistories callhistory[]
|
|
@@ -1293,6 +1294,7 @@ model leads {
|
|
|
1293
1294
|
criffsoftpull criffsoftpull?
|
|
1294
1295
|
icici_payout icici_payout[]
|
|
1295
1296
|
face_comparison face_comparison[]
|
|
1297
|
+
credforge_bre_log credforge_bre_log?
|
|
1296
1298
|
|
|
1297
1299
|
@@index([customerID], map: "leadcustomerID")
|
|
1298
1300
|
}
|
|
@@ -2719,6 +2721,21 @@ model criff_test {
|
|
|
2719
2721
|
@@index([domain])
|
|
2720
2722
|
}
|
|
2721
2723
|
|
|
2724
|
+
model credforge_bre_log {
|
|
2725
|
+
id Int @id @default(autoincrement())
|
|
2726
|
+
leadID Int @unique
|
|
2727
|
+
workflowName String
|
|
2728
|
+
requestPayload Json
|
|
2729
|
+
responsePayload Json?
|
|
2730
|
+
loanAmount Float?
|
|
2731
|
+
status String?
|
|
2732
|
+
createdAt DateTime @default(now())
|
|
2733
|
+
leads leads @relation(fields: [leadID], references: [leadID])
|
|
2734
|
+
|
|
2735
|
+
@@index([leadID])
|
|
2736
|
+
@@index([status])
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2722
2739
|
|
|
2723
2740
|
enum usersgoogle_oauth_provider {
|
|
2724
2741
|
google
|
|
@@ -2874,6 +2891,11 @@ enum leads_status {
|
|
|
2874
2891
|
Bank_Update_Hold @map("Bank Update Hold")
|
|
2875
2892
|
}
|
|
2876
2893
|
|
|
2894
|
+
enum lead_loan_type {
|
|
2895
|
+
Payday
|
|
2896
|
+
improve_credit @map("Improve Credit")
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2877
2899
|
enum leads2_status {
|
|
2878
2900
|
Fresh_Lead @map("Fresh Lead")
|
|
2879
2901
|
Callback
|