@cleardu/types 1.0.557 → 1.0.559
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 +0 -51
- package/constants/brokerMessages/index.js +0 -51
- package/constants/brokerMessages/index.ts +0 -53
- package/constants/index.d.ts +1 -3
- package/constants/index.js +0 -2
- package/constants/index.ts +0 -2
- package/interfaces/index.d.ts +0 -3
- package/interfaces/index.js +0 -3
- package/interfaces/index.ts +0 -3
- package/interfaces/integration/index.d.ts +0 -1
- package/interfaces/integration/index.js +0 -1
- package/interfaces/integration/index.ts +0 -1
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/interfaces/integration/ivrEzsip/index.d.ts +0 -26
- package/interfaces/integration/ivrEzsip/index.js +0 -2
- package/interfaces/integration/ivrEzsip/index.ts +0 -28
- package/interfaces/ivrCampaigns/index.d.ts +0 -17
- package/interfaces/ivrCampaigns/index.js +0 -2
- package/interfaces/ivrCampaigns/index.ts +0 -18
- package/interfaces/ivrDetails/index.d.ts +0 -49
- package/interfaces/ivrDetails/index.js +0 -2
- package/interfaces/ivrDetails/index.ts +0 -53
- package/interfaces/ivrLead/index.d.ts +0 -15
- package/interfaces/ivrLead/index.js +0 -2
- package/interfaces/ivrLead/index.ts +0 -17
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|