@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.
- package/constants/brokerMessages/index.d.ts +3 -0
- package/constants/brokerMessages/index.js +5 -2
- package/constants/brokerMessages/index.ts +5 -2
- package/constants/index.d.ts +356 -294
- package/constants/index.js +667 -441
- package/constants/index.ts +667 -440
- package/interfaces/dispositions/index.d.ts +0 -1
- package/interfaces/dispositions/index.ts +0 -1
- package/interfaces/ivr/index.d.ts +17 -3
- package/interfaces/ivr/index.ts +19 -3
- package/interfaces/sms/index.d.ts +1 -2
- package/interfaces/sms/index.ts +1 -2
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -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:
|
|
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?:
|
|
13
|
+
scheduleDate?: string;
|
|
12
14
|
ivrId?: string;
|
|
13
|
-
|
|
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
|
}
|
package/interfaces/ivr/index.ts
CHANGED
|
@@ -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:
|
|
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?:
|
|
14
|
+
scheduleDate?: string;
|
|
13
15
|
ivrId?: string;
|
|
14
|
-
|
|
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
|
-
|
|
42
|
+
ivrDialerCampaignId?: string;
|
|
43
43
|
ivrScheduleAt?: Date;
|
|
44
|
-
ivrMessage?: string;
|
|
45
44
|
}
|
|
46
45
|
export interface ISMSFilterParams extends IListPayload {
|
|
47
46
|
clientIds?: string;
|
package/interfaces/sms/index.ts
CHANGED
|
@@ -44,9 +44,8 @@ export interface IMessageFileRecordsParams {
|
|
|
44
44
|
whatsAppTemplateId?: string;
|
|
45
45
|
whatsAppScheduleAt?: Date;
|
|
46
46
|
whatsAppMessage?: string;
|
|
47
|
-
|
|
47
|
+
ivrDialerCampaignId?: string;
|
|
48
48
|
ivrScheduleAt?: Date;
|
|
49
|
-
ivrMessage?: string;
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
export interface ISMSFilterParams extends IListPayload {
|