@cleardu/types 1.0.53 → 1.0.54

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 (41) hide show
  1. package/constants/brokerMessages/index.d.ts +14 -1
  2. package/constants/brokerMessages/index.js +15 -2
  3. package/constants/brokerMessages/index.ts +15 -2
  4. package/constants/index.d.ts +12 -0
  5. package/constants/index.js +29 -5
  6. package/constants/index.ts +31 -4
  7. package/constants/validations/index.d.ts +27 -5
  8. package/constants/validations/index.js +33 -11
  9. package/constants/validations/index.ts +34 -11
  10. package/interfaces/borrowers/index.d.ts +2 -1
  11. package/interfaces/borrowers/index.ts +2 -1
  12. package/interfaces/borrowersLoansHistory/index.d.ts +4 -4
  13. package/interfaces/borrowersLoansHistory/index.ts +4 -4
  14. package/interfaces/break/index.d.ts +2 -2
  15. package/interfaces/break/index.ts +2 -2
  16. package/interfaces/cdr/index.d.ts +13 -0
  17. package/interfaces/cdr/index.ts +14 -1
  18. package/interfaces/common/index.d.ts +8 -0
  19. package/interfaces/common/index.ts +7 -1
  20. package/interfaces/dispositions/index.d.ts +2 -2
  21. package/interfaces/dispositions/index.ts +2 -2
  22. package/interfaces/idObject/index.d.ts +1 -1
  23. package/interfaces/idObject/index.ts +1 -1
  24. package/interfaces/index.d.ts +7 -1
  25. package/interfaces/index.js +7 -1
  26. package/interfaces/index.ts +7 -2
  27. package/interfaces/jobs/index.d.ts +6 -1
  28. package/interfaces/jobs/index.ts +7 -1
  29. package/interfaces/loanMappings/index.d.ts +17 -0
  30. package/interfaces/loanMappings/index.ts +19 -0
  31. package/interfaces/loans/index.d.ts +25 -0
  32. package/interfaces/loans/index.ts +28 -0
  33. package/interfaces/payments/index.d.ts +6 -0
  34. package/interfaces/payments/index.ts +7 -0
  35. package/interfaces/reassignment/index.d.ts +6 -12
  36. package/interfaces/reassignment/index.ts +6 -12
  37. package/package.json +1 -1
  38. package/tsconfig.build.tsbuildinfo +1 -1
  39. package/interfaces/loanHistory/index.d.ts +0 -3
  40. package/interfaces/loanHistory/index.ts +0 -3
  41. /package/interfaces/{loanHistory → loanMappings}/index.js +0 -0
@@ -106,6 +106,9 @@ export declare const BrokerMessages: {
106
106
  REMOVE: string;
107
107
  };
108
108
  };
109
+ LOAN_MAPPING: {
110
+ CREATE: string;
111
+ };
109
112
  BORROWER_DISPOSITION: {
110
113
  CREATE: string;
111
114
  AGENT_DISPOSITIONS: string;
@@ -150,11 +153,13 @@ export declare const BrokerMessages: {
150
153
  FIND_ONE: string;
151
154
  FIND_ALL: string;
152
155
  };
153
- DASHBOARD: {
156
+ REPORT: {
154
157
  INBOUND: {
155
158
  DAILY_CALL: string;
156
159
  HOURLY_CALL_DETAILS: string;
157
160
  CLIENT_DETAILS: string;
161
+ AGGREGATE_CALL_STATES: string;
162
+ AGGREGATE_Client_CALL_STATES: string;
158
163
  };
159
164
  OUTBOUND: {
160
165
  DAILY_CALL: string;
@@ -175,6 +180,14 @@ export declare const BrokerMessages: {
175
180
  FIND_ONE: string;
176
181
  DELETE: string;
177
182
  };
183
+ BREAKS: {
184
+ CREATE: string;
185
+ UPDATE: string;
186
+ FIND_ONE: string;
187
+ FIND_ALL: string;
188
+ AVAILABILITY: string;
189
+ DROPDOWN: string;
190
+ };
178
191
  };
179
192
  CDR: {
180
193
  PROCESSCDR: string;
@@ -109,6 +109,9 @@ exports.BrokerMessages = {
109
109
  REMOVE: 'REMOVE-TAG',
110
110
  },
111
111
  },
112
+ LOAN_MAPPING: {
113
+ CREATE: 'CREATE_LOAN_MAPPING',
114
+ },
112
115
  BORROWER_DISPOSITION: {
113
116
  CREATE: 'CREATE_DISPOSITION',
114
117
  AGENT_DISPOSITIONS: 'AGENT-DISPOSITIONS-ALL',
@@ -124,7 +127,7 @@ exports.BrokerMessages = {
124
127
  CITIES: 'OPTIONS-CITY',
125
128
  STATES: 'OPTIONS-STATE',
126
129
  DISPOSITIONS: 'OPTIONS-DISPOSITIONS',
127
- VALIDATE_MODEL: 'VALIDATE_MODEL'
130
+ VALIDATE_MODEL: 'VALIDATE_MODEL',
128
131
  },
129
132
  BORROWER_DISPOSITION: {
130
133
  CREATE: 'CREATE_DISPOSITION',
@@ -153,11 +156,13 @@ exports.BrokerMessages = {
153
156
  FIND_ONE: 'PAYMENT-FIND_ONE',
154
157
  FIND_ALL: 'PAYMENT-FIND_ALL',
155
158
  },
156
- DASHBOARD: {
159
+ REPORT: {
157
160
  INBOUND: {
158
161
  DAILY_CALL: 'INBOUND-DAILY-CALL',
159
162
  HOURLY_CALL_DETAILS: 'HOURLY-CALL-DETAILS',
160
163
  CLIENT_DETAILS: 'INBOUND-CLIENT-DETAILS',
164
+ AGGREGATE_CALL_STATES: 'AGGREGATE-CALL-STATES',
165
+ AGGREGATE_Client_CALL_STATES: 'AGGREGATE-CALL-STATES',
161
166
  },
162
167
  OUTBOUND: {
163
168
  DAILY_CALL: 'OUTBOUND-DAILY-CALL',
@@ -178,6 +183,14 @@ exports.BrokerMessages = {
178
183
  FIND_ONE: 'GET-CLIENT-DISPOSITION-SUBDISPOSITION-DETAIL',
179
184
  DELETE: 'DELETE-CLIENT-DISPOSITION-SUBDISPOSITION',
180
185
  },
186
+ BREAKS: {
187
+ CREATE: 'CREATE-BREAK',
188
+ UPDATE: 'UPDATE-BREAK',
189
+ FIND_ONE: 'GET-BREAK-DETAIL',
190
+ FIND_ALL: 'LIST-BREAKS',
191
+ AVAILABILITY: 'BREAKS-AVAILABILITY',
192
+ DROPDOWN: 'BREAKS-DROPDOWN',
193
+ },
181
194
  },
182
195
  CDR: {
183
196
  PROCESSCDR: 'PROCESS-CDR',
@@ -106,6 +106,9 @@ export const BrokerMessages = {
106
106
  REMOVE: 'REMOVE-TAG',
107
107
  },
108
108
  },
109
+ LOAN_MAPPING: {
110
+ CREATE: 'CREATE_LOAN_MAPPING',
111
+ },
109
112
  BORROWER_DISPOSITION: {
110
113
  CREATE: 'CREATE_DISPOSITION',
111
114
  AGENT_DISPOSITIONS: 'AGENT-DISPOSITIONS-ALL',
@@ -121,7 +124,7 @@ export const BrokerMessages = {
121
124
  CITIES: 'OPTIONS-CITY',
122
125
  STATES: 'OPTIONS-STATE',
123
126
  DISPOSITIONS: 'OPTIONS-DISPOSITIONS',
124
- VALIDATE_MODEL:'VALIDATE_MODEL'
127
+ VALIDATE_MODEL: 'VALIDATE_MODEL',
125
128
  },
126
129
  BORROWER_DISPOSITION: {
127
130
  CREATE: 'CREATE_DISPOSITION',
@@ -151,11 +154,13 @@ export const BrokerMessages = {
151
154
  FIND_ONE: 'PAYMENT-FIND_ONE',
152
155
  FIND_ALL: 'PAYMENT-FIND_ALL',
153
156
  },
154
- DASHBOARD: {
157
+ REPORT: {
155
158
  INBOUND: {
156
159
  DAILY_CALL: 'INBOUND-DAILY-CALL',
157
160
  HOURLY_CALL_DETAILS: 'HOURLY-CALL-DETAILS',
158
161
  CLIENT_DETAILS: 'INBOUND-CLIENT-DETAILS',
162
+ AGGREGATE_CALL_STATES: 'AGGREGATE-CALL-STATES',
163
+ AGGREGATE_Client_CALL_STATES: 'AGGREGATE-CALL-STATES',
159
164
  },
160
165
  OUTBOUND: {
161
166
  DAILY_CALL: 'OUTBOUND-DAILY-CALL',
@@ -176,6 +181,14 @@ export const BrokerMessages = {
176
181
  FIND_ONE: 'GET-CLIENT-DISPOSITION-SUBDISPOSITION-DETAIL',
177
182
  DELETE: 'DELETE-CLIENT-DISPOSITION-SUBDISPOSITION',
178
183
  },
184
+ BREAKS: {
185
+ CREATE: 'CREATE-BREAK',
186
+ UPDATE: 'UPDATE-BREAK',
187
+ FIND_ONE: 'GET-BREAK-DETAIL',
188
+ FIND_ALL: 'LIST-BREAKS',
189
+ AVAILABILITY: 'BREAKS-AVAILABILITY',
190
+ DROPDOWN: 'BREAKS-DROPDOWN',
191
+ },
179
192
  },
180
193
  CDR: {
181
194
  PROCESSCDR: 'PROCESS-CDR',
@@ -1,3 +1,4 @@
1
+ import { IUploadProps } from '../interfaces';
1
2
  export * from './brokerMessages';
2
3
  export declare const Services: {
3
4
  AWS_SERVICE: string;
@@ -83,6 +84,7 @@ export declare const userModules: {
83
84
  Files: number;
84
85
  Dispositions: number;
85
86
  CampaignMapping: number;
87
+ Centers: number;
86
88
  };
87
89
  export declare const dispoSubDispo: {
88
90
  dispositions: {
@@ -185,6 +187,11 @@ export declare const Constants: {
185
187
  loansId: loanRecordType;
186
188
  duplicateLoans: loanRecordType;
187
189
  };
190
+ DOC_KEYS: {
191
+ CUSTOMER_FILE: string;
192
+ PAYMENT_FILE: string;
193
+ REASSIGNMENT_FILE: string;
194
+ };
188
195
  };
189
196
  export declare const validateTableCols: {
190
197
  userScreen: {
@@ -203,3 +210,8 @@ export declare const validateTableCols: {
203
210
  cols: string[];
204
211
  };
205
212
  };
213
+ export declare const FileUploadConfig: {
214
+ borrower: IUploadProps;
215
+ payment: IUploadProps;
216
+ borrower_reassignment: IUploadProps;
217
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.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;
4
4
  const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("./brokerMessages"), exports);
6
6
  exports.Services = {
@@ -97,7 +97,8 @@ exports.userModules = {
97
97
  LiveChat: 25,
98
98
  Files: 26,
99
99
  Dispositions: 27,
100
- CampaignMapping: 27,
100
+ CampaignMapping: 28,
101
+ Centers: 29,
101
102
  };
102
103
  exports.dispoSubDispo = {
103
104
  dispositions: {
@@ -201,21 +202,44 @@ exports.Constants = {
201
202
  loansId: 'loansId',
202
203
  duplicateLoans: 'duplicateLoans',
203
204
  },
205
+ DOC_KEYS: {
206
+ CUSTOMER_FILE: 'customer-file-parser',
207
+ PAYMENT_FILE: 'payment-file-parser',
208
+ REASSIGNMENT_FILE: 'reassign-file-parser',
209
+ },
204
210
  };
205
211
  exports.validateTableCols = {
206
212
  userScreen: {
207
213
  key: 'userScreen',
208
214
  table: 'User',
209
- cols: ['email', 'name', 'extention'],
215
+ cols: ['email', 'name', 'extensionNumber'],
210
216
  },
211
217
  campaignScreen: {
212
218
  key: 'campaignScreen',
213
- table: 'Campaign',
219
+ table: 'Campaigns',
214
220
  cols: ['name'],
215
221
  },
216
222
  clientScreen: {
217
223
  key: 'clientScreen',
218
- table: 'Client',
224
+ table: 'Clients',
219
225
  cols: ['email', 'name'],
220
226
  },
221
227
  };
228
+ exports.FileUploadConfig = {
229
+ borrower: {
230
+ acceptType: '.csv',
231
+ docKey: exports.Constants.DOC_KEYS.CUSTOMER_FILE,
232
+ headers: [
233
+ { label: 'Client', value: 'clientId' },
234
+ { label: 'Portfolio', value: 'portfolioId' },
235
+ ],
236
+ },
237
+ payment: {
238
+ acceptType: '.csv',
239
+ docKey: exports.Constants.DOC_KEYS.PAYMENT_FILE,
240
+ },
241
+ borrower_reassignment: {
242
+ acceptType: '.csv',
243
+ docKey: exports.Constants.DOC_KEYS.REASSIGNMENT_FILE,
244
+ },
245
+ };
@@ -1,3 +1,5 @@
1
+ import { IUploadProps } from '../interfaces';
2
+
1
3
  export * from './brokerMessages';
2
4
  export const Services = {
3
5
  AWS_SERVICE: 'AWS_SERVICE',
@@ -94,7 +96,8 @@ export const userModules = {
94
96
  LiveChat: 25,
95
97
  Files: 26,
96
98
  Dispositions: 27,
97
- CampaignMapping: 27,
99
+ CampaignMapping: 28,
100
+ Centers: 29,
98
101
  };
99
102
 
100
103
  export const dispoSubDispo = {
@@ -215,21 +218,45 @@ export const Constants = {
215
218
  loansId: 'loansId' as loanRecordType,
216
219
  duplicateLoans: 'duplicateLoans' as loanRecordType,
217
220
  },
221
+ DOC_KEYS: {
222
+ CUSTOMER_FILE: 'customer-file-parser',
223
+ PAYMENT_FILE: 'payment-file-parser',
224
+ REASSIGNMENT_FILE: 'reassign-file-parser',
225
+ },
218
226
  };
219
227
  export const validateTableCols = {
220
228
  userScreen: {
221
229
  key: 'userScreen',
222
230
  table: 'User',
223
- cols: ['email', 'name', 'extention'],
231
+ cols: ['email', 'name', 'extensionNumber'],
224
232
  },
225
233
  campaignScreen: {
226
234
  key: 'campaignScreen',
227
- table: 'Campaign',
235
+ table: 'Campaigns',
228
236
  cols: ['name'],
229
237
  },
230
238
  clientScreen: {
231
239
  key: 'clientScreen',
232
- table: 'Client',
240
+ table: 'Clients',
233
241
  cols: ['email', 'name'],
234
242
  },
235
243
  };
244
+
245
+ export const FileUploadConfig = {
246
+ borrower: {
247
+ acceptType: '.csv',
248
+ docKey: Constants.DOC_KEYS.CUSTOMER_FILE,
249
+ headers: [
250
+ { label: 'Client', value: 'clientId' },
251
+ { label: 'Portfolio', value: 'portfolioId' },
252
+ ],
253
+ } as IUploadProps,
254
+ payment: {
255
+ acceptType: '.csv',
256
+ docKey: Constants.DOC_KEYS.PAYMENT_FILE,
257
+ } as IUploadProps,
258
+ borrower_reassignment: {
259
+ acceptType: '.csv',
260
+ docKey: Constants.DOC_KEYS.REASSIGNMENT_FILE,
261
+ } as IUploadProps,
262
+ };
@@ -48,12 +48,14 @@ export declare const validations: {
48
48
  message: string;
49
49
  };
50
50
  };
51
- extension: {
52
- minLength: {
53
- value: number;
51
+ role: {
52
+ required: {
53
+ value: boolean;
54
54
  message: string;
55
55
  };
56
- maxLength: {
56
+ };
57
+ extension: {
58
+ equal: {
57
59
  value: number;
58
60
  message: string;
59
61
  };
@@ -86,6 +88,12 @@ export declare const validations: {
86
88
  message: string;
87
89
  };
88
90
  };
91
+ campaignType: {
92
+ required: {
93
+ value: boolean;
94
+ message: string;
95
+ };
96
+ };
89
97
  ratio: {
90
98
  required: {
91
99
  value: boolean;
@@ -110,6 +118,18 @@ export declare const validations: {
110
118
  message: string;
111
119
  };
112
120
  };
121
+ roleType: {
122
+ required: {
123
+ value: boolean;
124
+ message: string;
125
+ };
126
+ };
127
+ parentRole: {
128
+ required: {
129
+ value: boolean;
130
+ message: string;
131
+ };
132
+ };
113
133
  };
114
134
  Portfolio: {
115
135
  name: {
@@ -127,7 +147,9 @@ export declare const validations: {
127
147
  value: boolean;
128
148
  message: string;
129
149
  };
130
- owner: {
150
+ };
151
+ owner: {
152
+ required: {
131
153
  value: boolean;
132
154
  message: string;
133
155
  };
@@ -6,11 +6,11 @@ exports.validations = {
6
6
  name: {
7
7
  required: {
8
8
  value: true,
9
- message: 'Client name is required.',
9
+ message: 'Name is required.',
10
10
  },
11
11
  maxLength: {
12
12
  value: 30,
13
- message: 'Client must be less than 30 characters',
13
+ message: 'Name must be less than 30 characters',
14
14
  },
15
15
  },
16
16
  password: {
@@ -52,14 +52,16 @@ exports.validations = {
52
52
  message: 'User type is required.',
53
53
  },
54
54
  },
55
- extension: {
56
- minLength: {
57
- value: 4,
58
- message: 'Extension Number must be greater than 4 characters.',
55
+ role: {
56
+ required: {
57
+ value: true,
58
+ message: 'Role is required.',
59
59
  },
60
- maxLength: {
60
+ },
61
+ extension: {
62
+ equal: {
61
63
  value: 4,
62
- message: 'Extension Number must not be greater than 4 characters.',
64
+ message: 'Extension Number must be equal to 4 characters.',
63
65
  },
64
66
  },
65
67
  email: {
@@ -90,6 +92,12 @@ exports.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,
@@ -114,6 +122,18 @@ exports.validations = {
114
122
  message: 'Name must be less than 30 characters',
115
123
  },
116
124
  },
125
+ roleType: {
126
+ required: {
127
+ value: true,
128
+ message: 'View type is required.',
129
+ },
130
+ },
131
+ parentRole: {
132
+ required: {
133
+ value: true,
134
+ message: 'Parent role is required.',
135
+ },
136
+ },
117
137
  },
118
138
  Portfolio: {
119
139
  name: {
@@ -131,10 +151,12 @@ exports.validations = {
131
151
  value: true,
132
152
  message: 'Client is required',
133
153
  },
134
- owner: {
154
+ },
155
+ owner: {
156
+ required: {
135
157
  value: true,
136
- message: 'Portfolio Owner is required.',
137
- },
158
+ message: 'Portfolio owner is required.',
159
+ }
138
160
  },
139
161
  },
140
162
  };
@@ -3,11 +3,11 @@ export const validations = {
3
3
  name: {
4
4
  required: {
5
5
  value: true,
6
- message: 'Client name is required.',
6
+ message: 'Name is required.',
7
7
  },
8
8
  maxLength: {
9
9
  value: 30,
10
- message: 'Client must be less than 30 characters',
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
- extension: {
55
- minLength: {
56
- value: 4,
57
- message: 'Extension Number must be greater than 4 characters.',
54
+ role: {
55
+ required: {
56
+ value: true,
57
+ message: 'Role is required.',
58
58
  },
59
- maxLength: {
59
+ },
60
+ extension: {
61
+ equal: {
60
62
  value: 4,
61
- message: 'Extension Number must not be greater than 4 characters.',
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
- owner: {
156
+
157
+ },
158
+ owner: {
159
+ required:{
137
160
  value: true,
138
- message: 'Portfolio Owner is required.',
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
- jobId: string;
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
- jobId: string;
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: string;
5
- before: JSON;
6
- after: JSON;
4
+ clientBorrowerId?: string;
5
+ oldData?: JSON;
6
+ newData?: JSON;
7
7
  action: string;
8
8
  log: string;
9
- jobId: number;
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: string;
6
- before: JSON;
7
- after: JSON;
5
+ clientBorrowerId?: string;
6
+ oldData?: JSON;
7
+ newData?: JSON;
8
8
  action: string;
9
9
  log: string;
10
- jobId: number;
10
+ jobId?: number;
11
11
  }
@@ -1,7 +1,7 @@
1
1
  import { DatabaseObject } from '../baseObject';
2
2
  export interface IBreak extends DatabaseObject {
3
- id?: number;
4
3
  name: string;
5
4
  description: string;
6
- breakTime: Date;
5
+ duration: number;
6
+ isActive: boolean;
7
7
  }
@@ -1,8 +1,8 @@
1
1
  import { DatabaseObject } from '../baseObject';
2
2
 
3
3
  export interface IBreak extends DatabaseObject {
4
- id?: number;
5
4
  name: string;
6
5
  description: string;
7
- breakTime: Date;
6
+ duration: number;
7
+ isActive: boolean;
8
8
  }
@@ -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
+ }
@@ -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
+ }
@@ -3,3 +3,11 @@ export interface IValidate {
3
3
  value: string;
4
4
  module: string;
5
5
  }
6
+ export interface IUploadProps {
7
+ acceptType: string;
8
+ docKey: string;
9
+ headers?: {
10
+ label: string;
11
+ value: string;
12
+ }[];
13
+ }
@@ -1,5 +1,11 @@
1
1
  export interface IValidate {
2
2
  field: string;
3
3
  value: string;
4
- module:string;
4
+ module: string;
5
+ }
6
+
7
+ export interface IUploadProps {
8
+ acceptType: string;
9
+ docKey: string;
10
+ headers?: { label: string; value: string }[];
5
11
  }
@@ -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?: string;
4
+ category?: Disp_CategoryTypeEnum;
5
5
  name: string;
6
6
  type: DispositionTypeEnum;
7
7
  parentId: number;