@cleardu/types 1.0.553 → 1.0.555
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 +51 -0
- package/constants/brokerMessages/index.js +51 -0
- package/constants/brokerMessages/index.ts +53 -0
- package/constants/index.d.ts +3 -1
- package/constants/index.js +2 -0
- package/constants/index.ts +2 -0
- package/interfaces/index.d.ts +3 -0
- package/interfaces/index.js +3 -0
- package/interfaces/index.ts +3 -0
- package/interfaces/integration/index.d.ts +1 -0
- package/interfaces/integration/index.js +1 -0
- package/interfaces/integration/index.ts +1 -0
- package/interfaces/integration/ivrEzsip/index.d.ts +26 -0
- package/interfaces/integration/ivrEzsip/index.js +2 -0
- package/interfaces/integration/ivrEzsip/index.ts +28 -0
- package/interfaces/ivrCampaigns/index.d.ts +17 -0
- package/interfaces/ivrCampaigns/index.js +2 -0
- package/interfaces/ivrCampaigns/index.ts +18 -0
- package/interfaces/ivrDetails/index.d.ts +49 -0
- package/interfaces/ivrDetails/index.js +2 -0
- package/interfaces/ivrDetails/index.ts +53 -0
- package/interfaces/ivrLead/index.d.ts +15 -0
- package/interfaces/ivrLead/index.js +2 -0
- package/interfaces/ivrLead/index.ts +17 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -110,6 +110,14 @@ export declare const BrokerMessages: {
|
|
|
110
110
|
REFRESH_CAMPAIGN: string;
|
|
111
111
|
DELETE_AUTO_CALLING_TEMP_DATA: string;
|
|
112
112
|
};
|
|
113
|
+
IVR_CAMPAIGN: {
|
|
114
|
+
CREATE: string;
|
|
115
|
+
FIND_ALL: string;
|
|
116
|
+
FIND_ONE: string;
|
|
117
|
+
PROCESS_DETAIL: string;
|
|
118
|
+
FIND_ALL_DETAILS: string;
|
|
119
|
+
CREATE_PARTITION: string;
|
|
120
|
+
};
|
|
113
121
|
DIALER: {
|
|
114
122
|
LOGIN: string;
|
|
115
123
|
LOGOUT: string;
|
|
@@ -525,6 +533,49 @@ export declare const BrokerMessages: {
|
|
|
525
533
|
DIALER_CAMPAIGN_DETAILS: string;
|
|
526
534
|
GET_CAMPAIGN_USER_LEADS: string;
|
|
527
535
|
};
|
|
536
|
+
IVR_EZSIP: {
|
|
537
|
+
CREATE_IVR: string;
|
|
538
|
+
FETCH_ALL_IVR: string;
|
|
539
|
+
FETCH_IVR_BY_ID: string;
|
|
540
|
+
LOGIN: string;
|
|
541
|
+
LOGOUT: string;
|
|
542
|
+
UPDATE_AGENT_TO_READY: string;
|
|
543
|
+
SET_AGENT_ON_BREAK: string;
|
|
544
|
+
CREATE_AGENT: string;
|
|
545
|
+
UPDATE_AGENT: string;
|
|
546
|
+
DELETE_AGENT: string;
|
|
547
|
+
CREATE_EXTENSION: string;
|
|
548
|
+
DELETE_EXTENSION: string;
|
|
549
|
+
EXTENSIONS_DROPDOWN: string;
|
|
550
|
+
FETCH_ALL_AGENTS: string;
|
|
551
|
+
CREATE_CAMPAIGN: string;
|
|
552
|
+
UPDATE_CAMPAIGN: string;
|
|
553
|
+
FETCH_CAMPAIGN_BY_ID: string;
|
|
554
|
+
DELETE_MULTIPLE_LEADS: string;
|
|
555
|
+
TOGGLE_CAMPAIGN: string;
|
|
556
|
+
FETCH_ALL_CAMPAIGNS: string;
|
|
557
|
+
MANUAL_CALL: string;
|
|
558
|
+
CLICK_TO_CALL: string;
|
|
559
|
+
END_CALL: string;
|
|
560
|
+
PAUSE_CALL: string;
|
|
561
|
+
FETCH_ALL_IVR_DROPDOWN_OPTIONS: string;
|
|
562
|
+
FETCH_AGENT_LIVE_STATUS: string;
|
|
563
|
+
PRODUCTIVITY_REPORT: string;
|
|
564
|
+
ACTIVITY_REPORT: string;
|
|
565
|
+
FETCH_ALL_AGENTS_BREAK_TYPES: string;
|
|
566
|
+
DOWNLOAD_RECORDING_BY_REFERENCE_ID: string;
|
|
567
|
+
CREATE_MULTIPLE_LEADS: string;
|
|
568
|
+
CLEAR_LEADS_BY_CAMPAIGN_ID: string;
|
|
569
|
+
ACTIVATE_DEACTIVATE_AGENT: string;
|
|
570
|
+
WHATSAPP_TEMPLATE_LIST: string;
|
|
571
|
+
WHATSAPP_TEMPLATE_LIST_DROP_DOWN: string;
|
|
572
|
+
WHATSAPP_REPORT: string;
|
|
573
|
+
TRIGGER_WHATSAPP_MESSAGE: string;
|
|
574
|
+
CAMPAIGN_LEAD_RESET: string;
|
|
575
|
+
CAMPAIGN_LEAD_CLEAR: string;
|
|
576
|
+
DIALER_CAMPAIGN_DETAILS: string;
|
|
577
|
+
GET_CAMPAIGN_USER_LEADS: string;
|
|
578
|
+
};
|
|
528
579
|
LEGAL_PORTAL: {
|
|
529
580
|
GET_CLIENT: string;
|
|
530
581
|
GET_LOAN_TIMELINE: string;
|
|
@@ -113,6 +113,14 @@ exports.BrokerMessages = {
|
|
|
113
113
|
REFRESH_CAMPAIGN: 'REFRESH-CAMPAIGN',
|
|
114
114
|
DELETE_AUTO_CALLING_TEMP_DATA: 'DELETE-AUTO-CALLING-TEMP-DATA',
|
|
115
115
|
},
|
|
116
|
+
IVR_CAMPAIGN: {
|
|
117
|
+
CREATE: 'create-ivr-campaign',
|
|
118
|
+
FIND_ALL: 'list-ivr-campaigns',
|
|
119
|
+
FIND_ONE: 'get-ivr-campaign-detail',
|
|
120
|
+
PROCESS_DETAIL: 'PROCESS-IVR-DETAIL',
|
|
121
|
+
FIND_ALL_DETAILS: 'FIND-ALL-IVR-DETAILS',
|
|
122
|
+
CREATE_PARTITION: 'CREATE-PARTITION-IVR-DETAILS',
|
|
123
|
+
},
|
|
116
124
|
DIALER: {
|
|
117
125
|
LOGIN: 'dialer-login',
|
|
118
126
|
LOGOUT: 'dialer-logout',
|
|
@@ -528,6 +536,49 @@ exports.BrokerMessages = {
|
|
|
528
536
|
DIALER_CAMPAIGN_DETAILS: 'DIALER-CAMPAIGN-DETAILS',
|
|
529
537
|
GET_CAMPAIGN_USER_LEADS: 'GET-CAMPAIGN-USER-LEADS',
|
|
530
538
|
},
|
|
539
|
+
IVR_EZSIP: {
|
|
540
|
+
CREATE_IVR: 'IVR-EZSIP-CREATE-IVR',
|
|
541
|
+
FETCH_ALL_IVR: 'IVR-EZSIP-FETCH-ALL-IVR',
|
|
542
|
+
FETCH_IVR_BY_ID: 'IVR-EZSIP-FETCH-IVR-BY-ID',
|
|
543
|
+
LOGIN: 'IVR-EZSIP-LOGIN',
|
|
544
|
+
LOGOUT: 'IVR-EZSIP-LOGOUT',
|
|
545
|
+
UPDATE_AGENT_TO_READY: 'IVR-EZSIP-UPDATE-AGENT-to-ready',
|
|
546
|
+
SET_AGENT_ON_BREAK: 'IVR-EZSIP-set-AGENT-on-break',
|
|
547
|
+
CREATE_AGENT: 'IVR-EZSIP-CREATE-AGENT',
|
|
548
|
+
UPDATE_AGENT: 'IVR-EZSIP-UPDATE-AGENT',
|
|
549
|
+
DELETE_AGENT: 'IVR-EZSIP-DELETE-AGENT',
|
|
550
|
+
CREATE_EXTENSION: 'IVR-EZSIP-CREATE-EXTENSION',
|
|
551
|
+
DELETE_EXTENSION: 'IVR-EZSIP-DELETE-EXTENSION',
|
|
552
|
+
EXTENSIONS_DROPDOWN: 'IVR-EZSIP-EXTENSIONS-DROPDOWN',
|
|
553
|
+
FETCH_ALL_AGENTS: 'IVR-EZSIP-FETCH-ALL-AGENT',
|
|
554
|
+
CREATE_CAMPAIGN: 'IVR-EZSIP-CREATE-CAMPAIGN',
|
|
555
|
+
UPDATE_CAMPAIGN: 'IVR-EZSIP-UPDATE-CAMPAIGN',
|
|
556
|
+
FETCH_CAMPAIGN_BY_ID: 'IVR-EZSIP-FETCH-CAMPAIGN-BY-ID',
|
|
557
|
+
DELETE_MULTIPLE_LEADS: 'IVR-EZSIP-DELETE-MULTIPLE-LEADS',
|
|
558
|
+
TOGGLE_CAMPAIGN: 'IVR-EZSIP-CAMPAIGN-TOGGLE',
|
|
559
|
+
FETCH_ALL_CAMPAIGNS: 'IVR-EZSIP-FETCH-ALL-CAMPAIGN',
|
|
560
|
+
MANUAL_CALL: 'IVR-EZSIP-MANUAL-CALL',
|
|
561
|
+
CLICK_TO_CALL: 'IVR-EZSIP-CLICK-TO-CALL',
|
|
562
|
+
END_CALL: 'IVR-EZSIP-END-CALL',
|
|
563
|
+
PAUSE_CALL: 'IVR-EZSIP-PAUSE-CALL',
|
|
564
|
+
FETCH_ALL_IVR_DROPDOWN_OPTIONS: 'IVR-EZSIP-FETCH-ALL-IVR-DROPDOWN-OPTIONS',
|
|
565
|
+
FETCH_AGENT_LIVE_STATUS: 'IVR-EZSIP-FETCH-AGENT-LIVE-STATUS',
|
|
566
|
+
PRODUCTIVITY_REPORT: 'IVR-EZSIP-PRODUCTIVITY-REPORT',
|
|
567
|
+
ACTIVITY_REPORT: 'IVR-EZSIP-ACTIVITY-REPORT',
|
|
568
|
+
FETCH_ALL_AGENTS_BREAK_TYPES: 'IVR-EZSIP-FETCH-ALL-AGENT-ON-BREAK-TYPES',
|
|
569
|
+
DOWNLOAD_RECORDING_BY_REFERENCE_ID: 'IVR-EZSIP-DOWNLOAD-RECORDING-BY-REFERENCE-ID',
|
|
570
|
+
CREATE_MULTIPLE_LEADS: 'IVR-EZSIP-CREATE-MULTIPLE-LEADS',
|
|
571
|
+
CLEAR_LEADS_BY_CAMPAIGN_ID: 'IVR-EZSIP-CLEAR-LEADS-BY-CAMPAIGN-ID',
|
|
572
|
+
ACTIVATE_DEACTIVATE_AGENT: 'IVR-EZSIP-ACTIVATE-DEACTIVATE-AGENT',
|
|
573
|
+
WHATSAPP_TEMPLATE_LIST: 'IVR-EZSIP-WHATSAPP-TEMPLATE-LIST',
|
|
574
|
+
WHATSAPP_TEMPLATE_LIST_DROP_DOWN: 'IVR-EZSIP-WHATSAPP-TEMPLATE-LIST-DROPDOWN',
|
|
575
|
+
WHATSAPP_REPORT: 'IVR-EZSIP-WHATSAPP-REPORT',
|
|
576
|
+
TRIGGER_WHATSAPP_MESSAGE: 'IVR-EZSIP-TRIGGER-WHATSAPP-MESSAGE',
|
|
577
|
+
CAMPAIGN_LEAD_RESET: 'IVR-EZSIP-LEAD-RESET',
|
|
578
|
+
CAMPAIGN_LEAD_CLEAR: 'IVR-EZSIP-LEAD-CLEAR',
|
|
579
|
+
DIALER_CAMPAIGN_DETAILS: 'IVR-EZSIP-DIALER-CAMPAIGN-DETAILS',
|
|
580
|
+
GET_CAMPAIGN_USER_LEADS: 'IVR-EZSIP-GET-CAMPAIGN-USER-LEADS',
|
|
581
|
+
},
|
|
531
582
|
LEGAL_PORTAL: {
|
|
532
583
|
GET_CLIENT: 'INTEGRATION-LEGAL-PORTAL-GET-CLIENT',
|
|
533
584
|
GET_LOAN_TIMELINE: 'INTEGRATION-LEGAL-PORTAL-GET-LOAN-TIMELINE',
|
|
@@ -114,6 +114,14 @@ export const BrokerMessages = {
|
|
|
114
114
|
REFRESH_CAMPAIGN: 'REFRESH-CAMPAIGN',
|
|
115
115
|
DELETE_AUTO_CALLING_TEMP_DATA: 'DELETE-AUTO-CALLING-TEMP-DATA',
|
|
116
116
|
},
|
|
117
|
+
IVR_CAMPAIGN: {
|
|
118
|
+
CREATE: 'create-ivr-campaign',
|
|
119
|
+
FIND_ALL: 'list-ivr-campaigns',
|
|
120
|
+
FIND_ONE: 'get-ivr-campaign-detail',
|
|
121
|
+
PROCESS_DETAIL: 'PROCESS-IVR-DETAIL',
|
|
122
|
+
FIND_ALL_DETAILS: 'FIND-ALL-IVR-DETAILS',
|
|
123
|
+
CREATE_PARTITION: 'CREATE-PARTITION-IVR-DETAILS',
|
|
124
|
+
},
|
|
117
125
|
DIALER: {
|
|
118
126
|
LOGIN: 'dialer-login',
|
|
119
127
|
LOGOUT: 'dialer-logout',
|
|
@@ -537,6 +545,51 @@ export const BrokerMessages = {
|
|
|
537
545
|
DIALER_CAMPAIGN_DETAILS: 'DIALER-CAMPAIGN-DETAILS',
|
|
538
546
|
GET_CAMPAIGN_USER_LEADS: 'GET-CAMPAIGN-USER-LEADS',
|
|
539
547
|
},
|
|
548
|
+
IVR_EZSIP: {
|
|
549
|
+
CREATE_IVR: 'IVR-EZSIP-CREATE-IVR',
|
|
550
|
+
FETCH_ALL_IVR: 'IVR-EZSIP-FETCH-ALL-IVR',
|
|
551
|
+
FETCH_IVR_BY_ID: 'IVR-EZSIP-FETCH-IVR-BY-ID',
|
|
552
|
+
LOGIN: 'IVR-EZSIP-LOGIN',
|
|
553
|
+
LOGOUT: 'IVR-EZSIP-LOGOUT',
|
|
554
|
+
UPDATE_AGENT_TO_READY: 'IVR-EZSIP-UPDATE-AGENT-to-ready',
|
|
555
|
+
SET_AGENT_ON_BREAK: 'IVR-EZSIP-set-AGENT-on-break',
|
|
556
|
+
CREATE_AGENT: 'IVR-EZSIP-CREATE-AGENT',
|
|
557
|
+
UPDATE_AGENT: 'IVR-EZSIP-UPDATE-AGENT',
|
|
558
|
+
DELETE_AGENT: 'IVR-EZSIP-DELETE-AGENT',
|
|
559
|
+
CREATE_EXTENSION: 'IVR-EZSIP-CREATE-EXTENSION',
|
|
560
|
+
DELETE_EXTENSION: 'IVR-EZSIP-DELETE-EXTENSION',
|
|
561
|
+
EXTENSIONS_DROPDOWN: 'IVR-EZSIP-EXTENSIONS-DROPDOWN',
|
|
562
|
+
FETCH_ALL_AGENTS: 'IVR-EZSIP-FETCH-ALL-AGENT',
|
|
563
|
+
CREATE_CAMPAIGN: 'IVR-EZSIP-CREATE-CAMPAIGN',
|
|
564
|
+
UPDATE_CAMPAIGN: 'IVR-EZSIP-UPDATE-CAMPAIGN',
|
|
565
|
+
FETCH_CAMPAIGN_BY_ID: 'IVR-EZSIP-FETCH-CAMPAIGN-BY-ID',
|
|
566
|
+
DELETE_MULTIPLE_LEADS: 'IVR-EZSIP-DELETE-MULTIPLE-LEADS',
|
|
567
|
+
TOGGLE_CAMPAIGN: 'IVR-EZSIP-CAMPAIGN-TOGGLE',
|
|
568
|
+
FETCH_ALL_CAMPAIGNS: 'IVR-EZSIP-FETCH-ALL-CAMPAIGN',
|
|
569
|
+
MANUAL_CALL: 'IVR-EZSIP-MANUAL-CALL',
|
|
570
|
+
CLICK_TO_CALL: 'IVR-EZSIP-CLICK-TO-CALL',
|
|
571
|
+
END_CALL: 'IVR-EZSIP-END-CALL',
|
|
572
|
+
PAUSE_CALL: 'IVR-EZSIP-PAUSE-CALL',
|
|
573
|
+
FETCH_ALL_IVR_DROPDOWN_OPTIONS: 'IVR-EZSIP-FETCH-ALL-IVR-DROPDOWN-OPTIONS',
|
|
574
|
+
FETCH_AGENT_LIVE_STATUS: 'IVR-EZSIP-FETCH-AGENT-LIVE-STATUS',
|
|
575
|
+
PRODUCTIVITY_REPORT: 'IVR-EZSIP-PRODUCTIVITY-REPORT',
|
|
576
|
+
ACTIVITY_REPORT: 'IVR-EZSIP-ACTIVITY-REPORT',
|
|
577
|
+
FETCH_ALL_AGENTS_BREAK_TYPES: 'IVR-EZSIP-FETCH-ALL-AGENT-ON-BREAK-TYPES',
|
|
578
|
+
DOWNLOAD_RECORDING_BY_REFERENCE_ID:
|
|
579
|
+
'IVR-EZSIP-DOWNLOAD-RECORDING-BY-REFERENCE-ID',
|
|
580
|
+
CREATE_MULTIPLE_LEADS: 'IVR-EZSIP-CREATE-MULTIPLE-LEADS',
|
|
581
|
+
CLEAR_LEADS_BY_CAMPAIGN_ID: 'IVR-EZSIP-CLEAR-LEADS-BY-CAMPAIGN-ID',
|
|
582
|
+
ACTIVATE_DEACTIVATE_AGENT: 'IVR-EZSIP-ACTIVATE-DEACTIVATE-AGENT',
|
|
583
|
+
WHATSAPP_TEMPLATE_LIST: 'IVR-EZSIP-WHATSAPP-TEMPLATE-LIST',
|
|
584
|
+
WHATSAPP_TEMPLATE_LIST_DROP_DOWN:
|
|
585
|
+
'IVR-EZSIP-WHATSAPP-TEMPLATE-LIST-DROPDOWN',
|
|
586
|
+
WHATSAPP_REPORT: 'IVR-EZSIP-WHATSAPP-REPORT',
|
|
587
|
+
TRIGGER_WHATSAPP_MESSAGE: 'IVR-EZSIP-TRIGGER-WHATSAPP-MESSAGE',
|
|
588
|
+
CAMPAIGN_LEAD_RESET: 'IVR-EZSIP-LEAD-RESET',
|
|
589
|
+
CAMPAIGN_LEAD_CLEAR: 'IVR-EZSIP-LEAD-CLEAR',
|
|
590
|
+
DIALER_CAMPAIGN_DETAILS: 'IVR-EZSIP-DIALER-CAMPAIGN-DETAILS',
|
|
591
|
+
GET_CAMPAIGN_USER_LEADS: 'IVR-EZSIP-GET-CAMPAIGN-USER-LEADS',
|
|
592
|
+
},
|
|
540
593
|
LEGAL_PORTAL: {
|
|
541
594
|
GET_CLIENT: 'INTEGRATION-LEGAL-PORTAL-GET-CLIENT',
|
|
542
595
|
GET_LOAN_TIMELINE: 'INTEGRATION-LEGAL-PORTAL-GET-LOAN-TIMELINE',
|
package/constants/index.d.ts
CHANGED
|
@@ -244,7 +244,8 @@ export declare enum JobTypeEnum {
|
|
|
244
244
|
EXPORT_BORROWER_COLLECTION_REPORT = "EXPORT-BORROWER-COLLECTION-REPORT",
|
|
245
245
|
EXPORT_USER_BREAK_REPORT = "EXPORT-USER-BREAK-REPORT",
|
|
246
246
|
UPLOAD_BORROWER_DISPOSITION = "UPLOAD-BORROWER-DISPOSITION",
|
|
247
|
-
UPLOAD_SKIP_RECORDS = "UPLOAD-SKIP-RECORDS"
|
|
247
|
+
UPLOAD_SKIP_RECORDS = "UPLOAD-SKIP-RECORDS",
|
|
248
|
+
IVR_LEAD_FILE = "ivr-lead-file-parser"
|
|
248
249
|
}
|
|
249
250
|
export declare enum PaymentStatus {
|
|
250
251
|
UNPAID = 1,
|
|
@@ -305,6 +306,7 @@ export declare const Constants: {
|
|
|
305
306
|
PAYMENT_FILE: string;
|
|
306
307
|
REASSIGNMENT_FILE: string;
|
|
307
308
|
COMMUNICATIONS_FILE: string;
|
|
309
|
+
IVR_LEAD_FILE: string;
|
|
308
310
|
};
|
|
309
311
|
SLUG: {
|
|
310
312
|
SEEDER: {
|
package/constants/index.js
CHANGED
|
@@ -270,6 +270,7 @@ var JobTypeEnum;
|
|
|
270
270
|
JobTypeEnum["EXPORT_USER_BREAK_REPORT"] = "EXPORT-USER-BREAK-REPORT";
|
|
271
271
|
JobTypeEnum["UPLOAD_BORROWER_DISPOSITION"] = "UPLOAD-BORROWER-DISPOSITION";
|
|
272
272
|
JobTypeEnum["UPLOAD_SKIP_RECORDS"] = "UPLOAD-SKIP-RECORDS";
|
|
273
|
+
JobTypeEnum["IVR_LEAD_FILE"] = "ivr-lead-file-parser";
|
|
273
274
|
})(JobTypeEnum || (exports.JobTypeEnum = JobTypeEnum = {}));
|
|
274
275
|
var PaymentStatus;
|
|
275
276
|
(function (PaymentStatus) {
|
|
@@ -332,6 +333,7 @@ exports.Constants = {
|
|
|
332
333
|
PAYMENT_FILE: 'payment-file-parser',
|
|
333
334
|
REASSIGNMENT_FILE: 'reassign-file-parser',
|
|
334
335
|
COMMUNICATIONS_FILE: 'message-file-parser',
|
|
336
|
+
IVR_LEAD_FILE: 'ivr-lead-file-parser',
|
|
335
337
|
},
|
|
336
338
|
SLUG: {
|
|
337
339
|
SEEDER: {
|
package/constants/index.ts
CHANGED
|
@@ -275,6 +275,7 @@ export enum JobTypeEnum {
|
|
|
275
275
|
EXPORT_USER_BREAK_REPORT = 'EXPORT-USER-BREAK-REPORT',
|
|
276
276
|
UPLOAD_BORROWER_DISPOSITION = 'UPLOAD-BORROWER-DISPOSITION',
|
|
277
277
|
UPLOAD_SKIP_RECORDS = 'UPLOAD-SKIP-RECORDS',
|
|
278
|
+
IVR_LEAD_FILE = 'ivr-lead-file-parser',
|
|
278
279
|
}
|
|
279
280
|
|
|
280
281
|
export enum PaymentStatus {
|
|
@@ -354,6 +355,7 @@ export const Constants = {
|
|
|
354
355
|
PAYMENT_FILE: 'payment-file-parser',
|
|
355
356
|
REASSIGNMENT_FILE: 'reassign-file-parser',
|
|
356
357
|
COMMUNICATIONS_FILE: 'message-file-parser',
|
|
358
|
+
IVR_LEAD_FILE: 'ivr-lead-file-parser',
|
|
357
359
|
},
|
|
358
360
|
SLUG: {
|
|
359
361
|
SEEDER: {
|
package/interfaces/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export * from './borrowersDispositions';
|
|
|
4
4
|
export * from './borrowersHistory';
|
|
5
5
|
export * from './break';
|
|
6
6
|
export * from './campaigns';
|
|
7
|
+
export * from './ivrCampaigns';
|
|
8
|
+
export * from './ivrDetails';
|
|
9
|
+
export * from './ivrLead';
|
|
7
10
|
export * from './cdr';
|
|
8
11
|
export * from './centers';
|
|
9
12
|
export * from './cities';
|
package/interfaces/index.js
CHANGED
|
@@ -7,6 +7,9 @@ tslib_1.__exportStar(require("./borrowersDispositions"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./borrowersHistory"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./break"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./campaigns"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ivrCampaigns"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ivrDetails"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ivrLead"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./cdr"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./centers"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./cities"), exports);
|
package/interfaces/index.ts
CHANGED
|
@@ -4,6 +4,9 @@ export * from './borrowersDispositions';
|
|
|
4
4
|
export * from './borrowersHistory';
|
|
5
5
|
export * from './break';
|
|
6
6
|
export * from './campaigns';
|
|
7
|
+
export * from './ivrCampaigns';
|
|
8
|
+
export * from './ivrDetails';
|
|
9
|
+
export * from './ivrLead';
|
|
7
10
|
export * from './cdr';
|
|
8
11
|
export * from './centers';
|
|
9
12
|
export * from './cities';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface IIvrEzsipFilePayload {
|
|
2
|
+
buffer: string;
|
|
3
|
+
originalname: string;
|
|
4
|
+
mimetype: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IIvrEzsipListFilter {
|
|
7
|
+
offset?: number;
|
|
8
|
+
limit?: number;
|
|
9
|
+
search?: string;
|
|
10
|
+
fetchType?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IIvrEzsipCreatePayload {
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
recording?: string;
|
|
16
|
+
prefix?: string;
|
|
17
|
+
maxRatio?: number;
|
|
18
|
+
timeout?: number;
|
|
19
|
+
gatewayUuid?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
options?: string | Record<string, unknown> | unknown[];
|
|
22
|
+
file?: IIvrEzsipFilePayload;
|
|
23
|
+
clientId: number;
|
|
24
|
+
isActive: boolean;
|
|
25
|
+
IsStarted?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface IIvrEzsipFilePayload {
|
|
2
|
+
buffer: string;
|
|
3
|
+
originalname: string;
|
|
4
|
+
mimetype: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface IIvrEzsipListFilter {
|
|
8
|
+
offset?: number;
|
|
9
|
+
limit?: number;
|
|
10
|
+
search?: string;
|
|
11
|
+
fetchType?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface IIvrEzsipCreatePayload {
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
recording?: string;
|
|
18
|
+
prefix?: string;
|
|
19
|
+
maxRatio?: number;
|
|
20
|
+
timeout?: number;
|
|
21
|
+
gatewayUuid?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
options?: string | Record<string, unknown> | unknown[];
|
|
24
|
+
file?: IIvrEzsipFilePayload;
|
|
25
|
+
clientId: number;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
IsStarted?: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DatabaseObject } from '../baseObject';
|
|
2
|
+
export interface IIvrCampaigns extends DatabaseObject {
|
|
3
|
+
clientId: number;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
ivrDialerCampaignId: string;
|
|
7
|
+
dialerCampaignId: string;
|
|
8
|
+
recording?: string;
|
|
9
|
+
prefix?: string;
|
|
10
|
+
maxRatio?: number;
|
|
11
|
+
timeout?: number;
|
|
12
|
+
gatewayUuid?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
options?: string;
|
|
15
|
+
isStarted?: boolean;
|
|
16
|
+
isActive: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DatabaseObject } from '../baseObject';
|
|
2
|
+
|
|
3
|
+
export interface IIvrCampaigns extends DatabaseObject {
|
|
4
|
+
clientId: number;
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
ivrDialerCampaignId: string;
|
|
8
|
+
dialerCampaignId: string;
|
|
9
|
+
recording?: string;
|
|
10
|
+
prefix?: string;
|
|
11
|
+
maxRatio?: number;
|
|
12
|
+
timeout?: number;
|
|
13
|
+
gatewayUuid?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
options?: string;
|
|
16
|
+
isStarted?: boolean;
|
|
17
|
+
isActive: boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IListPayload } from '../payload';
|
|
2
|
+
export interface IIvrDetails {
|
|
3
|
+
id?: number;
|
|
4
|
+
referenceId: string;
|
|
5
|
+
date: string;
|
|
6
|
+
hour?: number | null;
|
|
7
|
+
minute?: number | null;
|
|
8
|
+
mobile: string;
|
|
9
|
+
loanId: number;
|
|
10
|
+
ivrCampaignId: number;
|
|
11
|
+
leadId?: string | null;
|
|
12
|
+
type?: string | null;
|
|
13
|
+
status?: string | null;
|
|
14
|
+
duration?: number | null;
|
|
15
|
+
talkSec?: number | null;
|
|
16
|
+
waitingSec?: number | null;
|
|
17
|
+
startTime?: string | null;
|
|
18
|
+
endTime?: string | null;
|
|
19
|
+
createdAt?: Date;
|
|
20
|
+
updatedAt?: Date;
|
|
21
|
+
}
|
|
22
|
+
export interface IIvrDetailWebhookPayload {
|
|
23
|
+
leadId?: string;
|
|
24
|
+
campaignId?: string;
|
|
25
|
+
number: string;
|
|
26
|
+
callUid: string;
|
|
27
|
+
uId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Some senders may include this, but IVR details ingestion
|
|
30
|
+
* should rely on `uId` formatted as `${ivrCampaignId}-${loanId}`.
|
|
31
|
+
*/
|
|
32
|
+
preferenceType?: string;
|
|
33
|
+
subType?: string;
|
|
34
|
+
type?: string;
|
|
35
|
+
status?: string;
|
|
36
|
+
duration?: number;
|
|
37
|
+
talkSec?: number;
|
|
38
|
+
waitingSec?: number;
|
|
39
|
+
startTime?: string;
|
|
40
|
+
endTime?: string;
|
|
41
|
+
domainUuid?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface IFetchAllIvrDetails extends Omit<IListPayload, 'startDate' | 'endDate'> {
|
|
44
|
+
startDate?: string;
|
|
45
|
+
endDate?: string;
|
|
46
|
+
status?: string;
|
|
47
|
+
loanId?: number;
|
|
48
|
+
ivrCampaignId?: number;
|
|
49
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IListPayload } from '../payload';
|
|
2
|
+
|
|
3
|
+
export interface IIvrDetails {
|
|
4
|
+
id?: number;
|
|
5
|
+
referenceId: string;
|
|
6
|
+
date: string;
|
|
7
|
+
hour?: number | null;
|
|
8
|
+
minute?: number | null;
|
|
9
|
+
mobile: string;
|
|
10
|
+
loanId: number;
|
|
11
|
+
ivrCampaignId: number;
|
|
12
|
+
leadId?: string | null;
|
|
13
|
+
type?: string | null;
|
|
14
|
+
status?: string | null;
|
|
15
|
+
duration?: number | null;
|
|
16
|
+
talkSec?: number | null;
|
|
17
|
+
waitingSec?: number | null;
|
|
18
|
+
startTime?: string | null;
|
|
19
|
+
endTime?: string | null;
|
|
20
|
+
createdAt?: Date;
|
|
21
|
+
updatedAt?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IIvrDetailWebhookPayload {
|
|
25
|
+
leadId?: string;
|
|
26
|
+
campaignId?: string;
|
|
27
|
+
number: string;
|
|
28
|
+
callUid: string;
|
|
29
|
+
uId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Some senders may include this, but IVR details ingestion
|
|
32
|
+
* should rely on `uId` formatted as `${ivrCampaignId}-${loanId}`.
|
|
33
|
+
*/
|
|
34
|
+
preferenceType?: string;
|
|
35
|
+
subType?: string;
|
|
36
|
+
type?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
duration?: number;
|
|
39
|
+
talkSec?: number;
|
|
40
|
+
waitingSec?: number;
|
|
41
|
+
startTime?: string;
|
|
42
|
+
endTime?: string;
|
|
43
|
+
domainUuid?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface IFetchAllIvrDetails
|
|
47
|
+
extends Omit<IListPayload, 'startDate' | 'endDate'> {
|
|
48
|
+
startDate?: string;
|
|
49
|
+
endDate?: string;
|
|
50
|
+
status?: string;
|
|
51
|
+
loanId?: number;
|
|
52
|
+
ivrCampaignId?: number;
|
|
53
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IIvrLeadCorrectCSVData {
|
|
2
|
+
loanNumber: string;
|
|
3
|
+
ivrCampaignName: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IIncorrectIvrLeadCSVData extends IIvrLeadCorrectCSVData {
|
|
6
|
+
errors: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IIvrLeadValidatedRecord extends IIvrLeadCorrectCSVData {
|
|
9
|
+
ivrCampaignId: number;
|
|
10
|
+
dialerCampaignId: string;
|
|
11
|
+
loanId: number;
|
|
12
|
+
firstName: string;
|
|
13
|
+
lastName: string;
|
|
14
|
+
phoneNumber: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IIvrLeadCorrectCSVData {
|
|
2
|
+
loanNumber: string;
|
|
3
|
+
ivrCampaignName: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface IIncorrectIvrLeadCSVData extends IIvrLeadCorrectCSVData {
|
|
7
|
+
errors: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface IIvrLeadValidatedRecord extends IIvrLeadCorrectCSVData {
|
|
11
|
+
ivrCampaignId: number;
|
|
12
|
+
dialerCampaignId: string;
|
|
13
|
+
loanId: number;
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
phoneNumber: string;
|
|
17
|
+
}
|