@factor-wise/prisma-schema 2.0.98 → 2.0.100
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 +1 -1
- package/prisma/schema.prisma +9 -30
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1132,12 +1132,13 @@ model emandates {
|
|
|
1132
1132
|
model easebuzz_emandates {
|
|
1133
1133
|
id Int @id @default(autoincrement())
|
|
1134
1134
|
|
|
1135
|
-
leadID Int
|
|
1135
|
+
leadID Int @unique
|
|
1136
1136
|
customerID Int
|
|
1137
1137
|
|
|
1138
1138
|
access_key String? @db.VarChar(255)
|
|
1139
1139
|
|
|
1140
1140
|
transaction_id String @unique @db.VarChar(100)
|
|
1141
|
+
request_id String @unique @db.VarChar(100)
|
|
1141
1142
|
mandate_id String? @db.VarChar(100)
|
|
1142
1143
|
|
|
1143
1144
|
// Customer
|
|
@@ -1151,7 +1152,6 @@ model easebuzz_emandates {
|
|
|
1151
1152
|
ifsc String? @db.VarChar(20)
|
|
1152
1153
|
bank_code String? @db.VarChar(20)
|
|
1153
1154
|
|
|
1154
|
-
// Mandate
|
|
1155
1155
|
mandate_type String? @db.VarChar(50)
|
|
1156
1156
|
auth_mode String? @db.VarChar(50)
|
|
1157
1157
|
|
|
@@ -1173,14 +1173,16 @@ model easebuzz_emandates {
|
|
|
1173
1173
|
response_code String? @db.VarChar(100)
|
|
1174
1174
|
response_message String? @db.Text
|
|
1175
1175
|
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
response_json Json?
|
|
1176
|
+
response_json String?
|
|
1177
|
+
webhook_json Json?
|
|
1178
|
+
consent Json?
|
|
1180
1179
|
|
|
1181
1180
|
created_at DateTime @default(now())
|
|
1182
1181
|
updated_at DateTime @updatedAt
|
|
1183
1182
|
|
|
1183
|
+
lead leads? @relation(fields: [leadID], references: [leadID])
|
|
1184
|
+
|
|
1185
|
+
|
|
1184
1186
|
//charges easebuzz_emandate_charge[]
|
|
1185
1187
|
|
|
1186
1188
|
@@index([leadID])
|
|
@@ -1190,29 +1192,6 @@ model easebuzz_emandates {
|
|
|
1190
1192
|
}
|
|
1191
1193
|
|
|
1192
1194
|
|
|
1193
|
-
model Easebuzz_Mandate {
|
|
1194
|
-
|
|
1195
|
-
id Int @id @default(autoincrement()) @db.UnsignedInt
|
|
1196
|
-
transactionId String @unique
|
|
1197
|
-
leadID Int @unique
|
|
1198
|
-
requestId String?
|
|
1199
|
-
accessKey String?
|
|
1200
|
-
mandateId String?
|
|
1201
|
-
amount Decimal
|
|
1202
|
-
frequency String
|
|
1203
|
-
authMode String
|
|
1204
|
-
mandateType String
|
|
1205
|
-
status String
|
|
1206
|
-
htmlGenerated Boolean @default(false)
|
|
1207
|
-
webhookPayload Json?
|
|
1208
|
-
createdAt DateTime @default(now())
|
|
1209
|
-
updatedAt DateTime @updatedAt
|
|
1210
|
-
|
|
1211
|
-
lead leads? @relation(fields: [leadID], references: [leadID])
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
1195
|
model cibildata_archive {
|
|
1217
1196
|
id Int @id @default(autoincrement())
|
|
1218
1197
|
leadID Int
|
|
@@ -1420,7 +1399,7 @@ model leads {
|
|
|
1420
1399
|
balanceHistory balance_history[]
|
|
1421
1400
|
collectionFollowups collectionfollowup[]
|
|
1422
1401
|
Payout Payout?
|
|
1423
|
-
|
|
1402
|
+
easebuzz_emandates easebuzz_emandates?
|
|
1424
1403
|
videokyc videokyc?
|
|
1425
1404
|
eagreement eagreement?
|
|
1426
1405
|
employmentHistory employment_history[]
|