tango-api-schema 2.0.125 → 2.0.126
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/index.js +3 -1
- package/package.json +1 -1
- package/schema/paymentAccount.model.js +53 -0
package/index.js
CHANGED
|
@@ -33,6 +33,7 @@ import billingModel from "./schema/billing.model.js";
|
|
|
33
33
|
import auditClientDataModel from "./schema/auditClientData.model.js";
|
|
34
34
|
import auditLogsModel from "./schema/auditLogs.model.js";
|
|
35
35
|
import internalAuthModel from "./schema/internalAuth.model.js";
|
|
36
|
+
import paymentAccountModel from "./schema/paymentAccount.model.js";
|
|
36
37
|
|
|
37
38
|
export default {
|
|
38
39
|
leadModel,
|
|
@@ -69,5 +70,6 @@ export default {
|
|
|
69
70
|
matLogModel,
|
|
70
71
|
billingModel,
|
|
71
72
|
auditLogsModel,
|
|
72
|
-
internalAuthModel
|
|
73
|
+
internalAuthModel,
|
|
74
|
+
paymentAccountModel
|
|
73
75
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const paymentAccountSchema = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
clientId: {
|
|
6
|
+
type: String,
|
|
7
|
+
required: true,
|
|
8
|
+
unique: true,
|
|
9
|
+
},
|
|
10
|
+
customerId:{
|
|
11
|
+
type: String,
|
|
12
|
+
required: true,
|
|
13
|
+
unique: true,
|
|
14
|
+
},
|
|
15
|
+
virtualAccId:{
|
|
16
|
+
type: String,
|
|
17
|
+
required: true,
|
|
18
|
+
unique: true,
|
|
19
|
+
},
|
|
20
|
+
bankAccId:{
|
|
21
|
+
type: String,
|
|
22
|
+
required: true,
|
|
23
|
+
unique: true,
|
|
24
|
+
},
|
|
25
|
+
accountNumber:{
|
|
26
|
+
type: String,
|
|
27
|
+
required: true,
|
|
28
|
+
unique: true,
|
|
29
|
+
},
|
|
30
|
+
paymentType:{
|
|
31
|
+
type: String,
|
|
32
|
+
},
|
|
33
|
+
status:{
|
|
34
|
+
type: String,
|
|
35
|
+
},
|
|
36
|
+
ifsc: {
|
|
37
|
+
type: String,
|
|
38
|
+
},
|
|
39
|
+
swiftCode:{
|
|
40
|
+
type: String,
|
|
41
|
+
},
|
|
42
|
+
branch:{
|
|
43
|
+
type: String,
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
strict: true,
|
|
48
|
+
versionKey: false,
|
|
49
|
+
timestamps: true,
|
|
50
|
+
},
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
export default mongoose.model( 'paymentAccount', paymentAccountSchema);
|