@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,18 +1,19 @@
1
- import { PerformanceCallsGrouping, PerformanceCallsTimeRange, PerformanceCallsAdditionalFilters, PerformanceCallsResponseDataOptions } from './index';
1
+ import { TimelinePerformanceCallsGrouping, PerformanceCallsTimeSettings, PerformanceCallsFilters, TimelineResponseDataOptions } from './index';
2
2
  declare class PerformanceCallsTimelineRequest {
3
3
  /**
4
+ * Required
4
5
  */
5
- grouping?: PerformanceCallsGrouping;
6
+ grouping?: TimelinePerformanceCallsGrouping;
6
7
  /**
7
8
  * Required
8
9
  */
9
- timeRange?: PerformanceCallsTimeRange;
10
+ timeSettings?: PerformanceCallsTimeSettings;
10
11
  /**
11
12
  */
12
- additionalFilters?: PerformanceCallsAdditionalFilters;
13
+ additionalFilters?: PerformanceCallsFilters;
13
14
  /**
14
15
  * Required
15
16
  */
16
- responseOptions?: PerformanceCallsResponseDataOptions;
17
+ responseOptions?: TimelineResponseDataOptions;
17
18
  }
18
19
  export default PerformanceCallsTimelineRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"PerformanceCallsTimelineRequest.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimelineRequest.ts"],"names":[],"mappings":";;AAOA,MAAM,+BAA+B;CAkBpC;AACD,kBAAe,+BAA+B,CAAC"}
1
+ {"version":3,"file":"PerformanceCallsTimelineRequest.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimelineRequest.ts"],"names":[],"mappings":";;AAOA,MAAM,+BAA+B;CAmBpC;AACD,kBAAe,+BAA+B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { PerformanceCallsTotal, PerformanceCallsByDirection, PerformanceCallsByOrigin, PerformanceCallsByResponse, PerformanceCallsSegments, PerformanceCallsByResult, PerformanceCallsByCompanyHours, PerformanceCallsByQueueSla, PerformanceCallsByType } from './index';
2
2
  /**
3
- * Call length data for the specified grouping.
3
+ * Call length data for the specified grouping
4
4
  */
5
5
  declare class PerformanceCallsTimers {
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
- * Call length data for the specified grouping.
4
+ * Call length data for the specified grouping
5
5
  */
6
6
  class PerformanceCallsTimers {
7
7
  }
@@ -1,34 +1,35 @@
1
- import { PerformanceCallsTimer } from './index';
1
+ import { PerformanceCallsTimersResponseOptionsAllCallsDuration, PerformanceCallsTimersResponseOptionsCallsDurationByDirection, PerformanceCallsTimersResponseOptionsCallsDurationByOrigin, PerformanceCallsTimersResponseOptionsCallsDurationByResponse, PerformanceCallsTimersResponseOptionsCallsSegmentsDuration, PerformanceCallsTimersResponseOptionsCallsDurationByResult, PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours, PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla, PerformanceCallsTimersResponseOptionsCallsDurationByType } from './index';
2
2
  /**
3
- * Performance calls timers. 'callsDurationByQueueSla' timer is only applicable to Queues grouping
3
+ * 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
4
4
  */
5
5
  declare class PerformanceCallsTimersResponseOptions {
6
6
  /**
7
7
  */
8
- allCallsDuration?: PerformanceCallsTimer;
8
+ allCallsDuration?: PerformanceCallsTimersResponseOptionsAllCallsDuration;
9
9
  /**
10
10
  */
11
- callsSegmentsDuration?: PerformanceCallsTimer;
11
+ callsDurationByDirection?: PerformanceCallsTimersResponseOptionsCallsDurationByDirection;
12
12
  /**
13
13
  */
14
- callsDurationByDirection?: PerformanceCallsTimer;
14
+ callsDurationByOrigin?: PerformanceCallsTimersResponseOptionsCallsDurationByOrigin;
15
15
  /**
16
16
  */
17
- callsDurationByOrigin?: PerformanceCallsTimer;
17
+ callsDurationByResponse?: PerformanceCallsTimersResponseOptionsCallsDurationByResponse;
18
18
  /**
19
19
  */
20
- callsDurationByResponse?: PerformanceCallsTimer;
20
+ callsSegmentsDuration?: PerformanceCallsTimersResponseOptionsCallsSegmentsDuration;
21
21
  /**
22
22
  */
23
- callsDurationByType?: PerformanceCallsTimer;
23
+ callsDurationByResult?: PerformanceCallsTimersResponseOptionsCallsDurationByResult;
24
24
  /**
25
25
  */
26
- callsDurationByResult?: PerformanceCallsTimer;
26
+ callsDurationByCompanyHours?: PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours;
27
27
  /**
28
+ * This timer is only applicable to Queues grouping
28
29
  */
29
- callsDurationByCompanyHours?: PerformanceCallsTimer;
30
+ callsDurationByQueueSla?: PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla;
30
31
  /**
31
32
  */
32
- callsDurationByQueueSla?: PerformanceCallsTimer;
33
+ callsDurationByType?: PerformanceCallsTimersResponseOptionsCallsDurationByType;
33
34
  }
34
35
  export default PerformanceCallsTimersResponseOptions;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
- * Performance calls timers. 'callsDurationByQueueSla' timer is only applicable to Queues grouping
4
+ * 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
5
  */
6
6
  class PerformanceCallsTimersResponseOptions {
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PerformanceCallsTimersResponseOptions.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptions.ts"],"names":[],"mappings":";;AAEA;;GAEG;AACH,MAAM,qCAAqC;CAoC1C;AACD,kBAAe,qCAAqC,CAAC"}
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptions.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptions.ts"],"names":[],"mappings":";;AAYA;;GAEG;AACH,MAAM,qCAAqC;CAqC1C;AACD,kBAAe,qCAAqC,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsAllCallsDuration {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsAllCallsDuration;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsAllCallsDuration {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsAllCallsDuration;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsAllCallsDuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsAllCallsDuration.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsAllCallsDuration.ts"],"names":[],"mappings":";;AAAA,MAAM,qDAAqD;CAQ1D;AACD,kBAAe,qDAAqD,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByCompanyHours.ts"],"names":[],"mappings":";;AAAA,MAAM,gEAAgE;CAQrE;AACD,kBAAe,gEAAgE,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByDirection {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByDirection;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByDirection {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByDirection;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByDirection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByDirection.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByDirection.ts"],"names":[],"mappings":";;AAAA,MAAM,6DAA6D;CAQlE;AACD,kBAAe,6DAA6D,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByOrigin {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByOrigin;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByOrigin {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByOrigin;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByOrigin.ts"],"names":[],"mappings":";;AAAA,MAAM,0DAA0D;CAQ/D;AACD,kBAAe,0DAA0D,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByQueueSla.ts"],"names":[],"mappings":";;AAAA,MAAM,4DAA4D;CAQjE;AACD,kBAAe,4DAA4D,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByResponse {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByResponse;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByResponse {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByResponse;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByResponse.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResponse.ts"],"names":[],"mappings":";;AAAA,MAAM,4DAA4D;CAQjE;AACD,kBAAe,4DAA4D,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByResult {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByResult;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByResult {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByResult;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByResult.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByResult.ts"],"names":[],"mappings":";;AAAA,MAAM,0DAA0D;CAQ/D;AACD,kBAAe,0DAA0D,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsDurationByType {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsDurationByType;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsDurationByType {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsDurationByType;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsDurationByType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsDurationByType.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsDurationByType.ts"],"names":[],"mappings":";;AAAA,MAAM,wDAAwD;CAQ7D;AACD,kBAAe,wDAAwD,CAAC"}
@@ -0,0 +1,9 @@
1
+ declare class PerformanceCallsTimersResponseOptionsCallsSegmentsDuration {
2
+ /**
3
+ */
4
+ aggregationType?: 'Sum' | 'Average' | 'Max' | 'Min' | 'Percent';
5
+ /**
6
+ */
7
+ aggregationInterval?: 'Hour' | 'Day' | 'Week' | 'Month';
8
+ }
9
+ export default PerformanceCallsTimersResponseOptionsCallsSegmentsDuration;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class PerformanceCallsTimersResponseOptionsCallsSegmentsDuration {
4
+ }
5
+ exports.default = PerformanceCallsTimersResponseOptionsCallsSegmentsDuration;
6
+ //# sourceMappingURL=PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.js","sourceRoot":"","sources":["../../definitions/PerformanceCallsTimersResponseOptionsCallsSegmentsDuration.ts"],"names":[],"mappings":";;AAAA,MAAM,0DAA0D;CAQ/D;AACD,kBAAe,0DAA0D,CAAC"}
@@ -1,4 +1,4 @@
1
- declare class PerformanceCallsPaging {
1
+ declare class ResponsePaging {
2
2
  /**
3
3
  * The current page number
4
4
  * Required
@@ -6,7 +6,7 @@ declare class PerformanceCallsPaging {
6
6
  */
7
7
  page?: number;
8
8
  /**
9
- * The number of items displayed per page
9
+ * How many items are displayed on the page
10
10
  * Required
11
11
  * Format: int64
12
12
  */
@@ -24,4 +24,4 @@ declare class PerformanceCallsPaging {
24
24
  */
25
25
  totalElements?: number;
26
26
  }
27
- export default PerformanceCallsPaging;
27
+ export default ResponsePaging;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class ResponsePaging {
4
+ }
5
+ exports.default = ResponsePaging;
6
+ //# sourceMappingURL=ResponsePaging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResponsePaging.js","sourceRoot":"","sources":["../../definitions/ResponsePaging.ts"],"names":[],"mappings":";;AAAA,MAAM,cAAc;CA4BnB;AACD,kBAAe,cAAc,CAAC"}
@@ -0,0 +1,34 @@
1
+ declare class TimelineCountersResponseOptions {
2
+ /**
3
+ */
4
+ allCalls?: boolean;
5
+ /**
6
+ */
7
+ callsByDirection?: boolean;
8
+ /**
9
+ */
10
+ callsByOrigin?: boolean;
11
+ /**
12
+ */
13
+ callsByResponse?: boolean;
14
+ /**
15
+ */
16
+ callsSegments?: boolean;
17
+ /**
18
+ */
19
+ callsByResult?: boolean;
20
+ /**
21
+ */
22
+ callsByCompanyHours?: boolean;
23
+ /**
24
+ * This counter is only applicable to Queues grouping
25
+ */
26
+ callsByQueueSla?: boolean;
27
+ /**
28
+ */
29
+ callsByActions?: boolean;
30
+ /**
31
+ */
32
+ callsByType?: boolean;
33
+ }
34
+ export default TimelineCountersResponseOptions;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class TimelineCountersResponseOptions {
4
+ }
5
+ exports.default = TimelineCountersResponseOptions;
6
+ //# sourceMappingURL=TimelineCountersResponseOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimelineCountersResponseOptions.js","sourceRoot":"","sources":["../../definitions/TimelineCountersResponseOptions.ts"],"names":[],"mappings":";;AAAA,MAAM,+BAA+B;CAyCpC;AACD,kBAAe,+BAA+B,CAAC"}
@@ -1,9 +1,12 @@
1
- import { TimelineDataPoint } from './index';
1
+ import { KeyInfo, TimelineDataPoint } from './index';
2
2
  declare class TimelineData {
3
3
  /**
4
4
  * Required
5
5
  */
6
6
  key?: string;
7
+ /**
8
+ */
9
+ keyInfo?: KeyInfo;
7
10
  /**
8
11
  */
9
12
  points?: TimelineDataPoint[];
@@ -1 +1 @@
1
- {"version":3,"file":"TimelineData.js","sourceRoot":"","sources":["../../definitions/TimelineData.ts"],"names":[],"mappings":";;AAEA,MAAM,YAAY;CASjB;AACD,kBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"TimelineData.js","sourceRoot":"","sources":["../../definitions/TimelineData.ts"],"names":[],"mappings":";;AAEA,MAAM,YAAY;CAajB;AACD,kBAAe,YAAY,CAAC"}
@@ -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 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
+ * This field can be used to specify unique identifiers of groups in GroupBy types
12
+ */
13
+ ids?: string[];
14
+ }
15
+ export default TimelinePerformanceCallsGrouping;
@@ -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 TimelinePerformanceCallsGrouping {
7
+ }
8
+ exports.default = TimelinePerformanceCallsGrouping;
9
+ //# sourceMappingURL=TimelinePerformanceCallsGrouping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimelinePerformanceCallsGrouping.js","sourceRoot":"","sources":["../../definitions/TimelinePerformanceCallsGrouping.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,MAAM,gCAAgC;CAWrC;AACD,kBAAe,gCAAgC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { TimelineCountersResponseOptions, TimelineTimersResponseOptions } from './index';
2
+ /**
3
+ * This field provides mapping of possible breakdown options for call aggregation time intervals
4
+ */
5
+ declare class TimelineResponseDataOptions {
6
+ /**
7
+ */
8
+ counters?: TimelineCountersResponseOptions;
9
+ /**
10
+ */
11
+ timers?: TimelineTimersResponseOptions;
12
+ }
13
+ export default TimelineResponseDataOptions;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * This field provides mapping of possible breakdown options for call aggregation time intervals
5
+ */
6
+ class TimelineResponseDataOptions {
7
+ }
8
+ exports.default = TimelineResponseDataOptions;
9
+ //# sourceMappingURL=TimelineResponseDataOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimelineResponseDataOptions.js","sourceRoot":"","sources":["../../definitions/TimelineResponseDataOptions.ts"],"names":[],"mappings":";;AAKA;;GAEG;AACH,MAAM,2BAA2B;CAQhC;AACD,kBAAe,2BAA2B,CAAC"}
@@ -0,0 +1,31 @@
1
+ declare class TimelineTimersResponseOptions {
2
+ /**
3
+ */
4
+ allCallsDuration?: boolean;
5
+ /**
6
+ */
7
+ callsDurationByDirection?: boolean;
8
+ /**
9
+ */
10
+ callsDurationByOrigin?: boolean;
11
+ /**
12
+ */
13
+ callsDurationByResponse?: boolean;
14
+ /**
15
+ */
16
+ callsSegmentsDuration?: boolean;
17
+ /**
18
+ */
19
+ callsDurationByResult?: boolean;
20
+ /**
21
+ */
22
+ callsDurationByCompanyHours?: boolean;
23
+ /**
24
+ * This timer is only applicable to Queues grouping
25
+ */
26
+ callsDurationByQueueSla?: boolean;
27
+ /**
28
+ */
29
+ callsDurationByType?: boolean;
30
+ }
31
+ export default TimelineTimersResponseOptions;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class TimelineTimersResponseOptions {
4
+ }
5
+ exports.default = TimelineTimersResponseOptions;
6
+ //# sourceMappingURL=TimelineTimersResponseOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimelineTimersResponseOptions.js","sourceRoot":"","sources":["../../definitions/TimelineTimersResponseOptions.ts"],"names":[],"mappings":";;AAAA,MAAM,6BAA6B;CAqClC;AACD,kBAAe,6BAA6B,CAAC"}