purecloud-platform-client-v2 159.0.0 → 160.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 (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +534 -177
  3. package/dist/web-amd/purecloud-platform-client-v2.js +534 -177
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +534 -177
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +7000 -430
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +371 -168
  9. package/package.json +3 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -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 +26 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +107 -0
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +55 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +13 -5
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -101
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +32 -1
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +26 -1
  78. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -355,6 +355,35 @@ class OutboundApi {
355
355
  );
356
356
  }
357
357
 
358
+ /**
359
+ * Deletes all or expired custom exclusion column entries from a DNC list.
360
+ * This operation is only for Internal DNC lists of custom exclusion column entries
361
+ * @param {String} dncListId DncList ID
362
+ * @param {Object} opts Optional parameters
363
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
364
+ */
365
+ deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
366
+ opts = opts || {};
367
+
368
+ // verify the required parameter 'dncListId' is set
369
+ if (dncListId === undefined || dncListId === null) {
370
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
371
+ }
372
+
373
+ return this.apiClient.callApi(
374
+ '/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
375
+ 'DELETE',
376
+ { 'dncListId': dncListId },
377
+ { 'expiredOnly': opts['expiredOnly'] },
378
+ { },
379
+ { },
380
+ null,
381
+ ['PureCloud OAuth'],
382
+ ['application/json'],
383
+ ['application/json']
384
+ );
385
+ }
386
+
358
387
  /**
359
388
  * Deletes all or expired email addresses from a DNC list.
360
389
  * This operation is Only for Internal DNC lists of email addresses
@@ -2183,6 +2212,36 @@ class OutboundApi {
2183
2212
  );
2184
2213
  }
2185
2214
 
2215
+ /**
2216
+ * Add entries to or delete entries from a DNC list.
2217
+ * Only Internal DNC lists may be deleted from
2218
+ * @param {String} dncListId DncList ID
2219
+ * @param {Object} body DNC Custom exclusion column entries
2220
+ */
2221
+ patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
2222
+ // verify the required parameter 'dncListId' is set
2223
+ if (dncListId === undefined || dncListId === null) {
2224
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
2225
+ }
2226
+ // verify the required parameter 'body' is set
2227
+ if (body === undefined || body === null) {
2228
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
2229
+ }
2230
+
2231
+ return this.apiClient.callApi(
2232
+ '/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
2233
+ 'PATCH',
2234
+ { 'dncListId': dncListId },
2235
+ { },
2236
+ { },
2237
+ { },
2238
+ body,
2239
+ ['PureCloud OAuth'],
2240
+ ['application/json'],
2241
+ ['application/json']
2242
+ );
2243
+ }
2244
+
2186
2245
  /**
2187
2246
  * Add emails to or Delete emails from a DNC list.
2188
2247
  * Only Internal DNC lists may be added to or deleted from
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 159.0.0
8
+ * @version 160.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 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -706,51 +706,6 @@ class RecordingApi {
706
706
  );
707
707
  }
708
708
 
709
- /**
710
- * Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
711
- *
712
- * @param {String} settingsId Settings Id
713
- */
714
- getRecordingLocalkeysSetting(settingsId) {
715
- // verify the required parameter 'settingsId' is set
716
- if (settingsId === undefined || settingsId === null) {
717
- throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
718
- }
719
-
720
- return this.apiClient.callApi(
721
- '/api/v2/recording/localkeys/settings/{settingsId}',
722
- 'GET',
723
- { 'settingsId': settingsId },
724
- { },
725
- { },
726
- { },
727
- null,
728
- ['PureCloud OAuth'],
729
- ['application/json'],
730
- ['application/json']
731
- );
732
- }
733
-
734
- /**
735
- * gets a list local key settings data. Replaced by API recording/keyconfigurations
736
- *
737
- */
738
- getRecordingLocalkeysSettings() {
739
-
740
- return this.apiClient.callApi(
741
- '/api/v2/recording/localkeys/settings',
742
- 'GET',
743
- { },
744
- { },
745
- { },
746
- { },
747
- null,
748
- ['PureCloud OAuth'],
749
- ['application/json'],
750
- ['application/json']
751
- );
752
- }
753
-
754
709
  /**
755
710
  * Gets media retention policy list with query options to filter on name and enabled.
756
711
  * for a less verbose response, add summary=true to this endpoint
@@ -1233,31 +1188,6 @@ class RecordingApi {
1233
1188
  );
1234
1189
  }
1235
1190
 
1236
- /**
1237
- * create settings for local key creation. Replaced by API recording/keyconfigurations
1238
- *
1239
- * @param {Object} body Local Encryption Configuration
1240
- */
1241
- postRecordingLocalkeysSettings(body) {
1242
- // verify the required parameter 'body' is set
1243
- if (body === undefined || body === null) {
1244
- throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
1245
- }
1246
-
1247
- return this.apiClient.callApi(
1248
- '/api/v2/recording/localkeys/settings',
1249
- 'POST',
1250
- { },
1251
- { },
1252
- { },
1253
- { },
1254
- body,
1255
- ['PureCloud OAuth'],
1256
- ['application/json'],
1257
- ['application/json']
1258
- );
1259
- }
1260
-
1261
1191
  /**
1262
1192
  * Create media retention policy
1263
1193
  * Policy does not work retroactively
@@ -1601,36 +1531,6 @@ class RecordingApi {
1601
1531
  );
1602
1532
  }
1603
1533
 
1604
- /**
1605
- * Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
1606
- *
1607
- * @param {String} settingsId Settings Id
1608
- * @param {Object} body Local Encryption metadata
1609
- */
1610
- putRecordingLocalkeysSetting(settingsId, body) {
1611
- // verify the required parameter 'settingsId' is set
1612
- if (settingsId === undefined || settingsId === null) {
1613
- throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
1614
- }
1615
- // verify the required parameter 'body' is set
1616
- if (body === undefined || body === null) {
1617
- throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
1618
- }
1619
-
1620
- return this.apiClient.callApi(
1621
- '/api/v2/recording/localkeys/settings/{settingsId}',
1622
- 'PUT',
1623
- { 'settingsId': settingsId },
1624
- { },
1625
- { },
1626
- { },
1627
- body,
1628
- ['PureCloud OAuth'],
1629
- ['application/json'],
1630
- ['application/json']
1631
- );
1632
- }
1633
-
1634
1534
  /**
1635
1535
  * Update a media retention policy
1636
1536
  * Policy does not work retroactively
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1808,8 +1808,12 @@ class RoutingApi {
1808
1808
  * Get a phone number provisioned for SMS.
1809
1809
  *
1810
1810
  * @param {String} addressId Address ID
1811
+ * @param {Object} opts Optional parameters
1812
+ * @param {Object} opts.expand Expand response with additional information
1811
1813
  */
1812
- getRoutingSmsPhonenumber(addressId) {
1814
+ getRoutingSmsPhonenumber(addressId, opts) {
1815
+ opts = opts || {};
1816
+
1813
1817
  // verify the required parameter 'addressId' is set
1814
1818
  if (addressId === undefined || addressId === null) {
1815
1819
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
@@ -1819,7 +1823,7 @@ class RoutingApi {
1819
1823
  '/api/v2/routing/sms/phonenumbers/{addressId}',
1820
1824
  'GET',
1821
1825
  { 'addressId': addressId },
1822
- { },
1826
+ { 'expand': opts['expand'] },
1823
1827
  { },
1824
1828
  { },
1825
1829
  null,
@@ -2053,6 +2057,37 @@ class RoutingApi {
2053
2057
  );
2054
2058
  }
2055
2059
 
2060
+ /**
2061
+ * Get skill groups for a user
2062
+ *
2063
+ * @param {String} userId User ID
2064
+ * @param {Object} opts Optional parameters
2065
+ * @param {Number} opts.pageSize Page size (default to 25)
2066
+ * @param {String} opts.after The cursor that points to the next page
2067
+ * @param {String} opts.before The cursor that points to the previous page
2068
+ */
2069
+ getUserSkillgroups(userId, opts) {
2070
+ opts = opts || {};
2071
+
2072
+ // verify the required parameter 'userId' is set
2073
+ if (userId === undefined || userId === null) {
2074
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
2075
+ }
2076
+
2077
+ return this.apiClient.callApi(
2078
+ '/api/v2/users/{userId}/skillgroups',
2079
+ 'GET',
2080
+ { 'userId': userId },
2081
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
2082
+ { },
2083
+ { },
2084
+ null,
2085
+ ['PureCloud OAuth'],
2086
+ ['application/json'],
2087
+ ['application/json']
2088
+ );
2089
+ }
2090
+
2056
2091
  /**
2057
2092
  * Update attributes of an in-queue conversation
2058
2093
  * Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -272,6 +272,31 @@ class SearchApi {
272
272
  );
273
273
  }
274
274
 
275
+ /**
276
+ * Search conversations
277
+ *
278
+ * @param {Object} body Search request options
279
+ */
280
+ postConversationsParticipantsAttributesSearch(body) {
281
+ // verify the required parameter 'body' is set
282
+ if (body === undefined || body === null) {
283
+ throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
284
+ }
285
+
286
+ return this.apiClient.callApi(
287
+ '/api/v2/conversations/participants/attributes/search',
288
+ 'POST',
289
+ { },
290
+ { },
291
+ { },
292
+ { },
293
+ body,
294
+ ['PureCloud OAuth'],
295
+ ['application/json'],
296
+ ['application/json']
297
+ );
298
+ }
299
+
275
300
  /**
276
301
  * Search gkn documentation
277
302
  *
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -224,6 +224,31 @@ class SpeechTextAnalyticsApi {
224
224
  );
225
225
  }
226
226
 
227
+ /**
228
+ * Get transcription engine settings of a program
229
+ *
230
+ * @param {String} programId The id of the program
231
+ */
232
+ getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
233
+ // verify the required parameter 'programId' is set
234
+ if (programId === undefined || programId === null) {
235
+ throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
236
+ }
237
+
238
+ return this.apiClient.callApi(
239
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
240
+ 'GET',
241
+ { 'programId': programId },
242
+ { },
243
+ { },
244
+ { },
245
+ null,
246
+ ['PureCloud OAuth'],
247
+ ['application/json'],
248
+ ['application/json']
249
+ );
250
+ }
251
+
227
252
  /**
228
253
  * Get the list of Speech and Text Analytics programs
229
254
  *
@@ -325,6 +350,26 @@ class SpeechTextAnalyticsApi {
325
350
  );
326
351
  }
327
352
 
353
+ /**
354
+ * Get supported dialects for each transcription engine
355
+ *
356
+ */
357
+ getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
358
+
359
+ return this.apiClient.callApi(
360
+ '/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
361
+ 'GET',
362
+ { },
363
+ { },
364
+ { },
365
+ { },
366
+ null,
367
+ ['PureCloud OAuth'],
368
+ ['application/json'],
369
+ ['application/json']
370
+ );
371
+ }
372
+
328
373
  /**
329
374
  * Get the list of Speech and Text Analytics unpublished programs
330
375
  *
@@ -798,6 +843,36 @@ class SpeechTextAnalyticsApi {
798
843
  );
799
844
  }
800
845
 
846
+ /**
847
+ * Update transcription engine settings of a program
848
+ *
849
+ * @param {String} programId The id of the program
850
+ * @param {Object} body Program transcription engine setting
851
+ */
852
+ putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
853
+ // verify the required parameter 'programId' is set
854
+ if (programId === undefined || programId === null) {
855
+ throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
856
+ }
857
+ // verify the required parameter 'body' is set
858
+ if (body === undefined || body === null) {
859
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
860
+ }
861
+
862
+ return this.apiClient.callApi(
863
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
864
+ 'PUT',
865
+ { 'programId': programId },
866
+ { },
867
+ { },
868
+ { },
869
+ body,
870
+ ['PureCloud OAuth'],
871
+ ['application/json'],
872
+ ['application/json']
873
+ );
874
+ }
875
+
801
876
  /**
802
877
  * Update Speech And Text Analytics Settings
803
878
  *
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -934,6 +934,37 @@ class UsersApi {
934
934
  );
935
935
  }
936
936
 
937
+ /**
938
+ * Get skill groups for a user
939
+ *
940
+ * @param {String} userId User ID
941
+ * @param {Object} opts Optional parameters
942
+ * @param {Number} opts.pageSize Page size (default to 25)
943
+ * @param {String} opts.after The cursor that points to the next page
944
+ * @param {String} opts.before The cursor that points to the previous page
945
+ */
946
+ getUserSkillgroups(userId, opts) {
947
+ opts = opts || {};
948
+
949
+ // verify the required parameter 'userId' is set
950
+ if (userId === undefined || userId === null) {
951
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
952
+ }
953
+
954
+ return this.apiClient.callApi(
955
+ '/api/v2/users/{userId}/skillgroups',
956
+ 'GET',
957
+ { 'userId': userId },
958
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
959
+ { },
960
+ { },
961
+ null,
962
+ ['PureCloud OAuth'],
963
+ ['application/json'],
964
+ ['application/json']
965
+ );
966
+ }
967
+
937
968
  /**
938
969
  * Get user state information.
939
970
  *
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 159.0.0
8
+ * @version 160.0.0
9
9
  */
10
10
 
11
11
  /**