@factor-wise/prisma-schema 2.0.110 → 2.0.111

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.110",
3
+ "version": "2.0.111",
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",
@@ -1053,6 +1053,8 @@ model profile_info {
1053
1053
  model preoffer {
1054
1054
  id Int @id @default(autoincrement())
1055
1055
  customerID Int
1056
+ type String
1057
+ status String
1056
1058
  response Json?
1057
1059
  customer customer @relation(fields: [customerID], references: [customerID])
1058
1060
  createdDate DateTime @default(now()) @db.DateTime(0)
@@ -2938,6 +2940,8 @@ model credit_improve_customer {
2938
2940
  alternateMobile String? @db.VarChar(50)
2939
2941
  current_address Json?
2940
2942
  digioKid String?
2943
+ razorpay_cust_id String?
2944
+ razorpay_fund_id String?
2941
2945
  digioToken String? @db.VarChar(100)
2942
2946
  kyc_at DateTime? @default(now()) @db.Timestamp(0)
2943
2947
  is_onboarded Boolean @default(false)
@@ -3002,46 +3006,6 @@ model credit_improve_leads {
3002
3006
  @@index([loanType], map: "idx_loanType")
3003
3007
  }
3004
3008
 
3005
- model creadit_improve_leads {
3006
- leadID Int @id @default(autoincrement())
3007
- customerID Int?
3008
-
3009
- purpose String? @db.VarChar(255)
3010
- loanRequeried Float @default(500)
3011
- status leads_status
3012
- utmSource String @default("Website") @db.VarChar(100)
3013
- fbLeads String?
3014
- ip String
3015
- callAssign Int
3016
- creditAssign Int
3017
- collectionUID Int?
3018
- createdDate DateTime @default(now()) @db.Timestamp(0)
3019
- updatedAt DateTime @default(now()) @db.DateTime(0)
3020
- sanctionalloUID Int
3021
- loanType lead_loan_type @default(improve_credit)
3022
- consentOtp String?
3023
- consentVerify Boolean @default(false)
3024
- consentAt DateTime? @default(now()) @db.Timestamp(0)
3025
-
3026
-
3027
-
3028
- // customer credit_improve_customer @relation(fields: [customerID], references: [ID])
3029
- // creditApprovals credit_improve_approval @relation("CreditImproveApprovalToLead")
3030
- // creditImproveLoan credit_improve_loan?
3031
- // creditImproveCollections credit_improve_collection[] @relation("CreditImproveCollectionToLead")
3032
- // creditImprovePayout credit_improve_payout?
3033
-
3034
- @@index([customerID], map: "idx_customerID")
3035
- @@index([status], map: "idx_status")
3036
- @@index([utmSource], map: "idx_utmSource")
3037
- @@index([fbLeads], map: "idx_fbLeads")
3038
- @@index([callAssign], map: "idx_callAssign")
3039
- @@index([collectionUID], map: "idx_collectionUID")
3040
- @@index([sanctionalloUID], map: "idx_sanctionalloUID")
3041
- @@index([createdDate], map: "idx_createdDate")
3042
- @@index([updatedAt], map: "idx_updatedAt")
3043
- @@index([loanType], map: "idx_loanType")
3044
- }
3045
3009
 
3046
3010
  model credit_improve_approval {
3047
3011
  approvalID Int @id @default(autoincrement())