@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.
Files changed (175) hide show
  1. package/constants/brokerMessages/index.d.ts +164 -0
  2. package/constants/brokerMessages/index.js +167 -0
  3. package/constants/brokerMessages/index.ts +165 -0
  4. package/constants/index.d.ts +177 -0
  5. package/constants/index.js +192 -0
  6. package/constants/index.ts +200 -0
  7. package/index.d.ts +2 -0
  8. package/index.js +5 -0
  9. package/index.ts +2 -0
  10. package/interfaces/baseObject/index.d.ts +12 -0
  11. package/interfaces/baseObject/index.js +2 -0
  12. package/interfaces/baseObject/index.ts +12 -0
  13. package/interfaces/borrowers/index.d.ts +140 -0
  14. package/interfaces/borrowers/index.js +2 -0
  15. package/interfaces/borrowers/index.ts +146 -0
  16. package/interfaces/borrowersDispositions/index.d.ts +15 -0
  17. package/interfaces/borrowersDispositions/index.js +2 -0
  18. package/interfaces/borrowersDispositions/index.ts +16 -0
  19. package/interfaces/borrowersHistory/index.d.ts +3 -0
  20. package/interfaces/borrowersHistory/index.js +2 -0
  21. package/interfaces/borrowersHistory/index.ts +3 -0
  22. package/interfaces/break/index.d.ts +7 -0
  23. package/interfaces/break/index.js +2 -0
  24. package/interfaces/break/index.ts +8 -0
  25. package/interfaces/campaignUsers/index.d.ts +13 -0
  26. package/interfaces/campaignUsers/index.js +2 -0
  27. package/interfaces/campaignUsers/index.ts +15 -0
  28. package/interfaces/campaigns/index.d.ts +13 -0
  29. package/interfaces/campaigns/index.js +2 -0
  30. package/interfaces/campaigns/index.ts +14 -0
  31. package/interfaces/cdr/index.d.ts +66 -0
  32. package/interfaces/cdr/index.js +10 -0
  33. package/interfaces/cdr/index.ts +73 -0
  34. package/interfaces/centers/index.d.ts +13 -0
  35. package/interfaces/centers/index.js +2 -0
  36. package/interfaces/centers/index.ts +14 -0
  37. package/interfaces/cities/index.d.ts +5 -0
  38. package/interfaces/cities/index.js +2 -0
  39. package/interfaces/cities/index.ts +6 -0
  40. package/interfaces/clientCities/index.d.ts +6 -0
  41. package/interfaces/clientCities/index.js +2 -0
  42. package/interfaces/clientCities/index.ts +6 -0
  43. package/interfaces/clientStates/index.d.ts +6 -0
  44. package/interfaces/clientStates/index.js +2 -0
  45. package/interfaces/clientStates/index.ts +7 -0
  46. package/interfaces/clients/index.d.ts +15 -0
  47. package/interfaces/clients/index.js +2 -0
  48. package/interfaces/clients/index.ts +16 -0
  49. package/interfaces/customer/index.d.ts +164 -0
  50. package/interfaces/customer/index.js +2 -0
  51. package/interfaces/customer/index.ts +172 -0
  52. package/interfaces/dialers/index.d.ts +8 -0
  53. package/interfaces/dialers/index.js +2 -0
  54. package/interfaces/dialers/index.ts +9 -0
  55. package/interfaces/dispositions/index.d.ts +9 -0
  56. package/interfaces/dispositions/index.js +2 -0
  57. package/interfaces/dispositions/index.ts +10 -0
  58. package/interfaces/docCategory/index.d.ts +6 -0
  59. package/interfaces/docCategory/index.js +2 -0
  60. package/interfaces/docCategory/index.ts +7 -0
  61. package/interfaces/emailReports/index.d.ts +6 -0
  62. package/interfaces/emailReports/index.js +2 -0
  63. package/interfaces/emailReports/index.ts +6 -0
  64. package/interfaces/idObject/index.d.ts +4 -0
  65. package/interfaces/idObject/index.js +2 -0
  66. package/interfaces/idObject/index.ts +4 -0
  67. package/interfaces/index.d.ts +72 -0
  68. package/interfaces/index.js +49 -0
  69. package/interfaces/index.ts +81 -0
  70. package/interfaces/integration/ezsip/index.d.ts +218 -0
  71. package/interfaces/integration/ezsip/index.js +2 -0
  72. package/interfaces/integration/ezsip/index.ts +299 -0
  73. package/interfaces/integration/index.d.ts +1 -0
  74. package/interfaces/integration/index.js +4 -0
  75. package/interfaces/integration/index.ts +1 -0
  76. package/interfaces/jobs/index.d.ts +67 -0
  77. package/interfaces/jobs/index.js +2 -0
  78. package/interfaces/jobs/index.ts +91 -0
  79. package/interfaces/loanGroups/index.d.ts +12 -0
  80. package/interfaces/loanGroups/index.js +2 -0
  81. package/interfaces/loanGroups/index.ts +13 -0
  82. package/interfaces/loanHistory/index.d.ts +3 -0
  83. package/interfaces/loanHistory/index.js +2 -0
  84. package/interfaces/loanHistory/index.ts +3 -0
  85. package/interfaces/loanParticipantHistory/index.d.ts +3 -0
  86. package/interfaces/loanParticipantHistory/index.js +2 -0
  87. package/interfaces/loanParticipantHistory/index.ts +3 -0
  88. package/interfaces/loanParticipants/index.d.ts +25 -0
  89. package/interfaces/loanParticipants/index.js +2 -0
  90. package/interfaces/loanParticipants/index.ts +26 -0
  91. package/interfaces/loans/index.d.ts +55 -0
  92. package/interfaces/loans/index.js +2 -0
  93. package/interfaces/loans/index.ts +56 -0
  94. package/interfaces/loginDetails/index.d.ts +5 -0
  95. package/interfaces/loginDetails/index.js +2 -0
  96. package/interfaces/loginDetails/index.ts +6 -0
  97. package/interfaces/merchants/index.d.ts +16 -0
  98. package/interfaces/merchants/index.js +2 -0
  99. package/interfaces/merchants/index.ts +17 -0
  100. package/interfaces/modules/index.d.ts +8 -0
  101. package/interfaces/modules/index.js +2 -0
  102. package/interfaces/modules/index.ts +8 -0
  103. package/interfaces/payload/index.d.ts +10 -0
  104. package/interfaces/payload/index.js +2 -0
  105. package/interfaces/payload/index.ts +11 -0
  106. package/interfaces/paymentAccounts/index.d.ts +8 -0
  107. package/interfaces/paymentAccounts/index.js +2 -0
  108. package/interfaces/paymentAccounts/index.ts +9 -0
  109. package/interfaces/payments/index.d.ts +42 -0
  110. package/interfaces/payments/index.js +2 -0
  111. package/interfaces/payments/index.ts +46 -0
  112. package/interfaces/permissions/index.d.ts +15 -0
  113. package/interfaces/permissions/index.js +2 -0
  114. package/interfaces/permissions/index.ts +17 -0
  115. package/interfaces/portfolios/index.d.ts +15 -0
  116. package/interfaces/portfolios/index.js +2 -0
  117. package/interfaces/portfolios/index.ts +16 -0
  118. package/interfaces/portfoliosTarget/index.d.ts +6 -0
  119. package/interfaces/portfoliosTarget/index.js +2 -0
  120. package/interfaces/portfoliosTarget/index.ts +7 -0
  121. package/interfaces/reassignment/index.d.ts +27 -0
  122. package/interfaces/reassignment/index.js +2 -0
  123. package/interfaces/reassignment/index.ts +31 -0
  124. package/interfaces/response.interface.d.ts +11 -0
  125. package/interfaces/response.interface.js +11 -0
  126. package/interfaces/response.interface.ts +17 -0
  127. package/interfaces/responseType/index.d.ts +13 -0
  128. package/interfaces/responseType/index.js +2 -0
  129. package/interfaces/responseType/index.ts +16 -0
  130. package/interfaces/role/index.d.ts +9 -0
  131. package/interfaces/role/index.js +2 -0
  132. package/interfaces/role/index.ts +9 -0
  133. package/interfaces/rolePermissions/index.d.ts +10 -0
  134. package/interfaces/rolePermissions/index.js +2 -0
  135. package/interfaces/rolePermissions/index.ts +11 -0
  136. package/interfaces/settlementHistory/index.d.ts +26 -0
  137. package/interfaces/settlementHistory/index.js +2 -0
  138. package/interfaces/settlementHistory/index.ts +27 -0
  139. package/interfaces/settlementNotes/index.d.ts +14 -0
  140. package/interfaces/settlementNotes/index.js +2 -0
  141. package/interfaces/settlementNotes/index.ts +14 -0
  142. package/interfaces/settlements/index.d.ts +10 -0
  143. package/interfaces/settlements/index.js +2 -0
  144. package/interfaces/settlements/index.ts +11 -0
  145. package/interfaces/states/index.d.ts +5 -0
  146. package/interfaces/states/index.js +2 -0
  147. package/interfaces/states/index.ts +7 -0
  148. package/interfaces/statsBorrowerLoan/index.d.ts +15 -0
  149. package/interfaces/statsBorrowerLoan/index.js +2 -0
  150. package/interfaces/statsBorrowerLoan/index.ts +15 -0
  151. package/interfaces/statsClientCall/index.d.ts +38 -0
  152. package/interfaces/statsClientCall/index.js +2 -0
  153. package/interfaces/statsClientCall/index.ts +38 -0
  154. package/interfaces/statsHourlyCall/index.d.ts +23 -0
  155. package/interfaces/statsHourlyCall/index.js +2 -0
  156. package/interfaces/statsHourlyCall/index.ts +23 -0
  157. package/interfaces/tags/index.d.ts +9 -0
  158. package/interfaces/tags/index.js +2 -0
  159. package/interfaces/tags/index.ts +10 -0
  160. package/interfaces/userPermissions/index.d.ts +69 -0
  161. package/interfaces/userPermissions/index.js +2 -0
  162. package/interfaces/userPermissions/index.ts +69 -0
  163. package/interfaces/userTaskCustomers/index.d.ts +14 -0
  164. package/interfaces/userTaskCustomers/index.js +2 -0
  165. package/interfaces/userTaskCustomers/index.ts +15 -0
  166. package/interfaces/userTasks/index.d.ts +10 -0
  167. package/interfaces/userTasks/index.js +2 -0
  168. package/interfaces/userTasks/index.ts +11 -0
  169. package/interfaces/users/index.d.ts +65 -0
  170. package/interfaces/users/index.js +2 -0
  171. package/interfaces/users/index.ts +76 -0
  172. package/package.json +31 -0
  173. package/tsconfig.build.json +10 -0
  174. package/tsconfig.build.tsbuildinfo +1 -0
  175. 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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,8 @@
1
+ import { IdObject } from '../idObject';
2
+ export interface IDialers extends IdObject {
3
+ userId?: number;
4
+ dialerId?: number;
5
+ userName?: string;
6
+ isActive: boolean;
7
+ name?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { IdObject } from '../idObject';
2
+
3
+ export interface IDialers extends IdObject {
4
+ userId?: number;
5
+ dialerId?: number;
6
+ userName?: string;
7
+ isActive: boolean;
8
+ name?: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { DispositionTypeEnum } from '../../constants';
2
+ import { IdObject } from '../idObject';
3
+ export interface IDispositions extends IdObject {
4
+ category?: string;
5
+ name: string;
6
+ type: DispositionTypeEnum;
7
+ parentId: number;
8
+ isActive: boolean;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,6 @@
1
+ import { IdObject } from '../idObject';
2
+ export interface IDocCategory extends IdObject {
3
+ id?: number;
4
+ key: string;
5
+ name: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { IdObject } from '../idObject';
2
+
3
+ export interface IDocCategory extends IdObject {
4
+ id?: number;
5
+ key: string;
6
+ name: string;
7
+ }
@@ -0,0 +1,6 @@
1
+ export interface IEmailReport {
2
+ id?: number;
3
+ module: string;
4
+ to: string[];
5
+ cc?: string[];
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface IEmailReport {
2
+ id?: number;
3
+ module: string;
4
+ to: string[];
5
+ cc?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface IdObject {
2
+ id?: number;
3
+ uid?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface IdObject {
2
+ id?: number;
3
+ uid?: string;
4
+ }
@@ -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
+ }