purecloud-platform-client-v2 169.0.0 → 170.0.0

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 (80) hide show
  1. package/README.md +6 -4
  2. package/dist/node/purecloud-platform-client-v2.js +25367 -20288
  3. package/dist/web-amd/purecloud-platform-client-v2.js +25367 -20288
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +25367 -20288
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +25367 -20288
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +2519 -31
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1418 -227
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +142 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -3
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +4 -4
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +6 -4
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +526 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FlowsApi.js +114 -1
  28. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GroupsApi.js +114 -4
  33. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +363 -1
  36. package/src/purecloud-platform-client-v2/api/JourneyApi.js +224 -1
  37. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +200 -22
  38. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +5 -5
  40. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MessagingApi.js +6 -6
  44. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +8 -8
  49. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +53 -1
  50. package/src/purecloud-platform-client-v2/api/OutboundApi.js +2 -2
  51. package/src/purecloud-platform-client-v2/api/PresenceApi.js +189 -1
  52. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/QualityApi.js +174 -10
  54. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/RoutingApi.js +199 -6
  57. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SearchApi.js +80 -2
  60. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1286 -0
  64. package/src/purecloud-platform-client-v2/api/TeamsApi.js +32 -1
  65. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +34 -3
  67. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TokensApi.js +47 -1
  69. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UsersApi.js +172 -7
  73. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebChatApi.js +6 -6
  76. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +6 -6
  80. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -195,6 +195,32 @@ class OrganizationAuthorizationApi {
195
195
  );
196
196
  }
197
197
 
198
+ /**
199
+ * Delete Bulk Org Trustees
200
+ *
201
+ * @param {Array.<String>} id Comma separated list of trustee ids to remove
202
+ * deleteOrgauthorizationTrustees is a preview method and is subject to both breaking and non-breaking changes at any time without notice
203
+ */
204
+ deleteOrgauthorizationTrustees(id) {
205
+ // verify the required parameter 'id' is set
206
+ if (id === undefined || id === null) {
207
+ throw 'Missing the required parameter "id" when calling deleteOrgauthorizationTrustees';
208
+ }
209
+
210
+ return this.apiClient.callApi(
211
+ '/api/v2/orgauthorization/trustees',
212
+ 'DELETE',
213
+ { },
214
+ { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
215
+ { },
216
+ { },
217
+ null,
218
+ ['PureCloud OAuth'],
219
+ ['application/json'],
220
+ ['application/json']
221
+ );
222
+ }
223
+
198
224
  /**
199
225
  * Delete Org Trust
200
226
  *
@@ -310,6 +336,32 @@ class OrganizationAuthorizationApi {
310
336
  );
311
337
  }
312
338
 
339
+ /**
340
+ * Delete Bulk Org Trustors
341
+ *
342
+ * @param {Array.<String>} id Comma separated list of trustor ids to remove
343
+ * deleteOrgauthorizationTrustors is a preview method and is subject to both breaking and non-breaking changes at any time without notice
344
+ */
345
+ deleteOrgauthorizationTrustors(id) {
346
+ // verify the required parameter 'id' is set
347
+ if (id === undefined || id === null) {
348
+ throw 'Missing the required parameter "id" when calling deleteOrgauthorizationTrustors';
349
+ }
350
+
351
+ return this.apiClient.callApi(
352
+ '/api/v2/orgauthorization/trustors',
353
+ 'DELETE',
354
+ { },
355
+ { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
356
+ { },
357
+ { },
358
+ null,
359
+ ['PureCloud OAuth'],
360
+ ['application/json'],
361
+ ['application/json']
362
+ );
363
+ }
364
+
313
365
  /**
314
366
  * Get Pairing Info
315
367
  *
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2490,7 +2490,7 @@ class OutboundApi {
2490
2490
  * This endpoint is deprecated and may have unexpected results. Please use "/conversations/{conversationId}/participants/{participantId}/callbacks instead."
2491
2491
  * @param {String} campaignId Campaign ID
2492
2492
  * @param {Object} body ContactCallbackRequest
2493
- * @deprecated
2493
+ * @deprecated
2494
2494
  */
2495
2495
  postOutboundCampaignCallbackSchedule(campaignId, body) {
2496
2496
  // verify the required parameter 'campaignId' is set
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,32 @@ class PresenceApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete a Presence Definition
25
+ *
26
+ * @param {String} definitionId Presence Definition ID
27
+ * deletePresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
+ */
29
+ deletePresenceDefinition0(definitionId) {
30
+ // verify the required parameter 'definitionId' is set
31
+ if (definitionId === undefined || definitionId === null) {
32
+ throw 'Missing the required parameter "definitionId" when calling deletePresenceDefinition0';
33
+ }
34
+
35
+ return this.apiClient.callApi(
36
+ '/api/v2/presence/definitions/{definitionId}',
37
+ 'DELETE',
38
+ { 'definitionId': definitionId },
39
+ { },
40
+ { },
41
+ { },
42
+ null,
43
+ ['PureCloud OAuth'],
44
+ ['application/json'],
45
+ ['application/json']
46
+ );
47
+ }
48
+
23
49
  /**
24
50
  * Delete a Presence Source
25
51
  *
@@ -70,6 +96,58 @@ class PresenceApi {
70
96
  );
71
97
  }
72
98
 
99
+ /**
100
+ * Get a Presence Definition
101
+ *
102
+ * @param {String} definitionId Presence Definition ID
103
+ * getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
104
+ */
105
+ getPresenceDefinition0(definitionId) {
106
+ // verify the required parameter 'definitionId' is set
107
+ if (definitionId === undefined || definitionId === null) {
108
+ throw 'Missing the required parameter "definitionId" when calling getPresenceDefinition0';
109
+ }
110
+
111
+ return this.apiClient.callApi(
112
+ '/api/v2/presence/definitions/{definitionId}',
113
+ 'GET',
114
+ { 'definitionId': definitionId },
115
+ { },
116
+ { },
117
+ { },
118
+ null,
119
+ ['PureCloud OAuth'],
120
+ ['application/json'],
121
+ ['application/json']
122
+ );
123
+ }
124
+
125
+ /**
126
+ * Get a list of Presence Definitions
127
+ *
128
+ * @param {Object} opts Optional parameters
129
+ * @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
130
+ * @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
131
+ * getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
132
+ */
133
+ getPresenceDefinitions0(opts) {
134
+ opts = opts || {};
135
+
136
+
137
+ return this.apiClient.callApi(
138
+ '/api/v2/presence/definitions',
139
+ 'GET',
140
+ { },
141
+ { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
142
+ { },
143
+ { },
144
+ null,
145
+ ['PureCloud OAuth'],
146
+ ['application/json'],
147
+ ['application/json']
148
+ );
149
+ }
150
+
73
151
  /**
74
152
  * Get the presence settings
75
153
  *
@@ -295,6 +373,59 @@ class PresenceApi {
295
373
  );
296
374
  }
297
375
 
376
+ /**
377
+ * Get bulk user presences for a single presence source
378
+ *
379
+ * @param {String} sourceId The requested presence source ID.
380
+ * @param {Object} opts Optional parameters
381
+ * @param {Array.<String>} opts.id A comma separated list of user IDs to fetch their presence status in bulk. Limit 50.
382
+ */
383
+ getUsersPresenceBulk(sourceId, opts) {
384
+ opts = opts || {};
385
+
386
+ // verify the required parameter 'sourceId' is set
387
+ if (sourceId === undefined || sourceId === null) {
388
+ throw 'Missing the required parameter "sourceId" when calling getUsersPresenceBulk';
389
+ }
390
+
391
+ return this.apiClient.callApi(
392
+ '/api/v2/users/presences/{sourceId}/bulk',
393
+ 'GET',
394
+ { 'sourceId': sourceId },
395
+ { 'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
396
+ { },
397
+ { },
398
+ null,
399
+ ['PureCloud OAuth'],
400
+ ['application/json'],
401
+ ['application/json']
402
+ );
403
+ }
404
+
405
+ /**
406
+ * Get bulk user presences for a Genesys Cloud (PURECLOUD) presence source
407
+ *
408
+ * @param {Object} opts Optional parameters
409
+ * @param {Array.<String>} opts.id A comma separated list of user IDs to fetch their presence status in bulk. Limit 50.
410
+ */
411
+ getUsersPresencesPurecloudBulk(opts) {
412
+ opts = opts || {};
413
+
414
+
415
+ return this.apiClient.callApi(
416
+ '/api/v2/users/presences/purecloud/bulk',
417
+ 'GET',
418
+ { },
419
+ { 'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
420
+ { },
421
+ { },
422
+ null,
423
+ ['PureCloud OAuth'],
424
+ ['application/json'],
425
+ ['application/json']
426
+ );
427
+ }
428
+
298
429
  /**
299
430
  * Patch a user's Presence
300
431
  * Patch a users presence for the specified source that is not specifically listed. This endpoint does not support registered presence sources. The presence object can be patched one of three ways. Option 1: Set the primary property to true. This will set the source defined in the path as the users primary presence source. Option 2: Provide the presenceDefinition value. The id is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
@@ -360,6 +491,32 @@ class PresenceApi {
360
491
  );
361
492
  }
362
493
 
494
+ /**
495
+ * Create a Presence Definition
496
+ *
497
+ * @param {Object} body The Presence Definition to create
498
+ * postPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
499
+ */
500
+ postPresenceDefinitions0(body) {
501
+ // verify the required parameter 'body' is set
502
+ if (body === undefined || body === null) {
503
+ throw 'Missing the required parameter "body" when calling postPresenceDefinitions0';
504
+ }
505
+
506
+ return this.apiClient.callApi(
507
+ '/api/v2/presence/definitions',
508
+ 'POST',
509
+ { },
510
+ { },
511
+ { },
512
+ { },
513
+ body,
514
+ ['PureCloud OAuth'],
515
+ ['application/json'],
516
+ ['application/json']
517
+ );
518
+ }
519
+
363
520
  /**
364
521
  * Create a Presence Source
365
522
  *
@@ -410,6 +567,37 @@ class PresenceApi {
410
567
  );
411
568
  }
412
569
 
570
+ /**
571
+ * Update a Presence Definition
572
+ *
573
+ * @param {String} definitionId Presence Definition ID
574
+ * @param {Object} body The updated Presence Definition
575
+ * putPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
576
+ */
577
+ putPresenceDefinition0(definitionId, body) {
578
+ // verify the required parameter 'definitionId' is set
579
+ if (definitionId === undefined || definitionId === null) {
580
+ throw 'Missing the required parameter "definitionId" when calling putPresenceDefinition0';
581
+ }
582
+ // verify the required parameter 'body' is set
583
+ if (body === undefined || body === null) {
584
+ throw 'Missing the required parameter "body" when calling putPresenceDefinition0';
585
+ }
586
+
587
+ return this.apiClient.callApi(
588
+ '/api/v2/presence/definitions/{definitionId}',
589
+ 'PUT',
590
+ { 'definitionId': definitionId },
591
+ { },
592
+ { },
593
+ { },
594
+ body,
595
+ ['PureCloud OAuth'],
596
+ ['application/json'],
597
+ ['application/json']
598
+ );
599
+ }
600
+
413
601
  /**
414
602
  * Update the presence settings
415
603
  *
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -88,7 +88,7 @@ class QualityApi {
88
88
  * Delete an evaluation form.
89
89
  *
90
90
  * @param {String} formId Form ID
91
- * @deprecated
91
+ * @deprecated
92
92
  */
93
93
  deleteQualityForm(formId) {
94
94
  // verify the required parameter 'formId' is set
@@ -160,6 +160,118 @@ class QualityApi {
160
160
  );
161
161
  }
162
162
 
163
+ /**
164
+ * Get status for async query for evaluation aggregates
165
+ *
166
+ * @param {String} jobId jobId
167
+ * getAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
168
+ */
169
+ getAnalyticsEvaluationsAggregatesJob(jobId) {
170
+ // verify the required parameter 'jobId' is set
171
+ if (jobId === undefined || jobId === null) {
172
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';
173
+ }
174
+
175
+ return this.apiClient.callApi(
176
+ '/api/v2/analytics/evaluations/aggregates/jobs/{jobId}',
177
+ 'GET',
178
+ { 'jobId': jobId },
179
+ { },
180
+ { },
181
+ { },
182
+ null,
183
+ ['PureCloud OAuth'],
184
+ ['application/json'],
185
+ ['application/json']
186
+ );
187
+ }
188
+
189
+ /**
190
+ * Fetch a page of results for an async aggregates query
191
+ *
192
+ * @param {String} jobId jobId
193
+ * @param {Object} opts Optional parameters
194
+ * @param {String} opts.cursor Cursor token to retrieve next page
195
+ * getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
196
+ */
197
+ getAnalyticsEvaluationsAggregatesJobResults(jobId, opts) {
198
+ opts = opts || {};
199
+
200
+ // verify the required parameter 'jobId' is set
201
+ if (jobId === undefined || jobId === null) {
202
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';
203
+ }
204
+
205
+ return this.apiClient.callApi(
206
+ '/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results',
207
+ 'GET',
208
+ { 'jobId': jobId },
209
+ { 'cursor': opts['cursor'] },
210
+ { },
211
+ { },
212
+ null,
213
+ ['PureCloud OAuth'],
214
+ ['application/json'],
215
+ ['application/json']
216
+ );
217
+ }
218
+
219
+ /**
220
+ * Get status for async query for survey aggregates
221
+ *
222
+ * @param {String} jobId jobId
223
+ * getAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
224
+ */
225
+ getAnalyticsSurveysAggregatesJob(jobId) {
226
+ // verify the required parameter 'jobId' is set
227
+ if (jobId === undefined || jobId === null) {
228
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';
229
+ }
230
+
231
+ return this.apiClient.callApi(
232
+ '/api/v2/analytics/surveys/aggregates/jobs/{jobId}',
233
+ 'GET',
234
+ { 'jobId': jobId },
235
+ { },
236
+ { },
237
+ { },
238
+ null,
239
+ ['PureCloud OAuth'],
240
+ ['application/json'],
241
+ ['application/json']
242
+ );
243
+ }
244
+
245
+ /**
246
+ * Fetch a page of results for an async aggregates query
247
+ *
248
+ * @param {String} jobId jobId
249
+ * @param {Object} opts Optional parameters
250
+ * @param {String} opts.cursor Cursor token to retrieve next page
251
+ * getAnalyticsSurveysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
252
+ */
253
+ getAnalyticsSurveysAggregatesJobResults(jobId, opts) {
254
+ opts = opts || {};
255
+
256
+ // verify the required parameter 'jobId' is set
257
+ if (jobId === undefined || jobId === null) {
258
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';
259
+ }
260
+
261
+ return this.apiClient.callApi(
262
+ '/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results',
263
+ 'GET',
264
+ { 'jobId': jobId },
265
+ { 'cursor': opts['cursor'] },
266
+ { },
267
+ { },
268
+ null,
269
+ ['PureCloud OAuth'],
270
+ ['application/json'],
271
+ ['application/json']
272
+ );
273
+ }
274
+
163
275
  /**
164
276
  * Gets a list of Agent Activities
165
277
  * Each item on the list shows one agents evaluation activity comprised of the number of evaluations and the highest, average, and lowest standard and critical scores, as well as a sub list showing the number and average score of evaluations for each evaluator for that agent. evaluatorUserId, startTime, and endTime are all filtering criteria. If specified, the only evaluations used to compile the agent activity response will be ones that match the filtering criteria. agentUserId, name, group, and agentTeamId are all agent selection criteria. criteria. If one or more agent selection criteria are specified, then the returned activity will include users that match the criteria even if those users did not have any agent activity or evaluations that do not match any filtering criteria. If no agent selection criteria are specified but an evaluatorUserId is, then the returned activity will be only for those agents that had evaluations where the evaluator is the evaluatorUserId. If no agent selection criteria are specified and no evaluatorUserId is specified, then the returned activity will be for all users
@@ -457,7 +569,7 @@ class QualityApi {
457
569
  * Get an evaluation form
458
570
  *
459
571
  * @param {String} formId Form ID
460
- * @deprecated
572
+ * @deprecated
461
573
  */
462
574
  getQualityForm(formId) {
463
575
  // verify the required parameter 'formId' is set
@@ -486,7 +598,7 @@ class QualityApi {
486
598
  * @param {Object} opts Optional parameters
487
599
  * @param {Number} opts.pageSize Page size (default to 25)
488
600
  * @param {Number} opts.pageNumber Page number (default to 1)
489
- * @deprecated
601
+ * @deprecated
490
602
  */
491
603
  getQualityFormVersions(formId, opts) {
492
604
  opts = opts || {};
@@ -522,7 +634,7 @@ class QualityApi {
522
634
  * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
523
635
  * @param {String} opts.name Name
524
636
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
525
- * @deprecated
637
+ * @deprecated
526
638
  */
527
639
  getQualityForms(opts) {
528
640
  opts = opts || {};
@@ -798,7 +910,7 @@ class QualityApi {
798
910
  * Get the published evaluation forms.
799
911
  *
800
912
  * @param {String} formId Form ID
801
- * @deprecated
913
+ * @deprecated
802
914
  */
803
915
  getQualityPublishedform(formId) {
804
916
  // verify the required parameter 'formId' is set
@@ -828,7 +940,7 @@ class QualityApi {
828
940
  * @param {Number} opts.pageNumber Page number (default to 1)
829
941
  * @param {String} opts.name Name
830
942
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
831
- * @deprecated
943
+ * @deprecated
832
944
  */
833
945
  getQualityPublishedforms(opts) {
834
946
  opts = opts || {};
@@ -1032,6 +1144,32 @@ class QualityApi {
1032
1144
  );
1033
1145
  }
1034
1146
 
1147
+ /**
1148
+ * Query for evaluation aggregates asynchronously
1149
+ *
1150
+ * @param {Object} body query
1151
+ * postAnalyticsEvaluationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1152
+ */
1153
+ postAnalyticsEvaluationsAggregatesJobs(body) {
1154
+ // verify the required parameter 'body' is set
1155
+ if (body === undefined || body === null) {
1156
+ throw 'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';
1157
+ }
1158
+
1159
+ return this.apiClient.callApi(
1160
+ '/api/v2/analytics/evaluations/aggregates/jobs',
1161
+ 'POST',
1162
+ { },
1163
+ { },
1164
+ { },
1165
+ { },
1166
+ body,
1167
+ ['PureCloud OAuth'],
1168
+ ['application/json'],
1169
+ ['application/json']
1170
+ );
1171
+ }
1172
+
1035
1173
  /**
1036
1174
  * Query for evaluation aggregates
1037
1175
  *
@@ -1057,6 +1195,32 @@ class QualityApi {
1057
1195
  );
1058
1196
  }
1059
1197
 
1198
+ /**
1199
+ * Query for survey aggregates asynchronously
1200
+ *
1201
+ * @param {Object} body query
1202
+ * postAnalyticsSurveysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1203
+ */
1204
+ postAnalyticsSurveysAggregatesJobs(body) {
1205
+ // verify the required parameter 'body' is set
1206
+ if (body === undefined || body === null) {
1207
+ throw 'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';
1208
+ }
1209
+
1210
+ return this.apiClient.callApi(
1211
+ '/api/v2/analytics/surveys/aggregates/jobs',
1212
+ 'POST',
1213
+ { },
1214
+ { },
1215
+ { },
1216
+ { },
1217
+ body,
1218
+ ['PureCloud OAuth'],
1219
+ ['application/json'],
1220
+ ['application/json']
1221
+ );
1222
+ }
1223
+
1060
1224
  /**
1061
1225
  * Query for survey aggregates
1062
1226
  *
@@ -1224,7 +1388,7 @@ class QualityApi {
1224
1388
  * Create an evaluation form.
1225
1389
  *
1226
1390
  * @param {Object} body Evaluation form
1227
- * @deprecated
1391
+ * @deprecated
1228
1392
  */
1229
1393
  postQualityForms(body) {
1230
1394
  // verify the required parameter 'body' is set
@@ -1300,7 +1464,7 @@ class QualityApi {
1300
1464
  * Publish an evaluation form.
1301
1465
  *
1302
1466
  * @param {Object} body Publish request containing id of form to publish
1303
- * @deprecated
1467
+ * @deprecated
1304
1468
  */
1305
1469
  postQualityPublishedforms(body) {
1306
1470
  // verify the required parameter 'body' is set
@@ -1471,7 +1635,7 @@ class QualityApi {
1471
1635
  *
1472
1636
  * @param {String} formId Form ID
1473
1637
  * @param {Object} body Evaluation form
1474
- * @deprecated
1638
+ * @deprecated
1475
1639
  */
1476
1640
  putQualityForm(formId, body) {
1477
1641
  // verify the required parameter 'formId' is set
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 169.0.0
8
+ * @version 170.0.0
9
9
  */
10
10
 
11
11
  /**