@cleardu/types 1.0.43
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/constants/brokerMessages/index.d.ts +164 -0
- package/constants/brokerMessages/index.js +167 -0
- package/constants/brokerMessages/index.ts +165 -0
- package/constants/index.d.ts +177 -0
- package/constants/index.js +192 -0
- package/constants/index.ts +200 -0
- package/index.d.ts +2 -0
- package/index.js +5 -0
- package/index.ts +2 -0
- package/interfaces/baseObject/index.d.ts +12 -0
- package/interfaces/baseObject/index.js +2 -0
- package/interfaces/baseObject/index.ts +12 -0
- package/interfaces/borrowers/index.d.ts +140 -0
- package/interfaces/borrowers/index.js +2 -0
- package/interfaces/borrowers/index.ts +146 -0
- package/interfaces/borrowersDispositions/index.d.ts +15 -0
- package/interfaces/borrowersDispositions/index.js +2 -0
- package/interfaces/borrowersDispositions/index.ts +16 -0
- package/interfaces/borrowersHistory/index.d.ts +3 -0
- package/interfaces/borrowersHistory/index.js +2 -0
- package/interfaces/borrowersHistory/index.ts +3 -0
- package/interfaces/break/index.d.ts +7 -0
- package/interfaces/break/index.js +2 -0
- package/interfaces/break/index.ts +8 -0
- package/interfaces/campaignUsers/index.d.ts +13 -0
- package/interfaces/campaignUsers/index.js +2 -0
- package/interfaces/campaignUsers/index.ts +15 -0
- package/interfaces/campaigns/index.d.ts +13 -0
- package/interfaces/campaigns/index.js +2 -0
- package/interfaces/campaigns/index.ts +14 -0
- package/interfaces/cdr/index.d.ts +66 -0
- package/interfaces/cdr/index.js +10 -0
- package/interfaces/cdr/index.ts +73 -0
- package/interfaces/centers/index.d.ts +13 -0
- package/interfaces/centers/index.js +2 -0
- package/interfaces/centers/index.ts +14 -0
- package/interfaces/cities/index.d.ts +5 -0
- package/interfaces/cities/index.js +2 -0
- package/interfaces/cities/index.ts +6 -0
- package/interfaces/clientCities/index.d.ts +6 -0
- package/interfaces/clientCities/index.js +2 -0
- package/interfaces/clientCities/index.ts +6 -0
- package/interfaces/clientStates/index.d.ts +6 -0
- package/interfaces/clientStates/index.js +2 -0
- package/interfaces/clientStates/index.ts +7 -0
- package/interfaces/clients/index.d.ts +15 -0
- package/interfaces/clients/index.js +2 -0
- package/interfaces/clients/index.ts +16 -0
- package/interfaces/customer/index.d.ts +164 -0
- package/interfaces/customer/index.js +2 -0
- package/interfaces/customer/index.ts +172 -0
- package/interfaces/dialers/index.d.ts +8 -0
- package/interfaces/dialers/index.js +2 -0
- package/interfaces/dialers/index.ts +9 -0
- package/interfaces/dispositions/index.d.ts +9 -0
- package/interfaces/dispositions/index.js +2 -0
- package/interfaces/dispositions/index.ts +10 -0
- package/interfaces/docCategory/index.d.ts +6 -0
- package/interfaces/docCategory/index.js +2 -0
- package/interfaces/docCategory/index.ts +7 -0
- package/interfaces/emailReports/index.d.ts +6 -0
- package/interfaces/emailReports/index.js +2 -0
- package/interfaces/emailReports/index.ts +6 -0
- package/interfaces/idObject/index.d.ts +4 -0
- package/interfaces/idObject/index.js +2 -0
- package/interfaces/idObject/index.ts +4 -0
- package/interfaces/index.d.ts +72 -0
- package/interfaces/index.js +49 -0
- package/interfaces/index.ts +81 -0
- package/interfaces/integration/ezsip/index.d.ts +218 -0
- package/interfaces/integration/ezsip/index.js +2 -0
- package/interfaces/integration/ezsip/index.ts +299 -0
- package/interfaces/integration/index.d.ts +1 -0
- package/interfaces/integration/index.js +4 -0
- package/interfaces/integration/index.ts +1 -0
- package/interfaces/jobs/index.d.ts +67 -0
- package/interfaces/jobs/index.js +2 -0
- package/interfaces/jobs/index.ts +91 -0
- package/interfaces/loanGroups/index.d.ts +12 -0
- package/interfaces/loanGroups/index.js +2 -0
- package/interfaces/loanGroups/index.ts +13 -0
- package/interfaces/loanHistory/index.d.ts +3 -0
- package/interfaces/loanHistory/index.js +2 -0
- package/interfaces/loanHistory/index.ts +3 -0
- package/interfaces/loanParticipantHistory/index.d.ts +3 -0
- package/interfaces/loanParticipantHistory/index.js +2 -0
- package/interfaces/loanParticipantHistory/index.ts +3 -0
- package/interfaces/loanParticipants/index.d.ts +25 -0
- package/interfaces/loanParticipants/index.js +2 -0
- package/interfaces/loanParticipants/index.ts +26 -0
- package/interfaces/loans/index.d.ts +55 -0
- package/interfaces/loans/index.js +2 -0
- package/interfaces/loans/index.ts +56 -0
- package/interfaces/loginDetails/index.d.ts +5 -0
- package/interfaces/loginDetails/index.js +2 -0
- package/interfaces/loginDetails/index.ts +6 -0
- package/interfaces/merchants/index.d.ts +16 -0
- package/interfaces/merchants/index.js +2 -0
- package/interfaces/merchants/index.ts +17 -0
- package/interfaces/modules/index.d.ts +8 -0
- package/interfaces/modules/index.js +2 -0
- package/interfaces/modules/index.ts +8 -0
- package/interfaces/payload/index.d.ts +10 -0
- package/interfaces/payload/index.js +2 -0
- package/interfaces/payload/index.ts +11 -0
- package/interfaces/paymentAccounts/index.d.ts +8 -0
- package/interfaces/paymentAccounts/index.js +2 -0
- package/interfaces/paymentAccounts/index.ts +9 -0
- package/interfaces/payments/index.d.ts +42 -0
- package/interfaces/payments/index.js +2 -0
- package/interfaces/payments/index.ts +46 -0
- package/interfaces/permissions/index.d.ts +15 -0
- package/interfaces/permissions/index.js +2 -0
- package/interfaces/permissions/index.ts +17 -0
- package/interfaces/portfolios/index.d.ts +15 -0
- package/interfaces/portfolios/index.js +2 -0
- package/interfaces/portfolios/index.ts +16 -0
- package/interfaces/portfoliosTarget/index.d.ts +6 -0
- package/interfaces/portfoliosTarget/index.js +2 -0
- package/interfaces/portfoliosTarget/index.ts +7 -0
- package/interfaces/reassignment/index.d.ts +27 -0
- package/interfaces/reassignment/index.js +2 -0
- package/interfaces/reassignment/index.ts +31 -0
- package/interfaces/response.interface.d.ts +11 -0
- package/interfaces/response.interface.js +11 -0
- package/interfaces/response.interface.ts +17 -0
- package/interfaces/responseType/index.d.ts +13 -0
- package/interfaces/responseType/index.js +2 -0
- package/interfaces/responseType/index.ts +16 -0
- package/interfaces/role/index.d.ts +9 -0
- package/interfaces/role/index.js +2 -0
- package/interfaces/role/index.ts +9 -0
- package/interfaces/rolePermissions/index.d.ts +10 -0
- package/interfaces/rolePermissions/index.js +2 -0
- package/interfaces/rolePermissions/index.ts +11 -0
- package/interfaces/settlementHistory/index.d.ts +26 -0
- package/interfaces/settlementHistory/index.js +2 -0
- package/interfaces/settlementHistory/index.ts +27 -0
- package/interfaces/settlementNotes/index.d.ts +14 -0
- package/interfaces/settlementNotes/index.js +2 -0
- package/interfaces/settlementNotes/index.ts +14 -0
- package/interfaces/settlements/index.d.ts +10 -0
- package/interfaces/settlements/index.js +2 -0
- package/interfaces/settlements/index.ts +11 -0
- package/interfaces/states/index.d.ts +5 -0
- package/interfaces/states/index.js +2 -0
- package/interfaces/states/index.ts +7 -0
- package/interfaces/statsBorrowerLoan/index.d.ts +15 -0
- package/interfaces/statsBorrowerLoan/index.js +2 -0
- package/interfaces/statsBorrowerLoan/index.ts +15 -0
- package/interfaces/statsClientCall/index.d.ts +38 -0
- package/interfaces/statsClientCall/index.js +2 -0
- package/interfaces/statsClientCall/index.ts +38 -0
- package/interfaces/statsHourlyCall/index.d.ts +23 -0
- package/interfaces/statsHourlyCall/index.js +2 -0
- package/interfaces/statsHourlyCall/index.ts +23 -0
- package/interfaces/tags/index.d.ts +9 -0
- package/interfaces/tags/index.js +2 -0
- package/interfaces/tags/index.ts +10 -0
- package/interfaces/userPermissions/index.d.ts +69 -0
- package/interfaces/userPermissions/index.js +2 -0
- package/interfaces/userPermissions/index.ts +69 -0
- package/interfaces/userTaskCustomers/index.d.ts +14 -0
- package/interfaces/userTaskCustomers/index.js +2 -0
- package/interfaces/userTaskCustomers/index.ts +15 -0
- package/interfaces/userTasks/index.d.ts +10 -0
- package/interfaces/userTasks/index.js +2 -0
- package/interfaces/userTasks/index.ts +11 -0
- package/interfaces/users/index.d.ts +65 -0
- package/interfaces/users/index.js +2 -0
- package/interfaces/users/index.ts +76 -0
- package/package.json +31 -0
- package/tsconfig.build.json +10 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export interface ICustomerFile {
|
|
2
|
+
loanNumber: string;
|
|
3
|
+
mobile: string;
|
|
4
|
+
customerName: string;
|
|
5
|
+
fatherName: string;
|
|
6
|
+
gender: string;
|
|
7
|
+
email: string;
|
|
8
|
+
settlementEmail: string;
|
|
9
|
+
customerClientId: string;
|
|
10
|
+
pan: string;
|
|
11
|
+
alternateContact1: string;
|
|
12
|
+
alternateContact2: string;
|
|
13
|
+
mailingAddress: string;
|
|
14
|
+
mailingCity: string;
|
|
15
|
+
mailingPin: string;
|
|
16
|
+
mailingState: string;
|
|
17
|
+
permanentAddress: string;
|
|
18
|
+
permanentCity: string;
|
|
19
|
+
permanentPin: string;
|
|
20
|
+
permanentState: string;
|
|
21
|
+
residenceOwnership: string;
|
|
22
|
+
communityReligion: string;
|
|
23
|
+
maritalStatus: string;
|
|
24
|
+
customerOccupation: string;
|
|
25
|
+
employerName: string;
|
|
26
|
+
employerAddress: string;
|
|
27
|
+
cibilScore: number;
|
|
28
|
+
coApplicant1: string;
|
|
29
|
+
coApplicant2: string;
|
|
30
|
+
guarantor1: string;
|
|
31
|
+
guarantor1Contact: string;
|
|
32
|
+
guarantor2: string;
|
|
33
|
+
guarantor2Contact: string;
|
|
34
|
+
guarantor1Address: string;
|
|
35
|
+
guarantor2Address: string;
|
|
36
|
+
reference1: string;
|
|
37
|
+
reference1Contact: string;
|
|
38
|
+
reference1Address: string;
|
|
39
|
+
reference2: string;
|
|
40
|
+
reference2Contact: string;
|
|
41
|
+
reference2Address: string;
|
|
42
|
+
agreementID: string;
|
|
43
|
+
crmNo: string;
|
|
44
|
+
loanType: string;
|
|
45
|
+
loanAmount: number;
|
|
46
|
+
disbursedDate: string;
|
|
47
|
+
productName: string;
|
|
48
|
+
supplierName: string;
|
|
49
|
+
EMIAmount: number;
|
|
50
|
+
totalEMIs: number;
|
|
51
|
+
EMICycleDt: string;
|
|
52
|
+
EMIEndDt: string;
|
|
53
|
+
EMIStartDt: string;
|
|
54
|
+
bucket: string;
|
|
55
|
+
CurrentDPDBucket: string;
|
|
56
|
+
otherLoanDetails: string;
|
|
57
|
+
totalBounces: number;
|
|
58
|
+
bounceChargesOutstanding: number;
|
|
59
|
+
interestOutstanding: number;
|
|
60
|
+
penaltyOutstanding: number;
|
|
61
|
+
principalOutstanding: number;
|
|
62
|
+
totalOutstanding: number;
|
|
63
|
+
totalEMIOverDue: number;
|
|
64
|
+
EMIOverdueAmount: number;
|
|
65
|
+
unpaidEMIAmount: number;
|
|
66
|
+
offerEMIAmount: number;
|
|
67
|
+
waiverProposed: number;
|
|
68
|
+
lastPaymentDate: string;
|
|
69
|
+
previousPaymentHistory: string;
|
|
70
|
+
futurePrincipal: number;
|
|
71
|
+
maxSettlementAmount: number;
|
|
72
|
+
vintageBand: string;
|
|
73
|
+
motherName: string;
|
|
74
|
+
applicantVoterId: string;
|
|
75
|
+
applicantDrivingLicence: string;
|
|
76
|
+
applicantDob: string;
|
|
77
|
+
applicantPassportNumber: string;
|
|
78
|
+
currentAddressLandmark: string;
|
|
79
|
+
currentAddressTelephone: string;
|
|
80
|
+
currentAddressCity: string;
|
|
81
|
+
currentAddressMobileNumber: string;
|
|
82
|
+
currentAddressState: string;
|
|
83
|
+
currentAddressPincode: string;
|
|
84
|
+
currentAddressEmail: string;
|
|
85
|
+
permanentAddressName: string;
|
|
86
|
+
permanentAddressMobile: string;
|
|
87
|
+
permanentAddressPersonName: string;
|
|
88
|
+
permanentAddressTelephoneNumber: string;
|
|
89
|
+
permanentAddressLandmark: string;
|
|
90
|
+
permanentAddressEmail: string;
|
|
91
|
+
occupationDesignation: string;
|
|
92
|
+
occupationBusinessConstitution: string;
|
|
93
|
+
occupationOfficeAddress: string;
|
|
94
|
+
occupationCompanyPersonName: string;
|
|
95
|
+
occupationCompanyName: string;
|
|
96
|
+
officeAddressLandmark: string;
|
|
97
|
+
officeMobile: string;
|
|
98
|
+
officeCity: string;
|
|
99
|
+
officeEmailId: string;
|
|
100
|
+
officeState: string;
|
|
101
|
+
officePincode: string;
|
|
102
|
+
officeWebsite: string;
|
|
103
|
+
officeTelephone: string;
|
|
104
|
+
officeGstn: string;
|
|
105
|
+
prefferedAddressType: string;
|
|
106
|
+
prefferedAddressRegNo: string;
|
|
107
|
+
prefferedAddressUdhyamRegno: string;
|
|
108
|
+
prefferedRegisteredAddress: string;
|
|
109
|
+
prefferedAddressDateOfIncorporation: string;
|
|
110
|
+
prefferedAddressTelephone: string;
|
|
111
|
+
prefferedAddressLandmark: string;
|
|
112
|
+
prefferedAddressMobile: string;
|
|
113
|
+
prefferedAddressCity: string;
|
|
114
|
+
prefferedAddressEmailId: string;
|
|
115
|
+
prefferedAddressState: string;
|
|
116
|
+
prefferedAddressPinCode: string;
|
|
117
|
+
prefferedAddressWebsite: string;
|
|
118
|
+
coApplicantVoterId: string;
|
|
119
|
+
coApplicantDrivingLicence: string;
|
|
120
|
+
coApplicantMotherName: string;
|
|
121
|
+
coApplicantDob: string;
|
|
122
|
+
coApplicantPassportNumber: string;
|
|
123
|
+
coApplicantPan: string;
|
|
124
|
+
coApplicantFatherName: string;
|
|
125
|
+
coApplicantGender: string;
|
|
126
|
+
coApplicantMaritalStatus: string;
|
|
127
|
+
coApplicantLandmark: string;
|
|
128
|
+
coApplicantTelephone: string;
|
|
129
|
+
coApplicantCity: string;
|
|
130
|
+
coApplicantMobile: string;
|
|
131
|
+
coApplicantState: string;
|
|
132
|
+
coApplicantPincode: string;
|
|
133
|
+
coApplicantEmailId: string;
|
|
134
|
+
loanDetailGoldQuantityGrms: number;
|
|
135
|
+
loanDetailPurityInCt: number;
|
|
136
|
+
loanDetailValuationInInr: number;
|
|
137
|
+
portfolioType: string;
|
|
138
|
+
clientCustomerID: string;
|
|
139
|
+
productType: string;
|
|
140
|
+
}
|
|
141
|
+
export interface ICustomers {
|
|
142
|
+
loanNumber: string;
|
|
143
|
+
mailingState: string;
|
|
144
|
+
customerName: string;
|
|
145
|
+
mobile: string;
|
|
146
|
+
errors: string;
|
|
147
|
+
}
|
|
148
|
+
export interface IExpectedHeaders {
|
|
149
|
+
loanNumber: string;
|
|
150
|
+
mailingState: string;
|
|
151
|
+
customerName: string;
|
|
152
|
+
mobile: string;
|
|
153
|
+
}
|
|
154
|
+
export interface IErrorRecord {
|
|
155
|
+
loanNumber: string;
|
|
156
|
+
mailingState: string;
|
|
157
|
+
customerName: string;
|
|
158
|
+
mobile: string;
|
|
159
|
+
errors: string;
|
|
160
|
+
}
|
|
161
|
+
export interface ICSVData {
|
|
162
|
+
correctData: ICustomers[];
|
|
163
|
+
incorrectData: ICustomers[];
|
|
164
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
export interface ICustomerFile {
|
|
2
|
+
loanNumber: string;
|
|
3
|
+
mobile: string;
|
|
4
|
+
customerName: string;
|
|
5
|
+
fatherName: string;
|
|
6
|
+
gender: string;
|
|
7
|
+
email: string;
|
|
8
|
+
settlementEmail: string;
|
|
9
|
+
customerClientId: string;
|
|
10
|
+
pan: string;
|
|
11
|
+
alternateContact1: string;
|
|
12
|
+
alternateContact2: string;
|
|
13
|
+
mailingAddress: string;
|
|
14
|
+
mailingCity: string;
|
|
15
|
+
mailingPin: string;
|
|
16
|
+
mailingState: string;
|
|
17
|
+
permanentAddress: string;
|
|
18
|
+
permanentCity: string;
|
|
19
|
+
permanentPin: string;
|
|
20
|
+
permanentState: string;
|
|
21
|
+
residenceOwnership: string;
|
|
22
|
+
communityReligion: string;
|
|
23
|
+
maritalStatus: string;
|
|
24
|
+
customerOccupation: string;
|
|
25
|
+
employerName: string;
|
|
26
|
+
employerAddress: string;
|
|
27
|
+
cibilScore: number;
|
|
28
|
+
coApplicant1: string;
|
|
29
|
+
coApplicant2: string;
|
|
30
|
+
guarantor1: string;
|
|
31
|
+
guarantor1Contact: string;
|
|
32
|
+
guarantor2: string;
|
|
33
|
+
guarantor2Contact: string;
|
|
34
|
+
guarantor1Address: string;
|
|
35
|
+
guarantor2Address: string;
|
|
36
|
+
reference1: string;
|
|
37
|
+
reference1Contact: string;
|
|
38
|
+
reference1Address: string;
|
|
39
|
+
reference2: string;
|
|
40
|
+
reference2Contact: string;
|
|
41
|
+
reference2Address: string;
|
|
42
|
+
agreementID: string;
|
|
43
|
+
crmNo: string;
|
|
44
|
+
loanType: string;
|
|
45
|
+
loanAmount: number;
|
|
46
|
+
disbursedDate: string;
|
|
47
|
+
productName: string;
|
|
48
|
+
supplierName: string;
|
|
49
|
+
EMIAmount: number;
|
|
50
|
+
totalEMIs: number;
|
|
51
|
+
EMICycleDt: string;
|
|
52
|
+
EMIEndDt: string;
|
|
53
|
+
EMIStartDt: string;
|
|
54
|
+
bucket: string;
|
|
55
|
+
CurrentDPDBucket: string;
|
|
56
|
+
otherLoanDetails: string;
|
|
57
|
+
totalBounces: number;
|
|
58
|
+
bounceChargesOutstanding: number;
|
|
59
|
+
interestOutstanding: number;
|
|
60
|
+
penaltyOutstanding: number;
|
|
61
|
+
principalOutstanding: number;
|
|
62
|
+
totalOutstanding: number;
|
|
63
|
+
totalEMIOverDue: number;
|
|
64
|
+
EMIOverdueAmount: number;
|
|
65
|
+
unpaidEMIAmount: number;
|
|
66
|
+
offerEMIAmount: number;
|
|
67
|
+
waiverProposed: number;
|
|
68
|
+
lastPaymentDate: string;
|
|
69
|
+
previousPaymentHistory: string;
|
|
70
|
+
futurePrincipal: number;
|
|
71
|
+
maxSettlementAmount: number;
|
|
72
|
+
vintageBand: string;
|
|
73
|
+
motherName: string;
|
|
74
|
+
applicantVoterId: string;
|
|
75
|
+
applicantDrivingLicence: string;
|
|
76
|
+
applicantDob: string;
|
|
77
|
+
applicantPassportNumber: string;
|
|
78
|
+
currentAddressLandmark: string;
|
|
79
|
+
currentAddressTelephone: string;
|
|
80
|
+
currentAddressCity: string;
|
|
81
|
+
currentAddressMobileNumber: string;
|
|
82
|
+
currentAddressState: string;
|
|
83
|
+
currentAddressPincode: string;
|
|
84
|
+
currentAddressEmail: string;
|
|
85
|
+
permanentAddressName: string;
|
|
86
|
+
permanentAddressMobile: string;
|
|
87
|
+
permanentAddressPersonName: string;
|
|
88
|
+
permanentAddressTelephoneNumber: string;
|
|
89
|
+
permanentAddressLandmark: string;
|
|
90
|
+
permanentAddressEmail: string;
|
|
91
|
+
occupationDesignation: string;
|
|
92
|
+
occupationBusinessConstitution: string;
|
|
93
|
+
occupationOfficeAddress: string;
|
|
94
|
+
occupationCompanyPersonName: string;
|
|
95
|
+
occupationCompanyName: string;
|
|
96
|
+
officeAddressLandmark: string;
|
|
97
|
+
officeMobile: string;
|
|
98
|
+
officeCity: string;
|
|
99
|
+
officeEmailId: string;
|
|
100
|
+
officeState: string;
|
|
101
|
+
officePincode: string;
|
|
102
|
+
officeWebsite: string;
|
|
103
|
+
officeTelephone: string;
|
|
104
|
+
officeGstn: string;
|
|
105
|
+
prefferedAddressType: string;
|
|
106
|
+
prefferedAddressRegNo: string;
|
|
107
|
+
prefferedAddressUdhyamRegno: string;
|
|
108
|
+
prefferedRegisteredAddress: string;
|
|
109
|
+
prefferedAddressDateOfIncorporation: string;
|
|
110
|
+
prefferedAddressTelephone: string;
|
|
111
|
+
prefferedAddressLandmark: string;
|
|
112
|
+
prefferedAddressMobile: string;
|
|
113
|
+
prefferedAddressCity: string;
|
|
114
|
+
prefferedAddressEmailId: string;
|
|
115
|
+
prefferedAddressState: string;
|
|
116
|
+
prefferedAddressPinCode: string;
|
|
117
|
+
prefferedAddressWebsite: string;
|
|
118
|
+
coApplicantVoterId: string;
|
|
119
|
+
coApplicantDrivingLicence: string;
|
|
120
|
+
coApplicantMotherName: string;
|
|
121
|
+
coApplicantDob: string;
|
|
122
|
+
coApplicantPassportNumber: string;
|
|
123
|
+
coApplicantPan: string;
|
|
124
|
+
coApplicantFatherName: string;
|
|
125
|
+
coApplicantGender: string;
|
|
126
|
+
coApplicantMaritalStatus: string;
|
|
127
|
+
coApplicantLandmark: string;
|
|
128
|
+
coApplicantTelephone: string;
|
|
129
|
+
coApplicantCity: string;
|
|
130
|
+
coApplicantMobile: string;
|
|
131
|
+
coApplicantState: string;
|
|
132
|
+
coApplicantPincode: string;
|
|
133
|
+
coApplicantEmailId: string;
|
|
134
|
+
loanDetailGoldQuantityGrms: number;
|
|
135
|
+
loanDetailPurityInCt: number;
|
|
136
|
+
loanDetailValuationInInr: number;
|
|
137
|
+
portfolioType: string;
|
|
138
|
+
clientCustomerID: string;
|
|
139
|
+
productType: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// interfaces/customer.ts
|
|
143
|
+
|
|
144
|
+
export interface ICustomers {
|
|
145
|
+
loanNumber: string; // Unique identifier for the loan
|
|
146
|
+
mailingState: string; // State of the customer's mailing address
|
|
147
|
+
customerName: string; // Name of the customer
|
|
148
|
+
mobile: string; // Customer's mobile number
|
|
149
|
+
errors: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// expected headers for csv validation
|
|
153
|
+
export interface IExpectedHeaders {
|
|
154
|
+
loanNumber: string; // Unique identifier for the loan
|
|
155
|
+
mailingState: string; // State of the customer's mailing address
|
|
156
|
+
customerName: string; // Name of the customer
|
|
157
|
+
mobile: string; // Customer's mobile number
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// Interface for incorrect records with error descriptions
|
|
161
|
+
export interface IErrorRecord {
|
|
162
|
+
loanNumber: string; // Unique identifier for the loan
|
|
163
|
+
mailingState: string; // State of the customer's mailing address
|
|
164
|
+
customerName: string; // Name of the customer
|
|
165
|
+
mobile: string; // Customer's mobile number
|
|
166
|
+
errors: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export interface ICSVData {
|
|
170
|
+
correctData: ICustomers[];
|
|
171
|
+
incorrectData: ICustomers[];
|
|
172
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DispositionTypeEnum } from '../../constants';
|
|
2
|
+
import { IdObject } from '../idObject';
|
|
3
|
+
|
|
4
|
+
export interface IDispositions extends IdObject {
|
|
5
|
+
category?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: DispositionTypeEnum;
|
|
8
|
+
parentId: number;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export * from './baseObject';
|
|
2
|
+
export * from './borrowers';
|
|
3
|
+
export * from './borrowersDispositions';
|
|
4
|
+
export * from './borrowersHistory';
|
|
5
|
+
export * from './break';
|
|
6
|
+
export * from './campaigns';
|
|
7
|
+
export * from './centers';
|
|
8
|
+
export * from './cities';
|
|
9
|
+
export * from './clients';
|
|
10
|
+
export * from './clientStates';
|
|
11
|
+
export * from './dialers';
|
|
12
|
+
export * from './dispositions';
|
|
13
|
+
export * from './docCategory';
|
|
14
|
+
export * from './emailReports';
|
|
15
|
+
export * from './idObject';
|
|
16
|
+
export * from './jobs';
|
|
17
|
+
export * from './loanGroups';
|
|
18
|
+
export * from './loanHistory';
|
|
19
|
+
export * from './loanParticipantHistory';
|
|
20
|
+
export * from './loanParticipants';
|
|
21
|
+
export * from './loans';
|
|
22
|
+
export * from './loginDetails';
|
|
23
|
+
export * from './merchants';
|
|
24
|
+
export * from './modules';
|
|
25
|
+
export * from './payload';
|
|
26
|
+
export * from './payments';
|
|
27
|
+
export * from './permissions';
|
|
28
|
+
export * from './portfolios';
|
|
29
|
+
export * from './responseType';
|
|
30
|
+
export * from './role';
|
|
31
|
+
export * from './rolePermissions';
|
|
32
|
+
export * from './users';
|
|
33
|
+
export * from './settlementHistory';
|
|
34
|
+
export * from './settlementNotes';
|
|
35
|
+
export * from './settlements';
|
|
36
|
+
export * from './states';
|
|
37
|
+
export * from './statsBorrowerLoan';
|
|
38
|
+
export * from './statsClientCall';
|
|
39
|
+
export * from './statsHourlyCall';
|
|
40
|
+
export * from './users';
|
|
41
|
+
export * from './userTaskCustomers';
|
|
42
|
+
export * from './userTasks';
|
|
43
|
+
export * from './portfoliosTarget';
|
|
44
|
+
export * from './reassignment';
|
|
45
|
+
export * from './paymentAccounts';
|
|
46
|
+
export * from './cdr';
|
|
47
|
+
import { ConnectionOptions, Dialect, ReplicationOptions } from 'sequelize/types';
|
|
48
|
+
export interface DBConnection extends ConnectionOptions {
|
|
49
|
+
host: string;
|
|
50
|
+
port: number;
|
|
51
|
+
username: string;
|
|
52
|
+
password: string;
|
|
53
|
+
database: string;
|
|
54
|
+
dialect: Dialect;
|
|
55
|
+
migration?: {};
|
|
56
|
+
}
|
|
57
|
+
export interface DBConnection extends ConnectionOptions {
|
|
58
|
+
host: string;
|
|
59
|
+
port: number;
|
|
60
|
+
username: string;
|
|
61
|
+
password: string;
|
|
62
|
+
database: string;
|
|
63
|
+
}
|
|
64
|
+
export interface IConfig {
|
|
65
|
+
connection: DBConnection;
|
|
66
|
+
replication?: ReplicationOptions | false;
|
|
67
|
+
logging?: boolean | true;
|
|
68
|
+
}
|
|
69
|
+
export interface IMigrationConfig {
|
|
70
|
+
isDev: boolean;
|
|
71
|
+
dirPath: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./baseObject"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./borrowers"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./borrowersDispositions"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./borrowersHistory"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./break"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./campaigns"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./centers"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./cities"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./clients"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./clientStates"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./dialers"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./dispositions"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./docCategory"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./emailReports"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./idObject"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./jobs"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./loanGroups"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./loanHistory"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./loanParticipantHistory"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./loanParticipants"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./loans"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./loginDetails"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./merchants"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./modules"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./payload"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./payments"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./permissions"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./portfolios"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./responseType"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./role"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./rolePermissions"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./users"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./settlementHistory"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./settlementNotes"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./settlements"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./states"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./statsBorrowerLoan"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./statsClientCall"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./statsHourlyCall"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./users"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./userTaskCustomers"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./userTasks"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./portfoliosTarget"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./reassignment"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./paymentAccounts"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./cdr"), exports);
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export * from './baseObject';
|
|
2
|
+
export * from './borrowers';
|
|
3
|
+
export * from './borrowersDispositions';
|
|
4
|
+
export * from './borrowersHistory';
|
|
5
|
+
export * from './break';
|
|
6
|
+
export * from './campaigns';
|
|
7
|
+
export * from './centers';
|
|
8
|
+
export * from './cities';
|
|
9
|
+
export * from './clients';
|
|
10
|
+
export * from './clientStates';
|
|
11
|
+
export * from './dialers';
|
|
12
|
+
export * from './dispositions';
|
|
13
|
+
export * from './docCategory';
|
|
14
|
+
export * from './emailReports';
|
|
15
|
+
export * from './idObject';
|
|
16
|
+
export * from './jobs';
|
|
17
|
+
export * from './loanGroups';
|
|
18
|
+
export * from './loanHistory';
|
|
19
|
+
export * from './loanParticipantHistory';
|
|
20
|
+
export * from './loanParticipants';
|
|
21
|
+
export * from './loans';
|
|
22
|
+
export * from './loginDetails';
|
|
23
|
+
export * from './merchants';
|
|
24
|
+
export * from './modules';
|
|
25
|
+
export * from './payload';
|
|
26
|
+
export * from './payments';
|
|
27
|
+
export * from './permissions';
|
|
28
|
+
export * from './portfolios';
|
|
29
|
+
export * from './responseType';
|
|
30
|
+
export * from './role';
|
|
31
|
+
export * from './rolePermissions';
|
|
32
|
+
export * from './users';
|
|
33
|
+
export * from './settlementHistory';
|
|
34
|
+
export * from './settlementNotes';
|
|
35
|
+
export * from './settlements';
|
|
36
|
+
export * from './states';
|
|
37
|
+
export * from './statsBorrowerLoan';
|
|
38
|
+
export * from './statsClientCall';
|
|
39
|
+
export * from './statsHourlyCall';
|
|
40
|
+
export * from './users';
|
|
41
|
+
export * from './userTaskCustomers';
|
|
42
|
+
export * from './userTasks';
|
|
43
|
+
export * from './portfoliosTarget';
|
|
44
|
+
export * from './reassignment';
|
|
45
|
+
export * from './paymentAccounts'
|
|
46
|
+
export * from './cdr'
|
|
47
|
+
|
|
48
|
+
import {
|
|
49
|
+
ConnectionOptions,
|
|
50
|
+
Dialect,
|
|
51
|
+
ReplicationOptions,
|
|
52
|
+
} from 'sequelize/types';
|
|
53
|
+
|
|
54
|
+
export interface DBConnection extends ConnectionOptions {
|
|
55
|
+
host: string;
|
|
56
|
+
port: number;
|
|
57
|
+
username: string;
|
|
58
|
+
password: string;
|
|
59
|
+
database: string;
|
|
60
|
+
dialect: Dialect;
|
|
61
|
+
migration?: {};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface DBConnection extends ConnectionOptions {
|
|
65
|
+
host: string;
|
|
66
|
+
port: number;
|
|
67
|
+
username: string;
|
|
68
|
+
password: string;
|
|
69
|
+
database: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface IConfig {
|
|
73
|
+
connection: DBConnection;
|
|
74
|
+
replication?: ReplicationOptions | false;
|
|
75
|
+
logging?: boolean | true;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface IMigrationConfig {
|
|
79
|
+
isDev: boolean;
|
|
80
|
+
dirPath: string;
|
|
81
|
+
}
|