@factor-wise/prisma-schema 2.0.120 → 2.0.122

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.120",
3
+ "version": "2.0.122",
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",
@@ -1407,6 +1407,7 @@ model leads {
1407
1407
  bureau_consent Int @default(0)
1408
1408
  emandatebypass Boolean? @default(false)
1409
1409
  videoKycBypass Boolean? @default(false)
1410
+ isAudit Boolean? @default(false)
1410
1411
  loanType lead_loan_type @default(Payday)
1411
1412
  approvals approval[]
1412
1413
  bankstatement bankstatement[]
@@ -2765,6 +2766,7 @@ model lms_users {
2765
2766
  sanctionedLeads leads[] @relation("SanctionAssignedUser")
2766
2767
  collectionAssignedLeads leads[] @relation("CollectionAssignedUser")
2767
2768
  paymentDatesCreated payment_block_dates[] @relation("UserCreatedPaymentDates")
2769
+ paymentDatesUpdated payment_block_dates[] @relation("UserUpdatedPaymentDates")
2768
2770
  }
2769
2771
 
2770
2772
  model lms_users_permissions {
@@ -3690,8 +3692,10 @@ model payment_block_dates {
3690
3692
  isActive Boolean @default(true)
3691
3693
 
3692
3694
  createdById Int?
3695
+ updatedById Int?
3693
3696
 
3694
3697
  createdBy lms_users? @relation("UserCreatedPaymentDates", fields: [createdById], references: [userID])
3698
+ updatedBy lms_users? @relation("UserUpdatedPaymentDates", fields: [updatedById], references: [userID])
3695
3699
 
3696
3700
  createdAt DateTime @default(now())
3697
3701
  updatedAt DateTime @updatedAt
@@ -3805,6 +3809,7 @@ enum LocationType {
3805
3809
  leadCreation
3806
3810
  leadRejection
3807
3811
  selfie
3812
+ eSign
3808
3813
  }
3809
3814
 
3810
3815
  enum NotificationStatus {