@rc-ex/core 0.12.0 → 0.12.3

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.
Files changed (214) hide show
  1. package/definitions/AggregatePerformanceCallsGrouping.ts +28 -0
  2. package/definitions/AggregatePerformanceReportCallsParameters.ts +2 -1
  3. package/definitions/{CallPerformanceActionInfo.ts → CallActionFilter.ts} +2 -2
  4. package/definitions/CallSegmentFilter.ts +0 -4
  5. package/definitions/CallsByDirection.ts +2 -2
  6. package/definitions/CallsByOrigin.ts +2 -2
  7. package/definitions/KeyInfo.ts +9 -0
  8. package/definitions/PerformanceCallsAdvancedTimeSettings.ts +1 -2
  9. package/definitions/PerformanceCallsAggregatesRequest.ts +5 -4
  10. package/definitions/PerformanceCallsAggregatesResponse.ts +4 -3
  11. package/definitions/PerformanceCallsCounters.ts +1 -1
  12. package/definitions/PerformanceCallsCountersResponseOptions.ts +24 -12
  13. package/definitions/PerformanceCallsCountersResponseOptionsAllCalls.ts +10 -0
  14. package/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.ts +10 -0
  15. package/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.ts +10 -0
  16. package/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.ts +10 -0
  17. package/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.ts +10 -0
  18. package/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.ts +10 -0
  19. package/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.ts +10 -0
  20. package/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.ts +10 -0
  21. package/definitions/PerformanceCallsCountersResponseOptionsCallsByType.ts +10 -0
  22. package/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.ts +10 -0
  23. package/definitions/PerformanceCallsData.ts +3 -6
  24. package/definitions/PerformanceCallsFilterTimeSpentByMailbox.ts +1 -1
  25. package/definitions/{PerformanceCallsAdditionalFilters.ts → PerformanceCallsFilters.ts} +24 -24
  26. package/definitions/PerformanceCallsResponseDataOptions.ts +1 -1
  27. package/definitions/PerformanceCallsTimeInterval.ts +2 -4
  28. package/definitions/PerformanceCallsTimeRange.ts +2 -5
  29. package/definitions/PerformanceCallsTimeSettings.ts +1 -1
  30. package/definitions/PerformanceCallsTimelineRequest.ts +9 -8
  31. package/definitions/PerformanceCallsTimers.ts +1 -1
  32. package/definitions/PerformanceCallsTimersResponseOptions.ts +22 -11
  33. package/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.ts +10 -0
  34. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.ts +10 -0
  35. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.ts +10 -0
  36. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.ts +10 -0
  37. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.ts +10 -0
  38. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.ts +10 -0
  39. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.ts +10 -0
  40. package/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.ts +10 -0
  41. package/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.ts +10 -0
  42. package/definitions/{PerformanceCallsPaging.ts → ResponsePaging.ts} +3 -3
  43. package/definitions/TimelineCountersResponseOptions.ts +43 -0
  44. package/definitions/TimelineData.ts +5 -1
  45. package/definitions/TimelinePerformanceCallsGrouping.ts +16 -0
  46. package/definitions/TimelineResponseDataOptions.ts +18 -0
  47. package/definitions/TimelineTimersResponseOptions.ts +39 -0
  48. package/definitions/index.ts +28 -7
  49. package/index.ts +38 -1
  50. package/lib/definitions/AggregatePerformanceCallsGrouping.d.ts +15 -0
  51. package/lib/definitions/AggregatePerformanceCallsGrouping.js +9 -0
  52. package/lib/definitions/AggregatePerformanceCallsGrouping.js.map +1 -0
  53. package/lib/definitions/AggregatePerformanceReportCallsParameters.d.ts +2 -1
  54. package/lib/definitions/AggregatePerformanceReportCallsParameters.js.map +1 -1
  55. package/lib/definitions/{CallPerformanceActionInfo.d.ts → CallActionFilter.d.ts} +2 -2
  56. package/lib/definitions/CallActionFilter.js +6 -0
  57. package/lib/definitions/CallActionFilter.js.map +1 -0
  58. package/lib/definitions/CallSegmentFilter.d.ts +0 -4
  59. package/lib/definitions/CallSegmentFilter.js +0 -3
  60. package/lib/definitions/CallSegmentFilter.js.map +1 -1
  61. package/lib/definitions/CallsByDirection.d.ts +2 -2
  62. package/lib/definitions/CallsByOrigin.d.ts +2 -2
  63. package/lib/definitions/KeyInfo.d.ts +9 -0
  64. package/lib/definitions/KeyInfo.js +9 -0
  65. package/lib/definitions/KeyInfo.js.map +1 -0
  66. package/lib/definitions/PerformanceCallsAdvancedTimeSettings.d.ts +1 -2
  67. package/lib/definitions/PerformanceCallsAdvancedTimeSettings.js.map +1 -1
  68. package/lib/definitions/PerformanceCallsAggregatesRequest.d.ts +4 -3
  69. package/lib/definitions/PerformanceCallsAggregatesRequest.js.map +1 -1
  70. package/lib/definitions/PerformanceCallsAggregatesResponse.d.ts +4 -3
  71. package/lib/definitions/PerformanceCallsAggregatesResponse.js.map +1 -1
  72. package/lib/definitions/PerformanceCallsCounters.d.ts +1 -1
  73. package/lib/definitions/PerformanceCallsCounters.js +1 -1
  74. package/lib/definitions/PerformanceCallsCountersResponseOptions.d.ts +13 -12
  75. package/lib/definitions/PerformanceCallsCountersResponseOptions.js +1 -1
  76. package/lib/definitions/PerformanceCallsCountersResponseOptions.js.map +1 -1
  77. package/lib/definitions/PerformanceCallsCountersResponseOptionsAllCalls.d.ts +9 -0
  78. package/lib/definitions/PerformanceCallsCountersResponseOptionsAllCalls.js +6 -0
  79. package/lib/definitions/PerformanceCallsCountersResponseOptionsAllCalls.js.map +1 -0
  80. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.d.ts +9 -0
  81. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.js +6 -0
  82. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByActions.js.map +1 -0
  83. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.d.ts +9 -0
  84. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.js +6 -0
  85. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByCompanyHours.js.map +1 -0
  86. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.d.ts +9 -0
  87. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.js +6 -0
  88. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByDirection.js.map +1 -0
  89. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.d.ts +9 -0
  90. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.js +6 -0
  91. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByOrigin.js.map +1 -0
  92. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.d.ts +9 -0
  93. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.js +6 -0
  94. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByQueueSla.js.map +1 -0
  95. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.d.ts +9 -0
  96. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.js +6 -0
  97. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResponse.js.map +1 -0
  98. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.d.ts +9 -0
  99. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.js +6 -0
  100. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByResult.js.map +1 -0
  101. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByType.d.ts +9 -0
  102. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByType.js +6 -0
  103. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsByType.js.map +1 -0
  104. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.d.ts +9 -0
  105. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.js +6 -0
  106. package/lib/definitions/PerformanceCallsCountersResponseOptionsCallsSegments.js.map +1 -0
  107. package/lib/definitions/PerformanceCallsData.d.ts +3 -6
  108. package/lib/definitions/PerformanceCallsData.js +0 -3
  109. package/lib/definitions/PerformanceCallsData.js.map +1 -1
  110. package/lib/definitions/PerformanceCallsFilterTimeSpentByMailbox.d.ts +1 -1
  111. package/lib/definitions/PerformanceCallsFilterTimeSpentByMailbox.js +1 -1
  112. package/lib/definitions/PerformanceCallsFilters.d.ts +61 -0
  113. package/lib/definitions/PerformanceCallsFilters.js +9 -0
  114. package/lib/definitions/PerformanceCallsFilters.js.map +1 -0
  115. package/lib/definitions/PerformanceCallsResponseDataOptions.d.ts +1 -1
  116. package/lib/definitions/PerformanceCallsResponseDataOptions.js +1 -1
  117. package/lib/definitions/PerformanceCallsTimeInterval.d.ts +2 -4
  118. package/lib/definitions/PerformanceCallsTimeInterval.js.map +1 -1
  119. package/lib/definitions/PerformanceCallsTimeRange.d.ts +2 -5
  120. package/lib/definitions/PerformanceCallsTimeRange.js +0 -3
  121. package/lib/definitions/PerformanceCallsTimeRange.js.map +1 -1
  122. package/lib/definitions/PerformanceCallsTimeSettings.d.ts +1 -1
  123. package/lib/definitions/PerformanceCallsTimeSettings.js +1 -1
  124. package/lib/definitions/PerformanceCallsTimelineRequest.d.ts +6 -5
  125. package/lib/definitions/PerformanceCallsTimelineRequest.js.map +1 -1
  126. package/lib/definitions/PerformanceCallsTimers.d.ts +1 -1
  127. package/lib/definitions/PerformanceCallsTimers.js +1 -1
  128. package/lib/definitions/PerformanceCallsTimersResponseOptions.d.ts +12 -11
  129. package/lib/definitions/PerformanceCallsTimersResponseOptions.js +1 -1
  130. package/lib/definitions/PerformanceCallsTimersResponseOptions.js.map +1 -1
  131. package/lib/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.d.ts +9 -0
  132. package/lib/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.js +6 -0
  133. package/lib/definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.js.map +1 -0
  134. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.d.ts +9 -0
  135. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.js +6 -0
  136. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.js.map +1 -0
  137. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.d.ts +9 -0
  138. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.js +6 -0
  139. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.js.map +1 -0
  140. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.d.ts +9 -0
  141. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.js +6 -0
  142. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.js.map +1 -0
  143. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.d.ts +9 -0
  144. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.js +6 -0
  145. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.js.map +1 -0
  146. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.d.ts +9 -0
  147. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.js +6 -0
  148. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.js.map +1 -0
  149. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.d.ts +9 -0
  150. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.js +6 -0
  151. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.js.map +1 -0
  152. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.d.ts +9 -0
  153. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.js +6 -0
  154. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.js.map +1 -0
  155. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.d.ts +9 -0
  156. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.js +6 -0
  157. package/lib/definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.js.map +1 -0
  158. package/lib/definitions/{PerformanceCallsPaging.d.ts → ResponsePaging.d.ts} +3 -3
  159. package/lib/definitions/ResponsePaging.js +6 -0
  160. package/lib/definitions/ResponsePaging.js.map +1 -0
  161. package/lib/definitions/TimelineCountersResponseOptions.d.ts +34 -0
  162. package/lib/definitions/TimelineCountersResponseOptions.js +6 -0
  163. package/lib/definitions/TimelineCountersResponseOptions.js.map +1 -0
  164. package/lib/definitions/TimelineData.d.ts +4 -1
  165. package/lib/definitions/TimelineData.js.map +1 -1
  166. package/lib/definitions/TimelinePerformanceCallsGrouping.d.ts +15 -0
  167. package/lib/definitions/TimelinePerformanceCallsGrouping.js +9 -0
  168. package/lib/definitions/TimelinePerformanceCallsGrouping.js.map +1 -0
  169. package/lib/definitions/TimelineResponseDataOptions.d.ts +13 -0
  170. package/lib/definitions/TimelineResponseDataOptions.js +9 -0
  171. package/lib/definitions/TimelineResponseDataOptions.js.map +1 -0
  172. package/lib/definitions/TimelineTimersResponseOptions.d.ts +31 -0
  173. package/lib/definitions/TimelineTimersResponseOptions.js +6 -0
  174. package/lib/definitions/TimelineTimersResponseOptions.js.map +1 -0
  175. package/lib/definitions/index.d.ts +28 -7
  176. package/lib/definitions/index.js +76 -33
  177. package/lib/definitions/index.js.map +1 -1
  178. package/lib/index.d.ts +10 -0
  179. package/lib/index.js +20 -1
  180. package/lib/index.js.map +1 -1
  181. package/lib/package.json +4 -4
  182. package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.d.ts +2 -1
  183. package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.js +2 -1
  184. package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.js.map +1 -1
  185. package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.d.ts +2 -1
  186. package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.js +2 -1
  187. package/lib/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.js.map +1 -1
  188. package/package.json +4 -4
  189. package/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Aggregate/index.ts +2 -1
  190. package/paths/Analytics/Phone/Performance/V1/Accounts/Calls/Timeline/index.ts +2 -1
  191. package/samples.md +6 -6
  192. package/definitions/PerformanceCallsCounter.ts +0 -13
  193. package/definitions/PerformanceCallsGrouping.ts +0 -63
  194. package/definitions/PerformanceCallsKeyInfo.ts +0 -10
  195. package/definitions/PerformanceCallsTimer.ts +0 -13
  196. package/lib/definitions/CallPerformanceActionInfo.js +0 -6
  197. package/lib/definitions/CallPerformanceActionInfo.js.map +0 -1
  198. package/lib/definitions/PerformanceCallsAdditionalFilters.d.ts +0 -61
  199. package/lib/definitions/PerformanceCallsAdditionalFilters.js +0 -9
  200. package/lib/definitions/PerformanceCallsAdditionalFilters.js.map +0 -1
  201. package/lib/definitions/PerformanceCallsCounter.d.ts +0 -12
  202. package/lib/definitions/PerformanceCallsCounter.js +0 -6
  203. package/lib/definitions/PerformanceCallsCounter.js.map +0 -1
  204. package/lib/definitions/PerformanceCallsGrouping.d.ts +0 -50
  205. package/lib/definitions/PerformanceCallsGrouping.js +0 -44
  206. package/lib/definitions/PerformanceCallsGrouping.js.map +0 -1
  207. package/lib/definitions/PerformanceCallsKeyInfo.d.ts +0 -10
  208. package/lib/definitions/PerformanceCallsKeyInfo.js +0 -9
  209. package/lib/definitions/PerformanceCallsKeyInfo.js.map +0 -1
  210. package/lib/definitions/PerformanceCallsPaging.js +0 -6
  211. package/lib/definitions/PerformanceCallsPaging.js.map +0 -1
  212. package/lib/definitions/PerformanceCallsTimer.d.ts +0 -12
  213. package/lib/definitions/PerformanceCallsTimer.js +0 -6
  214. package/lib/definitions/PerformanceCallsTimer.js.map +0 -1
@@ -1,43 +1,54 @@
1
- import {PerformanceCallsTimer} from './index';
1
+ import {
2
+ PerformanceCallsTimersResponseOptionsAllCallsDuration,
3
+ PerformanceCallsTimersResponseOptionsCallsDurationByDirection,
4
+ PerformanceCallsTimersResponseOptionsCallsDurationByOrigin,
5
+ PerformanceCallsTimersResponseOptionsCallsDurationByResponse,
6
+ PerformanceCallsTimersResponseOptionsCallsSegmentsDuration,
7
+ PerformanceCallsTimersResponseOptionsCallsDurationByResult,
8
+ PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours,
9
+ PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla,
10
+ PerformanceCallsTimersResponseOptionsCallsDurationByType,
11
+ } from './index';
2
12
 
3
13
  /**
4
- * Performance calls timers. 'callsDurationByQueueSla' timer is only applicable to Queues grouping
14
+ * The formula is defined by `aggregationType` and `aggregationInterval` for every timer individually. If `aggregationType` is `Sum` or `Percent`, `aggregationInterval` is not supported. If `aggregationType` is `Min`, `Max` or `Average`,`aggregationInterval` is supported, but not required. If left empty, aggregation will be performed on per-call basis
5
15
  */
6
16
  class PerformanceCallsTimersResponseOptions {
7
17
  /**
8
18
  */
9
- allCallsDuration?: PerformanceCallsTimer;
19
+ allCallsDuration?: PerformanceCallsTimersResponseOptionsAllCallsDuration;
10
20
 
11
21
  /**
12
22
  */
13
- callsSegmentsDuration?: PerformanceCallsTimer;
23
+ callsDurationByDirection?: PerformanceCallsTimersResponseOptionsCallsDurationByDirection;
14
24
 
15
25
  /**
16
26
  */
17
- callsDurationByDirection?: PerformanceCallsTimer;
27
+ callsDurationByOrigin?: PerformanceCallsTimersResponseOptionsCallsDurationByOrigin;
18
28
 
19
29
  /**
20
30
  */
21
- callsDurationByOrigin?: PerformanceCallsTimer;
31
+ callsDurationByResponse?: PerformanceCallsTimersResponseOptionsCallsDurationByResponse;
22
32
 
23
33
  /**
24
34
  */
25
- callsDurationByResponse?: PerformanceCallsTimer;
35
+ callsSegmentsDuration?: PerformanceCallsTimersResponseOptionsCallsSegmentsDuration;
26
36
 
27
37
  /**
28
38
  */
29
- callsDurationByType?: PerformanceCallsTimer;
39
+ callsDurationByResult?: PerformanceCallsTimersResponseOptionsCallsDurationByResult;
30
40
 
31
41
  /**
32
42
  */
33
- callsDurationByResult?: PerformanceCallsTimer;
43
+ callsDurationByCompanyHours?: PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours;
34
44
 
35
45
  /**
46
+ * This timer is only applicable to Queues grouping
36
47
  */
37
- callsDurationByCompanyHours?: PerformanceCallsTimer;
48
+ callsDurationByQueueSla?: PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla;
38
49
 
39
50
  /**
40
51
  */
41
- callsDurationByQueueSla?: PerformanceCallsTimer;
52
+ callsDurationByType?: PerformanceCallsTimersResponseOptionsCallsDurationByType;
42
53
  }
43
54
  export default PerformanceCallsTimersResponseOptions;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsAllCallsDuration {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsAllCallsDuration;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByDirection {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByDirection;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByOrigin {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByOrigin;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByResponse {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByResponse;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByResult {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByResult;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsDurationByType {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByType;
@@ -0,0 +1,10 @@
1
+ class PerformanceCallsTimersResponseOptionsCallsSegmentsDuration {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+
6
+ /**
7
+ */
8
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
9
+ }
10
+ export default PerformanceCallsTimersResponseOptionsCallsSegmentsDuration;
@@ -1,4 +1,4 @@
1
- class PerformanceCallsPaging {
1
+ class ResponsePaging {
2
2
  /**
3
3
  * The current page number
4
4
  * Required
@@ -7,7 +7,7 @@ class PerformanceCallsPaging {
7
7
  page?: number;
8
8
 
9
9
  /**
10
- * The number of items displayed per page
10
+ * How many items are displayed on the page
11
11
  * Required
12
12
  * Format: int64
13
13
  */
@@ -27,4 +27,4 @@ class PerformanceCallsPaging {
27
27
  */
28
28
  totalElements?: number;
29
29
  }
30
- export default PerformanceCallsPaging;
30
+ export default ResponsePaging;
@@ -0,0 +1,43 @@
1
+ class TimelineCountersResponseOptions {
2
+ /**
3
+ */
4
+ allCalls?: boolean;
5
+
6
+ /**
7
+ */
8
+ callsByDirection?: boolean;
9
+
10
+ /**
11
+ */
12
+ callsByOrigin?: boolean;
13
+
14
+ /**
15
+ */
16
+ callsByResponse?: boolean;
17
+
18
+ /**
19
+ */
20
+ callsSegments?: boolean;
21
+
22
+ /**
23
+ */
24
+ callsByResult?: boolean;
25
+
26
+ /**
27
+ */
28
+ callsByCompanyHours?: boolean;
29
+
30
+ /**
31
+ * This counter is only applicable to Queues grouping
32
+ */
33
+ callsByQueueSla?: boolean;
34
+
35
+ /**
36
+ */
37
+ callsByActions?: boolean;
38
+
39
+ /**
40
+ */
41
+ callsByType?: boolean;
42
+ }
43
+ export default TimelineCountersResponseOptions;
@@ -1,4 +1,4 @@
1
- import {TimelineDataPoint} from './index';
1
+ import {KeyInfo, TimelineDataPoint} from './index';
2
2
 
3
3
  class TimelineData {
4
4
  /**
@@ -6,6 +6,10 @@ class TimelineData {
6
6
  */
7
7
  key?: string;
8
8
 
9
+ /**
10
+ */
11
+ keyInfo?: KeyInfo;
12
+
9
13
  /**
10
14
  */
11
15
  points?: TimelineDataPoint[];
@@ -0,0 +1,16 @@
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 TimelinePerformanceCallsGrouping {
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/timeline)*
7
+ * Required
8
+ */
9
+ groupBy?: 'Users' | 'Queues' | 'IVRs' | 'SharedLines';
10
+
11
+ /**
12
+ * This field can be used to specify unique identifiers of groups in GroupBy types
13
+ */
14
+ ids?: string[];
15
+ }
16
+ export default TimelinePerformanceCallsGrouping;
@@ -0,0 +1,18 @@
1
+ import {
2
+ TimelineCountersResponseOptions,
3
+ TimelineTimersResponseOptions,
4
+ } from './index';
5
+
6
+ /**
7
+ * This field provides mapping of possible breakdown options for call aggregation time intervals
8
+ */
9
+ class TimelineResponseDataOptions {
10
+ /**
11
+ */
12
+ counters?: TimelineCountersResponseOptions;
13
+
14
+ /**
15
+ */
16
+ timers?: TimelineTimersResponseOptions;
17
+ }
18
+ export default TimelineResponseDataOptions;
@@ -0,0 +1,39 @@
1
+ class TimelineTimersResponseOptions {
2
+ /**
3
+ */
4
+ allCallsDuration?: boolean;
5
+
6
+ /**
7
+ */
8
+ callsDurationByDirection?: boolean;
9
+
10
+ /**
11
+ */
12
+ callsDurationByOrigin?: boolean;
13
+
14
+ /**
15
+ */
16
+ callsDurationByResponse?: boolean;
17
+
18
+ /**
19
+ */
20
+ callsSegmentsDuration?: boolean;
21
+
22
+ /**
23
+ */
24
+ callsDurationByResult?: boolean;
25
+
26
+ /**
27
+ */
28
+ callsDurationByCompanyHours?: boolean;
29
+
30
+ /**
31
+ * This timer is only applicable to Queues grouping
32
+ */
33
+ callsDurationByQueueSla?: boolean;
34
+
35
+ /**
36
+ */
37
+ callsDurationByType?: boolean;
38
+ }
39
+ export default TimelineTimersResponseOptions;
@@ -43,6 +43,7 @@ export {default as AddressBookBulkUploadResponse} from './AddressBookBulkUploadR
43
43
  export {default as AddressBookBulkUploadTaskResult} from './AddressBookBulkUploadTaskResult';
44
44
  export {default as AddressBookSync} from './AddressBookSync';
45
45
  export {default as AggregateA2PSMSStatusesParameters} from './AggregateA2PSMSStatusesParameters';
46
+ export {default as AggregatePerformanceCallsGrouping} from './AggregatePerformanceCallsGrouping';
46
47
  export {default as AggregatePerformanceReportCallsParameters} from './AggregatePerformanceReportCallsParameters';
47
48
  export {default as AlertInfo} from './AlertInfo';
48
49
  export {default as AnswerTarget} from './AnswerTarget';
@@ -97,6 +98,7 @@ export {default as BusinessAddressInfo} from './BusinessAddressInfo';
97
98
  export {default as BusinessSiteCollectionRequest} from './BusinessSiteCollectionRequest';
98
99
  export {default as BusinessSiteCollectionResource} from './BusinessSiteCollectionResource';
99
100
  export {default as BusinessSiteResource} from './BusinessSiteResource';
101
+ export {default as CallActionFilter} from './CallActionFilter';
100
102
  export {default as CallHandlingExtensionInfo} from './CallHandlingExtensionInfo';
101
103
  export {default as CallHandlingNavigationInfo} from './CallHandlingNavigationInfo';
102
104
  export {default as CallHandlingNavigationInfoUri} from './CallHandlingNavigationInfoUri';
@@ -122,7 +124,6 @@ export {default as CallParty} from './CallParty';
122
124
  export {default as CallPartyFlip} from './CallPartyFlip';
123
125
  export {default as CallPartyInfo} from './CallPartyInfo';
124
126
  export {default as CallPartyReply} from './CallPartyReply';
125
- export {default as CallPerformanceActionInfo} from './CallPerformanceActionInfo';
126
127
  export {default as CallQueueBulkAssignResource} from './CallQueueBulkAssignResource';
127
128
  export {default as CallQueueDetails} from './CallQueueDetails';
128
129
  export {default as CallQueueExtensionInfo} from './CallQueueExtensionInfo';
@@ -513,6 +514,7 @@ export {default as InstantMessageEvent} from './InstantMessageEvent';
513
514
  export {default as InstantMessageEventBody} from './InstantMessageEventBody';
514
515
  export {default as InternalServerErrorResponse} from './InternalServerErrorResponse';
515
516
  export {default as InvalidRequestResponse} from './InvalidRequestResponse';
517
+ export {default as KeyInfo} from './KeyInfo';
516
518
  export {default as LanguageInfo} from './LanguageInfo';
517
519
  export {default as LanguageList} from './LanguageList';
518
520
  export {default as LastModifiedByInfo} from './LastModifiedByInfo';
@@ -691,7 +693,6 @@ export {default as PatchOperation} from './PatchOperation';
691
693
  export {default as PauseResumeCallRecordingParameters} from './PauseResumeCallRecordingParameters';
692
694
  export {default as PeerInfo} from './PeerInfo';
693
695
  export {default as PerformanceCallsActions} from './PerformanceCallsActions';
694
- export {default as PerformanceCallsAdditionalFilters} from './PerformanceCallsAdditionalFilters';
695
696
  export {default as PerformanceCallsAdvancedTimeSettings} from './PerformanceCallsAdvancedTimeSettings';
696
697
  export {default as PerformanceCallsAggregatesRequest} from './PerformanceCallsAggregatesRequest';
697
698
  export {default as PerformanceCallsAggregatesResponse} from './PerformanceCallsAggregatesResponse';
@@ -703,15 +704,22 @@ export {default as PerformanceCallsByResponse} from './PerformanceCallsByRespons
703
704
  export {default as PerformanceCallsByResult} from './PerformanceCallsByResult';
704
705
  export {default as PerformanceCallsByType} from './PerformanceCallsByType';
705
706
  export {default as PerformanceCallsCallSegmentLengthFilter} from './PerformanceCallsCallSegmentLengthFilter';
706
- export {default as PerformanceCallsCounter} from './PerformanceCallsCounter';
707
707
  export {default as PerformanceCallsCounters} from './PerformanceCallsCounters';
708
708
  export {default as PerformanceCallsCountersResponseOptions} from './PerformanceCallsCountersResponseOptions';
709
+ export {default as PerformanceCallsCountersResponseOptionsAllCalls} from './PerformanceCallsCountersResponseOptionsAllCalls';
710
+ export {default as PerformanceCallsCountersResponseOptionsCallsByActions} from './PerformanceCallsCountersResponseOptionsCallsByActions';
711
+ export {default as PerformanceCallsCountersResponseOptionsCallsByCompanyHours} from './PerformanceCallsCountersResponseOptionsCallsByCompanyHours';
712
+ export {default as PerformanceCallsCountersResponseOptionsCallsByDirection} from './PerformanceCallsCountersResponseOptionsCallsByDirection';
713
+ export {default as PerformanceCallsCountersResponseOptionsCallsByOrigin} from './PerformanceCallsCountersResponseOptionsCallsByOrigin';
714
+ export {default as PerformanceCallsCountersResponseOptionsCallsByQueueSla} from './PerformanceCallsCountersResponseOptionsCallsByQueueSla';
715
+ export {default as PerformanceCallsCountersResponseOptionsCallsByResponse} from './PerformanceCallsCountersResponseOptionsCallsByResponse';
716
+ export {default as PerformanceCallsCountersResponseOptionsCallsByResult} from './PerformanceCallsCountersResponseOptionsCallsByResult';
717
+ export {default as PerformanceCallsCountersResponseOptionsCallsByType} from './PerformanceCallsCountersResponseOptionsCallsByType';
718
+ export {default as PerformanceCallsCountersResponseOptionsCallsSegments} from './PerformanceCallsCountersResponseOptionsCallsSegments';
709
719
  export {default as PerformanceCallsData} from './PerformanceCallsData';
710
720
  export {default as PerformanceCallsFilterByLength} from './PerformanceCallsFilterByLength';
711
721
  export {default as PerformanceCallsFilterTimeSpentByMailbox} from './PerformanceCallsFilterTimeSpentByMailbox';
712
- export {default as PerformanceCallsGrouping} from './PerformanceCallsGrouping';
713
- export {default as PerformanceCallsKeyInfo} from './PerformanceCallsKeyInfo';
714
- export {default as PerformanceCallsPaging} from './PerformanceCallsPaging';
722
+ export {default as PerformanceCallsFilters} from './PerformanceCallsFilters';
715
723
  export {default as PerformanceCallsResponseDataOptions} from './PerformanceCallsResponseDataOptions';
716
724
  export {default as PerformanceCallsSegments} from './PerformanceCallsSegments';
717
725
  export {default as PerformanceCallsTimeInterval} from './PerformanceCallsTimeInterval';
@@ -719,9 +727,17 @@ export {default as PerformanceCallsTimeRange} from './PerformanceCallsTimeRange'
719
727
  export {default as PerformanceCallsTimeSettings} from './PerformanceCallsTimeSettings';
720
728
  export {default as PerformanceCallsTimelineRequest} from './PerformanceCallsTimelineRequest';
721
729
  export {default as PerformanceCallsTimelineResponse} from './PerformanceCallsTimelineResponse';
722
- export {default as PerformanceCallsTimer} from './PerformanceCallsTimer';
723
730
  export {default as PerformanceCallsTimers} from './PerformanceCallsTimers';
724
731
  export {default as PerformanceCallsTimersResponseOptions} from './PerformanceCallsTimersResponseOptions';
732
+ export {default as PerformanceCallsTimersResponseOptionsAllCallsDuration} from './PerformanceCallsTimersResponseOptionsAllCallsDuration';
733
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours} from './PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours';
734
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByDirection} from './PerformanceCallsTimersResponseOptionsCallsDurationByDirection';
735
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByOrigin} from './PerformanceCallsTimersResponseOptionsCallsDurationByOrigin';
736
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla} from './PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla';
737
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByResponse} from './PerformanceCallsTimersResponseOptionsCallsDurationByResponse';
738
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByResult} from './PerformanceCallsTimersResponseOptionsCallsDurationByResult';
739
+ export {default as PerformanceCallsTimersResponseOptionsCallsDurationByType} from './PerformanceCallsTimersResponseOptionsCallsDurationByType';
740
+ export {default as PerformanceCallsTimersResponseOptionsCallsSegmentsDuration} from './PerformanceCallsTimersResponseOptionsCallsSegmentsDuration';
725
741
  export {default as PerformanceCallsTotal} from './PerformanceCallsTotal';
726
742
  export {default as PerformanceReportCallsTimelineParameters} from './PerformanceReportCallsTimelineParameters';
727
743
  export {default as PermissionCategoryCollectionResource} from './PermissionCategoryCollectionResource';
@@ -798,6 +814,7 @@ export {default as RegionalSettings} from './RegionalSettings';
798
814
  export {default as RejectedMessageInfo} from './RejectedMessageInfo';
799
815
  export {default as ReplyParty} from './ReplyParty';
800
816
  export {default as ReplyWithPattern} from './ReplyWithPattern';
817
+ export {default as ResponsePaging} from './ResponsePaging';
801
818
  export {default as RevokeTokenRequest} from './RevokeTokenRequest';
802
819
  export {default as RingOutStatusInfo} from './RingOutStatusInfo';
803
820
  export {default as RoleIdResource} from './RoleIdResource';
@@ -869,8 +886,12 @@ export {default as TelephonyUserMeetingSettings} from './TelephonyUserMeetingSet
869
886
  export {default as TemplateInfo} from './TemplateInfo';
870
887
  export {default as TemporaryNumberInfo} from './TemporaryNumberInfo';
871
888
  export {default as TimeInterval} from './TimeInterval';
889
+ export {default as TimelineCountersResponseOptions} from './TimelineCountersResponseOptions';
872
890
  export {default as TimelineData} from './TimelineData';
873
891
  export {default as TimelineDataPoint} from './TimelineDataPoint';
892
+ export {default as TimelinePerformanceCallsGrouping} from './TimelinePerformanceCallsGrouping';
893
+ export {default as TimelineResponseDataOptions} from './TimelineResponseDataOptions';
894
+ export {default as TimelineTimersResponseOptions} from './TimelineTimersResponseOptions';
874
895
  export {default as TimezoneInfo} from './TimezoneInfo';
875
896
  export {default as TokenInfo} from './TokenInfo';
876
897
  export {default as TransferExtensionInfo} from './TransferExtensionInfo';
package/index.ts CHANGED
@@ -17,7 +17,25 @@ type AuthCodeFlowOptions = {
17
17
  code_verifier?: string;
18
18
  };
19
19
 
20
+ interface Logger {
21
+ debug: Function;
22
+ log: Function;
23
+ info: Function;
24
+ warn: Function;
25
+ error: Function;
26
+ }
27
+
20
28
  export class RingCentral {
29
+ static config: {logger: Logger} = {
30
+ logger: {
31
+ debug: () => {},
32
+ log: () => {},
33
+ info: () => {},
34
+ warn: () => {},
35
+ error: () => {},
36
+ },
37
+ };
38
+
21
39
  sdkExtensions: SdkExtension[] = [];
22
40
  rest: Rest;
23
41
 
@@ -44,7 +62,26 @@ export class RingCentral {
44
62
  queryParams?: {},
45
63
  config?: RestRequestConfig
46
64
  ): Promise<RestResponse<T>> {
47
- return this.rest.request<T>(method, endpoint, content, queryParams, config);
65
+ try {
66
+ const r = await this.rest.request<T>(
67
+ method,
68
+ endpoint,
69
+ content,
70
+ queryParams,
71
+ config
72
+ );
73
+ RingCentral.config.logger.info(
74
+ `[HTTP ${method} ${r.status} ${r.statusText}] ${this.rest.server} ${endpoint}`
75
+ );
76
+ return r;
77
+ } catch (e: any) {
78
+ if (e.response) {
79
+ RingCentral.config.logger.info(
80
+ `[HTTP ${method} ${e.response.status} ${e.response.statusText}] ${this.rest.server} ${endpoint}`
81
+ );
82
+ }
83
+ throw e;
84
+ }
48
85
  }
49
86
 
50
87
  async get<T>(
@@ -0,0 +1,15 @@
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
+ declare 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?: 'CompanyNumbers' | 'Users' | 'Queues' | 'IVRs' | 'SharedLines' | 'UserGroups' | 'Sites' | 'Departments' | 'DepartmentMembers' | 'UserGroupMembers' | 'QueueAgents' | 'SiteMembers';
10
+ /**
11
+ * This field can be used to specify unique identifiers of groups in GroupBy types
12
+ */
13
+ ids?: string[];
14
+ }
15
+ export default AggregatePerformanceCallsGrouping;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * 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
5
+ */
6
+ class AggregatePerformanceCallsGrouping {
7
+ }
8
+ exports.default = AggregatePerformanceCallsGrouping;
9
+ //# sourceMappingURL=AggregatePerformanceCallsGrouping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregatePerformanceCallsGrouping.js","sourceRoot":"","sources":["../../definitions/AggregatePerformanceCallsGrouping.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,MAAM,iCAAiC;CAuBtC;AACD,kBAAe,iCAAiC,CAAC"}
@@ -3,7 +3,8 @@
3
3
  */
4
4
  declare class AggregatePerformanceReportCallsParameters {
5
5
  /**
6
- * Page number
6
+ * The current page number
7
+ * Minimum: 1
7
8
  */
8
9
  page?: number;
9
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AggregatePerformanceReportCallsParameters.js","sourceRoot":"","sources":["../../definitions/AggregatePerformanceReportCallsParameters.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,MAAM,yCAAyC;CAU9C;AACD,kBAAe,yCAAyC,CAAC"}
1
+ {"version":3,"file":"AggregatePerformanceReportCallsParameters.js","sourceRoot":"","sources":["../../definitions/AggregatePerformanceReportCallsParameters.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,MAAM,yCAAyC;CAW9C;AACD,kBAAe,yCAAyC,CAAC"}
@@ -1,6 +1,6 @@
1
- declare class CallPerformanceActionInfo {
1
+ declare class CallActionFilter {
2
2
  /**
3
3
  */
4
4
  callAction?: 'HoldOff' | 'HoldOn' | 'ParkOn' | 'ParkOff' | 'BlindTransfer' | 'WarmTransfer' | 'DTMFTransfer';
5
5
  }
6
- export default CallPerformanceActionInfo;
6
+ export default CallActionFilter;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class CallActionFilter {
4
+ }
5
+ exports.default = CallActionFilter;
6
+ //# sourceMappingURL=CallActionFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CallActionFilter.js","sourceRoot":"","sources":["../../definitions/CallActionFilter.ts"],"names":[],"mappings":";;AAAA,MAAM,gBAAgB;CAWrB;AACD,kBAAe,gBAAgB,CAAC"}
@@ -1,10 +1,6 @@
1
1
  import { PerformanceCallsCallSegmentLengthFilter } from './index';
2
- /**
3
- * Filtering calls by segment
4
- */
5
2
  declare class CallSegmentFilter {
6
3
  /**
7
- * Required
8
4
  */
9
5
  callSegment?: 'Ringing' | 'LiveTalk' | 'Hold' | 'Park' | 'Transfer' | 'IvrPrompt' | 'Voicemail' | 'VmGreeting';
10
6
  /**
@@ -1,8 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Filtering calls by segment
5
- */
6
3
  class CallSegmentFilter {
7
4
  }
8
5
  exports.default = CallSegmentFilter;
@@ -1 +1 @@
1
- {"version":3,"file":"CallSegmentFilter.js","sourceRoot":"","sources":["../../definitions/CallSegmentFilter.ts"],"names":[],"mappings":";;AAEA;;GAEG;AACH,MAAM,iBAAiB;CAiBtB;AACD,kBAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"CallSegmentFilter.js","sourceRoot":"","sources":["../../definitions/CallSegmentFilter.ts"],"names":[],"mappings":";;AAEA,MAAM,iBAAiB;CAgBtB;AACD,kBAAe,iBAAiB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  declare class CallsByDirection {
2
2
  /**
3
3
  * Required
4
- * Format: int64
4
+ * Format: double
5
5
  */
6
6
  inbound?: number;
7
7
  /**
8
8
  * Required
9
- * Format: int64
9
+ * Format: double
10
10
  */
11
11
  outbound?: number;
12
12
  }
@@ -1,12 +1,12 @@
1
1
  declare class CallsByOrigin {
2
2
  /**
3
3
  * Required
4
- * Format: int64
4
+ * Format: double
5
5
  */
6
6
  internal?: number;
7
7
  /**
8
8
  * Required
9
- * Format: int64
9
+ * Format: double
10
10
  */
11
11
  external?: number;
12
12
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Additional info about the key
3
+ */
4
+ declare class KeyInfo {
5
+ /**
6
+ */
7
+ extensionNumber?: string;
8
+ }
9
+ export default KeyInfo;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Additional info about the key
5
+ */
6
+ class KeyInfo {
7
+ }
8
+ exports.default = KeyInfo;
9
+ //# sourceMappingURL=KeyInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyInfo.js","sourceRoot":"","sources":["../../definitions/KeyInfo.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,MAAM,OAAO;CAIZ;AACD,kBAAe,OAAO,CAAC"}