purecloud-platform-client-v2 153.0.0 → 155.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 +364 -85
  3. package/dist/web-amd/purecloud-platform-client-v2.js +364 -85
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +364 -85
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +364 -85
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +789 -239
  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 +3 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
  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/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 +1 -1
  35. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +116 -8
  37. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -2
  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 +1 -1
  48. package/src/purecloud-platform-client-v2/api/OutboundApi.js +149 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +3 -3
  50. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RecordingApi.js +6 -6
  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 +1 -1
  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 +21 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  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 +1 -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": "153.0.0",
3
+ "version": "155.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 153.0.0
7
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -105,6 +105,7 @@ class AnalyticsApi {
105
105
  * @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
106
106
  * @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
107
107
  * @param {String} opts.language Optional language code to get the reporting turns for a particular language
108
+ * @param {Object} opts.askActionResults Optional case-insensitive comma separated list of ask action results to filter the reporting turns.
108
109
  */
109
110
  getAnalyticsBotflowReportingturns(botFlowId, opts) {
110
111
  opts = opts || {};
@@ -118,7 +119,7 @@ class AnalyticsApi {
118
119
  '/api/v2/analytics/botflows/{botFlowId}/reportingturns',
119
120
  'GET',
120
121
  { 'botFlowId': botFlowId },
121
- { 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
122
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'],'askActionResults': opts['askActionResults'] },
122
123
  { },
123
124
  { },
124
125
  null,
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 153.0.0
8
+ * @version 155.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -764,6 +764,7 @@ class ArchitectApi {
764
764
  * @param {String} opts.sortOrder Sort order (default to ASC)
765
765
  * @param {String} opts.name Name of the IVR to filter by.
766
766
  * @param {String} opts.dnis The phone number of the IVR to filter by.
767
+ * @param {String} opts.scheduleGroup The Schedule Group of the IVR to filter by.
767
768
  */
768
769
  getArchitectIvrs(opts) {
769
770
  opts = opts || {};
@@ -773,7 +774,7 @@ class ArchitectApi {
773
774
  '/api/v2/architect/ivrs',
774
775
  'GET',
775
776
  { },
776
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'] },
777
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'dnis': opts['dnis'],'scheduleGroup': opts['scheduleGroup'] },
777
778
  { },
778
779
  { },
779
780
  null,
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.0.0
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 153.0.0
8
+ * @version 155.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 153.0.0
8
+ * @version 155.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -195,6 +195,7 @@ class LanguageUnderstandingApi {
195
195
  * @param {String} opts.dateStart Begin of time window as ISO-8601 date.
196
196
  * @param {String} opts.dateEnd End of time window as ISO-8601 date.
197
197
  * @param {Boolean} opts.includeDeleted Whether to include soft-deleted items in the result.
198
+ * @param {String} opts.language Whether to filter response based on the language, e.g. en-us, pt-br.
198
199
  * @param {Number} opts.pageNumber Page number (default to 1)
199
200
  * @param {Number} opts.pageSize Page size (default to 25)
200
201
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
@@ -213,7 +214,7 @@ class LanguageUnderstandingApi {
213
214
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
214
215
  'GET',
215
216
  { 'domainId': domainId },
216
- { 'intentName': opts['intentName'],'assessment': opts['assessment'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'includeDeleted': opts['includeDeleted'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'enableCursorPagination': opts['enableCursorPagination'],'after': opts['after'],'fields': this.apiClient.buildCollectionParam(opts['fields'], 'multi') },
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') },
217
218
  { },
218
219
  { },
219
220
  null,
@@ -407,8 +408,13 @@ class LanguageUnderstandingApi {
407
408
  *
408
409
  * @param {String} minerId Miner ID
409
410
  * @param {String} draftId Draft ID
411
+ * @param {Object} opts Optional parameters
412
+ * @param {String} opts.draftIntentId Parameter to filter a specific intent.
413
+ * @param {String} opts.draftTopicId Parameter to filter a specific topic.
410
414
  */
411
- getLanguageunderstandingMinerDraft(minerId, draftId) {
415
+ getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
416
+ opts = opts || {};
417
+
412
418
  // verify the required parameter 'minerId' is set
413
419
  if (minerId === undefined || minerId === null) {
414
420
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
@@ -422,7 +428,7 @@ class LanguageUnderstandingApi {
422
428
  '/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}',
423
429
  'GET',
424
430
  { 'minerId': minerId,'draftId': draftId },
425
- { },
431
+ { 'draftIntentId': opts['draftIntentId'],'draftTopicId': opts['draftTopicId'] },
426
432
  { },
427
433
  { },
428
434
  null,
@@ -520,17 +526,115 @@ class LanguageUnderstandingApi {
520
526
  );
521
527
  }
522
528
 
529
+ /**
530
+ * Retrieves details of a particular topic.
531
+ *
532
+ * @param {String} minerId Miner ID
533
+ * @param {String} topicId The ID of the topic to be retrieved.
534
+ * @param {Object} opts Optional parameters
535
+ * @param {Object} opts.expand Option to fetch phrases
536
+ */
537
+ getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
538
+ opts = opts || {};
539
+
540
+ // verify the required parameter 'minerId' is set
541
+ if (minerId === undefined || minerId === null) {
542
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
543
+ }
544
+ // verify the required parameter 'topicId' is set
545
+ if (topicId === undefined || topicId === null) {
546
+ throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
547
+ }
548
+
549
+ return this.apiClient.callApi(
550
+ '/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}',
551
+ 'GET',
552
+ { 'minerId': minerId,'topicId': topicId },
553
+ { 'expand': opts['expand'] },
554
+ { },
555
+ { },
556
+ null,
557
+ ['PureCloud OAuth'],
558
+ ['application/json'],
559
+ ['application/json']
560
+ );
561
+ }
562
+
563
+ /**
564
+ * Retrieves utterances related to a phrase in a topic.
565
+ *
566
+ * @param {String} minerId Miner ID
567
+ * @param {String} topicId The ID of the topic to be retrieved.
568
+ * @param {String} phraseId The ID of the phrase to be retrieved.
569
+ */
570
+ getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
571
+ // verify the required parameter 'minerId' is set
572
+ if (minerId === undefined || minerId === null) {
573
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
574
+ }
575
+ // verify the required parameter 'topicId' is set
576
+ if (topicId === undefined || topicId === null) {
577
+ throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
578
+ }
579
+ // verify the required parameter 'phraseId' is set
580
+ if (phraseId === undefined || phraseId === null) {
581
+ throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
582
+ }
583
+
584
+ return this.apiClient.callApi(
585
+ '/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}',
586
+ 'GET',
587
+ { 'minerId': minerId,'topicId': topicId,'phraseId': phraseId },
588
+ { },
589
+ { },
590
+ { },
591
+ null,
592
+ ['PureCloud OAuth'],
593
+ ['application/json'],
594
+ ['application/json']
595
+ );
596
+ }
597
+
598
+ /**
599
+ * Retrieve a list of mined topics.
600
+ *
601
+ * @param {String} minerId Miner ID
602
+ */
603
+ getLanguageunderstandingMinerTopics(minerId) {
604
+ // verify the required parameter 'minerId' is set
605
+ if (minerId === undefined || minerId === null) {
606
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
607
+ }
608
+
609
+ return this.apiClient.callApi(
610
+ '/api/v2/languageunderstanding/miners/{minerId}/topics',
611
+ 'GET',
612
+ { 'minerId': minerId },
613
+ { },
614
+ { },
615
+ { },
616
+ null,
617
+ ['PureCloud OAuth'],
618
+ ['application/json'],
619
+ ['application/json']
620
+ );
621
+ }
622
+
523
623
  /**
524
624
  * Retrieve the list of miners created.
525
625
  *
626
+ * @param {Object} opts Optional parameters
627
+ * @param {String} opts.minerType Type of miner, either intent or topic
526
628
  */
527
- getLanguageunderstandingMiners() {
629
+ getLanguageunderstandingMiners(opts) {
630
+ opts = opts || {};
631
+
528
632
 
529
633
  return this.apiClient.callApi(
530
634
  '/api/v2/languageunderstanding/miners',
531
635
  'GET',
532
636
  { },
533
- { },
637
+ { 'minerType': opts['minerType'] },
534
638
  { },
535
639
  { },
536
640
  null,
@@ -734,8 +838,12 @@ class LanguageUnderstandingApi {
734
838
  *
735
839
  * @param {String} domainId ID of the NLU domain.
736
840
  * @param {Object} body The NLU Domain Version to create.
841
+ * @param {Object} opts Optional parameters
842
+ * @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
737
843
  */
738
- postLanguageunderstandingDomainVersions(domainId, body) {
844
+ postLanguageunderstandingDomainVersions(domainId, body, opts) {
845
+ opts = opts || {};
846
+
739
847
  // verify the required parameter 'domainId' is set
740
848
  if (domainId === undefined || domainId === null) {
741
849
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
@@ -749,7 +857,7 @@ class LanguageUnderstandingApi {
749
857
  '/api/v2/languageunderstanding/domains/{domainId}/versions',
750
858
  'POST',
751
859
  { 'domainId': domainId },
752
- { },
860
+ { 'includeUtterances': opts['includeUtterances'] },
753
861
  { },
754
862
  { },
755
863
  body,
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -305,6 +305,7 @@ class LearningApi {
305
305
  * @param {String} opts.searchTerm Search Term (searchable by name)
306
306
  * @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
307
307
  * @param {Object} opts.isPublished Specifies if only the Unpublished (isPublished is False) or Published (isPublished is True) modules are returned. If isPublished is Any or omitted, both types are returned (default to Any)
308
+ * @param {Array.<String>} opts.statuses Specifies the module statuses to filter by
308
309
  */
309
310
  getLearningModules(opts) {
310
311
  opts = opts || {};
@@ -314,7 +315,7 @@ class LearningApi {
314
315
  '/api/v2/learning/modules',
315
316
  'GET',
316
317
  { },
317
- { 'isArchived': opts['isArchived'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'searchTerm': opts['searchTerm'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'isPublished': opts['isPublished'] },
318
+ { 'isArchived': opts['isArchived'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'searchTerm': opts['searchTerm'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'isPublished': opts['isPublished'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi') },
318
319
  { },
319
320
  { },
320
321
  null,
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.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 153.0.0
8
+ * @version 155.0.0
9
9
  */
10
10
 
11
11
  /**