@cleardu/types 1.0.113 → 1.0.115
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 +21 -0
- package/constants/brokerMessages/index.js +21 -0
- package/constants/brokerMessages/index.ts +22 -1
- package/constants/index.d.ts +15 -0
- package/constants/index.js +17 -1
- package/constants/index.ts +16 -0
- package/interfaces/agentPayments/index.d.ts +12 -0
- package/interfaces/agentPayments/index.js +2 -0
- package/interfaces/agentPayments/index.ts +13 -0
- package/interfaces/borrowersDispositions/index.d.ts +0 -1
- package/interfaces/borrowersDispositions/index.ts +0 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/index.js +1 -0
- package/interfaces/index.ts +3 -2
- package/interfaces/loans/index.d.ts +1 -1
- package/interfaces/loans/index.ts +1 -1
- package/interfaces/settlementHistory/index.d.ts +2 -4
- package/interfaces/settlementHistory/index.ts +2 -4
- package/interfaces/settlementNotes/index.d.ts +1 -2
- package/interfaces/settlementNotes/index.ts +1 -2
- package/interfaces/settlements/index.d.ts +23 -10
- package/interfaces/settlements/index.ts +24 -10
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -138,6 +138,7 @@ export declare const BrokerMessages: {
|
|
|
138
138
|
CUSTOMER_FOLLOW_UPS: string;
|
|
139
139
|
CUSTOMER_PTPS: string;
|
|
140
140
|
FIND_ALL: string;
|
|
141
|
+
CREATE_AGENT_PAYMENT: string;
|
|
141
142
|
};
|
|
142
143
|
};
|
|
143
144
|
OPTIONS: {
|
|
@@ -288,5 +289,25 @@ export declare const BrokerMessages: {
|
|
|
288
289
|
GENERATE_PAYMENT_LINK: string;
|
|
289
290
|
INIT: string;
|
|
290
291
|
};
|
|
292
|
+
CLIENT: {
|
|
293
|
+
CREATE: string;
|
|
294
|
+
UPDATE: string;
|
|
295
|
+
CREATE_SETTLEMENT: string;
|
|
296
|
+
CREATE_REMARKS: string;
|
|
297
|
+
UPDATE_SETTLEMENT: string;
|
|
298
|
+
CREATE_USER: string;
|
|
299
|
+
UPDATE_USER: string;
|
|
300
|
+
GET_SETTLEMENT: string;
|
|
301
|
+
GET_SETTLEMENT_BY_ID: string;
|
|
302
|
+
CLIENT_USER: string;
|
|
303
|
+
CLIENT_USER_BY_ID: string;
|
|
304
|
+
TIMELINE: string;
|
|
305
|
+
CREATE_PAYMENT: string;
|
|
306
|
+
SETTLEMENT_STATUS_REPORT: string;
|
|
307
|
+
SETTLEMENT_TAT_REPORT: string;
|
|
308
|
+
CLIENT_LIST: string;
|
|
309
|
+
CLIENT_TARGET_REPORT: string;
|
|
310
|
+
CREATE_CLIENT_STATE_CITY_PRODUCT_TYPE: string;
|
|
311
|
+
};
|
|
291
312
|
};
|
|
292
313
|
};
|
|
@@ -141,6 +141,7 @@ exports.BrokerMessages = {
|
|
|
141
141
|
CUSTOMER_FOLLOW_UPS: 'CUSTOMER_FOLLOW_UPS',
|
|
142
142
|
CUSTOMER_PTPS: 'CUSTOMER_PTPS',
|
|
143
143
|
FIND_ALL: 'GET-ALL-DISPOSITIONS',
|
|
144
|
+
CREATE_AGENT_PAYMENT: 'CREATE-AGENT-PAYMENT',
|
|
144
145
|
},
|
|
145
146
|
},
|
|
146
147
|
OPTIONS: {
|
|
@@ -291,5 +292,25 @@ exports.BrokerMessages = {
|
|
|
291
292
|
GENERATE_PAYMENT_LINK: 'GENERATE-PAYMENT-LINK',
|
|
292
293
|
INIT: 'PAYMENT-INITIATE',
|
|
293
294
|
},
|
|
295
|
+
CLIENT: {
|
|
296
|
+
CREATE: 'CREATE-CLIENT',
|
|
297
|
+
UPDATE: 'UPDATE-CLIENT',
|
|
298
|
+
CREATE_SETTLEMENT: 'CREATE-SETTLEMENT',
|
|
299
|
+
CREATE_REMARKS: 'CREATE-REMARKS',
|
|
300
|
+
UPDATE_SETTLEMENT: 'UPDATE-SETTLEMENT',
|
|
301
|
+
CREATE_USER: 'CREATE-CLIENT-USER',
|
|
302
|
+
UPDATE_USER: 'UPDATE_CLIENT-USER',
|
|
303
|
+
GET_SETTLEMENT: 'LIST-SETTLEMENT',
|
|
304
|
+
GET_SETTLEMENT_BY_ID: 'GET_SETTLEMENT_BY_ID',
|
|
305
|
+
CLIENT_USER: 'GET-CLIENT-USER',
|
|
306
|
+
CLIENT_USER_BY_ID: 'GET-CLIENT-USER-BY-ID',
|
|
307
|
+
TIMELINE: 'GET-CLIENT-SETTLEMENT-TIMELINE',
|
|
308
|
+
CREATE_PAYMENT: 'CREATE-SETTLEMENT-PAYMENT',
|
|
309
|
+
SETTLEMENT_STATUS_REPORT: 'GET-SETTLEMENT-STATUS-REPORT',
|
|
310
|
+
SETTLEMENT_TAT_REPORT: 'GET-SETTLEMENT-TAT-REPORT',
|
|
311
|
+
CLIENT_LIST: 'GET-CLIENT-LIST',
|
|
312
|
+
CLIENT_TARGET_REPORT: 'GET-CLIENT-TARGET-REPORT',
|
|
313
|
+
CREATE_CLIENT_STATE_CITY_PRODUCT_TYPE: 'CREATE-CLIENT-STATE-CITY-PRODUCT-TYPE',
|
|
314
|
+
},
|
|
294
315
|
},
|
|
295
316
|
};
|
|
@@ -138,6 +138,7 @@ export const BrokerMessages = {
|
|
|
138
138
|
CUSTOMER_FOLLOW_UPS: 'CUSTOMER_FOLLOW_UPS',
|
|
139
139
|
CUSTOMER_PTPS: 'CUSTOMER_PTPS',
|
|
140
140
|
FIND_ALL: 'GET-ALL-DISPOSITIONS',
|
|
141
|
+
CREATE_AGENT_PAYMENT: 'CREATE-AGENT-PAYMENT',
|
|
141
142
|
},
|
|
142
143
|
},
|
|
143
144
|
OPTIONS: {
|
|
@@ -151,7 +152,6 @@ export const BrokerMessages = {
|
|
|
151
152
|
CREATE: 'CREATE_DISPOSITION',
|
|
152
153
|
FINDALL: 'DISPOSITIONS-ALL',
|
|
153
154
|
FOLLOUPS: 'FOLLOUPS',
|
|
154
|
-
|
|
155
155
|
LATEST_DISPOSITIONS: 'LATEST_DISPOSITIONS',
|
|
156
156
|
UPDATE_INITIATED_CALL: 'UPDATE_INITIATED_CALL_DETAIL',
|
|
157
157
|
},
|
|
@@ -290,5 +290,26 @@ export const BrokerMessages = {
|
|
|
290
290
|
GENERATE_PAYMENT_LINK: 'GENERATE-PAYMENT-LINK',
|
|
291
291
|
INIT: 'PAYMENT-INITIATE',
|
|
292
292
|
},
|
|
293
|
+
CLIENT: {
|
|
294
|
+
CREATE: 'CREATE-CLIENT',
|
|
295
|
+
UPDATE: 'UPDATE-CLIENT',
|
|
296
|
+
CREATE_SETTLEMENT: 'CREATE-SETTLEMENT',
|
|
297
|
+
CREATE_REMARKS: 'CREATE-REMARKS',
|
|
298
|
+
UPDATE_SETTLEMENT: 'UPDATE-SETTLEMENT',
|
|
299
|
+
CREATE_USER: 'CREATE-CLIENT-USER',
|
|
300
|
+
UPDATE_USER: 'UPDATE_CLIENT-USER',
|
|
301
|
+
GET_SETTLEMENT: 'LIST-SETTLEMENT',
|
|
302
|
+
GET_SETTLEMENT_BY_ID: 'GET_SETTLEMENT_BY_ID',
|
|
303
|
+
CLIENT_USER: 'GET-CLIENT-USER',
|
|
304
|
+
CLIENT_USER_BY_ID: 'GET-CLIENT-USER-BY-ID',
|
|
305
|
+
TIMELINE: 'GET-CLIENT-SETTLEMENT-TIMELINE',
|
|
306
|
+
CREATE_PAYMENT: 'CREATE-SETTLEMENT-PAYMENT',
|
|
307
|
+
SETTLEMENT_STATUS_REPORT: 'GET-SETTLEMENT-STATUS-REPORT',
|
|
308
|
+
SETTLEMENT_TAT_REPORT: 'GET-SETTLEMENT-TAT-REPORT',
|
|
309
|
+
CLIENT_LIST: 'GET-CLIENT-LIST',
|
|
310
|
+
CLIENT_TARGET_REPORT: 'GET-CLIENT-TARGET-REPORT',
|
|
311
|
+
CREATE_CLIENT_STATE_CITY_PRODUCT_TYPE:
|
|
312
|
+
'CREATE-CLIENT-STATE-CITY-PRODUCT-TYPE',
|
|
313
|
+
},
|
|
293
314
|
},
|
|
294
315
|
};
|
package/constants/index.d.ts
CHANGED
|
@@ -55,6 +55,21 @@ export declare enum Disp_CategoryTypeEnum {
|
|
|
55
55
|
Notcontacted = "Not contacted",
|
|
56
56
|
ContactedOthers = "Contacted - Others"
|
|
57
57
|
}
|
|
58
|
+
export declare enum SettlementStatus {
|
|
59
|
+
Approved = "Approved",
|
|
60
|
+
AmountUpdated = "Amount Updated",
|
|
61
|
+
DocUploaded = "Doc Uploaded",
|
|
62
|
+
DocRemoved = "Doc Removed",
|
|
63
|
+
Inprogress = "Inprogress",
|
|
64
|
+
Initiated = "Initiated",
|
|
65
|
+
Pending = "Pending",
|
|
66
|
+
QueryRaised = "Query Raised",
|
|
67
|
+
Rejected = "Rejected",
|
|
68
|
+
ReInitiated = "Re-Initiated",
|
|
69
|
+
ReOpened = "Reopened",
|
|
70
|
+
Void = "Void",
|
|
71
|
+
Validated = "Validated"
|
|
72
|
+
}
|
|
58
73
|
export declare const userModules: {
|
|
59
74
|
Dashboard: number;
|
|
60
75
|
SetupMaster: number;
|
package/constants/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecordType = exports.FileUploadConfig = exports.validateTableCols = exports.Constants = exports.PorvidersType = exports.JobTypeEnum = exports.ParticipantTypeEnum = exports.dispoSubDispo = exports.userModules = exports.Disp_CategoryTypeEnum = exports.JobStatusEnum = exports.CallDirectionEnum = exports.DispositionTypeEnum = exports.GenderTypeEnum = exports.CampaignTypeEnum = exports.RoleTypeEnum = exports.UserTypeEnum = exports.ActInactiveEnumType = exports.Services = void 0;
|
|
3
|
+
exports.RecordType = exports.FileUploadConfig = exports.validateTableCols = exports.Constants = exports.PorvidersType = exports.JobTypeEnum = exports.ParticipantTypeEnum = exports.dispoSubDispo = exports.userModules = exports.SettlementStatus = exports.Disp_CategoryTypeEnum = exports.JobStatusEnum = exports.CallDirectionEnum = exports.DispositionTypeEnum = exports.GenderTypeEnum = exports.CampaignTypeEnum = exports.RoleTypeEnum = exports.UserTypeEnum = exports.ActInactiveEnumType = exports.Services = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
tslib_1.__exportStar(require("./brokerMessages"), exports);
|
|
6
6
|
exports.Services = {
|
|
@@ -69,6 +69,22 @@ var Disp_CategoryTypeEnum;
|
|
|
69
69
|
Disp_CategoryTypeEnum["Notcontacted"] = "Not contacted";
|
|
70
70
|
Disp_CategoryTypeEnum["ContactedOthers"] = "Contacted - Others";
|
|
71
71
|
})(Disp_CategoryTypeEnum || (exports.Disp_CategoryTypeEnum = Disp_CategoryTypeEnum = {}));
|
|
72
|
+
var SettlementStatus;
|
|
73
|
+
(function (SettlementStatus) {
|
|
74
|
+
SettlementStatus["Approved"] = "Approved";
|
|
75
|
+
SettlementStatus["AmountUpdated"] = "Amount Updated";
|
|
76
|
+
SettlementStatus["DocUploaded"] = "Doc Uploaded";
|
|
77
|
+
SettlementStatus["DocRemoved"] = "Doc Removed";
|
|
78
|
+
SettlementStatus["Inprogress"] = "Inprogress";
|
|
79
|
+
SettlementStatus["Initiated"] = "Initiated";
|
|
80
|
+
SettlementStatus["Pending"] = "Pending";
|
|
81
|
+
SettlementStatus["QueryRaised"] = "Query Raised";
|
|
82
|
+
SettlementStatus["Rejected"] = "Rejected";
|
|
83
|
+
SettlementStatus["ReInitiated"] = "Re-Initiated";
|
|
84
|
+
SettlementStatus["ReOpened"] = "Reopened";
|
|
85
|
+
SettlementStatus["Void"] = "Void";
|
|
86
|
+
SettlementStatus["Validated"] = "Validated";
|
|
87
|
+
})(SettlementStatus || (exports.SettlementStatus = SettlementStatus = {}));
|
|
72
88
|
exports.userModules = {
|
|
73
89
|
Dashboard: 1,
|
|
74
90
|
SetupMaster: 2,
|
package/constants/index.ts
CHANGED
|
@@ -68,6 +68,22 @@ export enum Disp_CategoryTypeEnum {
|
|
|
68
68
|
ContactedOthers = 'Contacted - Others',
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
export enum SettlementStatus {
|
|
72
|
+
Approved = 'Approved',
|
|
73
|
+
AmountUpdated = 'Amount Updated',
|
|
74
|
+
DocUploaded = 'Doc Uploaded',
|
|
75
|
+
DocRemoved = 'Doc Removed',
|
|
76
|
+
Inprogress = 'Inprogress',
|
|
77
|
+
Initiated = 'Initiated',
|
|
78
|
+
Pending = 'Pending',
|
|
79
|
+
QueryRaised = 'Query Raised',
|
|
80
|
+
Rejected = 'Rejected',
|
|
81
|
+
ReInitiated = 'Re-Initiated',
|
|
82
|
+
ReOpened = 'Reopened',
|
|
83
|
+
Void = 'Void',
|
|
84
|
+
Validated = 'Validated',
|
|
85
|
+
}
|
|
86
|
+
|
|
71
87
|
export const userModules = {
|
|
72
88
|
Dashboard: 1,
|
|
73
89
|
SetupMaster: 2,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DatabaseObject } from '../baseObject';
|
|
2
|
+
export interface IAgentPayments extends DatabaseObject {
|
|
3
|
+
loanId: number;
|
|
4
|
+
clientId: number;
|
|
5
|
+
portfolioId: number;
|
|
6
|
+
loanDispositionId: number;
|
|
7
|
+
amount: number;
|
|
8
|
+
paymentDate: Date;
|
|
9
|
+
transactionId: string;
|
|
10
|
+
paymentMode: string;
|
|
11
|
+
comments?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DatabaseObject } from '../baseObject';
|
|
2
|
+
|
|
3
|
+
export interface IAgentPayments extends DatabaseObject {
|
|
4
|
+
loanId: number;
|
|
5
|
+
clientId: number;
|
|
6
|
+
portfolioId: number;
|
|
7
|
+
loanDispositionId: number;
|
|
8
|
+
amount: number;
|
|
9
|
+
paymentDate: Date;
|
|
10
|
+
transactionId: string;
|
|
11
|
+
paymentMode: string;
|
|
12
|
+
comments?: string;
|
|
13
|
+
}
|
package/interfaces/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from './clientDispositions';
|
|
|
54
54
|
export * from './common';
|
|
55
55
|
export * from './webhook';
|
|
56
56
|
export * from './userStatus';
|
|
57
|
+
export * from './agentPayments';
|
|
57
58
|
import { ConnectionOptions, Dialect, ReplicationOptions } from 'sequelize/types';
|
|
58
59
|
export interface DBConnection extends ConnectionOptions {
|
|
59
60
|
host: string;
|
package/interfaces/index.js
CHANGED
|
@@ -57,3 +57,4 @@ tslib_1.__exportStar(require("./clientDispositions"), exports);
|
|
|
57
57
|
tslib_1.__exportStar(require("./common"), exports);
|
|
58
58
|
tslib_1.__exportStar(require("./webhook"), exports);
|
|
59
59
|
tslib_1.__exportStar(require("./userStatus"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./agentPayments"), exports);
|
package/interfaces/index.ts
CHANGED
|
@@ -52,8 +52,9 @@ export * from './cdr';
|
|
|
52
52
|
export * from './paymentLinks';
|
|
53
53
|
export * from './clientDispositions';
|
|
54
54
|
export * from './common';
|
|
55
|
-
export * from './webhook'
|
|
56
|
-
export * from './userStatus'
|
|
55
|
+
export * from './webhook';
|
|
56
|
+
export * from './userStatus';
|
|
57
|
+
export * from './agentPayments';
|
|
57
58
|
import {
|
|
58
59
|
ConnectionOptions,
|
|
59
60
|
Dialect,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DatabaseObject } from '../baseObject';
|
|
2
2
|
export interface ISettlementHistory extends DatabaseObject {
|
|
3
|
-
|
|
3
|
+
loanId: number;
|
|
4
4
|
settlementId: number;
|
|
5
|
-
loanNumber: string;
|
|
6
5
|
createdByUserId: number;
|
|
7
6
|
createdByName: string;
|
|
8
7
|
userRoleId: number;
|
|
@@ -10,14 +9,13 @@ export interface ISettlementHistory extends DatabaseObject {
|
|
|
10
9
|
amount: number;
|
|
11
10
|
status: string;
|
|
12
11
|
comment?: string;
|
|
13
|
-
remarks?: string;
|
|
14
12
|
waiverOnPos?: number;
|
|
15
13
|
recoveryOnPos?: number;
|
|
16
14
|
collectibleAmount?: number;
|
|
17
15
|
waiverOnCollectibleAmount?: number;
|
|
18
16
|
recoveryOnCollectibleAmount?: number;
|
|
19
17
|
clientStatus?: string;
|
|
20
|
-
clientId
|
|
18
|
+
clientId?: number;
|
|
21
19
|
docKey?: string;
|
|
22
20
|
docName?: string;
|
|
23
21
|
updatedByClientId?: number;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { DatabaseObject } from '../baseObject';
|
|
2
2
|
|
|
3
3
|
export interface ISettlementHistory extends DatabaseObject {
|
|
4
|
-
|
|
4
|
+
loanId: number;
|
|
5
5
|
settlementId: number;
|
|
6
|
-
loanNumber: string;
|
|
7
6
|
createdByUserId: number;
|
|
8
7
|
createdByName: string;
|
|
9
8
|
userRoleId: number;
|
|
@@ -11,14 +10,13 @@ export interface ISettlementHistory extends DatabaseObject {
|
|
|
11
10
|
amount: number;
|
|
12
11
|
status: string;
|
|
13
12
|
comment?: string;
|
|
14
|
-
remarks?: string;
|
|
15
13
|
waiverOnPos?: number;
|
|
16
14
|
recoveryOnPos?: number;
|
|
17
15
|
collectibleAmount?: number;
|
|
18
16
|
waiverOnCollectibleAmount?: number;
|
|
19
17
|
recoveryOnCollectibleAmount?: number;
|
|
20
18
|
clientStatus?: string;
|
|
21
|
-
clientId
|
|
19
|
+
clientId?: number;
|
|
22
20
|
docKey?: string;
|
|
23
21
|
docName?: string;
|
|
24
22
|
updatedByClientId?: number;
|
|
@@ -1,26 +1,39 @@
|
|
|
1
|
+
import { SettlementStatus } from '../../constants';
|
|
1
2
|
import { DatabaseObject } from '../baseObject';
|
|
2
3
|
export interface ISettlements extends DatabaseObject {
|
|
3
|
-
|
|
4
|
-
loanNumber: string;
|
|
4
|
+
loanId: number;
|
|
5
5
|
amount: number;
|
|
6
|
-
comments
|
|
6
|
+
comments?: string;
|
|
7
7
|
waiverOnPos?: number;
|
|
8
8
|
recoveryOnPos?: number;
|
|
9
9
|
collectibleAmount?: number;
|
|
10
10
|
waiverOnCollectibleAmount?: number;
|
|
11
11
|
recoveryOnCollectibleAmount?: number;
|
|
12
|
-
clientId
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
templateId: number;
|
|
12
|
+
clientId?: number;
|
|
13
|
+
clientStatus?: string;
|
|
14
|
+
clientComments?: string;
|
|
15
|
+
updatedClientAmount?: number;
|
|
16
|
+
statusUpdatedAt?: Date;
|
|
17
|
+
templateId?: number;
|
|
19
18
|
settlementDate: Date;
|
|
20
19
|
followUpDate?: Date;
|
|
20
|
+
loanDispositionId: number;
|
|
21
21
|
}
|
|
22
22
|
export interface ICreateSettlement extends ISettlements {
|
|
23
23
|
callRefNo?: string;
|
|
24
24
|
dispositionId?: number;
|
|
25
25
|
subDispositionId?: number;
|
|
26
26
|
}
|
|
27
|
+
export interface IUpdateSettlement extends Partial<ISettlements> {
|
|
28
|
+
id: number;
|
|
29
|
+
status: SettlementStatus;
|
|
30
|
+
comments?: string;
|
|
31
|
+
suggestedAmount?: string;
|
|
32
|
+
principalOutstanding?: string;
|
|
33
|
+
updateAmount?: number;
|
|
34
|
+
userId: number;
|
|
35
|
+
userName: string;
|
|
36
|
+
userRole: string;
|
|
37
|
+
roleId: number;
|
|
38
|
+
statusUpdatedAt?: Date;
|
|
39
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import { SettlementStatus } from '../../constants';
|
|
1
2
|
import { DatabaseObject } from '../baseObject';
|
|
2
3
|
|
|
3
4
|
export interface ISettlements extends DatabaseObject {
|
|
4
|
-
|
|
5
|
-
loanNumber: string;
|
|
5
|
+
loanId: number;
|
|
6
6
|
amount: number;
|
|
7
|
-
comments
|
|
7
|
+
comments?: string;
|
|
8
8
|
waiverOnPos?: number;
|
|
9
9
|
recoveryOnPos?: number;
|
|
10
10
|
collectibleAmount?: number;
|
|
11
11
|
waiverOnCollectibleAmount?: number;
|
|
12
12
|
recoveryOnCollectibleAmount?: number;
|
|
13
|
-
clientId
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
templateId: number;
|
|
13
|
+
clientId?: number;
|
|
14
|
+
clientStatus?: string;
|
|
15
|
+
clientComments?: string;
|
|
16
|
+
updatedClientAmount?: number;
|
|
17
|
+
statusUpdatedAt?: Date;
|
|
18
|
+
templateId?: number;
|
|
20
19
|
settlementDate: Date;
|
|
21
20
|
followUpDate?: Date;
|
|
21
|
+
loanDispositionId: number;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export interface ICreateSettlement extends ISettlements {
|
|
@@ -26,3 +26,17 @@ export interface ICreateSettlement extends ISettlements {
|
|
|
26
26
|
dispositionId?: number;
|
|
27
27
|
subDispositionId?: number;
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
export interface IUpdateSettlement extends Partial<ISettlements> {
|
|
31
|
+
id: number;
|
|
32
|
+
status: SettlementStatus;
|
|
33
|
+
comments?: string;
|
|
34
|
+
suggestedAmount?: string;
|
|
35
|
+
principalOutstanding?: string;
|
|
36
|
+
updateAmount?: number;
|
|
37
|
+
userId: number;
|
|
38
|
+
userName: string;
|
|
39
|
+
userRole: string;
|
|
40
|
+
roleId: number;
|
|
41
|
+
statusUpdatedAt?: Date;
|
|
42
|
+
}
|