@cleardu/types 1.0.554 → 1.0.556

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.
@@ -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',
@@ -235,6 +235,7 @@ export declare enum JobTypeEnum {
235
235
  EXPORT_BORROWER = "EXPORT-BORROWER",
236
236
  EXPORT_CALL_DISPOSITION_REPORT = "EXPORT-CALL-DISPOSITION-REPORT",
237
237
  EXPORT_CALL_DISPOSITION_REPORT_WITHOUT_CALL = "EXPORT-CALL-DISPOSITION-REPORT-WITHOUT-CALL",
238
+ EXPORT_FIELD_DISPOSITION = "EXPORT-FIELD-DISPOSITION",
238
239
  EXPORT_IVR = "EXPORT-IVR",
239
240
  EXPORT_SMS = "EXPORT-SMS",
240
241
  EXPORT_WHATSAPP = "EXPORT-WHATSAPP",
@@ -244,7 +245,8 @@ export declare enum JobTypeEnum {
244
245
  EXPORT_BORROWER_COLLECTION_REPORT = "EXPORT-BORROWER-COLLECTION-REPORT",
245
246
  EXPORT_USER_BREAK_REPORT = "EXPORT-USER-BREAK-REPORT",
246
247
  UPLOAD_BORROWER_DISPOSITION = "UPLOAD-BORROWER-DISPOSITION",
247
- UPLOAD_SKIP_RECORDS = "UPLOAD-SKIP-RECORDS"
248
+ UPLOAD_SKIP_RECORDS = "UPLOAD-SKIP-RECORDS",
249
+ IVR_LEAD_FILE = "ivr-lead-file-parser"
248
250
  }
249
251
  export declare enum PaymentStatus {
250
252
  UNPAID = 1,
@@ -305,6 +307,7 @@ export declare const Constants: {
305
307
  PAYMENT_FILE: string;
306
308
  REASSIGNMENT_FILE: string;
307
309
  COMMUNICATIONS_FILE: string;
310
+ IVR_LEAD_FILE: string;
308
311
  };
309
312
  SLUG: {
310
313
  SEEDER: {
@@ -1628,6 +1631,7 @@ export declare enum ExportTypeEnum {
1628
1631
  EXPORT_BORROWER = "EXPORT-BORROWER",
1629
1632
  EXPORT_CALL_DISPOSITION_REPORT = "EXPORT-CALL-DISPOSITION-REPORT",
1630
1633
  EXPORT_CALL_DISPOSITION_REPORT_WITHOUT_CALL = "EXPORT-CALL-DISPOSITION-REPORT-WITHOUT-CALL",
1634
+ EXPORT_FIELD_DISPOSITION = "EXPORT-FIELD-DISPOSITION",
1631
1635
  EXPORT_IVR = "EXPORT-IVR",
1632
1636
  EXPORT_SMS = "EXPORT-SMS",
1633
1637
  EXPORT_WHATSAPP = "EXPORT-WHATSAPP",
@@ -260,6 +260,7 @@ var JobTypeEnum;
260
260
  JobTypeEnum["EXPORT_BORROWER"] = "EXPORT-BORROWER";
261
261
  JobTypeEnum["EXPORT_CALL_DISPOSITION_REPORT"] = "EXPORT-CALL-DISPOSITION-REPORT";
262
262
  JobTypeEnum["EXPORT_CALL_DISPOSITION_REPORT_WITHOUT_CALL"] = "EXPORT-CALL-DISPOSITION-REPORT-WITHOUT-CALL";
263
+ JobTypeEnum["EXPORT_FIELD_DISPOSITION"] = "EXPORT-FIELD-DISPOSITION";
263
264
  JobTypeEnum["EXPORT_IVR"] = "EXPORT-IVR";
264
265
  JobTypeEnum["EXPORT_SMS"] = "EXPORT-SMS";
265
266
  JobTypeEnum["EXPORT_WHATSAPP"] = "EXPORT-WHATSAPP";
@@ -270,6 +271,7 @@ var JobTypeEnum;
270
271
  JobTypeEnum["EXPORT_USER_BREAK_REPORT"] = "EXPORT-USER-BREAK-REPORT";
271
272
  JobTypeEnum["UPLOAD_BORROWER_DISPOSITION"] = "UPLOAD-BORROWER-DISPOSITION";
272
273
  JobTypeEnum["UPLOAD_SKIP_RECORDS"] = "UPLOAD-SKIP-RECORDS";
274
+ JobTypeEnum["IVR_LEAD_FILE"] = "ivr-lead-file-parser";
273
275
  })(JobTypeEnum || (exports.JobTypeEnum = JobTypeEnum = {}));
274
276
  var PaymentStatus;
275
277
  (function (PaymentStatus) {
@@ -332,6 +334,7 @@ exports.Constants = {
332
334
  PAYMENT_FILE: 'payment-file-parser',
333
335
  REASSIGNMENT_FILE: 'reassign-file-parser',
334
336
  COMMUNICATIONS_FILE: 'message-file-parser',
337
+ IVR_LEAD_FILE: 'ivr-lead-file-parser',
335
338
  },
336
339
  SLUG: {
337
340
  SEEDER: {
@@ -1834,6 +1837,7 @@ var ExportTypeEnum;
1834
1837
  ExportTypeEnum["EXPORT_BORROWER"] = "EXPORT-BORROWER";
1835
1838
  ExportTypeEnum["EXPORT_CALL_DISPOSITION_REPORT"] = "EXPORT-CALL-DISPOSITION-REPORT";
1836
1839
  ExportTypeEnum["EXPORT_CALL_DISPOSITION_REPORT_WITHOUT_CALL"] = "EXPORT-CALL-DISPOSITION-REPORT-WITHOUT-CALL";
1840
+ ExportTypeEnum["EXPORT_FIELD_DISPOSITION"] = "EXPORT-FIELD-DISPOSITION";
1837
1841
  ExportTypeEnum["EXPORT_IVR"] = "EXPORT-IVR";
1838
1842
  ExportTypeEnum["EXPORT_SMS"] = "EXPORT-SMS";
1839
1843
  ExportTypeEnum["EXPORT_WHATSAPP"] = "EXPORT-WHATSAPP";
@@ -265,6 +265,7 @@ export enum JobTypeEnum {
265
265
  EXPORT_BORROWER = 'EXPORT-BORROWER',
266
266
  EXPORT_CALL_DISPOSITION_REPORT = 'EXPORT-CALL-DISPOSITION-REPORT',
267
267
  EXPORT_CALL_DISPOSITION_REPORT_WITHOUT_CALL = 'EXPORT-CALL-DISPOSITION-REPORT-WITHOUT-CALL',
268
+ EXPORT_FIELD_DISPOSITION = 'EXPORT-FIELD-DISPOSITION',
268
269
  EXPORT_IVR = 'EXPORT-IVR',
269
270
  EXPORT_SMS = 'EXPORT-SMS',
270
271
  EXPORT_WHATSAPP = 'EXPORT-WHATSAPP',
@@ -275,6 +276,7 @@ export enum JobTypeEnum {
275
276
  EXPORT_USER_BREAK_REPORT = 'EXPORT-USER-BREAK-REPORT',
276
277
  UPLOAD_BORROWER_DISPOSITION = 'UPLOAD-BORROWER-DISPOSITION',
277
278
  UPLOAD_SKIP_RECORDS = 'UPLOAD-SKIP-RECORDS',
279
+ IVR_LEAD_FILE = 'ivr-lead-file-parser',
278
280
  }
279
281
 
280
282
  export enum PaymentStatus {
@@ -354,6 +356,7 @@ export const Constants = {
354
356
  PAYMENT_FILE: 'payment-file-parser',
355
357
  REASSIGNMENT_FILE: 'reassign-file-parser',
356
358
  COMMUNICATIONS_FILE: 'message-file-parser',
359
+ IVR_LEAD_FILE: 'ivr-lead-file-parser',
357
360
  },
358
361
  SLUG: {
359
362
  SEEDER: {
@@ -1857,6 +1860,7 @@ export enum ExportTypeEnum {
1857
1860
  EXPORT_BORROWER = 'EXPORT-BORROWER',
1858
1861
  EXPORT_CALL_DISPOSITION_REPORT = 'EXPORT-CALL-DISPOSITION-REPORT',
1859
1862
  EXPORT_CALL_DISPOSITION_REPORT_WITHOUT_CALL = 'EXPORT-CALL-DISPOSITION-REPORT-WITHOUT-CALL',
1863
+ EXPORT_FIELD_DISPOSITION = 'EXPORT-FIELD-DISPOSITION',
1860
1864
  EXPORT_IVR = 'EXPORT-IVR',
1861
1865
  EXPORT_SMS = 'EXPORT-SMS',
1862
1866
  EXPORT_WHATSAPP = 'EXPORT-WHATSAPP',
@@ -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';
@@ -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);
@@ -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';
@@ -1,2 +1,3 @@
1
1
  export * from './ezsip';
2
+ export * from './ivrEzsip';
2
3
  export * from './legalPortal';
@@ -2,4 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./ezsip"), exports);
5
+ tslib_1.__exportStar(require("./ivrEzsip"), exports);
5
6
  tslib_1.__exportStar(require("./legalPortal"), exports);
@@ -1,2 +1,3 @@
1
1
  export * from './ezsip';
2
+ export * from './ivrEzsip';
2
3
  export * from './legalPortal';
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleardu/types",
3
- "version": "1.0.554",
3
+ "version": "1.0.556",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@aws)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",