@cleardu/types 1.0.170 → 1.0.172

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.
@@ -6,5 +6,4 @@ export interface IDispositions extends IdObject {
6
6
  type: DispositionTypeEnum;
7
7
  parentId: number;
8
8
  isActive: boolean;
9
- isHotPtp?: boolean;
10
9
  }
@@ -7,5 +7,4 @@ export interface IDispositions extends IdObject {
7
7
  type: DispositionTypeEnum;
8
8
  parentId: number;
9
9
  isActive: boolean;
10
- isHotPtp?: boolean;
11
10
  }
@@ -1,14 +1,28 @@
1
+ import { IVRCallStatus } from '../../constants';
1
2
  import { DatabaseObject } from '../baseObject';
3
+ import { IListPayload } from '../payload';
2
4
  export interface IIVR extends DatabaseObject {
3
5
  loanId: number;
4
- mobile: number;
6
+ mobile: string;
5
7
  status: string;
6
8
  duration?: string;
7
9
  startTime?: Date;
8
10
  endTime?: Date;
9
11
  campaignId?: string;
10
12
  jobId: number;
11
- scheduleDate?: Date;
13
+ scheduleDate?: string;
12
14
  ivrId?: string;
13
- templateId: number;
15
+ }
16
+ export interface ICreateIVRLeadReq {
17
+ campaignId: string;
18
+ data: Array<{
19
+ firstName: string;
20
+ lastName: string;
21
+ phoneNumber: string;
22
+ uId: string;
23
+ }>;
24
+ }
25
+ export interface IIVRFilterParams extends IListPayload {
26
+ clientIds?: string;
27
+ status?: IVRCallStatus;
14
28
  }
@@ -1,15 +1,31 @@
1
+ import { IVRCallStatus } from '../../constants';
1
2
  import { DatabaseObject } from '../baseObject';
3
+ import { IListPayload } from '../payload';
2
4
 
3
5
  export interface IIVR extends DatabaseObject {
4
6
  loanId: number;
5
- mobile: number;
7
+ mobile: string;
6
8
  status: string;
7
9
  duration?: string;
8
10
  startTime?: Date;
9
11
  endTime?: Date;
10
12
  campaignId?: string;
11
13
  jobId: number;
12
- scheduleDate?: Date;
14
+ scheduleDate?: string;
13
15
  ivrId?: string;
14
- templateId: number;
16
+ }
17
+
18
+ export interface ICreateIVRLeadReq {
19
+ campaignId: string;
20
+ data: Array<{
21
+ firstName: string;
22
+ lastName: string;
23
+ phoneNumber: string;
24
+ uId: string;
25
+ }>;
26
+ }
27
+
28
+ export interface IIVRFilterParams extends IListPayload {
29
+ clientIds?: string;
30
+ status?: IVRCallStatus;
15
31
  }
@@ -39,9 +39,8 @@ export interface IMessageFileRecordsParams {
39
39
  whatsAppTemplateId?: string;
40
40
  whatsAppScheduleAt?: Date;
41
41
  whatsAppMessage?: string;
42
- ivrTemplateId?: number;
42
+ ivrDialerCampaignId?: string;
43
43
  ivrScheduleAt?: Date;
44
- ivrMessage?: string;
45
44
  }
46
45
  export interface ISMSFilterParams extends IListPayload {
47
46
  clientIds?: string;
@@ -44,9 +44,8 @@ export interface IMessageFileRecordsParams {
44
44
  whatsAppTemplateId?: string;
45
45
  whatsAppScheduleAt?: Date;
46
46
  whatsAppMessage?: string;
47
- ivrTemplateId?: number;
47
+ ivrDialerCampaignId?: string;
48
48
  ivrScheduleAt?: Date;
49
- ivrMessage?: string;
50
49
  }
51
50
 
52
51
  export interface ISMSFilterParams extends IListPayload {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleardu/types",
3
- "version": "1.0.170",
3
+ "version": "1.0.172",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@aws)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",