purecloud-platform-client-v2 146.0.0 → 148.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 (75) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +660 -198
  3. package/dist/web-amd/purecloud-platform-client-v2.js +660 -198
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +660 -198
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +661 -199
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +490 -145
  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 +46 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -51
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +3 -2
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +135 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +243 -0
  49. package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
  50. package/src/purecloud-platform-client-v2/api/RecordingApi.js +31 -1
  51. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +3 -2
  67. package/src/purecloud-platform-client-v2/api/UsersApi.js +31 -1
  68. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +30 -1
  72. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/index.js +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "146.0.0",
3
+ "version": "148.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 146.0.0
7
+ * @version 148.0.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -251,6 +251,26 @@ class AnalyticsApi {
251
251
  );
252
252
  }
253
253
 
254
+ /**
255
+ * Get analytics data retention setting
256
+ *
257
+ */
258
+ getAnalyticsDataretentionSettings() {
259
+
260
+ return this.apiClient.callApi(
261
+ '/api/v2/analytics/dataretention/settings',
262
+ 'GET',
263
+ { },
264
+ { },
265
+ { },
266
+ { },
267
+ null,
268
+ ['PureCloud OAuth'],
269
+ ['application/json'],
270
+ ['application/json']
271
+ );
272
+ }
273
+
254
274
  /**
255
275
  * Get all view export requests for a user
256
276
  *
@@ -1151,6 +1171,31 @@ class AnalyticsApi {
1151
1171
  );
1152
1172
  }
1153
1173
 
1174
+ /**
1175
+ * Update analytics data retention setting
1176
+ *
1177
+ * @param {Object} body retentionDays
1178
+ */
1179
+ putAnalyticsDataretentionSettings(body) {
1180
+ // verify the required parameter 'body' is set
1181
+ if (body === undefined || body === null) {
1182
+ throw 'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';
1183
+ }
1184
+
1185
+ return this.apiClient.callApi(
1186
+ '/api/v2/analytics/dataretention/settings',
1187
+ 'PUT',
1188
+ { },
1189
+ { },
1190
+ { },
1191
+ { },
1192
+ body,
1193
+ ['PureCloud OAuth'],
1194
+ ['application/json'],
1195
+ ['application/json']
1196
+ );
1197
+ }
1198
+
1154
1199
  /**
1155
1200
  * Update a scheduled report job.
1156
1201
  *
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -298,31 +298,6 @@ class GamificationApi {
298
298
  );
299
299
  }
300
300
 
301
- /**
302
- * All gamified metrics for a given profile
303
- * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
304
- * @param {Object} opts Optional parameters
305
- * @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
306
- * @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
307
- */
308
- getGamificationMetrics(opts) {
309
- opts = opts || {};
310
-
311
-
312
- return this.apiClient.callApi(
313
- '/api/v2/gamification/metrics',
314
- 'GET',
315
- { },
316
- { 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
317
- { },
318
- { },
319
- null,
320
- ['PureCloud OAuth'],
321
- ['application/json'],
322
- ['application/json']
323
- );
324
- }
325
-
326
301
  /**
327
302
  * Performance profile by id
328
303
  *
@@ -1378,31 +1353,6 @@ class GamificationApi {
1378
1353
  );
1379
1354
  }
1380
1355
 
1381
- /**
1382
- * Creates a gamified metric with a given metric definition and metric objective
1383
- * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
1384
- * @param {Object} body Metric
1385
- */
1386
- postGamificationMetrics(body) {
1387
- // verify the required parameter 'body' is set
1388
- if (body === undefined || body === null) {
1389
- throw 'Missing the required parameter "body" when calling postGamificationMetrics';
1390
- }
1391
-
1392
- return this.apiClient.callApi(
1393
- '/api/v2/gamification/metrics',
1394
- 'POST',
1395
- { },
1396
- { },
1397
- { },
1398
- { },
1399
- body,
1400
- ['PureCloud OAuth'],
1401
- ['application/json'],
1402
- ['application/json']
1403
- );
1404
- }
1405
-
1406
1356
  /**
1407
1357
  * Activate a performance profile
1408
1358
  *
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -275,6 +275,7 @@ class GroupsApi {
275
275
  * @param {Number} opts.pageSize Page size (default to 25)
276
276
  * @param {Number} opts.pageNumber Page number (default to 1)
277
277
  * @param {Array.<String>} opts.id id
278
+ * @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
278
279
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
279
280
  */
280
281
  getProfilesGroups(opts) {
@@ -285,7 +286,7 @@ class GroupsApi {
285
286
  '/api/v2/profiles/groups',
286
287
  'GET',
287
288
  { },
288
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'sortOrder': opts['sortOrder'] },
289
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'] },
289
290
  { },
290
291
  { },
291
292
  null,
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -763,59 +763,6 @@ class IntegrationsApi {
763
763
  );
764
764
  }
765
765
 
766
- /**
767
- * List all events
768
- *
769
- * @param {Object} opts Optional parameters
770
- * @param {Number} opts.pageSize Page size (default to 25)
771
- * @param {Number} opts.pageNumber Page number (default to 1)
772
- * @param {String} opts.sortBy Sort by (default to timestamp)
773
- * @param {String} opts.sortOrder Order by (default to descending)
774
- * @param {String} opts.entityId Include only events with this entity ID
775
- */
776
- getIntegrationsEventlog(opts) {
777
- opts = opts || {};
778
-
779
-
780
- return this.apiClient.callApi(
781
- '/api/v2/integrations/eventlog',
782
- 'GET',
783
- { },
784
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
785
- { },
786
- { },
787
- null,
788
- ['PureCloud OAuth'],
789
- ['application/json'],
790
- ['application/json']
791
- );
792
- }
793
-
794
- /**
795
- * Get a single event
796
- *
797
- * @param {String} eventId Event Id
798
- */
799
- getIntegrationsEventlogEventId(eventId) {
800
- // verify the required parameter 'eventId' is set
801
- if (eventId === undefined || eventId === null) {
802
- throw 'Missing the required parameter "eventId" when calling getIntegrationsEventlogEventId';
803
- }
804
-
805
- return this.apiClient.callApi(
806
- '/api/v2/integrations/eventlog/{eventId}',
807
- 'GET',
808
- { 'eventId': eventId },
809
- { },
810
- { },
811
- { },
812
- null,
813
- ['PureCloud OAuth'],
814
- ['application/json'],
815
- ['application/json']
816
- );
817
- }
818
-
819
766
  /**
820
767
  * Get details about a Dialogflow agent
821
768
  *
@@ -1539,30 +1486,6 @@ class IntegrationsApi {
1539
1486
  );
1540
1487
  }
1541
1488
 
1542
- /**
1543
- * Add a vendor connection
1544
- *
1545
- * @param {Object} opts Optional parameters
1546
- * @param {Object} opts.body
1547
- */
1548
- postIntegrationsWorkforcemanagementVendorconnection(opts) {
1549
- opts = opts || {};
1550
-
1551
-
1552
- return this.apiClient.callApi(
1553
- '/api/v2/integrations/workforcemanagement/vendorconnection',
1554
- 'POST',
1555
- { },
1556
- { },
1557
- { },
1558
- { },
1559
- opts['body'],
1560
- ['PureCloud OAuth'],
1561
- ['application/json'],
1562
- ['application/json']
1563
- );
1564
- }
1565
-
1566
1489
  /**
1567
1490
  * Update integration configuration.
1568
1491
  *
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -180,6 +180,56 @@ class JourneyApi {
180
180
  );
181
181
  }
182
182
 
183
+ /**
184
+ * Get status of job.
185
+ *
186
+ * @param {String} jobId ID of the job.
187
+ */
188
+ getJourneyActionmapsEstimatesJob(jobId) {
189
+ // verify the required parameter 'jobId' is set
190
+ if (jobId === undefined || jobId === null) {
191
+ throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
192
+ }
193
+
194
+ return this.apiClient.callApi(
195
+ '/api/v2/journey/actionmaps/estimates/jobs/{jobId}',
196
+ 'GET',
197
+ { 'jobId': jobId },
198
+ { },
199
+ { },
200
+ { },
201
+ null,
202
+ ['PureCloud OAuth'],
203
+ ['application/json'],
204
+ ['application/json']
205
+ );
206
+ }
207
+
208
+ /**
209
+ * Get estimates from completed job.
210
+ *
211
+ * @param {String} jobId ID of the job.
212
+ */
213
+ getJourneyActionmapsEstimatesJobResults(jobId) {
214
+ // verify the required parameter 'jobId' is set
215
+ if (jobId === undefined || jobId === null) {
216
+ throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
217
+ }
218
+
219
+ return this.apiClient.callApi(
220
+ '/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results',
221
+ 'GET',
222
+ { 'jobId': jobId },
223
+ { },
224
+ { },
225
+ { },
226
+ null,
227
+ ['PureCloud OAuth'],
228
+ ['application/json'],
229
+ ['application/json']
230
+ );
231
+ }
232
+
183
233
  /**
184
234
  * Retrieve a single action target.
185
235
  *
@@ -638,6 +688,31 @@ class JourneyApi {
638
688
  );
639
689
  }
640
690
 
691
+ /**
692
+ * Query for estimates
693
+ *
694
+ * @param {Object} body audience estimator request
695
+ */
696
+ postJourneyActionmapsEstimatesJobs(body) {
697
+ // verify the required parameter 'body' is set
698
+ if (body === undefined || body === null) {
699
+ throw 'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';
700
+ }
701
+
702
+ return this.apiClient.callApi(
703
+ '/api/v2/journey/actionmaps/estimates/jobs',
704
+ 'POST',
705
+ { },
706
+ { },
707
+ { },
708
+ { },
709
+ body,
710
+ ['PureCloud OAuth'],
711
+ ['application/json'],
712
+ ['application/json']
713
+ );
714
+ }
715
+
641
716
  /**
642
717
  * Create a single action template.
643
718
  *
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -802,6 +802,7 @@ class KnowledgeApi {
802
802
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
803
803
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
804
804
  * @param {String} opts.interval Retrieves the documents modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
805
+ * @param {Array.<String>} opts.documentId Retrieves the specified documents, comma separated values expected.
805
806
  * @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
806
807
  * @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
807
808
  * @param {Boolean} opts.includeDrafts If includeDrafts is true, Documents in the draft state are also returned in the response.
@@ -820,7 +821,7 @@ class KnowledgeApi {
820
821
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents',
821
822
  'GET',
822
823
  { 'knowledgeBaseId': knowledgeBaseId },
823
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'includeDrafts': opts['includeDrafts'],'labelIds': this.apiClient.buildCollectionParam(opts['labelIds'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
824
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'documentId': this.apiClient.buildCollectionParam(opts['documentId'], 'multi'),'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'includeDrafts': opts['includeDrafts'],'labelIds': this.apiClient.buildCollectionParam(opts['labelIds'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
824
825
  { },
825
826
  { },
826
827
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 146.0.0
8
+ * @version 148.0.0
9
9
  */
10
10
 
11
11
  /**