purecloud-platform-client-v2 138.0.1 → 140.0.1

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 (73) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +537 -161
  3. package/dist/web-amd/purecloud-platform-client-v2.js +537 -162
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +537 -161
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2631 -199
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +783 -224
  9. package/package.json +2 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +18 -16
  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 +15 -15
  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 +271 -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 +28 -27
  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 +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -5
  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 +111 -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 +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +16 -24
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +15 -15
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -150,7 +150,7 @@ class GamificationApi {
150
150
 
151
151
  /**
152
152
  * Gamified metric by id
153
- *
153
+ * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
154
154
  * @param {String} metricId metric Id
155
155
  * @param {Object} opts Optional parameters
156
156
  * @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
@@ -225,7 +225,7 @@ class GamificationApi {
225
225
 
226
226
  /**
227
227
  * All gamified metrics for a given profile
228
- *
228
+ * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
229
229
  * @param {Object} opts Optional parameters
230
230
  * @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
231
231
  * @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
@@ -276,18 +276,18 @@ class GamificationApi {
276
276
  /**
277
277
  * Members of a given performance profile
278
278
  *
279
- * @param {String} performanceProfileId Performance Profile Id
279
+ * @param {String} profileId Profile Id
280
280
  */
281
- getGamificationProfileMembers(performanceProfileId) {
282
- // verify the required parameter 'performanceProfileId' is set
283
- if (performanceProfileId === undefined || performanceProfileId === null) {
284
- throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
281
+ getGamificationProfileMembers(profileId) {
282
+ // verify the required parameter 'profileId' is set
283
+ if (profileId === undefined || profileId === null) {
284
+ throw 'Missing the required parameter "profileId" when calling getGamificationProfileMembers';
285
285
  }
286
286
 
287
287
  return this.apiClient.callApi(
288
- '/api/v2/gamification/profiles/{performanceProfileId}/members',
288
+ '/api/v2/gamification/profiles/{profileId}/members',
289
289
  'GET',
290
- { 'performanceProfileId': performanceProfileId },
290
+ { 'profileId': profileId },
291
291
  { },
292
292
  { },
293
293
  { },
@@ -339,6 +339,7 @@ class GamificationApi {
339
339
  * @param {Object} opts Optional parameters
340
340
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
341
341
  * @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
342
+ * @param {String} opts.metricIds List of metric ids to filter the response (Optional, comma-separated).
342
343
  */
343
344
  getGamificationProfileMetrics(profileId, opts) {
344
345
  opts = opts || {};
@@ -352,7 +353,7 @@ class GamificationApi {
352
353
  '/api/v2/gamification/profiles/{profileId}/metrics',
353
354
  'GET',
354
355
  { 'profileId': profileId },
355
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
356
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'],'metricIds': opts['metricIds'] },
356
357
  { },
357
358
  { },
358
359
  null,
@@ -1079,7 +1080,7 @@ class GamificationApi {
1079
1080
 
1080
1081
  /**
1081
1082
  * Creates a gamified metric with a given metric definition and metric objective
1082
- *
1083
+ * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
1083
1084
  * @param {Object} body Metric
1084
1085
  */
1085
1086
  postGamificationMetrics(body) {
@@ -1155,13 +1156,13 @@ class GamificationApi {
1155
1156
  /**
1156
1157
  * Assign members to a given performance profile
1157
1158
  *
1158
- * @param {String} performanceProfileId Performance Profile Id
1159
+ * @param {String} profileId Profile Id
1159
1160
  * @param {Object} body assignUsers
1160
1161
  */
1161
- postGamificationProfileMembers(performanceProfileId, body) {
1162
- // verify the required parameter 'performanceProfileId' is set
1163
- if (performanceProfileId === undefined || performanceProfileId === null) {
1164
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
1162
+ postGamificationProfileMembers(profileId, body) {
1163
+ // verify the required parameter 'profileId' is set
1164
+ if (profileId === undefined || profileId === null) {
1165
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembers';
1165
1166
  }
1166
1167
  // verify the required parameter 'body' is set
1167
1168
  if (body === undefined || body === null) {
@@ -1169,9 +1170,9 @@ class GamificationApi {
1169
1170
  }
1170
1171
 
1171
1172
  return this.apiClient.callApi(
1172
- '/api/v2/gamification/profiles/{performanceProfileId}/members',
1173
+ '/api/v2/gamification/profiles/{profileId}/members',
1173
1174
  'POST',
1174
- { 'performanceProfileId': performanceProfileId },
1175
+ { 'profileId': profileId },
1175
1176
  { },
1176
1177
  { },
1177
1178
  { },
@@ -1185,13 +1186,13 @@ class GamificationApi {
1185
1186
  /**
1186
1187
  * Validate member assignment
1187
1188
  *
1188
- * @param {String} performanceProfileId Performance Profile Id
1189
+ * @param {String} profileId Profile Id
1189
1190
  * @param {Object} body memberAssignments
1190
1191
  */
1191
- postGamificationProfileMembersValidate(performanceProfileId, body) {
1192
- // verify the required parameter 'performanceProfileId' is set
1193
- if (performanceProfileId === undefined || performanceProfileId === null) {
1194
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
1192
+ postGamificationProfileMembersValidate(profileId, body) {
1193
+ // verify the required parameter 'profileId' is set
1194
+ if (profileId === undefined || profileId === null) {
1195
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';
1195
1196
  }
1196
1197
  // verify the required parameter 'body' is set
1197
1198
  if (body === undefined || body === null) {
@@ -1199,9 +1200,9 @@ class GamificationApi {
1199
1200
  }
1200
1201
 
1201
1202
  return this.apiClient.callApi(
1202
- '/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
1203
+ '/api/v2/gamification/profiles/{profileId}/members/validate',
1203
1204
  'POST',
1204
- { 'performanceProfileId': performanceProfileId },
1205
+ { 'profileId': profileId },
1205
1206
  { },
1206
1207
  { },
1207
1208
  { },
@@ -1308,7 +1309,7 @@ class GamificationApi {
1308
1309
 
1309
1310
  /**
1310
1311
  * Updates a metric
1311
- *
1312
+ * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
1312
1313
  * @param {String} metricId metric Id
1313
1314
  * @param {Object} body Metric
1314
1315
  * @param {Object} opts Optional parameters
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -183,7 +183,7 @@ class KnowledgeApi {
183
183
  * @param {Object} opts Optional parameters
184
184
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
185
185
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
186
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
186
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
187
187
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
188
188
  * @param {String} opts.name Filter to return the categories that starts with the given category name.
189
189
  */
@@ -291,7 +291,7 @@ class KnowledgeApi {
291
291
  * @param {Object} opts Optional parameters
292
292
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
293
293
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
294
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
294
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
295
295
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
296
296
  * @param {String} opts.categories Filter by categories ids, comma separated values expected.
297
297
  * @param {String} opts.title Filter by document title.
@@ -403,7 +403,7 @@ class KnowledgeApi {
403
403
  * @param {Object} opts Optional parameters
404
404
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
405
405
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
406
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
406
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
407
407
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
408
408
  * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
409
409
  */
@@ -439,7 +439,7 @@ class KnowledgeApi {
439
439
  * @param {Object} opts Optional parameters
440
440
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
441
441
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
442
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
442
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
443
443
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
444
444
  * @param {String} opts.name Filter by Name.
445
445
  * @param {Object} opts.coreLanguage Filter by core language.
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -203,6 +203,36 @@ class LearningApi {
203
203
  );
204
204
  }
205
205
 
206
+ /**
207
+ * Get a specific Learning Module job status
208
+ *
209
+ * @param {String} moduleId The ID of the learning module
210
+ * @param {String} jobId The ID of the learning module job
211
+ */
212
+ getLearningModuleJob(moduleId, jobId) {
213
+ // verify the required parameter 'moduleId' is set
214
+ if (moduleId === undefined || moduleId === null) {
215
+ throw 'Missing the required parameter "moduleId" when calling getLearningModuleJob';
216
+ }
217
+ // verify the required parameter 'jobId' is set
218
+ if (jobId === undefined || jobId === null) {
219
+ throw 'Missing the required parameter "jobId" when calling getLearningModuleJob';
220
+ }
221
+
222
+ return this.apiClient.callApi(
223
+ '/api/v2/learning/modules/{moduleId}/jobs/{jobId}',
224
+ 'GET',
225
+ { 'moduleId': moduleId,'jobId': jobId },
226
+ { },
227
+ { },
228
+ { },
229
+ null,
230
+ ['PureCloud OAuth'],
231
+ ['application/json'],
232
+ ['application/json']
233
+ );
234
+ }
235
+
206
236
  /**
207
237
  * Get a learning module rule
208
238
  *
@@ -348,6 +378,56 @@ class LearningApi {
348
378
  );
349
379
  }
350
380
 
381
+ /**
382
+ * Reassign Learning Assignment
383
+ * This will reassign the state of the assignment to Assigned and update the assignment to the latest version of the module
384
+ * @param {String} assignmentId The Learning Assignment ID
385
+ */
386
+ postLearningAssignmentReassign(assignmentId) {
387
+ // verify the required parameter 'assignmentId' is set
388
+ if (assignmentId === undefined || assignmentId === null) {
389
+ throw 'Missing the required parameter "assignmentId" when calling postLearningAssignmentReassign';
390
+ }
391
+
392
+ return this.apiClient.callApi(
393
+ '/api/v2/learning/assignments/{assignmentId}/reassign',
394
+ 'POST',
395
+ { 'assignmentId': assignmentId },
396
+ { },
397
+ { },
398
+ { },
399
+ null,
400
+ ['PureCloud OAuth'],
401
+ ['application/json'],
402
+ ['application/json']
403
+ );
404
+ }
405
+
406
+ /**
407
+ * Reset Learning Assignment
408
+ * This will reset the state of the assignment to Assigned and remove the version of Learning module associated with the assignment
409
+ * @param {String} assignmentId The Learning Assignment ID
410
+ */
411
+ postLearningAssignmentReset(assignmentId) {
412
+ // verify the required parameter 'assignmentId' is set
413
+ if (assignmentId === undefined || assignmentId === null) {
414
+ throw 'Missing the required parameter "assignmentId" when calling postLearningAssignmentReset';
415
+ }
416
+
417
+ return this.apiClient.callApi(
418
+ '/api/v2/learning/assignments/{assignmentId}/reset',
419
+ 'POST',
420
+ { 'assignmentId': assignmentId },
421
+ { },
422
+ { },
423
+ { },
424
+ null,
425
+ ['PureCloud OAuth'],
426
+ ['application/json'],
427
+ ['application/json']
428
+ );
429
+ }
430
+
351
431
  /**
352
432
  * Create Learning Assignment
353
433
  *
@@ -445,6 +525,36 @@ class LearningApi {
445
525
  );
446
526
  }
447
527
 
528
+ /**
529
+ * Starts a specified operation on learning module
530
+ * This will initiate operation specified in the request body for a learning module
531
+ * @param {String} moduleId The ID of the learning module
532
+ * @param {Object} body The learning module job request
533
+ */
534
+ postLearningModuleJobs(moduleId, body) {
535
+ // verify the required parameter 'moduleId' is set
536
+ if (moduleId === undefined || moduleId === null) {
537
+ throw 'Missing the required parameter "moduleId" when calling postLearningModuleJobs';
538
+ }
539
+ // verify the required parameter 'body' is set
540
+ if (body === undefined || body === null) {
541
+ throw 'Missing the required parameter "body" when calling postLearningModuleJobs';
542
+ }
543
+
544
+ return this.apiClient.callApi(
545
+ '/api/v2/learning/modules/{moduleId}/jobs',
546
+ 'POST',
547
+ { 'moduleId': moduleId },
548
+ { },
549
+ { },
550
+ { },
551
+ body,
552
+ ['PureCloud OAuth'],
553
+ ['application/json'],
554
+ ['application/json']
555
+ );
556
+ }
557
+
448
558
  /**
449
559
  * Publish a Learning module
450
560
  *
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -763,7 +763,7 @@ class QualityApi {
763
763
  /**
764
764
  * Retrieve a list of the latest form versions by context ids
765
765
  *
766
- * @param {Array.<String>} contextId A comma-delimited list of valid survey form context ids
766
+ * @param {Array.<String>} contextId A comma-delimited list of valid survey form context ids. The maximum number of ids allowed in this list is 100.
767
767
  * @param {Object} opts Optional parameters
768
768
  * @param {Boolean} opts.published If true, the latest published version will be included. If false, only the unpublished version will be included. (default to true)
769
769
  */
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 138.0.1
8
+ * @version 140.0.1
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 138.0.1
8
+ * @version 140.0.1
9
9
  */
10
10
 
11
11
  /**