@factor-wise/prisma-schema 2.0.95 → 2.0.96

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.95",
3
+ "version": "2.0.96",
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",
@@ -1129,6 +1129,30 @@ model emandates {
1129
1129
  emandate_charge emandate_charge[]
1130
1130
  }
1131
1131
 
1132
+
1133
+ model Easebuzz_Mandate {
1134
+
1135
+ id Int @id @default(autoincrement()) @db.UnsignedInt
1136
+ transactionId String @unique
1137
+ leadID Int @unique
1138
+ requestId String?
1139
+ accessKey String?
1140
+ mandateId String?
1141
+ amount Decimal
1142
+ frequency String
1143
+ authMode String
1144
+ mandateType String
1145
+ status String
1146
+ htmlGenerated Boolean @default(false)
1147
+ webhookPayload Json?
1148
+ createdAt DateTime @default(now())
1149
+ updatedAt DateTime @updatedAt
1150
+
1151
+ lead leads? @relation(fields: [leadID], references: [leadID])
1152
+
1153
+
1154
+ }
1155
+
1132
1156
  model cibildata_archive {
1133
1157
  id Int @id @default(autoincrement())
1134
1158
  leadID Int
@@ -1336,6 +1360,7 @@ model leads {
1336
1360
  balanceHistory balance_history[]
1337
1361
  collectionFollowups collectionfollowup[]
1338
1362
  Payout Payout?
1363
+ Easebuzz_Mandate Easebuzz_Mandate?
1339
1364
  videokyc videokyc?
1340
1365
  eagreement eagreement?
1341
1366
  employmentHistory employment_history[]
@@ -2910,6 +2935,11 @@ model creadit_improve_leads {
2910
2935
  updatedAt DateTime @default(now()) @db.DateTime(0)
2911
2936
  sanctionalloUID Int
2912
2937
  loanType lead_loan_type @default(improve_credit)
2938
+ consentOtp String?
2939
+ consentVerify Boolean @default(false)
2940
+ consentAt DateTime? @default(now()) @db.Timestamp(0)
2941
+
2942
+
2913
2943
 
2914
2944
  customer credit_improve_customer? @relation(fields: [customerID], references: [ID])
2915
2945
  creditApprovals credit_improve_approval[] @relation("CreditImproveApprovalToLead")