@cleardu/types 1.0.53 → 1.0.55
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 +16 -1
- package/constants/brokerMessages/index.js +50 -35
- package/constants/brokerMessages/index.ts +50 -35
- package/constants/index.d.ts +12 -0
- package/constants/index.js +29 -5
- package/constants/index.ts +31 -4
- package/constants/validations/index.d.ts +27 -5
- package/constants/validations/index.js +33 -11
- package/constants/validations/index.ts +34 -11
- package/interfaces/borrowers/index.d.ts +2 -1
- package/interfaces/borrowers/index.ts +2 -1
- package/interfaces/borrowersLoansHistory/index.d.ts +4 -4
- package/interfaces/borrowersLoansHistory/index.ts +4 -4
- package/interfaces/break/index.d.ts +2 -2
- package/interfaces/break/index.ts +2 -2
- package/interfaces/cdr/index.d.ts +13 -0
- package/interfaces/cdr/index.ts +14 -1
- package/interfaces/common/index.d.ts +8 -0
- package/interfaces/common/index.ts +7 -1
- package/interfaces/dispositions/index.d.ts +2 -2
- package/interfaces/dispositions/index.ts +2 -2
- package/interfaces/idObject/index.d.ts +1 -1
- package/interfaces/idObject/index.ts +1 -1
- package/interfaces/index.d.ts +7 -1
- package/interfaces/index.js +7 -1
- package/interfaces/index.ts +7 -2
- package/interfaces/jobs/index.d.ts +6 -1
- package/interfaces/jobs/index.ts +7 -1
- package/interfaces/loanMappings/index.d.ts +17 -0
- package/interfaces/loanMappings/index.ts +19 -0
- package/interfaces/loans/index.d.ts +25 -0
- package/interfaces/loans/index.ts +28 -0
- package/interfaces/payments/index.d.ts +6 -0
- package/interfaces/payments/index.ts +7 -0
- package/interfaces/reassignment/index.d.ts +6 -12
- package/interfaces/reassignment/index.ts +6 -12
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/interfaces/loanHistory/index.d.ts +0 -3
- package/interfaces/loanHistory/index.ts +0 -3
- /package/interfaces/{loanHistory → loanMappings}/index.js +0 -0
|
@@ -3,11 +3,11 @@ export const validations = {
|
|
|
3
3
|
name: {
|
|
4
4
|
required: {
|
|
5
5
|
value: true,
|
|
6
|
-
message: '
|
|
6
|
+
message: 'Name is required.',
|
|
7
7
|
},
|
|
8
8
|
maxLength: {
|
|
9
9
|
value: 30,
|
|
10
|
-
message: '
|
|
10
|
+
message: 'Name must be less than 30 characters',
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
|
|
@@ -51,14 +51,16 @@ export const validations = {
|
|
|
51
51
|
message: 'User type is required.',
|
|
52
52
|
},
|
|
53
53
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
value:
|
|
57
|
-
message: '
|
|
54
|
+
role: {
|
|
55
|
+
required: {
|
|
56
|
+
value: true,
|
|
57
|
+
message: 'Role is required.',
|
|
58
58
|
},
|
|
59
|
-
|
|
59
|
+
},
|
|
60
|
+
extension: {
|
|
61
|
+
equal: {
|
|
60
62
|
value: 4,
|
|
61
|
-
message: 'Extension Number must
|
|
63
|
+
message: 'Extension Number must be equal to 4 characters.',
|
|
62
64
|
},
|
|
63
65
|
},
|
|
64
66
|
email: {
|
|
@@ -90,6 +92,12 @@ export const validations = {
|
|
|
90
92
|
message: 'Dial Method is required.',
|
|
91
93
|
},
|
|
92
94
|
},
|
|
95
|
+
campaignType: {
|
|
96
|
+
required: {
|
|
97
|
+
value: true,
|
|
98
|
+
message: 'Campaign type is required.',
|
|
99
|
+
},
|
|
100
|
+
},
|
|
93
101
|
ratio: {
|
|
94
102
|
required: {
|
|
95
103
|
value: true,
|
|
@@ -115,6 +123,18 @@ export const validations = {
|
|
|
115
123
|
message: 'Name must be less than 30 characters',
|
|
116
124
|
},
|
|
117
125
|
},
|
|
126
|
+
roleType: {
|
|
127
|
+
required: {
|
|
128
|
+
value: true,
|
|
129
|
+
message: 'View type is required.',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
parentRole: {
|
|
133
|
+
required: {
|
|
134
|
+
value: true,
|
|
135
|
+
message: 'Parent role is required.',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
118
138
|
},
|
|
119
139
|
|
|
120
140
|
Portfolio: {
|
|
@@ -133,10 +153,13 @@ export const validations = {
|
|
|
133
153
|
value: true,
|
|
134
154
|
message: 'Client is required',
|
|
135
155
|
},
|
|
136
|
-
|
|
156
|
+
|
|
157
|
+
},
|
|
158
|
+
owner: {
|
|
159
|
+
required:{
|
|
137
160
|
value: true,
|
|
138
|
-
message: 'Portfolio
|
|
139
|
-
}
|
|
161
|
+
message: 'Portfolio owner is required.',
|
|
162
|
+
}
|
|
140
163
|
},
|
|
141
164
|
},
|
|
142
165
|
};
|
|
@@ -113,7 +113,8 @@ export interface IIncorrectCSVData extends ICorrectCSVData {
|
|
|
113
113
|
errors: string;
|
|
114
114
|
}
|
|
115
115
|
export interface IProcessValidRecordsParams {
|
|
116
|
-
|
|
116
|
+
jobUId: string;
|
|
117
|
+
jobId?: number;
|
|
117
118
|
correctData: ICorrectCSVData[];
|
|
118
119
|
totalRecords: number;
|
|
119
120
|
currentJob: IJob;
|
|
@@ -117,7 +117,8 @@ export interface IIncorrectCSVData extends ICorrectCSVData {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
export interface IProcessValidRecordsParams {
|
|
120
|
-
|
|
120
|
+
jobUId: string;
|
|
121
|
+
jobId?: number;
|
|
121
122
|
correctData: ICorrectCSVData[];
|
|
122
123
|
totalRecords: number;
|
|
123
124
|
currentJob: IJob;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DatabaseObject } from '../baseObject';
|
|
2
2
|
export interface ILoansHistory extends DatabaseObject {
|
|
3
3
|
loanNumber: string;
|
|
4
|
-
clientBorrowerId
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
clientBorrowerId?: string;
|
|
5
|
+
oldData?: JSON;
|
|
6
|
+
newData?: JSON;
|
|
7
7
|
action: string;
|
|
8
8
|
log: string;
|
|
9
|
-
jobId
|
|
9
|
+
jobId?: number;
|
|
10
10
|
}
|
|
@@ -2,10 +2,10 @@ import { DatabaseObject } from '../baseObject';
|
|
|
2
2
|
|
|
3
3
|
export interface ILoansHistory extends DatabaseObject {
|
|
4
4
|
loanNumber: string;
|
|
5
|
-
clientBorrowerId
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
clientBorrowerId?: string;
|
|
6
|
+
oldData?: JSON;
|
|
7
|
+
newData?: JSON;
|
|
8
8
|
action: string;
|
|
9
9
|
log: string;
|
|
10
|
-
jobId
|
|
10
|
+
jobId?: number;
|
|
11
11
|
}
|
|
@@ -64,3 +64,16 @@ export interface IPartitionQueryResult {
|
|
|
64
64
|
rowCount: number | null;
|
|
65
65
|
rowAsArray: boolean;
|
|
66
66
|
}
|
|
67
|
+
export interface CallStatistics {
|
|
68
|
+
totalcount: number;
|
|
69
|
+
unique_mobile: number;
|
|
70
|
+
connectedcount: number;
|
|
71
|
+
missedcount: number;
|
|
72
|
+
reattempted: number;
|
|
73
|
+
reattempted_connected: number;
|
|
74
|
+
unknowncalls: number;
|
|
75
|
+
pos: number;
|
|
76
|
+
tos: number;
|
|
77
|
+
daymonthyear: number;
|
|
78
|
+
hour: number;
|
|
79
|
+
}
|
package/interfaces/cdr/index.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
export interface ICdr {
|
|
3
2
|
id?: number;
|
|
4
3
|
mobile: string;
|
|
@@ -71,3 +70,17 @@ export interface IPartitionQueryResult {
|
|
|
71
70
|
rowCount: number | null;
|
|
72
71
|
rowAsArray: boolean;
|
|
73
72
|
}
|
|
73
|
+
|
|
74
|
+
export interface CallStatistics {
|
|
75
|
+
totalcount: number;
|
|
76
|
+
unique_mobile: number;
|
|
77
|
+
connectedcount: number;
|
|
78
|
+
missedcount: number;
|
|
79
|
+
reattempted: number;
|
|
80
|
+
reattempted_connected: number;
|
|
81
|
+
unknowncalls: number;
|
|
82
|
+
pos: number;
|
|
83
|
+
tos: number;
|
|
84
|
+
daymonthyear: number;
|
|
85
|
+
hour: number;
|
|
86
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DispositionTypeEnum } from '../../constants';
|
|
1
|
+
import { Disp_CategoryTypeEnum, DispositionTypeEnum } from '../../constants';
|
|
2
2
|
import { IdObject } from '../idObject';
|
|
3
3
|
export interface IDispositions extends IdObject {
|
|
4
|
-
category?:
|
|
4
|
+
category?: Disp_CategoryTypeEnum;
|
|
5
5
|
name: string;
|
|
6
6
|
type: DispositionTypeEnum;
|
|
7
7
|
parentId: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DispositionTypeEnum } from '../../constants';
|
|
1
|
+
import { Disp_CategoryTypeEnum, DispositionTypeEnum } from '../../constants';
|
|
2
2
|
import { IdObject } from '../idObject';
|
|
3
3
|
|
|
4
4
|
export interface IDispositions extends IdObject {
|
|
5
|
-
category?:
|
|
5
|
+
category?: Disp_CategoryTypeEnum;
|
|
6
6
|
name: string;
|
|
7
7
|
type: DispositionTypeEnum;
|
|
8
8
|
parentId: number;
|
package/interfaces/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from './emailReports';
|
|
|
18
18
|
export * from './idObject';
|
|
19
19
|
export * from './jobs';
|
|
20
20
|
export * from './loanGroups';
|
|
21
|
-
export * from './loanHistory';
|
|
22
21
|
export * from './loanParticipantHistory';
|
|
23
22
|
export * from './loanParticipants';
|
|
24
23
|
export * from './loans';
|
|
@@ -46,6 +45,13 @@ export * from './statsHourlyCall';
|
|
|
46
45
|
export * from './users';
|
|
47
46
|
export * from './userTaskCustomers';
|
|
48
47
|
export * from './userTasks';
|
|
48
|
+
export * from './portfoliosTarget';
|
|
49
|
+
export * from './reassignment';
|
|
50
|
+
export * from './paymentAccounts';
|
|
51
|
+
export * from './cdr';
|
|
52
|
+
export * from './paymentLinks';
|
|
53
|
+
export * from './clientDispositions';
|
|
54
|
+
export * from './common';
|
|
49
55
|
import { ConnectionOptions, Dialect, ReplicationOptions } from 'sequelize/types';
|
|
50
56
|
export interface DBConnection extends ConnectionOptions {
|
|
51
57
|
host: string;
|
package/interfaces/index.js
CHANGED
|
@@ -21,7 +21,6 @@ tslib_1.__exportStar(require("./emailReports"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./idObject"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./jobs"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./loanGroups"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./loanHistory"), exports);
|
|
25
24
|
tslib_1.__exportStar(require("./loanParticipantHistory"), exports);
|
|
26
25
|
tslib_1.__exportStar(require("./loanParticipants"), exports);
|
|
27
26
|
tslib_1.__exportStar(require("./loans"), exports);
|
|
@@ -49,3 +48,10 @@ tslib_1.__exportStar(require("./statsHourlyCall"), exports);
|
|
|
49
48
|
tslib_1.__exportStar(require("./users"), exports);
|
|
50
49
|
tslib_1.__exportStar(require("./userTaskCustomers"), exports);
|
|
51
50
|
tslib_1.__exportStar(require("./userTasks"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./portfoliosTarget"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./reassignment"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./paymentAccounts"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./cdr"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./paymentLinks"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./clientDispositions"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./common"), exports);
|
package/interfaces/index.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from './emailReports';
|
|
|
18
18
|
export * from './idObject';
|
|
19
19
|
export * from './jobs';
|
|
20
20
|
export * from './loanGroups';
|
|
21
|
-
export * from './loanHistory';
|
|
22
21
|
export * from './loanParticipantHistory';
|
|
23
22
|
export * from './loanParticipants';
|
|
24
23
|
export * from './loans';
|
|
@@ -46,7 +45,13 @@ export * from './statsHourlyCall';
|
|
|
46
45
|
export * from './users';
|
|
47
46
|
export * from './userTaskCustomers';
|
|
48
47
|
export * from './userTasks';
|
|
49
|
-
|
|
48
|
+
export * from './portfoliosTarget';
|
|
49
|
+
export * from './reassignment';
|
|
50
|
+
export * from './paymentAccounts';
|
|
51
|
+
export * from './cdr';
|
|
52
|
+
export * from './paymentLinks';
|
|
53
|
+
export * from './clientDispositions';
|
|
54
|
+
export * from './common';
|
|
50
55
|
import {
|
|
51
56
|
ConnectionOptions,
|
|
52
57
|
Dialect,
|
|
@@ -55,7 +55,7 @@ export interface IJobResponse {
|
|
|
55
55
|
export interface ICsvOptions {
|
|
56
56
|
fileKey: string;
|
|
57
57
|
lastIndex?: number;
|
|
58
|
-
|
|
58
|
+
jobUId: string;
|
|
59
59
|
}
|
|
60
60
|
export type JobStatus = 'completed' | 'failed' | 'delayed' | 'prioritized' | 'waiting' | 'waitingChildren' | 'unknown' | 'discarded';
|
|
61
61
|
export interface SearchJobs {
|
|
@@ -65,3 +65,8 @@ export interface SearchJobs {
|
|
|
65
65
|
size?: number;
|
|
66
66
|
filename: string;
|
|
67
67
|
}
|
|
68
|
+
export interface UpdateErrorPayload {
|
|
69
|
+
jobUId: string;
|
|
70
|
+
errorFileKey?: string;
|
|
71
|
+
failedRecords?: string;
|
|
72
|
+
}
|
package/interfaces/jobs/index.ts
CHANGED
|
@@ -63,7 +63,7 @@ export interface IJobResponse {
|
|
|
63
63
|
export interface ICsvOptions {
|
|
64
64
|
fileKey: string;
|
|
65
65
|
lastIndex?: number;
|
|
66
|
-
|
|
66
|
+
jobUId: string;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
export type JobStatus =
|
|
@@ -82,3 +82,9 @@ export interface SearchJobs {
|
|
|
82
82
|
size?: number;
|
|
83
83
|
filename: string;
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
export interface UpdateErrorPayload {
|
|
87
|
+
jobUId: string;
|
|
88
|
+
errorFileKey?: string;
|
|
89
|
+
failedRecords?: string;
|
|
90
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ILoanMappings {
|
|
2
|
+
loanId: number;
|
|
3
|
+
userId: number;
|
|
4
|
+
campaignId: number;
|
|
5
|
+
}
|
|
6
|
+
export interface ILoanMappingsPayload {
|
|
7
|
+
loanId: number[];
|
|
8
|
+
campaignId: number;
|
|
9
|
+
userId?: number;
|
|
10
|
+
createdBy: number;
|
|
11
|
+
}
|
|
12
|
+
export interface ICreateLoanMappingsData {
|
|
13
|
+
loanIds: number[];
|
|
14
|
+
campaignId: number;
|
|
15
|
+
createdBy: number;
|
|
16
|
+
userId?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ILoanMappings {
|
|
2
|
+
loanId: number;
|
|
3
|
+
userId: number;
|
|
4
|
+
campaignId: number;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface ILoanMappingsPayload {
|
|
8
|
+
loanId: number[];
|
|
9
|
+
campaignId: number;
|
|
10
|
+
userId?: number;
|
|
11
|
+
createdBy: number;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface ICreateLoanMappingsData {
|
|
15
|
+
loanIds: number[];
|
|
16
|
+
campaignId: number;
|
|
17
|
+
createdBy: number;
|
|
18
|
+
userId?: number;
|
|
19
|
+
}
|
|
@@ -57,3 +57,28 @@ export interface ILoans extends DatabaseObject {
|
|
|
57
57
|
campaignId?: number;
|
|
58
58
|
loanBorrower?: IBorrowers;
|
|
59
59
|
}
|
|
60
|
+
export interface Changes {
|
|
61
|
+
borrowerChanges?: {
|
|
62
|
+
oldData?: JSON;
|
|
63
|
+
newData?: JSON;
|
|
64
|
+
};
|
|
65
|
+
loanChanges?: {
|
|
66
|
+
oldData?: JSON;
|
|
67
|
+
newData?: JSON;
|
|
68
|
+
};
|
|
69
|
+
groupChanges?: {
|
|
70
|
+
oldData?: JSON;
|
|
71
|
+
newData?: JSON;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export interface ChangeDetail {
|
|
75
|
+
oldData?: Record<string, string | number>;
|
|
76
|
+
newData?: Record<string, string | number>;
|
|
77
|
+
}
|
|
78
|
+
export interface DialerData {
|
|
79
|
+
firstName: string;
|
|
80
|
+
lastName: string;
|
|
81
|
+
phoneNumber: string;
|
|
82
|
+
uId: string;
|
|
83
|
+
agentId?: string;
|
|
84
|
+
}
|
|
@@ -58,3 +58,31 @@ export interface ILoans extends DatabaseObject {
|
|
|
58
58
|
campaignId?: number;
|
|
59
59
|
loanBorrower?: IBorrowers;
|
|
60
60
|
}
|
|
61
|
+
|
|
62
|
+
export interface Changes {
|
|
63
|
+
borrowerChanges?: {
|
|
64
|
+
oldData?: JSON;
|
|
65
|
+
newData?: JSON;
|
|
66
|
+
};
|
|
67
|
+
loanChanges?: {
|
|
68
|
+
oldData?: JSON;
|
|
69
|
+
newData?: JSON;
|
|
70
|
+
};
|
|
71
|
+
groupChanges?: {
|
|
72
|
+
oldData?: JSON;
|
|
73
|
+
newData?: JSON;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface ChangeDetail {
|
|
78
|
+
oldData?: Record<string, string | number>;
|
|
79
|
+
newData?: Record<string, string | number>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface DialerData {
|
|
83
|
+
firstName: string;
|
|
84
|
+
lastName: string;
|
|
85
|
+
phoneNumber: string;
|
|
86
|
+
uId: string;
|
|
87
|
+
agentId?: string; // Optional field, only added for 'Progressive' campaigns
|
|
88
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IJob } from '../jobs';
|
|
2
|
+
import { IListPayload } from '../payload';
|
|
2
3
|
export interface IPayments {
|
|
3
4
|
id?: number;
|
|
4
5
|
uId?: string;
|
|
@@ -92,3 +93,8 @@ export interface IEnkashAuthResponse {
|
|
|
92
93
|
resultCode: number;
|
|
93
94
|
resultMessage: string;
|
|
94
95
|
}
|
|
96
|
+
export interface IPaymentsList extends IListPayload {
|
|
97
|
+
clientUid: string;
|
|
98
|
+
fromDate: Date;
|
|
99
|
+
toDate: Date;
|
|
100
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IJob } from '../jobs';
|
|
2
|
+
import { IListPayload } from '../payload';
|
|
2
3
|
|
|
3
4
|
export interface IPayments {
|
|
4
5
|
id?: number;
|
|
@@ -102,3 +103,9 @@ export interface IEnkashAuthResponse {
|
|
|
102
103
|
resultCode: number;
|
|
103
104
|
resultMessage: string;
|
|
104
105
|
}
|
|
106
|
+
|
|
107
|
+
export interface IPaymentsList extends IListPayload{
|
|
108
|
+
clientUid: string,
|
|
109
|
+
fromDate: Date,
|
|
110
|
+
toDate: Date,
|
|
111
|
+
}
|
|
@@ -1,26 +1,20 @@
|
|
|
1
1
|
import { DatabaseObject } from '../baseObject';
|
|
2
2
|
import { IJob } from '../jobs';
|
|
3
3
|
export interface IReassignmentCorrectCSVData extends DatabaseObject {
|
|
4
|
-
borrowerId: number;
|
|
5
|
-
clientName: string;
|
|
6
4
|
loanNumber: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
amount: number;
|
|
11
|
-
paymentDate: Date;
|
|
12
|
-
paymentSource?: string;
|
|
13
|
-
paymentStatus?: string;
|
|
14
|
-
status?: string;
|
|
15
|
-
note?: string;
|
|
5
|
+
agentEmail: string;
|
|
6
|
+
oldProcess: string;
|
|
7
|
+
newProcess: string;
|
|
16
8
|
}
|
|
17
9
|
export interface IIncorrectReassignmentCSVData extends IReassignmentCorrectCSVData {
|
|
18
10
|
errors: string;
|
|
19
11
|
}
|
|
20
12
|
export interface IReassignmentValidRecordsParams {
|
|
21
|
-
jobId:
|
|
13
|
+
jobId: number;
|
|
14
|
+
jobUId: string;
|
|
22
15
|
correctData: IReassignmentCorrectCSVData[];
|
|
23
16
|
totalRecords: number;
|
|
24
17
|
currentJob: IJob;
|
|
25
18
|
clientId: number;
|
|
19
|
+
createdBy: number;
|
|
26
20
|
}
|
|
@@ -2,18 +2,10 @@ import { DatabaseObject } from '../baseObject';
|
|
|
2
2
|
import { IJob } from '../jobs';
|
|
3
3
|
|
|
4
4
|
export interface IReassignmentCorrectCSVData extends DatabaseObject {
|
|
5
|
-
borrowerId: number;
|
|
6
|
-
clientName: string;
|
|
7
5
|
loanNumber: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
amount: number;
|
|
12
|
-
paymentDate: Date;
|
|
13
|
-
paymentSource?: string;
|
|
14
|
-
paymentStatus?: string;
|
|
15
|
-
status?: string;
|
|
16
|
-
note?: string;
|
|
6
|
+
agentEmail: string;
|
|
7
|
+
oldProcess: string;
|
|
8
|
+
newProcess: string;
|
|
17
9
|
}
|
|
18
10
|
|
|
19
11
|
export interface IIncorrectReassignmentCSVData
|
|
@@ -22,9 +14,11 @@ export interface IIncorrectReassignmentCSVData
|
|
|
22
14
|
}
|
|
23
15
|
|
|
24
16
|
export interface IReassignmentValidRecordsParams {
|
|
25
|
-
jobId:
|
|
17
|
+
jobId: number;
|
|
18
|
+
jobUId: string;
|
|
26
19
|
correctData: IReassignmentCorrectCSVData[];
|
|
27
20
|
totalRecords: number;
|
|
28
21
|
currentJob: IJob;
|
|
29
22
|
clientId: number;
|
|
23
|
+
createdBy: number;
|
|
30
24
|
}
|