purecloud-platform-client-v2 157.0.0 → 159.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 (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +631 -80
  3. package/dist/web-amd/purecloud-platform-client-v2.js +631 -80
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +631 -80
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +641 -80
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +214 -3
  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 +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/IntegrationsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/JourneyApi.js +95 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -3
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -2
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -3
  39. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +371 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +5 -4
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  60. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  64. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +61 -1
  74. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "157.0.0",
3
+ "version": "159.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 157.0.0
7
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -3392,6 +3392,31 @@ class ConversationsApi {
3392
3392
  );
3393
3393
  }
3394
3394
 
3395
+ /**
3396
+ * Creates a cobrowse session. Requires conversation:cobrowse:add (for web messaging) or conversation:cobrowsevoice:add permission.
3397
+ *
3398
+ * @param {String} conversationId Conversation ID
3399
+ */
3400
+ postConversationCobrowse(conversationId) {
3401
+ // verify the required parameter 'conversationId' is set
3402
+ if (conversationId === undefined || conversationId === null) {
3403
+ throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
3404
+ }
3405
+
3406
+ return this.apiClient.callApi(
3407
+ '/api/v2/conversations/{conversationId}/cobrowse',
3408
+ 'POST',
3409
+ { 'conversationId': conversationId },
3410
+ { },
3411
+ { },
3412
+ { },
3413
+ null,
3414
+ ['PureCloud OAuth'],
3415
+ ['application/json'],
3416
+ ['application/json']
3417
+ );
3418
+ }
3419
+
3395
3420
  /**
3396
3421
  * Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
3397
3422
  *
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -99,6 +99,31 @@ class JourneyApi {
99
99
  );
100
100
  }
101
101
 
102
+ /**
103
+ * Delete an outcome predictor.
104
+ *
105
+ * @param {String} predictorId ID of predictor
106
+ */
107
+ deleteJourneyOutcomesPredictor(predictorId) {
108
+ // verify the required parameter 'predictorId' is set
109
+ if (predictorId === undefined || predictorId === null) {
110
+ throw 'Missing the required parameter "predictorId" when calling deleteJourneyOutcomesPredictor';
111
+ }
112
+
113
+ return this.apiClient.callApi(
114
+ '/api/v2/journey/outcomes/predictors/{predictorId}',
115
+ 'DELETE',
116
+ { 'predictorId': predictorId },
117
+ { },
118
+ { },
119
+ { },
120
+ null,
121
+ ['PureCloud OAuth'],
122
+ ['application/json'],
123
+ ['application/json']
124
+ );
125
+ }
126
+
102
127
  /**
103
128
  * Delete a segment.
104
129
  *
@@ -389,6 +414,51 @@ class JourneyApi {
389
414
  );
390
415
  }
391
416
 
417
+ /**
418
+ * Retrieve a single outcome predictor.
419
+ *
420
+ * @param {String} predictorId ID of predictor
421
+ */
422
+ getJourneyOutcomesPredictor(predictorId) {
423
+ // verify the required parameter 'predictorId' is set
424
+ if (predictorId === undefined || predictorId === null) {
425
+ throw 'Missing the required parameter "predictorId" when calling getJourneyOutcomesPredictor';
426
+ }
427
+
428
+ return this.apiClient.callApi(
429
+ '/api/v2/journey/outcomes/predictors/{predictorId}',
430
+ 'GET',
431
+ { 'predictorId': predictorId },
432
+ { },
433
+ { },
434
+ { },
435
+ null,
436
+ ['PureCloud OAuth'],
437
+ ['application/json'],
438
+ ['application/json']
439
+ );
440
+ }
441
+
442
+ /**
443
+ * Retrieve all outcome predictors.
444
+ *
445
+ */
446
+ getJourneyOutcomesPredictors() {
447
+
448
+ return this.apiClient.callApi(
449
+ '/api/v2/journey/outcomes/predictors',
450
+ 'GET',
451
+ { },
452
+ { },
453
+ { },
454
+ { },
455
+ null,
456
+ ['PureCloud OAuth'],
457
+ ['application/json'],
458
+ ['application/json']
459
+ );
460
+ }
461
+
392
462
  /**
393
463
  * Retrieve a single segment.
394
464
  *
@@ -761,6 +831,30 @@ class JourneyApi {
761
831
  );
762
832
  }
763
833
 
834
+ /**
835
+ * Create an outcome predictor.
836
+ *
837
+ * @param {Object} opts Optional parameters
838
+ * @param {Object} opts.body
839
+ */
840
+ postJourneyOutcomesPredictors(opts) {
841
+ opts = opts || {};
842
+
843
+
844
+ return this.apiClient.callApi(
845
+ '/api/v2/journey/outcomes/predictors',
846
+ 'POST',
847
+ { },
848
+ { },
849
+ { },
850
+ { },
851
+ opts['body'],
852
+ ['PureCloud OAuth'],
853
+ ['application/json'],
854
+ ['application/json']
855
+ );
856
+ }
857
+
764
858
  /**
765
859
  * Create a segment.
766
860
  *
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -408,7 +408,6 @@ class KnowledgeApi {
408
408
  * @param {String} sessionId Knowledge guest session ID.
409
409
  * @param {Object} opts Optional parameters
410
410
  * @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
411
- * @param {Boolean} opts.includeSubcategories Deprecated - Do Not Use. Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
412
411
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
413
412
  */
414
413
  getKnowledgeGuestSessionDocuments(sessionId, opts) {
@@ -423,7 +422,7 @@ class KnowledgeApi {
423
422
  '/api/v2/knowledge/guest/sessions/{sessionId}/documents',
424
423
  'GET',
425
424
  { 'sessionId': sessionId },
426
- { 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'pageSize': opts['pageSize'] },
425
+ { 'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'pageSize': opts['pageSize'] },
427
426
  { },
428
427
  { },
429
428
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -199,6 +199,7 @@ class LanguageUnderstandingApi {
199
199
  * @param {Number} opts.pageNumber Page number (default to 1)
200
200
  * @param {Number} opts.pageSize Page size (default to 25)
201
201
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
202
+ * @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
202
203
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. This is considered only when enableCursorPagination=true
203
204
  * @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
204
205
  */
@@ -214,7 +215,7 @@ class LanguageUnderstandingApi {
214
215
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
215
216
  'GET',
216
217
  { 'domainId': domainId },
217
- { 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
218
+ { 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'language': opts['language'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'includeTrainingUtterances': opts['includeTrainingUtterances'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
218
219
  { },
219
220
  { },
220
221
  null,
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -115,7 +115,7 @@ class LearningApi {
115
115
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
116
116
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
117
117
  * @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
118
- * @param {Array.<String>} opts.types Specifies the assignment types, currently not supported and will be ignored. For now, all learning assignments regardless of types will be returned
118
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
119
119
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
120
120
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
121
121
  */
@@ -152,7 +152,7 @@ class LearningApi {
152
152
  * @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
153
153
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
154
154
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
155
- * @param {Array.<String>} opts.types Specifies the assignment types, currently not supported and will be ignored. For now, all learning assignments regardless of types will be returned
155
+ * @param {Array.<String>} opts.types Specifies the module types to filter by
156
156
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
157
157
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
158
158
  */
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
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 157.0.0
8
+ * @version 159.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 157.0.0
8
+ * @version 159.0.0
9
9
  */
10
10
 
11
11
  /**