@rc-ex/core 0.12.1 → 0.12.2
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/definitions/AggregatePerformanceCallsGrouping.ts +28 -0
- package/definitions/AggregatePerformanceReportCallsParameters.ts +2 -1
- package/definitions/{CallPerformanceActionInfo.ts → CallActionFilter.ts} +2 -2
- package/definitions/CallSegmentFilter.ts +0 -4
- package/definitions/CallsByDirection.ts +2 -2
- package/definitions/CallsByOrigin.ts +2 -2
- package/definitions/KeyInfo.ts +9 -0
- package/definitions/PerformanceCallsAdvancedTimeSettings.ts +1 -2
- package/definitions/PerformanceCallsAggregatesRequest.ts +5 -4
- package/definitions/PerformanceCallsAggregatesResponse.ts +4 -3
- package/definitions/PerformanceCallsCounters.ts +1 -1
- package/definitions/PerformanceCallsCountersResponseOptions.ts +24 -12
- package/definitions/PerformanceCallsCountersResponseOptionsAllCalls.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsByType.ts +10 -0
- package/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.ts +10 -0
- package/definitions/PerformanceCallsData.ts +3 -6
- package/definitions/PerformanceCallsFilterTimeSpentByMailbox.ts +1 -1
- package/definitions/{PerformanceCallsAdditionalFilters.ts → PerformanceCallsFilters.ts} +24 -24
- package/definitions/PerformanceCallsResponseDataOptions.ts +1 -1
- package/definitions/PerformanceCallsTimeInterval.ts +2 -4
- package/definitions/PerformanceCallsTimeRange.ts +2 -5
- package/definitions/PerformanceCallsTimeSettings.ts +1 -1
- package/definitions/PerformanceCallsTimelineRequest.ts +9 -8
- package/definitions/PerformanceCallsTimers.ts +1 -1
- package/definitions/PerformanceCallsTimersResponseOptions.ts +22 -11
- package/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.ts +10 -0
- package/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.ts +10 -0
- package/definitions/{PerformanceCallsPaging.ts → ResponsePaging.ts} +3 -3
- package/definitions/TimelineCountersResponseOptions.ts +43 -0
- package/definitions/TimelineData.ts +5 -1
- package/definitions/TimelinePerformanceCallsGrouping.ts +16 -0
- package/definitions/TimelineResponseDataOptions.ts +18 -0
- package/definitions/TimelineTimersResponseOptions.ts +39 -0
- package/definitions/index.ts +28 -7
- package/lib/definitions/AggregatePerformanceCallsGrouping.d.ts +15 -0
- package/lib/definitions/AggregatePerformanceCallsGrouping.js +9 -0
- package/lib/definitions/AggregatePerformanceCallsGrouping.js.map +1 -0
- package/lib/definitions/AggregatePerformanceReportCallsParameters.d.ts +2 -1
- package/lib/definitions/AggregatePerformanceReportCallsParameters.js.map +1 -1
- package/lib/definitions/{CallPerformanceActionInfo.d.ts → CallActionFilter.d.ts} +2 -2
- package/lib/definitions/CallActionFilter.js +6 -0
- package/lib/definitions/CallActionFilter.js.map +1 -0
- package/lib/definitions/CallSegmentFilter.d.ts +0 -4
- package/lib/definitions/CallSegmentFilter.js +0 -3
- package/lib/definitions/CallSegmentFilter.js.map +1 -1
- package/lib/definitions/CallsByDirection.d.ts +2 -2
- package/lib/definitions/CallsByOrigin.d.ts +2 -2
- package/lib/definitions/KeyInfo.d.ts +9 -0
- package/lib/definitions/KeyInfo.js +9 -0
- package/lib/definitions/KeyInfo.js.map +1 -0
- package/lib/definitions/PerformanceCallsAdvancedTimeSettings.d.ts +1 -2
- package/lib/definitions/PerformanceCallsAdvancedTimeSettings.js.map +1 -1
- package/lib/definitions/PerformanceCallsAggregatesRequest.d.ts +4 -3
- package/lib/definitions/PerformanceCallsAggregatesRequest.js.map +1 -1
- package/lib/definitions/PerformanceCallsAggregatesResponse.d.ts +4 -3
- package/lib/definitions/PerformanceCallsAggregatesResponse.js.map +1 -1
- package/lib/definitions/PerformanceCallsCounters.d.ts +1 -1
- package/lib/definitions/PerformanceCallsCounters.js +1 -1
- package/lib/definitions/PerformanceCallsCountersResponseOptions.d.ts +13 -12
- package/lib/definitions/PerformanceCallsCountersResponseOptions.js +1 -1
- package/lib/definitions/PerformanceCallsCountersResponseOptions.js.map +1 -1
- package/lib/definitions/PerformanceCallsCountersResponseOptionsAllCalls.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsAllCalls.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsAllCalls.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByType.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByType.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByType.js.map +1 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.d.ts +9 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.js +6 -0
- package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.js.map +1 -0
- package/lib/definitions/PerformanceCallsData.d.ts +3 -6
- package/lib/definitions/PerformanceCallsData.js +0 -3
- package/lib/definitions/PerformanceCallsData.js.map +1 -1
- package/lib/definitions/PerformanceCallsFilterTimeSpentByMailbox.d.ts +1 -1
- package/lib/definitions/PerformanceCallsFilterTimeSpentByMailbox.js +1 -1
- package/lib/definitions/PerformanceCallsFilters.d.ts +61 -0
- package/lib/definitions/PerformanceCallsFilters.js +9 -0
- package/lib/definitions/PerformanceCallsFilters.js.map +1 -0
- package/lib/definitions/PerformanceCallsResponseDataOptions.d.ts +1 -1
- package/lib/definitions/PerformanceCallsResponseDataOptions.js +1 -1
- package/lib/definitions/PerformanceCallsTimeInterval.d.ts +2 -4
- package/lib/definitions/PerformanceCallsTimeInterval.js.map +1 -1
- package/lib/definitions/PerformanceCallsTimeRange.d.ts +2 -5
- package/lib/definitions/PerformanceCallsTimeRange.js +0 -3
- package/lib/definitions/PerformanceCallsTimeRange.js.map +1 -1
- package/lib/definitions/PerformanceCallsTimeSettings.d.ts +1 -1
- package/lib/definitions/PerformanceCallsTimeSettings.js +1 -1
- package/lib/definitions/PerformanceCallsTimelineRequest.d.ts +6 -5
- package/lib/definitions/PerformanceCallsTimelineRequest.js.map +1 -1
- package/lib/definitions/PerformanceCallsTimers.d.ts +1 -1
- package/lib/definitions/PerformanceCallsTimers.js +1 -1
- package/lib/definitions/PerformanceCallsTimersResponseOptions.d.ts +12 -11
- package/lib/definitions/PerformanceCallsTimersResponseOptions.js +1 -1
- package/lib/definitions/PerformanceCallsTimersResponseOptions.js.map +1 -1
- package/lib/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.js.map +1 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.d.ts +9 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.js +6 -0
- package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.js.map +1 -0
- package/lib/definitions/{PerformanceCallsPaging.d.ts → ResponsePaging.d.ts} +3 -3
- package/lib/definitions/ResponsePaging.js +6 -0
- package/lib/definitions/ResponsePaging.js.map +1 -0
- package/lib/definitions/TimelineCountersResponseOptions.d.ts +34 -0
- package/lib/definitions/TimelineCountersResponseOptions.js +6 -0
- package/lib/definitions/TimelineCountersResponseOptions.js.map +1 -0
- package/lib/definitions/TimelineData.d.ts +4 -1
- package/lib/definitions/TimelineData.js.map +1 -1
- package/lib/definitions/TimelinePerformanceCallsGrouping.d.ts +15 -0
- package/lib/definitions/TimelinePerformanceCallsGrouping.js +9 -0
- package/lib/definitions/TimelinePerformanceCallsGrouping.js.map +1 -0
- package/lib/definitions/TimelineResponseDataOptions.d.ts +13 -0
- package/lib/definitions/TimelineResponseDataOptions.js +9 -0
- package/lib/definitions/TimelineResponseDataOptions.js.map +1 -0
- package/lib/definitions/TimelineTimersResponseOptions.d.ts +31 -0
- package/lib/definitions/TimelineTimersResponseOptions.js +6 -0
- package/lib/definitions/TimelineTimersResponseOptions.js.map +1 -0
- package/lib/definitions/index.d.ts +28 -7
- package/lib/definitions/index.js +76 -33
- package/lib/definitions/index.js.map +1 -1
- package/lib/package.json +2 -2
- package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.d.ts +2 -1
- package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.js +2 -1
- package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.js.map +1 -1
- package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.d.ts +2 -1
- package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.js +2 -1
- package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.js.map +1 -1
- package/package.json +2 -2
- package/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.ts +2 -1
- package/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.ts +2 -1
- package/samples.md +6 -6
- package/definitions/PerformanceCallsCounter.ts +0 -13
- package/definitions/PerformanceCallsGrouping.ts +0 -63
- package/definitions/PerformanceCallsKeyInfo.ts +0 -10
- package/definitions/PerformanceCallsTimer.ts +0 -13
- package/lib/definitions/CallPerformanceActionInfo.js +0 -6
- package/lib/definitions/CallPerformanceActionInfo.js.map +0 -1
- package/lib/definitions/PerformanceCallsAdditionalFilters.d.ts +0 -61
- package/lib/definitions/PerformanceCallsAdditionalFilters.js +0 -9
- package/lib/definitions/PerformanceCallsAdditionalFilters.js.map +0 -1
- package/lib/definitions/PerformanceCallsCounter.d.ts +0 -12
- package/lib/definitions/PerformanceCallsCounter.js +0 -6
- package/lib/definitions/PerformanceCallsCounter.js.map +0 -1
- package/lib/definitions/PerformanceCallsGrouping.d.ts +0 -50
- package/lib/definitions/PerformanceCallsGrouping.js +0 -44
- package/lib/definitions/PerformanceCallsGrouping.js.map +0 -1
- package/lib/definitions/PerformanceCallsKeyInfo.d.ts +0 -10
- package/lib/definitions/PerformanceCallsKeyInfo.js +0 -9
- package/lib/definitions/PerformanceCallsKeyInfo.js.map +0 -1
- package/lib/definitions/PerformanceCallsPaging.js +0 -6
- package/lib/definitions/PerformanceCallsPaging.js.map +0 -1
- package/lib/definitions/PerformanceCallsTimer.d.ts +0 -12
- package/lib/definitions/PerformanceCallsTimer.js +0 -6
- package/lib/definitions/PerformanceCallsTimer.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This field specifies the dimensions by which the response should be grouped and specific IDs to narrow the response. If this field is **undefined or null**, the response will contain one record with data aggregated by the whole company
|
|
3
|
+
*/
|
|
4
|
+
class AggregatePerformanceCallsGrouping {
|
|
5
|
+
/**
|
|
6
|
+
* This field describes the dimensions by which the response should be grouped. See also *The [Developer Guide](https://developers.ringcentral.com/guide/analytics/call-performance)*
|
|
7
|
+
* Required
|
|
8
|
+
*/
|
|
9
|
+
groupBy?:
|
|
10
|
+
| 'CompanyNumbers'
|
|
11
|
+
| 'Users'
|
|
12
|
+
| 'Queues'
|
|
13
|
+
| 'IVRs'
|
|
14
|
+
| 'SharedLines'
|
|
15
|
+
| 'UserGroups'
|
|
16
|
+
| 'Sites'
|
|
17
|
+
| 'Departments'
|
|
18
|
+
| 'DepartmentMembers'
|
|
19
|
+
| 'UserGroupMembers'
|
|
20
|
+
| 'QueueAgents'
|
|
21
|
+
| 'SiteMembers';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* This field can be used to specify unique identifiers of groups in GroupBy types
|
|
25
|
+
*/
|
|
26
|
+
ids?: string[];
|
|
27
|
+
}
|
|
28
|
+
export default AggregatePerformanceCallsGrouping;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class
|
|
1
|
+
class CallActionFilter {
|
|
2
2
|
/**
|
|
3
3
|
*/
|
|
4
4
|
callAction?:
|
|
@@ -10,4 +10,4 @@ class CallPerformanceActionInfo {
|
|
|
10
10
|
| 'WarmTransfer'
|
|
11
11
|
| 'DTMFTransfer';
|
|
12
12
|
}
|
|
13
|
-
export default
|
|
13
|
+
export default CallActionFilter;
|
|
@@ -5,8 +5,7 @@ import {PerformanceCallsTimeInterval} from './index';
|
|
|
5
5
|
*/
|
|
6
6
|
class PerformanceCallsAdvancedTimeSettings {
|
|
7
7
|
/**
|
|
8
|
-
* IANA-compatible time zone name,
|
|
9
|
-
* Required
|
|
8
|
+
* IANA-compatible time zone name, for example 'America/Los_Angeles', 'Europe/Moscow'. See also *[Time Zones](https://www.iana.org/time-zones)*
|
|
10
9
|
*/
|
|
11
10
|
timeZone?: string;
|
|
12
11
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
AggregatePerformanceCallsGrouping,
|
|
3
3
|
PerformanceCallsTimeSettings,
|
|
4
|
-
|
|
4
|
+
PerformanceCallsFilters,
|
|
5
5
|
PerformanceCallsResponseDataOptions,
|
|
6
6
|
} from './index';
|
|
7
7
|
|
|
8
8
|
class PerformanceCallsAggregatesRequest {
|
|
9
9
|
/**
|
|
10
|
+
* Required
|
|
10
11
|
*/
|
|
11
|
-
grouping?:
|
|
12
|
+
grouping?: AggregatePerformanceCallsGrouping;
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* Required
|
|
@@ -17,7 +18,7 @@ class PerformanceCallsAggregatesRequest {
|
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*/
|
|
20
|
-
additionalFilters?:
|
|
21
|
+
additionalFilters?: PerformanceCallsFilters;
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Required
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {ResponsePaging, PerformanceCallsData} from './index';
|
|
2
2
|
|
|
3
3
|
class PerformanceCallsAggregatesResponse {
|
|
4
4
|
/**
|
|
5
5
|
* Required
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
paging?: ResponsePaging;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
+
* A list of call aggregations as per the grouping and filtering options specified in the request
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
data?: PerformanceCallsData[];
|
|
12
13
|
}
|
|
13
14
|
export default PerformanceCallsAggregatesResponse;
|
|
@@ -1,47 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
PerformanceCallsCountersResponseOptionsAllCalls,
|
|
3
|
+
PerformanceCallsCountersResponseOptionsCallsByDirection,
|
|
4
|
+
PerformanceCallsCountersResponseOptionsCallsByOrigin,
|
|
5
|
+
PerformanceCallsCountersResponseOptionsCallsByResponse,
|
|
6
|
+
PerformanceCallsCountersResponseOptionsCallsSegments,
|
|
7
|
+
PerformanceCallsCountersResponseOptionsCallsByResult,
|
|
8
|
+
PerformanceCallsCountersResponseOptionsCallsByCompanyHours,
|
|
9
|
+
PerformanceCallsCountersResponseOptionsCallsByQueueSla,
|
|
10
|
+
PerformanceCallsCountersResponseOptionsCallsByActions,
|
|
11
|
+
PerformanceCallsCountersResponseOptionsCallsByType,
|
|
12
|
+
} from './index';
|
|
2
13
|
|
|
3
14
|
/**
|
|
4
|
-
*
|
|
15
|
+
* The formula is defined by `aggregationType` and `aggregationInterval` for every counter individually. If `aggregationType` is `Sum` or `Percent`, `aggregationInterval` is not supported. If `aggregationType` is `Min`, `Max` or `Average`,`aggregationInterval` is required
|
|
5
16
|
*/
|
|
6
17
|
class PerformanceCallsCountersResponseOptions {
|
|
7
18
|
/**
|
|
8
19
|
*/
|
|
9
|
-
allCalls?:
|
|
20
|
+
allCalls?: PerformanceCallsCountersResponseOptionsAllCalls;
|
|
10
21
|
|
|
11
22
|
/**
|
|
12
23
|
*/
|
|
13
|
-
callsByDirection?:
|
|
24
|
+
callsByDirection?: PerformanceCallsCountersResponseOptionsCallsByDirection;
|
|
14
25
|
|
|
15
26
|
/**
|
|
16
27
|
*/
|
|
17
|
-
callsByOrigin?:
|
|
28
|
+
callsByOrigin?: PerformanceCallsCountersResponseOptionsCallsByOrigin;
|
|
18
29
|
|
|
19
30
|
/**
|
|
20
31
|
*/
|
|
21
|
-
callsByResponse?:
|
|
32
|
+
callsByResponse?: PerformanceCallsCountersResponseOptionsCallsByResponse;
|
|
22
33
|
|
|
23
34
|
/**
|
|
24
35
|
*/
|
|
25
|
-
|
|
36
|
+
callsSegments?: PerformanceCallsCountersResponseOptionsCallsSegments;
|
|
26
37
|
|
|
27
38
|
/**
|
|
28
39
|
*/
|
|
29
|
-
|
|
40
|
+
callsByResult?: PerformanceCallsCountersResponseOptionsCallsByResult;
|
|
30
41
|
|
|
31
42
|
/**
|
|
32
43
|
*/
|
|
33
|
-
|
|
44
|
+
callsByCompanyHours?: PerformanceCallsCountersResponseOptionsCallsByCompanyHours;
|
|
34
45
|
|
|
35
46
|
/**
|
|
47
|
+
* This counter is only applicable to Queues grouping
|
|
36
48
|
*/
|
|
37
|
-
|
|
49
|
+
callsByQueueSla?: PerformanceCallsCountersResponseOptionsCallsByQueueSla;
|
|
38
50
|
|
|
39
51
|
/**
|
|
40
52
|
*/
|
|
41
|
-
|
|
53
|
+
callsByActions?: PerformanceCallsCountersResponseOptionsCallsByActions;
|
|
42
54
|
|
|
43
55
|
/**
|
|
44
56
|
*/
|
|
45
|
-
|
|
57
|
+
callsByType?: PerformanceCallsCountersResponseOptionsCallsByType;
|
|
46
58
|
}
|
|
47
59
|
export default PerformanceCallsCountersResponseOptions;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsAllCalls {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsAllCalls;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByActions {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByActions;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByCompanyHours {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByCompanyHours;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByDirection {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByDirection;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByOrigin {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByOrigin;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByQueueSla {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByQueueSla;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByResponse {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByResult {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByResult;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsByType {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsByType;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class PerformanceCallsCountersResponseOptionsCallsSegments {
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
*/
|
|
8
|
+
aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
|
|
9
|
+
}
|
|
10
|
+
export default PerformanceCallsCountersResponseOptionsCallsSegments;
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
KeyInfo,
|
|
3
3
|
PerformanceCallsTimers,
|
|
4
4
|
PerformanceCallsCounters,
|
|
5
5
|
} from './index';
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* A list of call aggregations as per the grouping and filtering options specified in the request.
|
|
9
|
-
*/
|
|
10
7
|
class PerformanceCallsData {
|
|
11
8
|
/**
|
|
12
|
-
* Grouping key
|
|
9
|
+
* Grouping key.
|
|
13
10
|
* Required
|
|
14
11
|
*/
|
|
15
12
|
key?: string;
|
|
16
13
|
|
|
17
14
|
/**
|
|
18
15
|
*/
|
|
19
|
-
keyInfo?:
|
|
16
|
+
keyInfo?: KeyInfo;
|
|
20
17
|
|
|
21
18
|
/**
|
|
22
19
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CallSegmentFilter,
|
|
3
|
-
|
|
3
|
+
CallActionFilter,
|
|
4
4
|
PerformanceCallsFilterByLength,
|
|
5
5
|
PerformanceCallsFilterTimeSpentByMailbox,
|
|
6
6
|
} from './index';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Optional filters that limit the scope of calls to be aggregated
|
|
9
|
+
* Optional filters that limit the scope of calls to be aggregated (joined via AND)
|
|
10
10
|
*/
|
|
11
|
-
class
|
|
11
|
+
class PerformanceCallsFilters {
|
|
12
12
|
/**
|
|
13
13
|
* Specifies whether the call was inbound or outbound relative to the scope specified in grouping object. Not applicable to internal calls with company scope (when grouping is not specified)
|
|
14
14
|
*/
|
|
@@ -20,45 +20,34 @@ class PerformanceCallsAdditionalFilters {
|
|
|
20
20
|
origin?: 'Internal' | 'External';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Aggregation of calls by
|
|
23
|
+
* Aggregation of calls by first response
|
|
24
24
|
*/
|
|
25
25
|
callResponse?: 'Answered' | 'NotAnswered' | 'Connected' | 'NotConnected';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
callType?: (
|
|
31
|
-
| 'Direct'
|
|
32
|
-
| 'Outbound'
|
|
33
|
-
| 'ParkRetrieval'
|
|
34
|
-
| 'FromQueue'
|
|
35
|
-
| 'Transferred'
|
|
36
|
-
)[];
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Aggregation of calls by the nature of call result. Multiple values can be joined via 'OR'
|
|
28
|
+
* Aggregation of calls by the nature of call result (joined via OR)
|
|
40
29
|
*/
|
|
41
30
|
callResult?: (
|
|
42
31
|
| 'Completed'
|
|
43
32
|
| 'Abandoned'
|
|
44
|
-
| '
|
|
33
|
+
| 'Voicemail'
|
|
45
34
|
| 'Unknown'
|
|
46
35
|
| 'Missed'
|
|
47
36
|
| 'Accepted'
|
|
48
37
|
)[];
|
|
49
38
|
|
|
50
39
|
/**
|
|
51
|
-
* Aggregation of calls by presence of specific segment
|
|
40
|
+
* Aggregation of calls by presence of specific segment (joined via OR)
|
|
52
41
|
*/
|
|
53
42
|
callSegments?: CallSegmentFilter[];
|
|
54
43
|
|
|
55
44
|
/**
|
|
56
45
|
* Aggregation of calls by presence of specific action (joined via OR)
|
|
57
46
|
*/
|
|
58
|
-
callActions?:
|
|
47
|
+
callActions?: CallActionFilter[];
|
|
59
48
|
|
|
60
49
|
/**
|
|
61
|
-
* Aggregation of calls by company business hours or after hours
|
|
50
|
+
* Aggregation of calls by company's business hours or after hours
|
|
62
51
|
*/
|
|
63
52
|
companyHours?: 'BusinessHours' | 'AfterHours';
|
|
64
53
|
|
|
@@ -71,17 +60,17 @@ class PerformanceCallsAdditionalFilters {
|
|
|
71
60
|
timeSpent?: PerformanceCallsFilterTimeSpentByMailbox;
|
|
72
61
|
|
|
73
62
|
/**
|
|
74
|
-
* List of extension
|
|
63
|
+
* List of extension Ids from which users specified in groupBy received calls, items are joined via OR condition
|
|
75
64
|
*/
|
|
76
65
|
callerExtensionIds?: string[];
|
|
77
66
|
|
|
78
67
|
/**
|
|
79
|
-
* List of extension
|
|
68
|
+
* List of extension Ids to which users specified in groupBy placed calls, items are joined via OR condition
|
|
80
69
|
*/
|
|
81
70
|
calledExtensionIds?: string[];
|
|
82
71
|
|
|
83
72
|
/**
|
|
84
|
-
*
|
|
73
|
+
* The direct company numbers the caller called (joined via OR)
|
|
85
74
|
*/
|
|
86
75
|
calledNumbers?: string[];
|
|
87
76
|
|
|
@@ -89,5 +78,16 @@ class PerformanceCallsAdditionalFilters {
|
|
|
89
78
|
* This filter allows to get aggregation of calls that were either within or out of queue SLA. Only applicable to Queues grouping
|
|
90
79
|
*/
|
|
91
80
|
queueSla?: 'InSla' | 'OutSla';
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* This filter allows to get aggregation of calls based on how the call started from the callee perspective (joined via OR). If the call is outbound relative to the grouping scope, callType is Outbound
|
|
84
|
+
*/
|
|
85
|
+
callType?: (
|
|
86
|
+
| 'Direct'
|
|
87
|
+
| 'FromQueue'
|
|
88
|
+
| 'ParkRetrieval'
|
|
89
|
+
| 'Transferred'
|
|
90
|
+
| 'Outbound'
|
|
91
|
+
)[];
|
|
92
92
|
}
|
|
93
|
-
export default
|
|
93
|
+
export default PerformanceCallsFilters;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from './index';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Provides mapping of possible breakdown options for call aggregation
|
|
7
|
+
* Provides mapping of possible breakdown options for call aggregation time intervals
|
|
8
8
|
*/
|
|
9
9
|
class PerformanceCallsResponseDataOptions {
|
|
10
10
|
/**
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
class PerformanceCallsTimeInterval {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* Required
|
|
3
|
+
* Time in format hh:mm
|
|
5
4
|
*/
|
|
6
5
|
from?: string;
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
|
-
*
|
|
10
|
-
* Required
|
|
8
|
+
* Time in format hh:mm
|
|
11
9
|
*/
|
|
12
10
|
to?: string;
|
|
13
11
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Date-time range for the calls aggregated. A call is considered to be in the time range if it started within the time frame specified. Both borders are inclusive.
|
|
3
|
-
*/
|
|
4
1
|
class PerformanceCallsTimeRange {
|
|
5
2
|
/**
|
|
6
|
-
* The start date-time for resulting records in
|
|
3
|
+
* The start date-time for resulting records in RFC 3339 format including timezone, for example 2016-03-15T18:07:52.534Z
|
|
7
4
|
* Required
|
|
8
5
|
* Format: date-time
|
|
9
6
|
*/
|
|
10
7
|
timeFrom?: string;
|
|
11
8
|
|
|
12
9
|
/**
|
|
13
|
-
* The end date-time for resulting records in
|
|
10
|
+
* The end date-time for resulting records in RFC 3339 format including timezone, for example 2016-03-15T18:07:52.534Z
|
|
14
11
|
* Required
|
|
15
12
|
* Format: date-time
|
|
16
13
|
*/
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from './index';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Date-time range for which the calls are aggregated. The call is considered to be within time range if it started within time range. Both borders are inclusive
|
|
7
|
+
* Date-time range for which the calls are aggregated. The call is considered to be within time range if it started within time range. Both borders are inclusive
|
|
8
8
|
*/
|
|
9
9
|
class PerformanceCallsTimeSettings {
|
|
10
10
|
/**
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
TimelinePerformanceCallsGrouping,
|
|
3
|
+
PerformanceCallsTimeSettings,
|
|
4
|
+
PerformanceCallsFilters,
|
|
5
|
+
TimelineResponseDataOptions,
|
|
6
6
|
} from './index';
|
|
7
7
|
|
|
8
8
|
class PerformanceCallsTimelineRequest {
|
|
9
9
|
/**
|
|
10
|
+
* Required
|
|
10
11
|
*/
|
|
11
|
-
grouping?:
|
|
12
|
+
grouping?: TimelinePerformanceCallsGrouping;
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* Required
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
timeSettings?: PerformanceCallsTimeSettings;
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*/
|
|
20
|
-
additionalFilters?:
|
|
21
|
+
additionalFilters?: PerformanceCallsFilters;
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Required
|
|
24
25
|
*/
|
|
25
|
-
responseOptions?:
|
|
26
|
+
responseOptions?: TimelineResponseDataOptions;
|
|
26
27
|
}
|
|
27
28
|
export default PerformanceCallsTimelineRequest;
|