@factor-wise/prisma-schema 2.0.96 → 2.0.97

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.96",
3
+ "version": "2.0.97",
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,69 @@ model emandates {
1129
1129
  emandate_charge emandate_charge[]
1130
1130
  }
1131
1131
 
1132
+ model easebuzz_emandates {
1133
+ id Int @id @default(autoincrement())
1134
+
1135
+ leadID String @db.VarChar(100)
1136
+ customerID String? @db.VarChar(100)
1137
+
1138
+ access_key String? @db.VarChar(255)
1139
+
1140
+ transaction_id String @unique @db.VarChar(100)
1141
+ mandate_id String? @db.VarChar(100)
1142
+ vendor String @default("easebuzz")
1143
+
1144
+ // Customer
1145
+ customer_name String? @db.VarChar(255)
1146
+ customer_email String? @db.VarChar(255)
1147
+ customer_phone String? @db.VarChar(20)
1148
+
1149
+ // Bank
1150
+ account_holder_name String? @db.VarChar(255)
1151
+ account_number String? @db.VarChar(100)
1152
+ account_type String? @db.VarChar(50)
1153
+ ifsc String? @db.VarChar(20)
1154
+ bank_code String? @db.VarChar(20)
1155
+
1156
+ // Mandate
1157
+ mandate_type String? @db.VarChar(50)
1158
+ auth_mode String? @db.VarChar(50)
1159
+
1160
+ amount Decimal? @db.Decimal(15,2)
1161
+ amount_rule String? @db.VarChar(20)
1162
+
1163
+ frequency String? @db.VarChar(30)
1164
+
1165
+ start_date DateTime?
1166
+ end_date DateTime?
1167
+
1168
+ status String? @db.VarChar(50)
1169
+ sub_status String? @db.VarChar(50)
1170
+
1171
+ umrn String? @db.VarChar(100)
1172
+ bank_reference_number String? @db.VarChar(100)
1173
+
1174
+ authorization String? @db.Text
1175
+
1176
+ response_code String? @db.VarChar(100)
1177
+ response_message String? @db.Text
1178
+
1179
+ success_url String? @db.Text
1180
+ failure_url String? @db.Text
1181
+
1182
+ response_json Json?
1183
+
1184
+ created_at DateTime @default(now())
1185
+ updated_at DateTime @updatedAt
1186
+
1187
+ //charges easebuzz_emandate_charge[]
1188
+
1189
+ @@index([leadID])
1190
+ @@index([customerID])
1191
+ @@index([transaction_id])
1192
+ @@index([status])
1193
+ }
1194
+
1132
1195
 
1133
1196
  model Easebuzz_Mandate {
1134
1197