@factor-wise/prisma-schema 2.0.62 → 2.0.64

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.62",
3
+ "version": "2.0.64",
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",
@@ -700,6 +700,8 @@ model customer {
700
700
  employmentHistory employment_history[]
701
701
  profileInfo profile_info[]
702
702
  finb_logs finb_logs[]
703
+ face_comparison face_comparison[]
704
+ preoffer preoffer[]
703
705
 
704
706
 
705
707
  @@index([firstName], map: "firstName")
@@ -984,6 +986,17 @@ model profile_info {
984
986
  @@index([status])
985
987
  }
986
988
 
989
+ model preoffer {
990
+ id Int @id @default(autoincrement())
991
+ customerID Int
992
+ response Json?
993
+ customer customer @relation(fields: [customerID], references: [customerID])
994
+ createdDate DateTime @default(now()) @db.DateTime(0)
995
+ updated_at DateTime @updatedAt
996
+ }
997
+
998
+
999
+
987
1000
  model finb_logs {
988
1001
  id Int @id @default(autoincrement())
989
1002
  customerID Int
@@ -1006,6 +1019,24 @@ model facebook_lead {
1006
1019
  lead_data String @db.LongText
1007
1020
  }
1008
1021
 
1022
+ model face_comparison {
1023
+ id Int @id @default(autoincrement())
1024
+ leadID Int
1025
+ customerID Int
1026
+ sourceImage String @db.VarChar(255)
1027
+ targetImage String @db.VarChar(255)
1028
+ similarity Float?
1029
+ confidence Float?
1030
+ isMatch Boolean @default(false)
1031
+ createdAt DateTime @default(now())
1032
+ updatedAt DateTime @updatedAt
1033
+ customer customer @relation(fields: [customerID], references: [customerID])
1034
+ lead leads? @relation(fields: [leadID], references: [leadID])
1035
+
1036
+ @@index([customerID])
1037
+ @@index([leadID])
1038
+ }
1039
+
1009
1040
  model reminders {
1010
1041
  id Int @id @default(autoincrement())
1011
1042
  customerID Int
@@ -1251,6 +1282,7 @@ model leads {
1251
1282
  profileInfo profile_info[]
1252
1283
  criffsoftpull criffsoftpull?
1253
1284
  icici_payout icici_payout[]
1285
+ face_comparison face_comparison[]
1254
1286
 
1255
1287
  @@index([customerID], map: "leadcustomerID")
1256
1288
  }