@factor-wise/prisma-schema 2.0.98 → 2.0.99
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 +8 -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,15 @@ 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?
|
|
1180
1178
|
|
|
1181
1179
|
created_at DateTime @default(now())
|
|
1182
1180
|
updated_at DateTime @updatedAt
|
|
1183
1181
|
|
|
1182
|
+
lead leads? @relation(fields: [leadID], references: [leadID])
|
|
1183
|
+
|
|
1184
|
+
|
|
1184
1185
|
//charges easebuzz_emandate_charge[]
|
|
1185
1186
|
|
|
1186
1187
|
@@index([leadID])
|
|
@@ -1190,29 +1191,6 @@ model easebuzz_emandates {
|
|
|
1190
1191
|
}
|
|
1191
1192
|
|
|
1192
1193
|
|
|
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
1194
|
model cibildata_archive {
|
|
1217
1195
|
id Int @id @default(autoincrement())
|
|
1218
1196
|
leadID Int
|
|
@@ -1420,7 +1398,7 @@ model leads {
|
|
|
1420
1398
|
balanceHistory balance_history[]
|
|
1421
1399
|
collectionFollowups collectionfollowup[]
|
|
1422
1400
|
Payout Payout?
|
|
1423
|
-
|
|
1401
|
+
easebuzz_emandates easebuzz_emandates?
|
|
1424
1402
|
videokyc videokyc?
|
|
1425
1403
|
eagreement eagreement?
|
|
1426
1404
|
employmentHistory employment_history[]
|